Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_17.ADF » SCREEN

SCREEN

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 » Electron_User_Group » EUG_17.ADF
Filename: SCREEN
Read OK:
File size: 0725 bytes
Load address: FFFF0E00
Exec address: FFFF8023
File contents
   10REM SCREEN
   20ONERRORMODE6:OSCLI"FX13,4":END
   30MODE2:VDU23,1,0;0;0;0;
   40VDU23,236,2,7,7,2,0,0,0,0
   50VDU28,0,31,79,31
   60*LOAD TITLE
   70PROCstoredata:PROCassemble
   80PROCmove
   90REPEATUNTILINKEY-99
  100MODE6
  110?&220=&A2:?&221=&FF
  120CHAIN"MENU"
  130END
  140DEFPROCmove
  150YG%=216
  160REPEAT
  170FORN%=1TO15
  180FORC2%=8TO15
  190IFINKEY-99 ENDPROC
  200C3%=C2%-1:IFC2%=8 C3%=15
  210VDU19,C2%,7,0,0,0,19,C3%,6,0,0,0
  220change%=RND(2)+3
  230VDU19,change%,RND(7),0,0,0
  240IFYG%>264 YG%=216
  250VDU5,18,0,7,25,4,RND(1319)-40;YG%;236
  260IF?&FFFF=&DB d%=650 ELSEd%=150
  270FORD%=0TOd%:NEXT
  280sound%=INKEY(15)
  290IFsound%=81 THEN *FX13,4
  300IFsound%=83 THEN *FX14,4
  310NEXT:NEXT
  320YG%=YG%+16
  330UNTILINKEY-99
  340ENDPROC
  350DEFPROCstoredata
  360RESTORE770
  370?&70=244:FORI%=244TO1STEP-1:READJ%:I%?&A00=J%:NEXT
  380ENDPROC
  390DEFPROCassemble
  400pointer=&70:sound=&71:!sound=1:sound!2=-15:osword=&FFF1:osbyte=&FFF4
  410?&220=&00:?&221=&09
  420FORpass=0TO2STEP2
  430P%=&900
  440[OPTpass
  450PHP:PHA
  460TXA:PHA
  470TYA:PHA
  480LDA#&80
  490LDX#&FA
  500LDY#&FF
  510JSRosbyte
  520CPX#10
  530BMIend
  540LDYpointer
  550LDA&A00,Y
  560STAsound+4
  570DEY
  580LDA&A00,Y
  590STAsound+6
  600LDA#7
  610LDX#sound MOD256
  620LDY#sound DIV256
  630JSRosword
  640DECpointer
  650DECpointer
  660BNEend
  670LDA#244:STApointer
  680.end
  690PLA:TAY
  700PLA:TAX
  710PLA:PLP
  720RTS
  730]
  740NEXT
  750*FX14,4
  760ENDPROC
  770DATA 80,15,88,5,80,10,68,30,80,15,88,5,80,10,68,30,108,30,96,30,100,30,80,30,88,30,100,15,96,5,88,10,80,15,88,5,80,10,68,30
  780DATA 96,18,88,9,80,18,68,9,76,9,80,9,76,9,68,27,96,18,88,9,80,18,68,9,76,9,80,9,76,9,68,27,80,18,0,0,80,9,88,18,0,0,88,9,96,18,0,0,96,9,108,9,100,9,96,9,88,9,96,9,88,9,80,18,76,9,68,40
  790DATA 96,5,0,0,96,5,0,0,96,10,0,0,96,5,0,0,96,5,0,0,96,10,0,0,96,5,108,5,80,7,88,3,96,20,100,5,0,0,100,5,0,0,100,7,0,0,100,5,96,5,0,0,96,5,0,0,96,3,0,0,96,3,108,5,0,0,108,5,100,5,88,5,80,40
  800DATA 52,10,72,10,0,0,72,10,80,5,88,5,72,10,0,0,72,10,88,5,92,5,100,10,0,0,100,10,108,10,92,20,80,5,88,5,92,10,0,0,92,10,100,10,88,10,0,0,88,10,72,5,88,5,80,10,60,10,68,10,72,40

� SCREEN
��6:�"FX13,4":�
�2:�23,1,0;0;0;0;
(�23,236,2,7,7,2,0,0,0,0
2�28,0,31,79,31
<*LOAD TITLE
F�storedata:�assemble
P	�move
Z
���-99
d�6
n?&220=&A2:?&221=&FF
x�"MENU"
��
�
��move
�YG%=216
��
��N%=1�15
�
�C2%=8�15
��-99 �
�C3%=C2%-1:�C2%=8 C3%=15
�"�19,C2%,7,0,0,0,19,C3%,6,0,0,0
�change%=�(2)+3
��19,change%,�(7),0,0,0
��YG%>264 YG%=216
�%�5,18,0,7,25,4,�(1319)-40;YG%;236
�?&FFFF=&DB d%=650 �d%=150
�D%=0�d%:�
sound%=�(15)
"�sound%=81 � *FX13,4
,�sound%=83 � *FX14,4
6�:�
@YG%=YG%+16
J	��-99
T�
^��storedata
h	��TBC
r*?&70=244:�I%=244�1�-1:�J%:I%?&A00=J%:�
|�
���assemble
�Hpointer=&70:sound=&71:!sound=1:sound!2=-15:osword=&FFF1:osbyte=&FFF4
�?&220=&00:?&221=&09
��pass=0�2�2
�P%=&900
�[OPTpass
�PHP:PHA
�TXA:PHA
�TYA:PHA
�LDA#&80
�LDX#&FA
�LDY#&FF
�
JSRosbyte

CPX#10

BMIend
LDYpointer
&
LDA&A00,Y
0STAsound+4
:DEY
D
LDA&A00,Y
NSTAsound+6
X	LDA#7
bLDX#sound �256
lLDY#sound �256
v
JSRosword
�DECpointer
�DECpointer
�
BNEend
�LDA#244:STApointer
�.end
�PLA:TAY
�PLA:TAX
�PLA:PLP
�RTS
�]
��
�*FX14,4
��
|� 80,15,88,5,80,10,68,30,80,15,88,5,80,10,68,30,108,30,96,30,100,30,80,30,88,30,100,15,96,5,88,10,80,15,88,5,80,10,68,30
�� 96,18,88,9,80,18,68,9,76,9,80,9,76,9,68,27,96,18,88,9,80,18,68,9,76,9,80,9,76,9,68,27,80,18,0,0,80,9,88,18,0,0,88,9,96,18,0,0,96,9,108,9,100,9,96,9,88,9,96,9,88,9,80,18,76,9,68,40
�� 96,5,0,0,96,5,0,0,96,10,0,0,96,5,0,0,96,5,0,0,96,10,0,0,96,5,108,5,80,7,88,3,96,20,100,5,0,0,100,5,0,0,100,7,0,0,100,5,96,5,0,0,96,5,0,0,96,3,0,0,96,3,108,5,0,0,108,5,100,5,88,5,80,40
 �� 52,10,72,10,0,0,72,10,80,5,88,5,72,10,0,0,72,10,88,5,92,5,100,10,0,0,100,10,108,10,92,20,80,5,88,5,92,10,0,0,92,10,100,10,88,10,0,0,88,10,72,5,88,5,80,10,60,10,68,10,72,40
�
00000000  0d 00 0a 0c f4 20 53 43  52 45 45 4e 0d 00 14 14  |..... SCREEN....|
00000010  ee 85 eb 36 3a ff 22 46  58 31 33 2c 34 22 3a e0  |...6:."FX13,4":.|
00000020  0d 00 1e 15 eb 32 3a ef  32 33 2c 31 2c 30 3b 30  |.....2:.23,1,0;0|
00000030  3b 30 3b 30 3b 0d 00 28  1b ef 32 33 2c 32 33 36  |;0;0;..(..23,236|
00000040  2c 32 2c 37 2c 37 2c 32  2c 30 2c 30 2c 30 2c 30  |,2,7,7,2,0,0,0,0|
00000050  0d 00 32 12 ef 32 38 2c  30 2c 33 31 2c 37 39 2c  |..2..28,0,31,79,|
00000060  33 31 0d 00 3c 0f 2a 4c  4f 41 44 20 54 49 54 4c  |31..<.*LOAD TITL|
00000070  45 0d 00 46 18 f2 73 74  6f 72 65 64 61 74 61 3a  |E..F..storedata:|
00000080  f2 61 73 73 65 6d 62 6c  65 0d 00 50 09 f2 6d 6f  |.assemble..P..mo|
00000090  76 65 0d 00 5a 0a f5 fd  a6 2d 39 39 0d 00 64 06  |ve..Z....-99..d.|
000000a0  eb 36 0d 00 6e 17 3f 26  32 32 30 3d 26 41 32 3a  |.6..n.?&220=&A2:|
000000b0  3f 26 32 32 31 3d 26 46  46 0d 00 78 0b d7 22 4d  |?&221=&FF..x.."M|
000000c0  45 4e 55 22 0d 00 82 05  e0 0d 00 8c 0a dd f2 6d  |ENU"...........m|
000000d0  6f 76 65 0d 00 96 0b 59  47 25 3d 32 31 36 0d 00  |ove....YG%=216..|
000000e0  a0 05 f5 0d 00 aa 0c e3  4e 25 3d 31 b8 31 35 0d  |........N%=1.15.|
000000f0  00 b4 0d e3 43 32 25 3d  38 b8 31 35 0d 00 be 0b  |....C2%=8.15....|
00000100  e7 a6 2d 39 39 20 e1 0d  00 c8 1b 43 33 25 3d 43  |..-99 .....C3%=C|
00000110  32 25 2d 31 3a e7 43 32  25 3d 38 20 43 33 25 3d  |2%-1:.C2%=8 C3%=|
00000120  31 35 0d 00 d2 22 ef 31  39 2c 43 32 25 2c 37 2c  |15...".19,C2%,7,|
00000130  30 2c 30 2c 30 2c 31 39  2c 43 33 25 2c 36 2c 30  |0,0,0,19,C3%,6,0|
00000140  2c 30 2c 30 0d 00 dc 12  63 68 61 6e 67 65 25 3d  |,0,0....change%=|
00000150  b3 28 32 29 2b 33 0d 00  e6 1a ef 31 39 2c 63 68  |.(2)+3.....19,ch|
00000160  61 6e 67 65 25 2c b3 28  37 29 2c 30 2c 30 2c 30  |ange%,.(7),0,0,0|
00000170  0d 00 f0 14 e7 59 47 25  3e 32 36 34 20 59 47 25  |.....YG%>264 YG%|
00000180  3d 32 31 36 0d 00 fa 25  ef 35 2c 31 38 2c 30 2c  |=216...%.5,18,0,|
00000190  37 2c 32 35 2c 34 2c b3  28 31 33 31 39 29 2d 34  |7,25,4,.(1319)-4|
000001a0  30 3b 59 47 25 3b 32 33  36 0d 01 04 1e e7 3f 26  |0;YG%;236.....?&|
000001b0  46 46 46 46 3d 26 44 42  20 64 25 3d 36 35 30 20  |FFFF=&DB d%=650 |
000001c0  8b 64 25 3d 31 35 30 0d  01 0e 0e e3 44 25 3d 30  |.d%=150.....D%=0|
000001d0  b8 64 25 3a ed 0d 01 18  10 73 6f 75 6e 64 25 3d  |.d%:.....sound%=|
000001e0  a6 28 31 35 29 0d 01 22  18 e7 73 6f 75 6e 64 25  |.(15).."..sound%|
000001f0  3d 38 31 20 8c 20 2a 46  58 31 33 2c 34 0d 01 2c  |=81 . *FX13,4..,|
00000200  18 e7 73 6f 75 6e 64 25  3d 38 33 20 8c 20 2a 46  |..sound%=83 . *F|
00000210  58 31 34 2c 34 0d 01 36  07 ed 3a ed 0d 01 40 0e  |X14,4..6..:...@.|
00000220  59 47 25 3d 59 47 25 2b  31 36 0d 01 4a 09 fd a6  |YG%=YG%+16..J...|
00000230  2d 39 39 0d 01 54 05 e1  0d 01 5e 0f dd f2 73 74  |-99..T....^...st|
00000240  6f 72 65 64 61 74 61 0d  01 68 09 f7 8d 54 42 43  |oredata..h...TBC|
00000250  0d 01 72 2a 3f 26 37 30  3d 32 34 34 3a e3 49 25  |..r*?&70=244:.I%|
00000260  3d 32 34 34 b8 31 88 2d  31 3a f3 4a 25 3a 49 25  |=244.1.-1:.J%:I%|
00000270  3f 26 41 30 30 3d 4a 25  3a ed 0d 01 7c 05 e1 0d  |?&A00=J%:...|...|
00000280  01 86 0e dd f2 61 73 73  65 6d 62 6c 65 0d 01 90  |.....assemble...|
00000290  48 70 6f 69 6e 74 65 72  3d 26 37 30 3a 73 6f 75  |Hpointer=&70:sou|
000002a0  6e 64 3d 26 37 31 3a 21  73 6f 75 6e 64 3d 31 3a  |nd=&71:!sound=1:|
000002b0  73 6f 75 6e 64 21 32 3d  2d 31 35 3a 6f 73 77 6f  |sound!2=-15:oswo|
000002c0  72 64 3d 26 46 46 46 31  3a 6f 73 62 79 74 65 3d  |rd=&FFF1:osbyte=|
000002d0  26 46 46 46 34 0d 01 9a  17 3f 26 32 32 30 3d 26  |&FFF4....?&220=&|
000002e0  30 30 3a 3f 26 32 32 31  3d 26 30 39 0d 01 a4 0f  |00:?&221=&09....|
000002f0  e3 70 61 73 73 3d 30 b8  32 88 32 0d 01 ae 0b 50  |.pass=0.2.2....P|
00000300  25 3d 26 39 30 30 0d 01  b8 0c 5b 4f 50 54 70 61  |%=&900....[OPTpa|
00000310  73 73 0d 01 c2 0b 50 48  50 3a 50 48 41 0d 01 cc  |ss....PHP:PHA...|
00000320  0b 54 58 41 3a 50 48 41  0d 01 d6 0b 54 59 41 3a  |.TXA:PHA....TYA:|
00000330  50 48 41 0d 01 e0 0b 4c  44 41 23 26 38 30 0d 01  |PHA....LDA#&80..|
00000340  ea 0b 4c 44 58 23 26 46  41 0d 01 f4 0b 4c 44 59  |..LDX#&FA....LDY|
00000350  23 26 46 46 0d 01 fe 0d  4a 53 52 6f 73 62 79 74  |#&FF....JSRosbyt|
00000360  65 0d 02 08 0a 43 50 58  23 31 30 0d 02 12 0a 42  |e....CPX#10....B|
00000370  4d 49 65 6e 64 0d 02 1c  0e 4c 44 59 70 6f 69 6e  |MIend....LDYpoin|
00000380  74 65 72 0d 02 26 0d 4c  44 41 26 41 30 30 2c 59  |ter..&.LDA&A00,Y|
00000390  0d 02 30 0e 53 54 41 73  6f 75 6e 64 2b 34 0d 02  |..0.STAsound+4..|
000003a0  3a 07 44 45 59 0d 02 44  0d 4c 44 41 26 41 30 30  |:.DEY..D.LDA&A00|
000003b0  2c 59 0d 02 4e 0e 53 54  41 73 6f 75 6e 64 2b 36  |,Y..N.STAsound+6|
000003c0  0d 02 58 09 4c 44 41 23  37 0d 02 62 12 4c 44 58  |..X.LDA#7..b.LDX|
000003d0  23 73 6f 75 6e 64 20 83  32 35 36 0d 02 6c 12 4c  |#sound .256..l.L|
000003e0  44 59 23 73 6f 75 6e 64  20 81 32 35 36 0d 02 76  |DY#sound .256..v|
000003f0  0d 4a 53 52 6f 73 77 6f  72 64 0d 02 80 0e 44 45  |.JSRosword....DE|
00000400  43 70 6f 69 6e 74 65 72  0d 02 8a 0e 44 45 43 70  |Cpointer....DECp|
00000410  6f 69 6e 74 65 72 0d 02  94 0a 42 4e 45 65 6e 64  |ointer....BNEend|
00000420  0d 02 9e 16 4c 44 41 23  32 34 34 3a 53 54 41 70  |....LDA#244:STAp|
00000430  6f 69 6e 74 65 72 0d 02  a8 08 2e 65 6e 64 0d 02  |ointer.....end..|
00000440  b2 0b 50 4c 41 3a 54 41  59 0d 02 bc 0b 50 4c 41  |..PLA:TAY....PLA|
00000450  3a 54 41 58 0d 02 c6 0b  50 4c 41 3a 50 4c 50 0d  |:TAX....PLA:PLP.|
00000460  02 d0 07 52 54 53 0d 02  da 05 5d 0d 02 e4 05 ed  |...RTS....].....|
00000470  0d 02 ee 0b 2a 46 58 31  34 2c 34 0d 02 f8 05 e1  |....*FX14,4.....|
00000480  0d 03 02 7c dc 20 38 30  2c 31 35 2c 38 38 2c 35  |...|. 80,15,88,5|
00000490  2c 38 30 2c 31 30 2c 36  38 2c 33 30 2c 38 30 2c  |,80,10,68,30,80,|
000004a0  31 35 2c 38 38 2c 35 2c  38 30 2c 31 30 2c 36 38  |15,88,5,80,10,68|
000004b0  2c 33 30 2c 31 30 38 2c  33 30 2c 39 36 2c 33 30  |,30,108,30,96,30|
000004c0  2c 31 30 30 2c 33 30 2c  38 30 2c 33 30 2c 38 38  |,100,30,80,30,88|
000004d0  2c 33 30 2c 31 30 30 2c  31 35 2c 39 36 2c 35 2c  |,30,100,15,96,5,|
000004e0  38 38 2c 31 30 2c 38 30  2c 31 35 2c 38 38 2c 35  |88,10,80,15,88,5|
000004f0  2c 38 30 2c 31 30 2c 36  38 2c 33 30 0d 03 0c b9  |,80,10,68,30....|
00000500  dc 20 39 36 2c 31 38 2c  38 38 2c 39 2c 38 30 2c  |. 96,18,88,9,80,|
00000510  31 38 2c 36 38 2c 39 2c  37 36 2c 39 2c 38 30 2c  |18,68,9,76,9,80,|
00000520  39 2c 37 36 2c 39 2c 36  38 2c 32 37 2c 39 36 2c  |9,76,9,68,27,96,|
00000530  31 38 2c 38 38 2c 39 2c  38 30 2c 31 38 2c 36 38  |18,88,9,80,18,68|
00000540  2c 39 2c 37 36 2c 39 2c  38 30 2c 39 2c 37 36 2c  |,9,76,9,80,9,76,|
00000550  39 2c 36 38 2c 32 37 2c  38 30 2c 31 38 2c 30 2c  |9,68,27,80,18,0,|
00000560  30 2c 38 30 2c 39 2c 38  38 2c 31 38 2c 30 2c 30  |0,80,9,88,18,0,0|
00000570  2c 38 38 2c 39 2c 39 36  2c 31 38 2c 30 2c 30 2c  |,88,9,96,18,0,0,|
00000580  39 36 2c 39 2c 31 30 38  2c 39 2c 31 30 30 2c 39  |96,9,108,9,100,9|
00000590  2c 39 36 2c 39 2c 38 38  2c 39 2c 39 36 2c 39 2c  |,96,9,88,9,96,9,|
000005a0  38 38 2c 39 2c 38 30 2c  31 38 2c 37 36 2c 39 2c  |88,9,80,18,76,9,|
000005b0  36 38 2c 34 30 0d 03 16  bd dc 20 39 36 2c 35 2c  |68,40..... 96,5,|
000005c0  30 2c 30 2c 39 36 2c 35  2c 30 2c 30 2c 39 36 2c  |0,0,96,5,0,0,96,|
000005d0  31 30 2c 30 2c 30 2c 39  36 2c 35 2c 30 2c 30 2c  |10,0,0,96,5,0,0,|
000005e0  39 36 2c 35 2c 30 2c 30  2c 39 36 2c 31 30 2c 30  |96,5,0,0,96,10,0|
000005f0  2c 30 2c 39 36 2c 35 2c  31 30 38 2c 35 2c 38 30  |,0,96,5,108,5,80|
00000600  2c 37 2c 38 38 2c 33 2c  39 36 2c 32 30 2c 31 30  |,7,88,3,96,20,10|
00000610  30 2c 35 2c 30 2c 30 2c  31 30 30 2c 35 2c 30 2c  |0,5,0,0,100,5,0,|
00000620  30 2c 31 30 30 2c 37 2c  30 2c 30 2c 31 30 30 2c  |0,100,7,0,0,100,|
00000630  35 2c 39 36 2c 35 2c 30  2c 30 2c 39 36 2c 35 2c  |5,96,5,0,0,96,5,|
00000640  30 2c 30 2c 39 36 2c 33  2c 30 2c 30 2c 39 36 2c  |0,0,96,3,0,0,96,|
00000650  33 2c 31 30 38 2c 35 2c  30 2c 30 2c 31 30 38 2c  |3,108,5,0,0,108,|
00000660  35 2c 31 30 30 2c 35 2c  38 38 2c 35 2c 38 30 2c  |5,100,5,88,5,80,|
00000670  34 30 0d 03 20 b1 dc 20  35 32 2c 31 30 2c 37 32  |40.. .. 52,10,72|
00000680  2c 31 30 2c 30 2c 30 2c  37 32 2c 31 30 2c 38 30  |,10,0,0,72,10,80|
00000690  2c 35 2c 38 38 2c 35 2c  37 32 2c 31 30 2c 30 2c  |,5,88,5,72,10,0,|
000006a0  30 2c 37 32 2c 31 30 2c  38 38 2c 35 2c 39 32 2c  |0,72,10,88,5,92,|
000006b0  35 2c 31 30 30 2c 31 30  2c 30 2c 30 2c 31 30 30  |5,100,10,0,0,100|
000006c0  2c 31 30 2c 31 30 38 2c  31 30 2c 39 32 2c 32 30  |,10,108,10,92,20|
000006d0  2c 38 30 2c 35 2c 38 38  2c 35 2c 39 32 2c 31 30  |,80,5,88,5,92,10|
000006e0  2c 30 2c 30 2c 39 32 2c  31 30 2c 31 30 30 2c 31  |,0,0,92,10,100,1|
000006f0  30 2c 38 38 2c 31 30 2c  30 2c 30 2c 38 38 2c 31  |0,88,10,0,0,88,1|
00000700  30 2c 37 32 2c 35 2c 38  38 2c 35 2c 38 30 2c 31  |0,72,5,88,5,80,1|
00000710  30 2c 36 30 2c 31 30 2c  36 38 2c 31 30 2c 37 32  |0,60,10,68,10,72|
00000720  2c 34 30 0d ff                                    |,40..|
00000725
SCREEN.m0
SCREEN.m1
SCREEN.m2
SCREEN.m4
SCREEN.m5