Editorial 2 Beginner's Page 3 News and Application
Total Page:16
File Type:pdf, Size:1020Kb
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 Raspberry Pi working Schema 2 11 Copyright © Drag 'N Drop 2018 Produced on RISC OS computers 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 <Obey$Dir>.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.