EDITORIAL Editorial 2 It’s great to see new people writing articles for Drag ’N Drop, your Beginner’s Page 3 editor can take a back seat (sort of!) Some of you will remember Paul News and application Stewart who used to edit the updates 4 magazine. He is back with his impressions of the Raspberry Ro Missile Command 5 Lite machine and an article on how to get your working Schema 2 11 Copyright © Drag 'N Drop 2018 Produced on RISC OS wirelessly. Raspberry Ro Lite 16 This issue has been blessed with contributions Norman Lawrence starts a great from the following people: new series on the spreadsheet Anatomy of a Font 19 Paul Stewart (Raspberry Ro Lite review, and Go application Schema 2 which has Wireless with the Vonets VP11G made a comeback and might well Window Closer 24 Norman Lawrence (Schema 2 series) knock Fireworkz and Pipedream Christopher Dewhurst (everything else) from their perches and become the Go Wireless with the Vonets The views expressed in this magazine are not ‘RISC OS Excel’. necessarily those of the editor. Alternative views Plus we have the usual range of VP11G 29 are always welcome and can be expressed by reviews and type-in stuff. Do you either writing an article or a short editorial. fancy your hand at being a missile Icon Clipboard 31 All articles and advertisements are published in commander? Window Closer and good faith. No materials in this publication are Artworks 2,X3 33 meant to be offesnsive or misleading. If you Icon Clipboard are two desktop come across something you believe is either of usefulties complete with ‘how it the above please contact the editor using the 32-bit PMS Voices 34 details below. works’ commentaries. And find out about the RISC OS font format with the second instalment of the series. Contact Information Editor: Christopher Dewhurst Email: [email protected] www.dragdrop.co.uk Christopher Dewhurst

Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 1 Beginner’s Page the right. How do I open an Applcation You can also type programs in a Directory? task window, hold down Ctrl and Application directories begin with a How do I get the BBC Basic prompt? press F12. You can't use the cursor ! called 'pling'. Hold down shift and Press F12 and type *BASIC editing facility or change MODE, double click select to open the and press Return. You can however. directory. change the screen mode with Task window MODE n where n is a number e.g. *BASIC I get blank a screen when trying to MODE 7 or MODE 0. ARM BBC BASIC V version 1.54 run games listings Type AUTO for automatic line Starting with 651516 Check you have the Anymode numbering. Press Escape to stop and bytes free module installed. You can download type SAVE "myprog" followed by > it from www.pi-star.co.uk/anymode. Return to store myprog on hard disc. It goes in !Boot.Choices.Boot. To return to the desktop type Predesk. *QUIT. Open the !Boot application You can also program and run Basic Programs listed in Drag ’N Drop are directory, in the root directory of the programs from the desktop. Double- assumed to work on all machines SD Card, that is SDFS::RISCOSPi. clicking on the filer icon runs with RISC OS 5 e.g. Raspberry Pi, $.!Boot. Locate the it, holding down Shift and unless otherwise stated. Loader which is a multi- double clicking loads it into coloured directory with your text editor. How do I open a Task window? PC written on it. With Menu click over the Raspberry icon Shift held down double click it to on the right side of the iconbar and open it. Create a text file in Edit select click on Task window. Or How do I select the currently with the following line (press Return press Ctrl + F12. selected directory? at the end): Articles may tell you to set the CSD (currently selected directory). Just disable_mode_changes You may need to reserve more click menu over filer window and memory for the task in which case choose Set directory ^W. Save it inside Loader as CMDLINE/ adjust-click on the Raspberry icon TXT and restart your machine. and under Application tasks click and drag the Next slide bar out to

Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 2 News and App Updates Amcog Flash Collection Version 1.04 is now available at WeatherUK 1.11 Amcog have released their games on forums.jaspp.org.uk/forum/ Version 1.11 of the Weather app can a USB flash drive so if you haven‘t viewtopic.php?f=8&t=348 be downloaded from !Store. Get yet bought Cyborg, Legends of Magic, Mop Tops, Overlord, Xeroid or Protector (or even if you have bought just one or two of these) the stick represents great value for money at £40.00; previously the games retailed at £9.99 each. A copy of the Games Development Kit is weather information for major even included. To purchase, go to towns in the UK over the next the Elesar website shop.elesar.co.uk few days, with links to the BBC then navigate to Accessories > website for longer range Software. forecasts.

Train Times This is a new application from KevSoft www.kevsoft.co.uk. Information on train times from any UK station can be called up Pi-Top Utils 1.04 Doom Trilogy and the timetable for a particular The first person 3D shooting Pi-Top Utilities adds useful train viewed. adventure has been given a major features to your PiTop including a overhaul so it now runs natively on battery level indicator, screen RISC OS Awards 2017 Raspberry Pis. Not only that the brightness and volume controls. Finally, don't forget to vote for your soundtrack has been revamped so favourite magazine as the ‘Best your £14.99 will buy you a publication or offline resource’ comprehensive audio and visual during 2017 at experience from !Store. www.riscosawards.co.uk/ Drag'N Drop | Spring 2018 | www.dragdrop.co.uk | Page 4 The earth is once again under invasion from outer space and your mission is to defend the cities against successive waves of bombs being dropped from the heavens. Use the mouse to select your difficulty level then click the adjust, menu or select button to launch missiles from bases on the left, middle or right of the screen. You advance to the next wave when all the enemy bombs have detonated. If all of your cities or missile bases have been destroyed the game ends. Missile Command uses the RDSP module for its sound effects so after entering the main listing and ensuring it is fully debugged save it as COMMAND. Then click Menu over Edit's iconbar icon and select Create > Obey and type the following lines: |Check/load RDSP module RMEnsure RDSP 0.21 RMLoad System:Modu les.Audio.SoundChip.RDSP

RStart

.COMMAND Save it as Boot in the same folder as COMMAND then double click Boot to play.

Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 5 10REM Missile Command 330PROCsprite(4,ufox,ufoy,3) 610deploy=wave*3+3:ufo=FALSE 20REM Drag N Drop Spring 2018 340ENDPROC 620timer=30-wave:max_deploy=11+d 30ONERROR PRINT REPORT$+" at Li 350: eploy ne ";ERL: OSCLI"CON.Fontmax3 36":E 360DEFPROCufo 630local_timer=1:speed=level+wav ND 370IFufo=2 PROCufoexplode:ENDPRO e:up_left=10 40MODE13:TINT2,0 C 640explode=deploy:B1%=explode/2 50OFF 380IFexplode=0 WAIT 650B2%=explode/2:B3%=explode/2 60PROCinit 390PROCsprite(4,ufox,ufoy,3):ufo 660IFb1%=FALSE THEN B1%=0 70REPEAT x=ufox+ufom 670IFb2%=FALSE THEN B2%=0 80 PROCset_game 400IF ufox<-50 OR ufox>1279 ufo= 680IFb3%=FALSE THEN B3%=0 90 PROCdraw_screen FALSE:ENDPROC 690IFwave>0 THEN PROCfont("***BO 100 PROCupdateinfo 410IF POINT(ufox,ufoy)=13 THEN S NUS IS "+STR$bonus+"***",500,300,6 110 PROCgetlevel OUND&13,&0390,120,40:score=score+1 00):A=INKEY(200) 120 REPEAT 00:ufo=2:ELSE PROCsprite(4,ufox,uf 700 IFextra=TRUE PROCextracity:A 130 PROCset_wave:PROCupdateinfo oy,3) =INKEY(200) 140 REPEAT 420ENDPROC 710REPEAT MOUSE X%,Y%,Z%:UNTILZ% 150 PROClaunch_up:PROCmove_up 430DEF PROCufoexplode =0:CLS 160 PROClaunch_down 440GCOL3,35:IF size=100:loop=-lo 720FOR N%=0 TO 50:mob(N%,4)=0:NE 170 IF ufo=0 AND RND(20)=1 PRO op XT Csetufo 450CIRCLE FILL ufox+20,ufoy+20,s 730PROCdraw_screen:MOUSE RECTANG 180 IF ufo PROCufo ize:size=size+loop LE 0,200,1280,600 190 counter=score:IFcounter>50 460IF size>4 CIRCLE FILL ufox+20 740ENDPROC 00 extra=TRUE:counter=counter-5000 ,ufoy+20,size 750: 200 PROCdelay(5) 470IF size=0 AND loop<0 THEN ufo 760DEF PROClaunch_up 210 UNTIL explode=0 AND ufo=FAL =0 770TM=FNup_free:IF TM=0 THEN END SE 480ENDPROC PROC 220 wave+=1:bonus=bases*20+B1%* 490: 780MOUSE X%,Y%,Z%:IF Z%=0 THEN b 10+B2%*10+B3%*10 500DEF PROCset_game utton=0:ENDPROC 230 IFbases>0 PROCscore(bonus) 510wave=0:b1%=TRUE:b2%=TRUE:b3%= 790IF Z%<>0 AND button<>0 THEN E 240 UNTIL bases=0 OR (b1%+b2%+b3 TRUE:counter=0:extra=FALSE NDPROC %)=0 520bases=6:score=0:button=0:depl 800IF (up_left=0 AND Z%<>0) OR ( 250 PROCfont("THE END",820,300,5 oy=3:timer=40 Z%=1 AND B3%=0) OR (Z%=2 AND B2%=0 00) 530FORT=0TO50:X%(T)=RND(1279):Y% ) OR (Z%=4 AND B1%=0) OR (Z%=3 OR 260 IF score>high high=score:PRO (T)=RND(900)+100:NEXT Z%>4) THEN Chigh 540base(1)=100:base(2)=600:base( 810VDU7 270 REPEAT:MOUSEX,Y,BT:UNTIL BT< 3)=1100 820ELSE:CASE Z% OF >0 550FOR N%=1 TO 3:city(N%)=150+N% 830 WHEN 4:mob(TM,5)=1:SOUND&11 280UNTIL FALSE *100:NEXT ,&0190,100,40:B1%-=1 290END 560FOR N%=4 TO 6:city(N%)=350+N% 840 WHEN 2:mob(TM,5)=2:SOUND&11 300: *100:NEXT ,&0190,120,40:B2%-=1 310DEFPROCsetufo 570FOR N%=1 TO 6:dead(N%)=FALSE: 850 WHEN 1:mob(TM,5)=3:SOUND&11 320ufo=TRUE:loop=4:ufoy=600+RND( NEXT ,&0190,140,40:B3%-=1 250):size=0:IF RND(2)=1 ufox=1279: 580ENDPROC 860 ENDCASE ufom=speed/2:ELSE ufox=0:ufom=spee 590: 870 mob(TM,0)=base(mob(TM,5)):mo d/2 600DEF PROCset_wave b(TM,1)=150:mob(TM,6)=0 Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 6 The spreadsheet application corresponding Schema2 was developed in the squared values then early 1990s by CRM Ltd for 2 graph and save the Clares Micro Supplies who results. distributed the software until Double click on around 2002, when APDL !Schema2 to install it acquired the distribution rights. on the and Commercial distribution of menuclick on the Schema2 stopped in 2015 with the iconbar icon to death of David Holden and it looked obtain the Schema2 like that was the end of another very menu. useful piece of RISC OS software. Select Create from However, all is not lost thanks to the menu offerings Christopher Bazley who earlier this and type in year made Schema2 freely available to Julian Fry for his unstinted Xsquared” for the spreadsheet to download from his website at support. name as shown in Figure 1. The http://starfighter.acornarcade.com/ Downloading and installing default spreadsheet size is 10 by 10, mysite/apdl.html. Schema2 follows standard RISC OS so I suggest that you change this to I use spreadsheets quite a lot with practice so let’s skip that bit and get 15 columns and 20 rows or whatever my engineering students and, as a started with a simple demonstration. is your preferred spreadsheet size. newcomer to RISC OS, I found We're going to create a sheet of Then click create and a Schema2 to be a very capable numbers 1 to 10 with their spreadsheet window with the title alternative to Excel. In this series I'll Xsquared” will appear. In be sharing my experiences with Schema2, spreadsheets are not Schema2, starting with first limited by window size but can impressions and then going on to contain up to 30,000 by 30,000 explore the use of workspaces, cells. circular references and macros. Before going any further, it's a Before I begin, it is important for good idea to set our choices with me to acknowledge the help that I the Schema2 Choices menu received from John Harrison and option as shown in Figure 2. Christopher Bazley. Special thanks Figure 1 Create New Spreadsheet

Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 11 Product: RaspberryRo Lite 3 with Mind you, my A9home never had 32Gb mSATA such stickers on either, but then the Retailer: Fouth Dimension A9home was not retailed world Website: http:// wide with other Operating Sytems. www.raspberryro.co.uk/ Still, I was expecting something raspberryrolite.shtml on the outside to indcate it was Price: £225.00 running RISC OS. It's been a few years now since I Having unboxed I was quite actively used RISC OS, but I impressed with how neat the little decided it's time to dust off my system looked. It is all in black with enthusiasm for RISC OS and I unpacked it to find a small branded in the middle return to being an active user. box with ‘DIY PI Desktop on top (where is the ‘RISC OS Some of you may remember me, by Element 14’ on the inside’ sticker or similar?) along Paul Stewart, for creating and front. I was a little with the power on button just launching Drag ’N Drop, which I surprised there was no underneath. edited for 3 full years before sticker on the box to handing over the to current editor, indicate it was a Christopher Dewhurst. RaspberryRO Lite 3 or that It was at that point I stopped it was from the 4th being an active user. Whilst I may Dimension. Nothing to no longer have been an everyday indidcate where it came user, I have always kept a slight eye from, apart from a stubby on things via the RISC OS based receipt in the box, not even websites. any sticker on the the box Today I’m taking a look at a 4th or the unit itself to indicate

Dimension Product, the Review it was running RISC OS! RaspberryRO Lite 3, with a 32Gb mSATA. Having ordered on a late Switch on and a cirucular blue light Thursday afternoon in February, the surrounds the Element 14 logo. It is parcel arrived the following so amazing these days how small Wednesday morning. computers are getting. I thought my

Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 16 letter éisan eplusanaccent.The make upaletter, forexamplethe Composites arepartsput togetherto scaffolding onabuilding. when designingafont,much like which makeupthefont. scaffolding andcompositedetails holds detailsonthelinesandcurves, the structureofOutlineswhich files work. series weexaminedhowMetrics and inthefirstinstalmentofthis files, theMetricsandOutlines A RISCOSfontconsistsoftwo Font scaffoldareguidelines used We nowmoveontolookingat

Part 2 Anatomy of offsets, words (fourbytes),half variety ofwaysoffsets, offsetsto information isstoredina huge the linesandcurvesarestored. Now, and scaffoldsthistime. we won'tbelookingatcomposites machines thisislessofanissueso increased memoryonmodern etc. accent onceandrecycleitforé,í,ó would needtoonlydesignthe save onstoragespacebecauseyou idea behindthisoriginallywasto a Font Instead we’llconcentrate onhow With cheaperstorageand Drag 'N Drop |Spring2018 | and CHAIN"DUMPER". type *BASICfollowedbyReturn Open ataskwindowwithCtrl+F12, display andchoosing'Setdirectory'. location bymenuingoverthefiler Selected Directoryissettothis DUMPER andensuretheCurrently dumper. Saveitonyourharddiscas Program 1,asimplememory a typicalOutlinesfile,typein explain withplentyofexamples. (12 bits)!ItsoundsscarybutI'll even signedoneandahalfbytes compliment (signed)halfwordsand words (twobytes),two's 150NEXT =a$+"." 140IFY%>31a$=a$+CHR$Y% ELSEa$ CHR$32; 130PRINTRIGHT$("00"+STR$~Y%,2)+ 120Y%=BGET#I% 110FORX%=0TO3 100a$="" I%,4)+":"; 90PRINTRIGHT$("0000"+STR$~PTR# 80REPEAT 70PTR#I%=A% 60INPUT"Offset";A% 50REPEAT 40I%=OPENINfile$ 30INPUT"Filetodump";file$ s.!Fonts. 20*KEY116GbPi:$.!Boot.Resource $+" at";ERL:END 10ONERRORCLOSE#0:PRINTREPORT Program 1 Before takinga‘walkthrough’of www.dragdrop.co.uk | 19 | ensuring it is debugged, save it as immediately. A flag is set to indicate Window !RunImage and double click the menu is to be opened and the !WinClose to run. gathers data on the Closer Clicking Menu over the iconbar applications running. brings up three options. Info It does this by opening an displays information on the 'invisible' window below all the application. Moving the pointer others on the desktop. A call to across the Close option will display Wimp_GetWindowState (with the a menu of applications (tasks) which invisible window's handle at are running. position zero in the parameter block) To close all of that application's returns the handle of the task windows just click on the relevant owning the window in position 28 of menu option. the block. If there are no windows One aspect of RISC OS which Quit, of course, shuts down the on top this value is 1. makes it so productive and easy to WinClose application. Getting the name of the work with compared to other application given its handle has to operating systems is the freedom be done in a roundabout way. The with which windows can be moved task handle is sent to the system in a around the desktop, behind or in message block, with message action front of other windows. number &400C6. The system The downside is that it when you responds by sending WinClose a come to closing windows it can be message number &400C7 with the difficult to see where they as there task name returned in a string could be so many obscurring each starting at position 28 of the other. message block, terminated by zero. This application makes life easier Note that windows with unsaved PROCgetname extracts the by allowing you to close all of the work in them will not be closed and characters to make a Basic string windows for any particular not all applications listed will have which is inserted into the app$() application that is running. open windows. array, the array of application names Type in Listing 1, It creates the The application works as follows. along with the applications' handles application's directory, sprite, !Boot When the user clicks Menu on the in apph%(). and !Run files. iconbar the menu is not displayed This is assuming the name hasn't Then type in Listing 2 and, Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 24 2220OTHERWISE:READ I%!menu% held in app$(). If it is a new 2230ENDCASE 2240NEXT name, extract the zeroterminated 2250ENDPROC string at offset 28. 2260 2270REM Iconbar main menu data PROCmenuchoice Decode menu 2280DATA "CloseWindow",& choice. Take action to quit 00070207,160,40,0 WinClose or initiate close 2290DATA 0,info%,&07000021,"Info" 2300DATA 0,menu2%,&07000011,"Close" procedure as necessary. 2310DATA &80,-1,&07000021,"Quit" PROCmessage Deal with messages 2320 2330DATA "Application",& sent by system to WinClose. 00070207,256,40,0 Word at 16 of the block is the 2340 message number, 0 if application 2350DEF PROCerror Have YOU 2360!B%=ERR is to quit, &400C7 to get 2370$(B%+4)=REPORT$+" at line "+ application names. written a STR$ERL+CHR$0 program for 2380SYS "Wimp_ReportError",B%,1,app$ FNopenatback Open dummy 2390SYS "Wimp_CloseDown" window, ensuring it is opened at your RISC OS 2400END the bottom of the stack by setting Pi? word in window block +28 to 2,

Procedures and Functions and return handle of task owning CD’12 PROCcheckmenu Check if menu window on top of it. Can YOU write an can be opened, not if a close is in PROCsendmessages Open dummy article to describe it? progress or still gathering task window at back (bottom) of all information. others on desktop. Loop through Get £15 to appear in PROCclick Deal with mouse clicks windows on top sending Wimp Drag 'N Drop! PROCclose Start closing process message to send message back to PROCclosewins Loop through WinClose with name of task windows on desktop, if window owning the window. owner matches task handle selected then send message to that task to close the window. PROCgetname Check if task name already known by looping from 1 to number of tasks found so far

Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 28 This seems to be because once just need to manaully assign your Go wireless... configured there is not enough time device an IP address in that range, between switching on the Pi, the This is achieved by double WiFi bridge starting up and RISC clicking !Boot to bring up the OS looking for DHCP. RISC OS Configuration window, click ends up auto-configuring rather than Internet, ensure "Enable TCP/IP receiving the IP Address. Protocol Suite" is ticked, go to Now, I have read in the past Interfaces > Configure to see the about people buying these sorts of window in the screen shot above. items but finding them impossible to Once completed you can browse configure from RISC OS. to the configuration page. Type ...with the This one, you will be pleased to 192.168.254.254 into your browser's Vonets VP11G know, does not fall into that address bar and it will take you to category. But you have to configure the setup page, where you can login With RISC OS still lacking the it using either !Otter-browser or using the default credentials ability to do WiFi we have to use !QupZilla. supplied in the instruction sheet alternatives and in this aricle I'll I have tried configuring it using which comes with the device. look at an inexpensive peripheral both WebsterXL and Netsurf and. which goes some way to neither would load the configuration addressing this problem. page correctly. After purchasing my Rasperberry RO Lite 3 from 4D (reviewed elsewhere in this issue) I sourced a Vonets VAP11G WiFi Router/ Repeater/Bridge. It is available on eBay or Amazon from £15. The device is relatively small and is powered by USB. However a word of caution here. I have found it By default this device expects must be powered independently of your system to be on the IP range of the RaspberryPi, although this may 192.168.254.* with subnet of differ on other systems. 255.255.255.0. So first of all, you Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 29 IClipbord doesn't need a window so program would be to add a facility Icon the way round this is to set up an to delete part of the text, Ctrl+Y to 'invisible' window is define. delete everything up to the caret, for Clipboard A SYStem call to "Wimp_Poll" instance. (The caret position is at An Application returns event number 8 if a key has B%+20 when PROCkeypress is been pressed. The system puts the called.) Writeable key code in word seven (+24) of the parameter block. SomeWriteable Text The details of the icon in which Listing 1 the caret is situated are obtained 10REM Make files for Icon Clipb oard This is a simple application which with SYStem call Wimp_ 20REM (c) Drag 'N Drop 2018 GetIconState,,B% which returns the 30: allows text to be transferred 40app$="!IClipBord" between writable icons. address of the text at word eight (+ 50OSCLI"CDIR "+app$ First of all type in Listing1 which 28) of B%, control code terminated. 60PROCcreatesprites If the key is Ctrl+C (key code 3) 70PROCcreatefiles creates the necessary application 80END directory, sprite, !Boot and !Run then the copying PROCedure is 90: called. This copies the text from the 100DEF PROCcreatesprites files. Then type in the second listing 110DIM H% 550:!H%=550:H%!8=&10 and save it inside the application icon into copy%. The length of the 120op$="OS_SpriteOp" directory as !RunImage. Double text is L%. 130SYS op$,&109,H%:READ n$,W%,D% If the key is Ctrl+V (22) or Insert 140SYS op$,&10F,H%,n$,,W%,D%,9:R click !IClipbord to run. EM create sprite To copy text from a writeable (&1CD) PROCpaste is called. This 150SYS op$,&11D,H%,n$:REM create checks if L% is zero, if the user has mask icon simply place the caret in the 160FOR Y%=D%-1 TO 0 STEP-1:READ icon and press Ctrl+C. To paste, put pressed Ctrl+V with nothing on the a$ the caret in another writeable icon clipboard the procedure ends there. 170FOR X%=1 TO W% Otherwise each character of copy% 180b$=MID$(a$,X%,1):IF b$="." TH and press Ctrl+V or Insert. EN is inserted into the keyboard buffer 190SYS op$,&12C,H%,n$,X%-1,Y%,0 How It Works using SYS "OS_Byte",138,0,Y% 200ELSE where Y% is the ASCII code of the 210SYS op$,&12A,H%,n$,X%-1,Y%,EV For an application to detect key AL("&"+b$) character. presses on the keyboard (as 220ENDIF:NEXT, The standard RISC OS shortcut 230SYS op$,&10C,H%,app$+".!Sprit IClipbord does) it has to have the es" for deleting text in a writeable icon "hot keys" bit set in the window 240ENDPROC is Ctrl+U. One enhancement to the 250: flags in the window definition. 260DEF PROCcreatefiles Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 31 690SYS "Wimp_CreateIcon",,B% TO Product: Artworks 2.X3.00 upgrade The new iconhandle 700REM iconbar menu Retailer: MW Software tool opens 710FOR I%=0 TO 40 STEP 4 Website: www.mw-software.com/ up lot of 720CASE I% OF 730WHEN 0,40:READ $(menu%+I%):I% Price: £30.00 potential, =I%+8 It's been five long years creating 740OTHERWISE READ I%!menu% since the last upgrade to digitised 750ENDCASE 760NEXT Artworks was released so signatures, 770ENDPROC what's new? handwriting, 780 790REM dummy window data There have been some applying 800DATA 0,0,0,0, 0,0,-1,&800010D "under the bonnet" code graded 0,0,0,0,0,0 colours to 810DATA 0,0,0,0,0,0,0,0,0,0 tweaks to make Artworks run 820REM iconbar icon data reliably on expensive RISC lines and so on. It's particularly 830DATA -1,0,-4,68,68,&B7002002, OS computers like the helpful if you use a stylus/tablet to "!iclipbord" 840REM menu data TiMachine) but for the rest of produce your artwork on RISC OS. 850DATA "IClipBrd",&00070207,160 I Review us your £30.00 gets you a ,40,0 new 'shape painter' tool to play with, 860DATA &80,-1,&07000021,"Quit" 870 making 36 tools now on the toolbar. 880DEF PROCerror It's rather like painting thick lines 890!B%=ERR 900$(B%+4)=REPORT$+" at line "+S in Paint then using a tracing TR$ERL+CHR$0 application to 'draw round' 910SYS "Wimp_ReportError",B%,1,a the bitmap, except Artworks pp$ 920SYS "Wimp_CloseDown" now does it all for you. There are circular, elliptical (and tilted elliptical) brushes with different sized brush heads. A slider bar can be dragged to mimick more faithfully your mouse movements although the higher the accuracy the more storage is taken up.

Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 33 Philips Music Scribe Locate the line which reads lives in the same word as the EQUD 0 ;help & cmd keywords program counter (the memory (The layout might be ever so slightly address of the current instruction). different on your screen, caused by In 32-bit code, however, the optional extra spaces). This line is overflow flag is in a separate word line 18 in my Edit, press f5 and look called the Current Program Status at the figure to the right of ‘current Register (because all of the program line’ no.) counter's 32 bits are now used for In the line below add the the address). So replace the BIC Philips Music Scribe (PMS) is a following three lines: R14,14,#VFLAG line with the music processing application ]FOR I=1 TO 5:[OPT C:EQUD 0:]NEXT:[O PT C following three lines: which takes plain text files, in MRS R8,CPSR which music is engraved in EQUD Flag-ModuleBase ;32 bit flag BIC R8,R8,#VFLAG sequences of ASCII characters, MSR CPSR_f,R8 .Flag EQUD 1 ; and renders high quality scores This does two things. The first line for printing or exporting to Draw This uses the ‘new’ ARM pads out the header with five blank for further editing. instructions to load the CPSR into words. 32-bit modules must have a PMS is now available for free in R8, clear VFLAG and store the pointer to a flag with bit zero (and !Store. Inside Utils.PH-Voices in result back in the CPSR. only bit zero) set. The other two the download there is a 26-bit voice Save the assembly code as lines insert this pointer to Flag and module providing some synthesized asmVoices32 (ignore the message Flag itself has bit zero set. organ tones. about mismatched brackets) and This upgrades the header to 32- This doesn't work on modern double click to run. The voice bit standard. Further down in the machines but fortunately the source module is saved as TestModule and code find the following lines: double click that to install. Several code is provided as asmVoices and I BIC R14,R14,#VFLAG ; clear V flag will now describe the steps MOV PC,R14 new voices (PH-Organ, PH-Sine necessary to ‘32-bit’ the module to This clears the processor's overflow plus variants) are now available make it work on the Raspberry Pi. flag (VFLAG) which in 28-bit code from the PMS Play window. Open asmVoices in Edit. Now, 26-bit modules have a 28-byte or 44-byte (7-word or 11-word) header. 32-bit voices must always have a 52-byte (13-word) header. Drag 'N Drop | Spring 2018 | www.dragdrop.co.uk | 34 Introducing the Ident Compact Edition A stylish, affordable and flexible stand-alone casing solution for Raspberry Pi®.

After much time and development Ident Computer is proud to announce its latest product range for 2018.

The Ident Compact Edition or ‘CE’ brings together the latest in 3D print technology and manufacturing techniques to bring an exciting new product to the hobbyist and education markets. Using Ident CE, users can build open and flexible computing systems tailored to their needs and all in a compact desktop unit.

www.ident-online.co.uk/computer