Home » Personal collection » Acorn tapes » Own_Work » box01_tape08b_d90_acorn_rough_stuff.wav » SNAPDUMP3

SNAPDUMP3

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 » Own_Work » box01_tape08b_d90_acorn_rough_stuff.wav
Filename: SNAPDUMP3
Read OK:
File size: 0A43 bytes
Load address: FFFF0E00
Exec address: FFFF8023
File contents
   10 REM *** Snapshot ***
   20 REM By Andrew Richards
   30 REM (c) Electron User
   40 REM CTRL saves screen
   50 MODE 6
   60 *FX 13,4
   70 PRINT
   80 INPUT "Address:&"a$
   90 code=EVAL("&"+a$)
  100 osbyte=&E544
  110 oscli=&FFF7:oswrch=&FFEE:osword=&FFF1
  120 FOR i=0 TO 2 STEP 2
  130 P%=code
  140 [ OPT i
  150 PHA:PHP:TYA:PHA:TXA:PHA
  160 LDA&20A:CMP#osbyteR MOD 256:BNEchange2:LDA&20B:CMP#osbyteR DIV256:BEQfinish2:.change2 LDA&20A:STAretosbyte+1:LDA&20B:STAretosbyte+2:LDA#osbyteR MOD256:STA&20A:LDA#osbyteR DIV256:STA&20B:.finish2
  170 LDA #&81
  180 LDX #&FE
  190 LDY #&FF
  200 JSR osbyte
  210 TYA
  220 BNE cont:JMP return:.cont
  230 LDA #13
  240 LDX #4
  250 LDY #0
  260 JSR osbyte
  270 LDA#26:JSR oswrch \VDU 26
  280 LDA #6:LDX #255:LDY #0:JSR osbyte  \*FX 6,255
  290 LDA #3:LDX #10:LDY #0:JSR osbyte \*FX3,10
  300 LDA #27:JSR oswrch:LDA #85:JSR oswrch:LDA #1:JSR oswrch \VDU 27,85,1
  310 LDA #27:JSR oswrch:LDA #51:JSR oswrch:LDA #2:JSR oswrch \VDU 27,65,2
  320 LDA #1020 MOD256:STA y:LDA #1020 DIV256:STA y+1  \y=1020
  330 .loop
  340 LDA #10:JSR oswrch \VDU 10
  350 LDA #27:JSR oswrch:LDA #76:JSR oswrch:LDA #320 MOD256:JSR oswrch:LDA #320 DIV256:JSR oswrch \VDU 27,76,320 MOD256,320 DIV256
  360 LDA #0:STA x:STA x+1  \x=0
  370 .loop1
  380 LDA x:STA block:LDA x+1:STA block+1
  390 LDA y:STA block+2:LDA y+1:STA block+3
  400 LDA #9:LDX #block MOD256:LDY #block DIV256:JSR osword  \POINT
  410 LDA block+4:AND #7:TAX:LDY mult,X  \Y=POINT*6
  420 LDX #2
  430 .loop2
  440 LDA data,Y:JSR oswrch
  450 INY:DEX:BNE loop2
  460 CLC:LDA x:ADC #8:STA x:LDA x+1:ADC #0:STA x+1  \x=x+8
  470 CMP #1280 DIV256:BNE loop1
  480 SEC:LDA y:SBC #4:STA y:LDA y+1:SBC #0:STA y+1  \y=y-4
  490 BNE jump
  500 LDA y:BNE jump
  510 JMP end:.jump JMP loop:.end
  520 LDA #3:LDX #4:LDY #0:JSR osbyte  \*FX3,4
  530 JMP return
  540 .mult
  550 EQUB 0:EQUB 5*6:EQUB 6*6:EQUB 7*6
  560 
  570 .data
  580 EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0
  590 EQUB 0:EQUB 1:EQUB 0:EQUB 0:EQUB 1:EQUB 0
  600 EQUB 1:EQUB 0:EQUB 2:EQUB 2:EQUB 0:EQUB 1
  610 EQUB 0:EQUB 3:EQUB 0:EQUB 0:EQUB 3:EQUB 0
  620 EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1
  630 EQUB 1:EQUB 0:EQUB 3:EQUB 0:EQUB 3:EQUB 0
  640 EQUB 0:EQUB 1:EQUB 2:EQUB 1:EQUB 3:EQUB 2
  650 EQUB 1:EQUB 1:EQUB 3:EQUB 3:EQUB 3:EQUB 3
  660 .return
  670 LDA #14
  680 LDX #4
  690 LDY #0
  700 JSR osbyte
  710 PLA:TAX:PLA:TAY:PLP:PLA
  720 .event JMP&FFA2
  730 .osbyteR PHA:PHP:TXA:PHA:TYA:PHA
  740 LDA&220:CMP#code MOD 256:BNEchange:LDA&221:CMP#code DIV256:BEQfinish:.change LDA&220:STAevent+1:LDA&221:STAevent+2:LDA#code MOD256:STA&220:LDA#code DIV256:STA&221
  750 .finish PLA:TAY:PLA:TAX:PLP:PLA:.retosbyte JMP&E544
  760 .x EQUB 0:EQUB 0:.y EQUB 0:EQUB 0:.block
  770 ]
  780 NEXT
  790 ?&220=code MOD256
  800 ?&221=code DIV256
  810 ?&20A=osbyteR MOD256
  820 ?&20B=osbyteR DIV256
  830 *FX 14,4

 � *** Snapshot ***
 � By Andrew Richards
 � (c) Electron User
( � CTRL saves screen
2 � 6
<
 *FX 13,4
F �
P � "Address:&"a$
Z code=�("&"+a$)
d osbyte=&E544
n* oscli=&FFF7:oswrch=&FFEE:osword=&FFF1
x � i=0 � 2 � 2
� P%=code
� [ OPT i
� PHA:PHP:TYA:PHA:TXA:PHA
�� LDA&20A:CMP#osbyteR � 256:BNEchange2:LDA&20B:CMP#osbyteR �256:BEQfinish2:.change2 LDA&20A:STAretosbyte+1:LDA&20B:STAretosbyte+2:LDA#osbyteR �256:STA&20A:LDA#osbyteR �256:STA&20B:.finish2
�
 LDA #&81
�
 LDX #&FE
�
 LDY #&FF
� JSR osbyte
� TYA
� BNE cont:JMP return:.cont
� LDA #13
� LDX #4
� LDY #0
 JSR osbyte
 LDA#26:JSR oswrch \� 26
2 LDA #6:LDX #255:LDY #0:JSR osbyte  \*FX 6,255
". LDA #3:LDX #10:LDY #0:JSR osbyte \*FX3,10
,G LDA #27:JSR oswrch:LDA #85:JSR oswrch:LDA #1:JSR oswrch \� 27,85,1
6G LDA #27:JSR oswrch:LDA #51:JSR oswrch:LDA #2:JSR oswrch \� 27,65,2
@9 LDA #1020 �256:STA y:LDA #1020 �256:STA y+1  \y=1020
J
 .loop
T LDA #10:JSR oswrch \� 10
^w LDA #27:JSR oswrch:LDA #76:JSR oswrch:LDA #320 �256:JSR oswrch:LDA #320 �256:JSR oswrch \� 27,76,320 �256,320 �256
h LDA #0:STA x:STA x+1  \x=0
r .loop1
|( LDA x:STA block:LDA x+1:STA block+1
�* LDA y:STA block+2:LDA y+1:STA block+3
�> LDA #9:LDX #block �256:LDY #block �256:JSR osword  \POINT
�0 LDA block+4:� #7:TAX:LDY mult,X  \Y=POINT*6
� LDX #2
� .loop2
� LDA data,Y:JSR oswrch
� INY:DEX:BNE loop2
�: CLC:LDA x:ADC #8:STA x:LDA x+1:ADC #0:STA x+1  \x=x+8
� CMP #1280 �256:BNE loop1
�: SEC:LDA y:SBC #4:STA y:LDA y+1:SBC #0:STA y+1  \y=y-4
�
 BNE jump
� LDA y:BNE jump
�  JMP end:.jump JMP loop:.end
- LDA #3:LDX #4:LDY #0:JSR osbyte  \*FX3,4
 JMP return

 .mult
&& EQUB 0:EQUB 5*6:EQUB 6*6:EQUB 7*6
0 
:
 .data
D. EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0
N. EQUB 0:EQUB 1:EQUB 0:EQUB 0:EQUB 1:EQUB 0
X. EQUB 1:EQUB 0:EQUB 2:EQUB 2:EQUB 0:EQUB 1
b. EQUB 0:EQUB 3:EQUB 0:EQUB 0:EQUB 3:EQUB 0
l. EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1
v. EQUB 1:EQUB 0:EQUB 3:EQUB 0:EQUB 3:EQUB 0
�. EQUB 0:EQUB 1:EQUB 2:EQUB 1:EQUB 3:EQUB 2
�. EQUB 1:EQUB 1:EQUB 3:EQUB 3:EQUB 3:EQUB 3
� .return
� LDA #14
� LDX #4
� LDY #0
� JSR osbyte
� PLA:TAX:PLA:TAY:PLP:PLA
� .event JMP&FFA2
�% .osbyteR PHA:PHP:TXA:PHA:TYA:PHA
� LDA&220:CMP#code � 256:BNEchange:LDA&221:CMP#code �256:BEQfinish:.change LDA&220:STAevent+1:LDA&221:STAevent+2:LDA#code �256:STA&220:LDA#code �256:STA&221
�8 .finish PLA:TAY:PLA:TAX:PLP:PLA:.retosbyte JMP&E544
�- .x EQUB 0:EQUB 0:.y EQUB 0:EQUB 0:.block
 ]
 �
 ?&220=code �256
  ?&221=code �256
* ?&20A=osbyteR �256
4 ?&20B=osbyteR �256
>
 *FX 14,4
�
00000000  0d 00 0a 17 20 f4 20 2a  2a 2a 20 53 6e 61 70 73  |.... . *** Snaps|
00000010  68 6f 74 20 2a 2a 2a 0d  00 14 19 20 f4 20 42 79  |hot ***.... . By|
00000020  20 41 6e 64 72 65 77 20  52 69 63 68 61 72 64 73  | Andrew Richards|
00000030  0d 00 1e 18 20 f4 20 28  63 29 20 45 6c 65 63 74  |.... . (c) Elect|
00000040  72 6f 6e 20 55 73 65 72  0d 00 28 18 20 f4 20 43  |ron User..(. . C|
00000050  54 52 4c 20 73 61 76 65  73 20 73 63 72 65 65 6e  |TRL saves screen|
00000060  0d 00 32 08 20 eb 20 36  0d 00 3c 0d 20 2a 46 58  |..2. . 6..<. *FX|
00000070  20 31 33 2c 34 0d 00 46  06 20 f1 0d 00 50 14 20  | 13,4..F. ...P. |
00000080  e8 20 22 41 64 64 72 65  73 73 3a 26 22 61 24 0d  |. "Address:&"a$.|
00000090  00 5a 13 20 63 6f 64 65  3d a0 28 22 26 22 2b 61  |.Z. code=.("&"+a|
000000a0  24 29 0d 00 64 11 20 6f  73 62 79 74 65 3d 26 45  |$)..d. osbyte=&E|
000000b0  35 34 34 0d 00 6e 2a 20  6f 73 63 6c 69 3d 26 46  |544..n* oscli=&F|
000000c0  46 46 37 3a 6f 73 77 72  63 68 3d 26 46 46 45 45  |FF7:oswrch=&FFEE|
000000d0  3a 6f 73 77 6f 72 64 3d  26 46 46 46 31 0d 00 78  |:osword=&FFF1..x|
000000e0  12 20 e3 20 69 3d 30 20  b8 20 32 20 88 20 32 0d  |. . i=0 . 2 . 2.|
000000f0  00 82 0c 20 50 25 3d 63  6f 64 65 0d 00 8c 0c 20  |... P%=code.... |
00000100  5b 20 4f 50 54 20 69 0d  00 96 1c 20 50 48 41 3a  |[ OPT i.... PHA:|
00000110  50 48 50 3a 54 59 41 3a  50 48 41 3a 54 58 41 3a  |PHP:TYA:PHA:TXA:|
00000120  50 48 41 0d 00 a0 bf 20  4c 44 41 26 32 30 41 3a  |PHA.... LDA&20A:|
00000130  43 4d 50 23 6f 73 62 79  74 65 52 20 83 20 32 35  |CMP#osbyteR . 25|
00000140  36 3a 42 4e 45 63 68 61  6e 67 65 32 3a 4c 44 41  |6:BNEchange2:LDA|
00000150  26 32 30 42 3a 43 4d 50  23 6f 73 62 79 74 65 52  |&20B:CMP#osbyteR|
00000160  20 81 32 35 36 3a 42 45  51 66 69 6e 69 73 68 32  | .256:BEQfinish2|
00000170  3a 2e 63 68 61 6e 67 65  32 20 4c 44 41 26 32 30  |:.change2 LDA&20|
00000180  41 3a 53 54 41 72 65 74  6f 73 62 79 74 65 2b 31  |A:STAretosbyte+1|
00000190  3a 4c 44 41 26 32 30 42  3a 53 54 41 72 65 74 6f  |:LDA&20B:STAreto|
000001a0  73 62 79 74 65 2b 32 3a  4c 44 41 23 6f 73 62 79  |sbyte+2:LDA#osby|
000001b0  74 65 52 20 83 32 35 36  3a 53 54 41 26 32 30 41  |teR .256:STA&20A|
000001c0  3a 4c 44 41 23 6f 73 62  79 74 65 52 20 81 32 35  |:LDA#osbyteR .25|
000001d0  36 3a 53 54 41 26 32 30  42 3a 2e 66 69 6e 69 73  |6:STA&20B:.finis|
000001e0  68 32 0d 00 aa 0d 20 4c  44 41 20 23 26 38 31 0d  |h2.... LDA #&81.|
000001f0  00 b4 0d 20 4c 44 58 20  23 26 46 45 0d 00 be 0d  |... LDX #&FE....|
00000200  20 4c 44 59 20 23 26 46  46 0d 00 c8 0f 20 4a 53  | LDY #&FF.... JS|
00000210  52 20 6f 73 62 79 74 65  0d 00 d2 08 20 54 59 41  |R osbyte.... TYA|
00000220  0d 00 dc 1e 20 42 4e 45  20 63 6f 6e 74 3a 4a 4d  |.... BNE cont:JM|
00000230  50 20 72 65 74 75 72 6e  3a 2e 63 6f 6e 74 0d 00  |P return:.cont..|
00000240  e6 0c 20 4c 44 41 20 23  31 33 0d 00 f0 0b 20 4c  |.. LDA #13.... L|
00000250  44 58 20 23 34 0d 00 fa  0b 20 4c 44 59 20 23 30  |DX #4.... LDY #0|
00000260  0d 01 04 0f 20 4a 53 52  20 6f 73 62 79 74 65 0d  |.... JSR osbyte.|
00000270  01 0e 1c 20 4c 44 41 23  32 36 3a 4a 53 52 20 6f  |... LDA#26:JSR o|
00000280  73 77 72 63 68 20 5c ef  20 32 36 0d 01 18 32 20  |swrch \. 26...2 |
00000290  4c 44 41 20 23 36 3a 4c  44 58 20 23 32 35 35 3a  |LDA #6:LDX #255:|
000002a0  4c 44 59 20 23 30 3a 4a  53 52 20 6f 73 62 79 74  |LDY #0:JSR osbyt|
000002b0  65 20 20 5c 2a 46 58 20  36 2c 32 35 35 0d 01 22  |e  \*FX 6,255.."|
000002c0  2e 20 4c 44 41 20 23 33  3a 4c 44 58 20 23 31 30  |. LDA #3:LDX #10|
000002d0  3a 4c 44 59 20 23 30 3a  4a 53 52 20 6f 73 62 79  |:LDY #0:JSR osby|
000002e0  74 65 20 5c 2a 46 58 33  2c 31 30 0d 01 2c 47 20  |te \*FX3,10..,G |
000002f0  4c 44 41 20 23 32 37 3a  4a 53 52 20 6f 73 77 72  |LDA #27:JSR oswr|
00000300  63 68 3a 4c 44 41 20 23  38 35 3a 4a 53 52 20 6f  |ch:LDA #85:JSR o|
00000310  73 77 72 63 68 3a 4c 44  41 20 23 31 3a 4a 53 52  |swrch:LDA #1:JSR|
00000320  20 6f 73 77 72 63 68 20  5c ef 20 32 37 2c 38 35  | oswrch \. 27,85|
00000330  2c 31 0d 01 36 47 20 4c  44 41 20 23 32 37 3a 4a  |,1..6G LDA #27:J|
00000340  53 52 20 6f 73 77 72 63  68 3a 4c 44 41 20 23 35  |SR oswrch:LDA #5|
00000350  31 3a 4a 53 52 20 6f 73  77 72 63 68 3a 4c 44 41  |1:JSR oswrch:LDA|
00000360  20 23 32 3a 4a 53 52 20  6f 73 77 72 63 68 20 5c  | #2:JSR oswrch \|
00000370  ef 20 32 37 2c 36 35 2c  32 0d 01 40 39 20 4c 44  |. 27,65,2..@9 LD|
00000380  41 20 23 31 30 32 30 20  83 32 35 36 3a 53 54 41  |A #1020 .256:STA|
00000390  20 79 3a 4c 44 41 20 23  31 30 32 30 20 81 32 35  | y:LDA #1020 .25|
000003a0  36 3a 53 54 41 20 79 2b  31 20 20 5c 79 3d 31 30  |6:STA y+1  \y=10|
000003b0  32 30 0d 01 4a 0a 20 2e  6c 6f 6f 70 0d 01 54 1d  |20..J. .loop..T.|
000003c0  20 4c 44 41 20 23 31 30  3a 4a 53 52 20 6f 73 77  | LDA #10:JSR osw|
000003d0  72 63 68 20 5c ef 20 31  30 0d 01 5e 77 20 4c 44  |rch \. 10..^w LD|
000003e0  41 20 23 32 37 3a 4a 53  52 20 6f 73 77 72 63 68  |A #27:JSR oswrch|
000003f0  3a 4c 44 41 20 23 37 36  3a 4a 53 52 20 6f 73 77  |:LDA #76:JSR osw|
00000400  72 63 68 3a 4c 44 41 20  23 33 32 30 20 83 32 35  |rch:LDA #320 .25|
00000410  36 3a 4a 53 52 20 6f 73  77 72 63 68 3a 4c 44 41  |6:JSR oswrch:LDA|
00000420  20 23 33 32 30 20 81 32  35 36 3a 4a 53 52 20 6f  | #320 .256:JSR o|
00000430  73 77 72 63 68 20 5c ef  20 32 37 2c 37 36 2c 33  |swrch \. 27,76,3|
00000440  32 30 20 83 32 35 36 2c  33 32 30 20 81 32 35 36  |20 .256,320 .256|
00000450  0d 01 68 1f 20 4c 44 41  20 23 30 3a 53 54 41 20  |..h. LDA #0:STA |
00000460  78 3a 53 54 41 20 78 2b  31 20 20 5c 78 3d 30 0d  |x:STA x+1  \x=0.|
00000470  01 72 0b 20 2e 6c 6f 6f  70 31 0d 01 7c 28 20 4c  |.r. .loop1..|( L|
00000480  44 41 20 78 3a 53 54 41  20 62 6c 6f 63 6b 3a 4c  |DA x:STA block:L|
00000490  44 41 20 78 2b 31 3a 53  54 41 20 62 6c 6f 63 6b  |DA x+1:STA block|
000004a0  2b 31 0d 01 86 2a 20 4c  44 41 20 79 3a 53 54 41  |+1...* LDA y:STA|
000004b0  20 62 6c 6f 63 6b 2b 32  3a 4c 44 41 20 79 2b 31  | block+2:LDA y+1|
000004c0  3a 53 54 41 20 62 6c 6f  63 6b 2b 33 0d 01 90 3e  |:STA block+3...>|
000004d0  20 4c 44 41 20 23 39 3a  4c 44 58 20 23 62 6c 6f  | LDA #9:LDX #blo|
000004e0  63 6b 20 83 32 35 36 3a  4c 44 59 20 23 62 6c 6f  |ck .256:LDY #blo|
000004f0  63 6b 20 81 32 35 36 3a  4a 53 52 20 6f 73 77 6f  |ck .256:JSR oswo|
00000500  72 64 20 20 5c 50 4f 49  4e 54 0d 01 9a 30 20 4c  |rd  \POINT...0 L|
00000510  44 41 20 62 6c 6f 63 6b  2b 34 3a 80 20 23 37 3a  |DA block+4:. #7:|
00000520  54 41 58 3a 4c 44 59 20  6d 75 6c 74 2c 58 20 20  |TAX:LDY mult,X  |
00000530  5c 59 3d 50 4f 49 4e 54  2a 36 0d 01 a4 0b 20 4c  |\Y=POINT*6.... L|
00000540  44 58 20 23 32 0d 01 ae  0b 20 2e 6c 6f 6f 70 32  |DX #2.... .loop2|
00000550  0d 01 b8 1a 20 4c 44 41  20 64 61 74 61 2c 59 3a  |.... LDA data,Y:|
00000560  4a 53 52 20 6f 73 77 72  63 68 0d 01 c2 16 20 49  |JSR oswrch.... I|
00000570  4e 59 3a 44 45 58 3a 42  4e 45 20 6c 6f 6f 70 32  |NY:DEX:BNE loop2|
00000580  0d 01 cc 3a 20 43 4c 43  3a 4c 44 41 20 78 3a 41  |...: CLC:LDA x:A|
00000590  44 43 20 23 38 3a 53 54  41 20 78 3a 4c 44 41 20  |DC #8:STA x:LDA |
000005a0  78 2b 31 3a 41 44 43 20  23 30 3a 53 54 41 20 78  |x+1:ADC #0:STA x|
000005b0  2b 31 20 20 5c 78 3d 78  2b 38 0d 01 d6 1d 20 43  |+1  \x=x+8.... C|
000005c0  4d 50 20 23 31 32 38 30  20 81 32 35 36 3a 42 4e  |MP #1280 .256:BN|
000005d0  45 20 6c 6f 6f 70 31 0d  01 e0 3a 20 53 45 43 3a  |E loop1...: SEC:|
000005e0  4c 44 41 20 79 3a 53 42  43 20 23 34 3a 53 54 41  |LDA y:SBC #4:STA|
000005f0  20 79 3a 4c 44 41 20 79  2b 31 3a 53 42 43 20 23  | y:LDA y+1:SBC #|
00000600  30 3a 53 54 41 20 79 2b  31 20 20 5c 79 3d 79 2d  |0:STA y+1  \y=y-|
00000610  34 0d 01 ea 0d 20 42 4e  45 20 6a 75 6d 70 0d 01  |4.... BNE jump..|
00000620  f4 13 20 4c 44 41 20 79  3a 42 4e 45 20 6a 75 6d  |.. LDA y:BNE jum|
00000630  70 0d 01 fe 20 20 4a 4d  50 20 65 6e 64 3a 2e 6a  |p...  JMP end:.j|
00000640  75 6d 70 20 4a 4d 50 20  6c 6f 6f 70 3a 2e 65 6e  |ump JMP loop:.en|
00000650  64 0d 02 08 2d 20 4c 44  41 20 23 33 3a 4c 44 58  |d...- LDA #3:LDX|
00000660  20 23 34 3a 4c 44 59 20  23 30 3a 4a 53 52 20 6f  | #4:LDY #0:JSR o|
00000670  73 62 79 74 65 20 20 5c  2a 46 58 33 2c 34 0d 02  |sbyte  \*FX3,4..|
00000680  12 0f 20 4a 4d 50 20 72  65 74 75 72 6e 0d 02 1c  |.. JMP return...|
00000690  0a 20 2e 6d 75 6c 74 0d  02 26 26 20 45 51 55 42  |. .mult..&& EQUB|
000006a0  20 30 3a 45 51 55 42 20  35 2a 36 3a 45 51 55 42  | 0:EQUB 5*6:EQUB|
000006b0  20 36 2a 36 3a 45 51 55  42 20 37 2a 36 0d 02 30  | 6*6:EQUB 7*6..0|
000006c0  05 20 0d 02 3a 0a 20 2e  64 61 74 61 0d 02 44 2e  |. ..:. .data..D.|
000006d0  20 45 51 55 42 20 30 3a  45 51 55 42 20 30 3a 45  | EQUB 0:EQUB 0:E|
000006e0  51 55 42 20 30 3a 45 51  55 42 20 30 3a 45 51 55  |QUB 0:EQUB 0:EQU|
000006f0  42 20 30 3a 45 51 55 42  20 30 0d 02 4e 2e 20 45  |B 0:EQUB 0..N. E|
00000700  51 55 42 20 30 3a 45 51  55 42 20 31 3a 45 51 55  |QUB 0:EQUB 1:EQU|
00000710  42 20 30 3a 45 51 55 42  20 30 3a 45 51 55 42 20  |B 0:EQUB 0:EQUB |
00000720  31 3a 45 51 55 42 20 30  0d 02 58 2e 20 45 51 55  |1:EQUB 0..X. EQU|
00000730  42 20 31 3a 45 51 55 42  20 30 3a 45 51 55 42 20  |B 1:EQUB 0:EQUB |
00000740  32 3a 45 51 55 42 20 32  3a 45 51 55 42 20 30 3a  |2:EQUB 2:EQUB 0:|
00000750  45 51 55 42 20 31 0d 02  62 2e 20 45 51 55 42 20  |EQUB 1..b. EQUB |
00000760  30 3a 45 51 55 42 20 33  3a 45 51 55 42 20 30 3a  |0:EQUB 3:EQUB 0:|
00000770  45 51 55 42 20 30 3a 45  51 55 42 20 33 3a 45 51  |EQUB 0:EQUB 3:EQ|
00000780  55 42 20 30 0d 02 6c 2e  20 45 51 55 42 20 31 3a  |UB 0..l. EQUB 1:|
00000790  45 51 55 42 20 31 3a 45  51 55 42 20 31 3a 45 51  |EQUB 1:EQUB 1:EQ|
000007a0  55 42 20 31 3a 45 51 55  42 20 31 3a 45 51 55 42  |UB 1:EQUB 1:EQUB|
000007b0  20 31 0d 02 76 2e 20 45  51 55 42 20 31 3a 45 51  | 1..v. EQUB 1:EQ|
000007c0  55 42 20 30 3a 45 51 55  42 20 33 3a 45 51 55 42  |UB 0:EQUB 3:EQUB|
000007d0  20 30 3a 45 51 55 42 20  33 3a 45 51 55 42 20 30  | 0:EQUB 3:EQUB 0|
000007e0  0d 02 80 2e 20 45 51 55  42 20 30 3a 45 51 55 42  |.... EQUB 0:EQUB|
000007f0  20 31 3a 45 51 55 42 20  32 3a 45 51 55 42 20 31  | 1:EQUB 2:EQUB 1|
00000800  3a 45 51 55 42 20 33 3a  45 51 55 42 20 32 0d 02  |:EQUB 3:EQUB 2..|
00000810  8a 2e 20 45 51 55 42 20  31 3a 45 51 55 42 20 31  |.. EQUB 1:EQUB 1|
00000820  3a 45 51 55 42 20 33 3a  45 51 55 42 20 33 3a 45  |:EQUB 3:EQUB 3:E|
00000830  51 55 42 20 33 3a 45 51  55 42 20 33 0d 02 94 0c  |QUB 3:EQUB 3....|
00000840  20 2e 72 65 74 75 72 6e  0d 02 9e 0c 20 4c 44 41  | .return.... LDA|
00000850  20 23 31 34 0d 02 a8 0b  20 4c 44 58 20 23 34 0d  | #14.... LDX #4.|
00000860  02 b2 0b 20 4c 44 59 20  23 30 0d 02 bc 0f 20 4a  |... LDY #0.... J|
00000870  53 52 20 6f 73 62 79 74  65 0d 02 c6 1c 20 50 4c  |SR osbyte.... PL|
00000880  41 3a 54 41 58 3a 50 4c  41 3a 54 41 59 3a 50 4c  |A:TAX:PLA:TAY:PL|
00000890  50 3a 50 4c 41 0d 02 d0  14 20 2e 65 76 65 6e 74  |P:PLA.... .event|
000008a0  20 4a 4d 50 26 46 46 41  32 0d 02 da 25 20 2e 6f  | JMP&FFA2...% .o|
000008b0  73 62 79 74 65 52 20 50  48 41 3a 50 48 50 3a 54  |sbyteR PHA:PHP:T|
000008c0  58 41 3a 50 48 41 3a 54  59 41 3a 50 48 41 0d 02  |XA:PHA:TYA:PHA..|
000008d0  e4 9f 20 4c 44 41 26 32  32 30 3a 43 4d 50 23 63  |.. LDA&220:CMP#c|
000008e0  6f 64 65 20 83 20 32 35  36 3a 42 4e 45 63 68 61  |ode . 256:BNEcha|
000008f0  6e 67 65 3a 4c 44 41 26  32 32 31 3a 43 4d 50 23  |nge:LDA&221:CMP#|
00000900  63 6f 64 65 20 81 32 35  36 3a 42 45 51 66 69 6e  |code .256:BEQfin|
00000910  69 73 68 3a 2e 63 68 61  6e 67 65 20 4c 44 41 26  |ish:.change LDA&|
00000920  32 32 30 3a 53 54 41 65  76 65 6e 74 2b 31 3a 4c  |220:STAevent+1:L|
00000930  44 41 26 32 32 31 3a 53  54 41 65 76 65 6e 74 2b  |DA&221:STAevent+|
00000940  32 3a 4c 44 41 23 63 6f  64 65 20 83 32 35 36 3a  |2:LDA#code .256:|
00000950  53 54 41 26 32 32 30 3a  4c 44 41 23 63 6f 64 65  |STA&220:LDA#code|
00000960  20 81 32 35 36 3a 53 54  41 26 32 32 31 0d 02 ee  | .256:STA&221...|
00000970  38 20 2e 66 69 6e 69 73  68 20 50 4c 41 3a 54 41  |8 .finish PLA:TA|
00000980  59 3a 50 4c 41 3a 54 41  58 3a 50 4c 50 3a 50 4c  |Y:PLA:TAX:PLP:PL|
00000990  41 3a 2e 72 65 74 6f 73  62 79 74 65 20 4a 4d 50  |A:.retosbyte JMP|
000009a0  26 45 35 34 34 0d 02 f8  2d 20 2e 78 20 45 51 55  |&E544...- .x EQU|
000009b0  42 20 30 3a 45 51 55 42  20 30 3a 2e 79 20 45 51  |B 0:EQUB 0:.y EQ|
000009c0  55 42 20 30 3a 45 51 55  42 20 30 3a 2e 62 6c 6f  |UB 0:EQUB 0:.blo|
000009d0  63 6b 0d 03 02 06 20 5d  0d 03 0c 06 20 ed 0d 03  |ck.... ].... ...|
000009e0  16 14 20 3f 26 32 32 30  3d 63 6f 64 65 20 83 32  |.. ?&220=code .2|
000009f0  35 36 0d 03 20 14 20 3f  26 32 32 31 3d 63 6f 64  |56.. . ?&221=cod|
00000a00  65 20 81 32 35 36 0d 03  2a 17 20 3f 26 32 30 41  |e .256..*. ?&20A|
00000a10  3d 6f 73 62 79 74 65 52  20 83 32 35 36 0d 03 34  |=osbyteR .256..4|
00000a20  17 20 3f 26 32 30 42 3d  6f 73 62 79 74 65 52 20  |. ?&20B=osbyteR |
00000a30  81 32 35 36 0d 03 3e 0d  20 2a 46 58 20 31 34 2c  |.256..>. *FX 14,|
00000a40  34 0d ff                                          |4..|
00000a43
SNAPDUMP3.m0
SNAPDUMP3.m1
SNAPDUMP3.m2
SNAPDUMP3.m4
SNAPDUMP3.m5