Home » Personal collection » Acorn tapes » Commercial_Releases » boxed_acornsoft_tape10b_acorn_introductory_cassette.wav » PLANETS
PLANETS
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
| Tape/disk: | Home » Personal collection » Acorn tapes » Commercial_Releases » boxed_acornsoft_tape10b_acorn_introductory_cassette.wav |
| Filename: | PLANETS |
| Read OK: | ✔ |
| File size: | 0600 bytes |
| Load address: | FFFF0E00 |
| Exec address: | FFFF8023 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- AEW website » acornsoft » acornsoft_tapes_Introductory-Cassette_Intro_E.uef » PLANETS
- Personal collection » Acorn tapes » Commercial_Releases » boxed_acornsoft_tape10b_acorn_introductory_cassette.wav » PLANETS
File contents
10REM PLANETS
20REM Electron Introductory Cassette
30REM Author T.D.
40
50ONERRORRUN
60himem=&2F00
70HIMEM=himem
80FORI%=0TO&FFSTEP4:I%!himem=I%!(PAGE+&500):NEXT
90IFM%=1234THEN100ELSEIFM%=5678THEN110ELSEMODE5:VDU19,3,4;0;:COLOUR2:PRINTTAB(0,5)"Does your cassette"''"recorder have motor"''"control (Y/N)?";:IF(GETAND&DF)=ASC"Y"THENM%=5678:GOTO110ELSEM%=1234
100SOUND1,-15,121,60:MODE5:VDU19,3,4;0;:COLOUR1:PRINTTAB(8,9)"STOP";:COLOUR3:PRINTTAB(6,13)"the tape":COLOUR2:PRINTTAB(4,25)"Press SPACE"TAB(4,27)"to continue":REPEATUNTILGET=32:SOUND&11,0,0,0
110ONERRORCLEAR:GOTO120
120himem=&2F00
130DIM MAP 255,BLOCK 8
140osword=&FFF1
150PROCINITDBL
160MODE4:HIMEM=himem:PROCOFF:PROCDBL("Planets",12)
170N%=INKEY500
180ONERRORGOTO260
190MODE2:HIMEM=himem:PROCOFF
200VDU19,1,6;0;19,2,4;0;19,15,10;0;
210COLOUR1:PRINTTAB(5,12)"Play tape";
220CALLhimem
230REPEATUNTIL0
240
250REM Error Handler
260*FX13,4
270CLOSE#0
280IF ERR<>17 REPORT:PRINT" at line ";ERL:END
290MODE4
300PRINT'"Play tape"'
310CHAIN"BYE"
320
330DEFPROCOFF VDU23,1,0;0;0;0;:ENDPROC
340
350DEFPROCCEN(A$,Y%) PRINTTAB(19-LENA$/2,Y%)A$;:ENDPROC
360
370DEFPROCINITDBL $MAP=STRING$(255,CHR$0):MAP?255=0:CHARPTR=224:ENDPROC
380
390DEFPROCDBL(A$,y%)B$="":C$="":FORCH%=1TOLENA$:K%=FNCHAR(ASCMID$(A$,CH%,1)):B$=B$+CHR$K%:C$=C$+CHR$(K%+1):NEXT:K%=19-LENA$/2:DBL$=CHR$31+CHR$K%+CHR$y%+B$+CHR$31+CHR$K%+CHR$(y%+1)+C$:PRINTDBL$;:ENDPROC
400
410DEFFNCHAR(C%)IFMAP?C%THEN=MAP?C%ELSEIFCHARPTR>=256STOP ELSEMAP?C%=CHARPTR:?BLOCK=C%:A%=10:X%=BLOCK:Y%=BLOCK DIV 256:CALLosword
420FORJ%=0TO1:VDU23,CHARPTR+J%:FORI%=2TO9:VDUBLOCK?(J%*4+I%DIV2):NEXT,:CHARPTR=CHARPTR+2:=MAP?C%
� PLANETS
$� Electron Introductory Cassette
� Author T.D.
(
2�
<himem=&2F00
F�=himem
P&�I%=0�&FF�4:I%!himem=I%!(�+&500):�
Z��M%=1234��Dd@��M%=5678��Dn@��5:�19,3,4;0;:�2:�0,5)"Does your cassette"''"recorder have motor"''"control (Y/N)?";:�(��&DF)=�"Y"�M%=5678:�Dn@�M%=1234
d��1,-15,121,60:�5:�19,3,4;0;:�1:�8,9)"STOP";:�3:�6,13)"the tape":�2:�4,25)"Press SPACE"�4,27)"to continue":���=32:�&11,0,0,0
n
��:�Dx@
xhimem=&2F00
�� MAP 255,BLOCK 8
�osword=&FFF1
��INITDBL
�&�4:�=himem:�OFF:�DBL("Planets",12)
�N%=�500
���TDA
��2:�=himem:�OFF
�"�19,1,6;0;19,2,4;0;19,15,10;0;
��1:�5,12)"Play tape";
�
�himem
���0
�
�� Error Handler
*FX13,4
�#0
� �<>17 �:�" at line ";�:�
"�4
,�'"Play tape"'
6
�"BYE"
@
J��OFF �23,1,0;0;0;0;:�
T
^$��CEN(A$,Y%) �19-�A$/2,Y%)A$;:�
h
r3��INITDBL $MAP=�255,�0):MAP?255=0:CHARPTR=224:�
|
����DBL(A$,y%)B$="":C$="":�CH%=1��A$:K%=�CHAR(��A$,CH%,1)):B$=B$+�K%:C$=C$+�(K%+1):�:K%=19-�A$/2:DBL$=�31+�K%+�y%+B$+�31+�K%+�(y%+1)+C$:�DBL$;:�
�
�lݤCHAR(C%)�MAP?C%�=MAP?C%��CHARPTR>=256� �MAP?C%=CHARPTR:?BLOCK=C%:A%=10:X%=BLOCK:Y%=BLOCK � 256:�osword
�R�J%=0�1:�23,CHARPTR+J%:�I%=2�9:�BLOCK?(J%*4+I%�2):�,:CHARPTR=CHARPTR+2:=MAP?C%
�P?C%
�
( 2 <