Home » Personal collection » Acorn hard disk » misc » dcfprogs » Arcade/Screen

Arcade/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 hard disk » misc » dcfprogs
Filename: Arcade/Screen
Read OK:
File size: 06E8 bytes
Load address: 0000
Exec address: 0000
Duplicates

There are 4 duplicate copies of this file in the archive:

File contents
   10MODE6:PROCass
   20A$="DEL.80,9999"+CHR$13+"GOTO40"+CHR$6+CHR$13:VDU21:FOR char=1 TO LEN(A$):OSCLI"FX138,0,"+STR$(ASC(MID$(A$,char,1))):NEXT
   30END
   40MODE2:HIMEM=&2000:*LO. BLOCDAT 2000
   50VDU23,1,0;0;0;0;:x=0:y=0:GCOL3,3:REPEAT:CALL&A00:MOVEx*128,1024-y*64:MOVEx*128,960-y*64:PLOT85,(x*128)+128,1024-y*64:PLOT85,(x*128)+128,960-y*64:k$=GET$
   60IFk$="Z"ANDx<>0THENx=x-1ELSEIFk$="X"ANDx<>9THENx=x+1ELSEIFk$="K"ANDy<>0THENy=y-1ELSEIFk$="M"ANDy<>9THENy=y+1
   70UNTIL FALSE
   80:
   90DEFPROCass
  100FORpass=0TO2STEP2:P%=&A00
  110[OPT pass
  120.screen LDA#&30:CLC:ADCxscr:STA&71:LDAyscr:ASL A:ASL A:ASL A:ASL A:CLC:ADC&71:STA&71:LDA#&FF:STAyset:.ylop LDA#&FF:STAxset:INCyset
  130.xlop INCxset:LDAypos:PHA:STA&70:PLA:ASL A:ASL A:PHA:CLC:ADC&70:STA&70:PLA:ASL A:ASL A:CLC:ADC&70:STA&70:LDYxset:LDAxdata,Y:TAY:LDA(&70),Y:ROL A:ROL A:ROL A:AND#3:STA&72:INY:LDA(&70),Y:LSR A:LSR A:LSR A:LSR A:AND#12
  140CLC:ADC&72:STA&72:LDAxset:LSR A:TAY:LDAhbdat,Y:TAY:LDA(&70),Y:STA&73:LDAxset:AND#1:BNEbit2:LDA&73:ASL A:ROL A:ROL A:JMPfbgot
  150.bit2 LDA&73:ASL A:ROL A
  160.fbgot AND#1:ASL A:ASL A:ASL A:ASL A:CLC:ADC&72:ASL A:STA&72:PHA
  170LDAxset:ASL A:ASL A:ASL A:ASL A:ASL A:ASL A:STA&70:LDAxset:LSR A:LSR A:CLC:ADC#&30:STA&71:LDAyset:CLC:ADC&71:STA&71:LDAyset:ASL A:ASL A:CLC:ADC&71:STA&71
  180LDA&72:LSR A:LSR A:CLC:ADC#&20:STA&73:LDA&72:LSR A:ROR A:ROR A:AND#&C0:STA&72:LDY#0
  190.transtop LDA(&70),Y:AND#&C0:CLC:ADC(&72),Y:STA(&70),Y:INY:CPY#&40:BNEtranstop:LDY#0:PLA:STA(&70),Y:LDA&72:CLC:ADC#&40:STA&72:LDA&70:CLC:ADC#&80:STA&70:LDA&71:ADC#2:STA&71
  200.transbot LDA(&70),Y:AND#&C0:CLC:ADC(&72),Y:STA(&70),Y:INY:CPY#&40:BNEtransbot
  210LDAxset:CMP#9:BEQnexty:JMPxlop
  220.nexty LDAyset:CMP#9:BEQscrend:JMPylop
  230.scrend RTS
  240.xdata EQUB0:EQUB2:EQUB5:EQUB7:EQUB10:EQUB12:EQUB15:EQUB17:EQUB20:EQUB22
  250.hbdat EQUB4:EQUB9:EQUB14:EQUB19:EQUB24
  260.xset EQUB0:.yset EQUB0:.xscr EQUB0:.yscr EQUB0:.xpos EQUB0:.ypos EQUB0
  270]:NEXT
  280ENDPROC

�6:�ass
]A$="DEL.80,9999"+�13+"GOTO40"+�6+�13:�21:� char=1 � �(A$):�"FX138,0,"+�(�(�A$,char,1))):�
�
( �2:�=&2000:*LO. BLOCDAT 2000
2��23,1,0;0;0;0;:x=0:y=0:�3,3:�:�&A00:�x*128,1024-y*64:�x*128,960-y*64:�85,(x*128)+128,1024-y*64:�85,(x*128)+128,960-y*64:k$=�
<O�k$="Z"�x<>0�x=x-1��k$="X"�x<>9�x=x+1��k$="K"�y<>0�y=y-1��k$="M"�y<>9�y=y+1
F� �
P:
Z	��ass
d�pass=0�2�2:P%=&A00
n
[OPT pass
x�.screen LDA#&30:CLC:ADCxscr:STA&71:LDAyscr:ASL A:ASL A:ASL A:ASL A:CLC:ADC&71:STA&71:LDA#&FF:STAyset:.ylop LDA#&FF:STAxset:INCyset
��.xlop INCxset:LDAypos:PHA:STA&70:PLA:ASL A:ASL A:PHA:CLC:ADC&70:STA&70:PLA:ASL A:ASL A:CLC:ADC&70:STA&70:LDYxset:LDAxdata,Y:TAY:LDA(&70),Y:ROL A:ROL A:ROL A:�#3:STA&72:INY:LDA(&70),Y:LSR A:LSR A:LSR A:LSR A:�#12
�~CLC:ADC&72:STA&72:LDAxset:LSR A:TAY:LDAhbdat,Y:TAY:LDA(&70),Y:STA&73:LDAxset:�#1:BNEbit2:LDA&73:ASL A:ROL A:ROL A:JMPfbgot
�.bit2 LDA&73:ASL A:ROL A
�B.fbgot �#1:ASL A:ASL A:ASL A:ASL A:CLC:ADC&72:ASL A:STA&72:PHA
��LDAxset:ASL A:ASL A:ASL A:ASL A:ASL A:ASL A:STA&70:LDAxset:LSR A:LSR A:CLC:ADC#&30:STA&71:LDAyset:CLC:ADC&71:STA&71:LDAyset:ASL A:ASL A:CLC:ADC&71:STA&71
�ULDA&72:LSR A:LSR A:CLC:ADC#&20:STA&73:LDA&72:LSR A:ROR A:ROR A:�#&C0:STA&72:LDY#0
��.transtop LDA(&70),Y:�#&C0:CLC:ADC(&72),Y:STA(&70),Y:INY:CPY#&40:BNEtranstop:LDY#0:PLA:STA(&70),Y:LDA&72:CLC:ADC#&40:STA&72:LDA&70:CLC:ADC#&80:STA&70:LDA&71:ADC#2:STA&71
�P.transbot LDA(&70),Y:�#&C0:CLC:ADC(&72),Y:STA(&70),Y:INY:CPY#&40:BNEtransbot
�"LDAxset:CMP#9:BEQnexty:JMPxlop
�*.nexty LDAyset:CMP#9:BEQscrend:JMPylop
�.scrend RTS
�L.xdata EQUB0:EQUB2:EQUB5:EQUB7:EQUB10:EQUB12:EQUB15:EQUB17:EQUB20:EQUB22
�+.hbdat EQUB4:EQUB9:EQUB14:EQUB19:EQUB24
K.xset EQUB0:.yset EQUB0:.xscr EQUB0:.yscr EQUB0:.xpos EQUB0:.ypos EQUB0
]:�
�
�
00000000  0d 00 0a 0b eb 36 3a f2  61 73 73 0d 00 14 5d 41  |.....6:.ass...]A|
00000010  24 3d 22 44 45 4c 2e 38  30 2c 39 39 39 39 22 2b  |$="DEL.80,9999"+|
00000020  bd 31 33 2b 22 47 4f 54  4f 34 30 22 2b bd 36 2b  |.13+"GOTO40"+.6+|
00000030  bd 31 33 3a ef 32 31 3a  e3 20 63 68 61 72 3d 31  |.13:.21:. char=1|
00000040  20 b8 20 a9 28 41 24 29  3a ff 22 46 58 31 33 38  | . .(A$):."FX138|
00000050  2c 30 2c 22 2b c3 28 97  28 c1 41 24 2c 63 68 61  |,0,"+.(.(.A$,cha|
00000060  72 2c 31 29 29 29 3a ed  0d 00 1e 05 e0 0d 00 28  |r,1))):........(|
00000070  20 eb 32 3a d3 3d 26 32  30 30 30 3a 2a 4c 4f 2e  | .2:.=&2000:*LO.|
00000080  20 42 4c 4f 43 44 41 54  20 32 30 30 30 0d 00 32  | BLOCDAT 2000..2|
00000090  80 ef 32 33 2c 31 2c 30  3b 30 3b 30 3b 30 3b 3a  |..23,1,0;0;0;0;:|
000000a0  78 3d 30 3a 79 3d 30 3a  e6 33 2c 33 3a f5 3a d6  |x=0:y=0:.3,3:.:.|
000000b0  26 41 30 30 3a ec 78 2a  31 32 38 2c 31 30 32 34  |&A00:.x*128,1024|
000000c0  2d 79 2a 36 34 3a ec 78  2a 31 32 38 2c 39 36 30  |-y*64:.x*128,960|
000000d0  2d 79 2a 36 34 3a f0 38  35 2c 28 78 2a 31 32 38  |-y*64:.85,(x*128|
000000e0  29 2b 31 32 38 2c 31 30  32 34 2d 79 2a 36 34 3a  |)+128,1024-y*64:|
000000f0  f0 38 35 2c 28 78 2a 31  32 38 29 2b 31 32 38 2c  |.85,(x*128)+128,|
00000100  39 36 30 2d 79 2a 36 34  3a 6b 24 3d be 0d 00 3c  |960-y*64:k$=...<|
00000110  4f e7 6b 24 3d 22 5a 22  80 78 3c 3e 30 8c 78 3d  |O.k$="Z".x<>0.x=|
00000120  78 2d 31 8b e7 6b 24 3d  22 58 22 80 78 3c 3e 39  |x-1..k$="X".x<>9|
00000130  8c 78 3d 78 2b 31 8b e7  6b 24 3d 22 4b 22 80 79  |.x=x+1..k$="K".y|
00000140  3c 3e 30 8c 79 3d 79 2d  31 8b e7 6b 24 3d 22 4d  |<>0.y=y-1..k$="M|
00000150  22 80 79 3c 3e 39 8c 79  3d 79 2b 31 0d 00 46 07  |".y<>9.y=y+1..F.|
00000160  fd 20 a3 0d 00 50 05 3a  0d 00 5a 09 dd f2 61 73  |. ...P.:..Z...as|
00000170  73 0d 00 64 17 e3 70 61  73 73 3d 30 b8 32 88 32  |s..d..pass=0.2.2|
00000180  3a 50 25 3d 26 41 30 30  0d 00 6e 0d 5b 4f 50 54  |:P%=&A00..n.[OPT|
00000190  20 70 61 73 73 0d 00 78  86 2e 73 63 72 65 65 6e  | pass..x..screen|
000001a0  20 4c 44 41 23 26 33 30  3a 43 4c 43 3a 41 44 43  | LDA#&30:CLC:ADC|
000001b0  78 73 63 72 3a 53 54 41  26 37 31 3a 4c 44 41 79  |xscr:STA&71:LDAy|
000001c0  73 63 72 3a 41 53 4c 20  41 3a 41 53 4c 20 41 3a  |scr:ASL A:ASL A:|
000001d0  41 53 4c 20 41 3a 41 53  4c 20 41 3a 43 4c 43 3a  |ASL A:ASL A:CLC:|
000001e0  41 44 43 26 37 31 3a 53  54 41 26 37 31 3a 4c 44  |ADC&71:STA&71:LD|
000001f0  41 23 26 46 46 3a 53 54  41 79 73 65 74 3a 2e 79  |A#&FF:STAyset:.y|
00000200  6c 6f 70 20 4c 44 41 23  26 46 46 3a 53 54 41 78  |lop LDA#&FF:STAx|
00000210  73 65 74 3a 49 4e 43 79  73 65 74 0d 00 82 d7 2e  |set:INCyset.....|
00000220  78 6c 6f 70 20 49 4e 43  78 73 65 74 3a 4c 44 41  |xlop INCxset:LDA|
00000230  79 70 6f 73 3a 50 48 41  3a 53 54 41 26 37 30 3a  |ypos:PHA:STA&70:|
00000240  50 4c 41 3a 41 53 4c 20  41 3a 41 53 4c 20 41 3a  |PLA:ASL A:ASL A:|
00000250  50 48 41 3a 43 4c 43 3a  41 44 43 26 37 30 3a 53  |PHA:CLC:ADC&70:S|
00000260  54 41 26 37 30 3a 50 4c  41 3a 41 53 4c 20 41 3a  |TA&70:PLA:ASL A:|
00000270  41 53 4c 20 41 3a 43 4c  43 3a 41 44 43 26 37 30  |ASL A:CLC:ADC&70|
00000280  3a 53 54 41 26 37 30 3a  4c 44 59 78 73 65 74 3a  |:STA&70:LDYxset:|
00000290  4c 44 41 78 64 61 74 61  2c 59 3a 54 41 59 3a 4c  |LDAxdata,Y:TAY:L|
000002a0  44 41 28 26 37 30 29 2c  59 3a 52 4f 4c 20 41 3a  |DA(&70),Y:ROL A:|
000002b0  52 4f 4c 20 41 3a 52 4f  4c 20 41 3a 80 23 33 3a  |ROL A:ROL A:.#3:|
000002c0  53 54 41 26 37 32 3a 49  4e 59 3a 4c 44 41 28 26  |STA&72:INY:LDA(&|
000002d0  37 30 29 2c 59 3a 4c 53  52 20 41 3a 4c 53 52 20  |70),Y:LSR A:LSR |
000002e0  41 3a 4c 53 52 20 41 3a  4c 53 52 20 41 3a 80 23  |A:LSR A:LSR A:.#|
000002f0  31 32 0d 00 8c 7e 43 4c  43 3a 41 44 43 26 37 32  |12...~CLC:ADC&72|
00000300  3a 53 54 41 26 37 32 3a  4c 44 41 78 73 65 74 3a  |:STA&72:LDAxset:|
00000310  4c 53 52 20 41 3a 54 41  59 3a 4c 44 41 68 62 64  |LSR A:TAY:LDAhbd|
00000320  61 74 2c 59 3a 54 41 59  3a 4c 44 41 28 26 37 30  |at,Y:TAY:LDA(&70|
00000330  29 2c 59 3a 53 54 41 26  37 33 3a 4c 44 41 78 73  |),Y:STA&73:LDAxs|
00000340  65 74 3a 80 23 31 3a 42  4e 45 62 69 74 32 3a 4c  |et:.#1:BNEbit2:L|
00000350  44 41 26 37 33 3a 41 53  4c 20 41 3a 52 4f 4c 20  |DA&73:ASL A:ROL |
00000360  41 3a 52 4f 4c 20 41 3a  4a 4d 50 66 62 67 6f 74  |A:ROL A:JMPfbgot|
00000370  0d 00 96 1c 2e 62 69 74  32 20 4c 44 41 26 37 33  |.....bit2 LDA&73|
00000380  3a 41 53 4c 20 41 3a 52  4f 4c 20 41 0d 00 a0 42  |:ASL A:ROL A...B|
00000390  2e 66 62 67 6f 74 20 80  23 31 3a 41 53 4c 20 41  |.fbgot .#1:ASL A|
000003a0  3a 41 53 4c 20 41 3a 41  53 4c 20 41 3a 41 53 4c  |:ASL A:ASL A:ASL|
000003b0  20 41 3a 43 4c 43 3a 41  44 43 26 37 32 3a 41 53  | A:CLC:ADC&72:AS|
000003c0  4c 20 41 3a 53 54 41 26  37 32 3a 50 48 41 0d 00  |L A:STA&72:PHA..|
000003d0  aa 9d 4c 44 41 78 73 65  74 3a 41 53 4c 20 41 3a  |..LDAxset:ASL A:|
000003e0  41 53 4c 20 41 3a 41 53  4c 20 41 3a 41 53 4c 20  |ASL A:ASL A:ASL |
000003f0  41 3a 41 53 4c 20 41 3a  41 53 4c 20 41 3a 53 54  |A:ASL A:ASL A:ST|
00000400  41 26 37 30 3a 4c 44 41  78 73 65 74 3a 4c 53 52  |A&70:LDAxset:LSR|
00000410  20 41 3a 4c 53 52 20 41  3a 43 4c 43 3a 41 44 43  | A:LSR A:CLC:ADC|
00000420  23 26 33 30 3a 53 54 41  26 37 31 3a 4c 44 41 79  |#&30:STA&71:LDAy|
00000430  73 65 74 3a 43 4c 43 3a  41 44 43 26 37 31 3a 53  |set:CLC:ADC&71:S|
00000440  54 41 26 37 31 3a 4c 44  41 79 73 65 74 3a 41 53  |TA&71:LDAyset:AS|
00000450  4c 20 41 3a 41 53 4c 20  41 3a 43 4c 43 3a 41 44  |L A:ASL A:CLC:AD|
00000460  43 26 37 31 3a 53 54 41  26 37 31 0d 00 b4 55 4c  |C&71:STA&71...UL|
00000470  44 41 26 37 32 3a 4c 53  52 20 41 3a 4c 53 52 20  |DA&72:LSR A:LSR |
00000480  41 3a 43 4c 43 3a 41 44  43 23 26 32 30 3a 53 54  |A:CLC:ADC#&20:ST|
00000490  41 26 37 33 3a 4c 44 41  26 37 32 3a 4c 53 52 20  |A&73:LDA&72:LSR |
000004a0  41 3a 52 4f 52 20 41 3a  52 4f 52 20 41 3a 80 23  |A:ROR A:ROR A:.#|
000004b0  26 43 30 3a 53 54 41 26  37 32 3a 4c 44 59 23 30  |&C0:STA&72:LDY#0|
000004c0  0d 00 be ad 2e 74 72 61  6e 73 74 6f 70 20 4c 44  |.....transtop LD|
000004d0  41 28 26 37 30 29 2c 59  3a 80 23 26 43 30 3a 43  |A(&70),Y:.#&C0:C|
000004e0  4c 43 3a 41 44 43 28 26  37 32 29 2c 59 3a 53 54  |LC:ADC(&72),Y:ST|
000004f0  41 28 26 37 30 29 2c 59  3a 49 4e 59 3a 43 50 59  |A(&70),Y:INY:CPY|
00000500  23 26 34 30 3a 42 4e 45  74 72 61 6e 73 74 6f 70  |#&40:BNEtranstop|
00000510  3a 4c 44 59 23 30 3a 50  4c 41 3a 53 54 41 28 26  |:LDY#0:PLA:STA(&|
00000520  37 30 29 2c 59 3a 4c 44  41 26 37 32 3a 43 4c 43  |70),Y:LDA&72:CLC|
00000530  3a 41 44 43 23 26 34 30  3a 53 54 41 26 37 32 3a  |:ADC#&40:STA&72:|
00000540  4c 44 41 26 37 30 3a 43  4c 43 3a 41 44 43 23 26  |LDA&70:CLC:ADC#&|
00000550  38 30 3a 53 54 41 26 37  30 3a 4c 44 41 26 37 31  |80:STA&70:LDA&71|
00000560  3a 41 44 43 23 32 3a 53  54 41 26 37 31 0d 00 c8  |:ADC#2:STA&71...|
00000570  50 2e 74 72 61 6e 73 62  6f 74 20 4c 44 41 28 26  |P.transbot LDA(&|
00000580  37 30 29 2c 59 3a 80 23  26 43 30 3a 43 4c 43 3a  |70),Y:.#&C0:CLC:|
00000590  41 44 43 28 26 37 32 29  2c 59 3a 53 54 41 28 26  |ADC(&72),Y:STA(&|
000005a0  37 30 29 2c 59 3a 49 4e  59 3a 43 50 59 23 26 34  |70),Y:INY:CPY#&4|
000005b0  30 3a 42 4e 45 74 72 61  6e 73 62 6f 74 0d 00 d2  |0:BNEtransbot...|
000005c0  22 4c 44 41 78 73 65 74  3a 43 4d 50 23 39 3a 42  |"LDAxset:CMP#9:B|
000005d0  45 51 6e 65 78 74 79 3a  4a 4d 50 78 6c 6f 70 0d  |EQnexty:JMPxlop.|
000005e0  00 dc 2a 2e 6e 65 78 74  79 20 4c 44 41 79 73 65  |..*.nexty LDAyse|
000005f0  74 3a 43 4d 50 23 39 3a  42 45 51 73 63 72 65 6e  |t:CMP#9:BEQscren|
00000600  64 3a 4a 4d 50 79 6c 6f  70 0d 00 e6 0f 2e 73 63  |d:JMPylop.....sc|
00000610  72 65 6e 64 20 52 54 53  0d 00 f0 4c 2e 78 64 61  |rend RTS...L.xda|
00000620  74 61 20 45 51 55 42 30  3a 45 51 55 42 32 3a 45  |ta EQUB0:EQUB2:E|
00000630  51 55 42 35 3a 45 51 55  42 37 3a 45 51 55 42 31  |QUB5:EQUB7:EQUB1|
00000640  30 3a 45 51 55 42 31 32  3a 45 51 55 42 31 35 3a  |0:EQUB12:EQUB15:|
00000650  45 51 55 42 31 37 3a 45  51 55 42 32 30 3a 45 51  |EQUB17:EQUB20:EQ|
00000660  55 42 32 32 0d 00 fa 2b  2e 68 62 64 61 74 20 45  |UB22...+.hbdat E|
00000670  51 55 42 34 3a 45 51 55  42 39 3a 45 51 55 42 31  |QUB4:EQUB9:EQUB1|
00000680  34 3a 45 51 55 42 31 39  3a 45 51 55 42 32 34 0d  |4:EQUB19:EQUB24.|
00000690  01 04 4b 2e 78 73 65 74  20 45 51 55 42 30 3a 2e  |..K.xset EQUB0:.|
000006a0  79 73 65 74 20 45 51 55  42 30 3a 2e 78 73 63 72  |yset EQUB0:.xscr|
000006b0  20 45 51 55 42 30 3a 2e  79 73 63 72 20 45 51 55  | EQUB0:.yscr EQU|
000006c0  42 30 3a 2e 78 70 6f 73  20 45 51 55 42 30 3a 2e  |B0:.xpos EQUB0:.|
000006d0  79 70 6f 73 20 45 51 55  42 30 0d 01 0e 07 5d 3a  |ypos EQUB0....]:|
000006e0  ed 0d 01 18 05 e1 0d ff                           |........|
000006e8