Home » Personal collection » Acorn ADFS disks » Greaseweazled » dfs_box04_disk02b_eug_scripts.adf » Terminal
Terminal
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 ADFS disks » Greaseweazled » dfs_box04_disk02b_eug_scripts.adf |
Filename: | Terminal |
Read OK: | ✔ |
File size: | 01ED bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF802B |
File contents
10 *FX2,2 20 *FX7,7 30 *FX8,7 40 MODE 3 50 OSBYTE=&FFF4:REPEAT 60 IF INKEY(-33) THEN PROCtdsai 70 A%=138:X%=2 80 IF ADVAL(-1)>0 AND ADVAL(-3)>0 THEN Y%=GET:CALL OSBYTE 90 *FX 2,1 100 IF ADVAL(-2)>0 THEN VDU GET 110 *FX 2,2 120 UNTIL FALSE 130 : 140 DEFPROCtdsai 150 DIMspace &1000:FORad=space TO (space+&1000) STEP4:!ad=0:NEXT:*FX2,2 160 OSCLI"LOAD TDSAI "+STR$~space 170 FORad=space TO (space+&1000) 180 A%=138:X%=2:Y%=?ad:CALL OSBYTE 190 *FX 2,1 200 REPEAT 210 IF ADVAL(-2)>0 THEN VDU GET 220 UNTIL ADVAL(-2)=0 230 *FX 2,2 250 IF ?ad=0 THEN ad=space+&1000 260 IF ?ad=13 THEN T=TIME:REPEAT UNTIL TIME>(T+20) 270 NEXT:ENDPROC
*FX2,2 *FX7,7 *FX8,7 ( � 3 2 OSBYTE=&FFF4:� < � �(-33) � �tdsai F A%=138:X%=2 P( � �(-1)>0 � �(-3)>0 � Y%=�:� OSBYTE Z *FX 2,1 d � �(-2)>0 � � � n *FX 2,2 x � � � : � ��tdsai �= �space &1000:�ad=space � (space+&1000) �4:!ad=0:�:*FX2,2 � �"LOAD TDSAI "+�~space � �ad=space � (space+&1000) � A%=138:X%=2:Y%=?ad:� OSBYTE � *FX 2,1 � � � � �(-2)>0 � � � � � �(-2)=0 � *FX 2,2 � � ?ad=0 � ad=space+&1000 � ?ad=13 � T=�:� � �>(T+20) �:� �
00000000 0d 00 0a 0b 20 2a 46 58 32 2c 32 0d 00 14 0b 20 |.... *FX2,2.... | 00000010 2a 46 58 37 2c 37 0d 00 1e 0b 20 2a 46 58 38 2c |*FX7,7.... *FX8,| 00000020 37 0d 00 28 08 20 eb 20 33 0d 00 32 13 20 4f 53 |7..(. . 3..2. OS| 00000030 42 59 54 45 3d 26 46 46 46 34 3a f5 0d 00 3c 16 |BYTE=&FFF4:...<.| 00000040 20 e7 20 a6 28 2d 33 33 29 20 8c 20 f2 74 64 73 | . .(-33) . .tds| 00000050 61 69 0d 00 46 10 20 41 25 3d 31 33 38 3a 58 25 |ai..F. A%=138:X%| 00000060 3d 32 0d 00 50 28 20 e7 20 96 28 2d 31 29 3e 30 |=2..P( . .(-1)>0| 00000070 20 80 20 96 28 2d 33 29 3e 30 20 8c 20 59 25 3d | . .(-3)>0 . Y%=| 00000080 a5 3a d6 20 4f 53 42 59 54 45 0d 00 5a 0c 20 2a |.:. OSBYTE..Z. *| 00000090 46 58 20 32 2c 31 0d 00 64 14 20 e7 20 96 28 2d |FX 2,1..d. . .(-| 000000a0 32 29 3e 30 20 8c 20 ef 20 a5 0d 00 6e 0c 20 2a |2)>0 . . ...n. *| 000000b0 46 58 20 32 2c 32 0d 00 78 08 20 fd 20 a3 0d 00 |FX 2,2..x. . ...| 000000c0 82 06 20 3a 0d 00 8c 0c 20 dd f2 74 64 73 61 69 |.. :.... ..tdsai| 000000d0 0d 00 96 3d 20 de 73 70 61 63 65 20 26 31 30 30 |...= .space &100| 000000e0 30 3a e3 61 64 3d 73 70 61 63 65 20 b8 20 28 73 |0:.ad=space . (s| 000000f0 70 61 63 65 2b 26 31 30 30 30 29 20 88 34 3a 21 |pace+&1000) .4:!| 00000100 61 64 3d 30 3a ed 3a 2a 46 58 32 2c 32 0d 00 a0 |ad=0:.:*FX2,2...| 00000110 1b 20 ff 22 4c 4f 41 44 20 54 44 53 41 49 20 22 |. ."LOAD TDSAI "| 00000120 2b c3 7e 73 70 61 63 65 0d 00 aa 1e 20 e3 61 64 |+.~space.... .ad| 00000130 3d 73 70 61 63 65 20 b8 20 28 73 70 61 63 65 2b |=space . (space+| 00000140 26 31 30 30 30 29 0d 00 b4 20 20 41 25 3d 31 33 |&1000)... A%=13| 00000150 38 3a 58 25 3d 32 3a 59 25 3d 3f 61 64 3a d6 20 |8:X%=2:Y%=?ad:. | 00000160 4f 53 42 59 54 45 0d 00 be 0c 20 2a 46 58 20 32 |OSBYTE.... *FX 2| 00000170 2c 31 0d 00 c8 06 20 f5 0d 00 d2 14 20 e7 20 96 |,1.... ..... . .| 00000180 28 2d 32 29 3e 30 20 8c 20 ef 20 a5 0d 00 dc 0e |(-2)>0 . . .....| 00000190 20 fd 20 96 28 2d 32 29 3d 30 0d 00 e6 0c 20 2a | . .(-2)=0.... *| 000001a0 46 58 20 32 2c 32 0d 00 fa 1d 20 e7 20 3f 61 64 |FX 2,2.... . ?ad| 000001b0 3d 30 20 8c 20 61 64 3d 73 70 61 63 65 2b 26 31 |=0 . ad=space+&1| 000001c0 30 30 30 0d 01 04 20 20 e7 20 3f 61 64 3d 31 33 |000... . ?ad=13| 000001d0 20 8c 20 54 3d 91 3a f5 20 fd 20 91 3e 28 54 2b | . T=.:. . .>(T+| 000001e0 32 30 29 0d 01 0e 08 20 ed 3a e1 0d ff |20).... .:...| 000001ed