Home » Personal collection » Acorn hard disk » apps » Emulators » !Spectrum/PCSNAPS/SPECUT~1/PCTOARC

!Spectrum/PCSNAPS/SPECUT~1/PCTOARC

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 » apps » Emulators
Filename: !Spectrum/PCSNAPS/SPECUT~1/PCTOARC
Read OK:
File size: 1553 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM *************************************************************
   20REM    Title : PC To ARC
   30REM   Author : M.Perigo
   40REM     Date : 3 Sep 93
   50REM  Purpose : Converts spectrum emulator snapshot files from the
   60REM            .SNA format used by PC and Amiga spectrum emulators
   70REM            to the Archimedes 'Speculator' format.
   80REM *************************************************************
   90
  100ON ERROR PROCerror:END
  110
  120SpecDir$ = "IDEFS::4.$.TEMP.mikestuff.SPECTRUM.!Spectrum"
  130READ Snap$
  140
  150DIM snapbuf% &100FF
  160
  170::
  180
  190WHILE Snap$ <> "EndOfList"
  200
  210snapfile% = OPENIN(SpecDir$+".PCsnaps."+Snap$)
  220
  230i_register = BGET#snapfile%
  240l_altregister = BGET#snapfile%
  250h_altregister = BGET#snapfile%
  260e_altregister = BGET#snapfile%
  270d_altregister = BGET#snapfile%
  280c_altregister = BGET#snapfile%
  290b_altregister = BGET#snapfile%
  300f_altregister = BGET#snapfile%
  310a_altregister = BGET#snapfile%
  320l_register = BGET#snapfile%
  330h_register = BGET#snapfile%
  340e_register = BGET#snapfile%
  350d_register = BGET#snapfile%
  360c_register = BGET#snapfile%
  370b_register = BGET#snapfile%
  380iylo_register = BGET#snapfile%
  390iyhi_register = BGET#snapfile%
  400ixlo_register = BGET#snapfile%
  410ixhi_register = BGET#snapfile%
  420iff_register  = BGET#snapfile%   :REM only bit2 valid
  430REM???iff_register = iff_register AND %00000100
  440r_register = BGET#snapfile%
  450f_register = BGET#snapfile%
  460a_register = BGET#snapfile%
  470splo_register = BGET#snapfile%
  480sphi_register = BGET#snapfile%
  490i_mode        = BGET#snapfile%   :REM only (0, 1 or 2) valid
  500border_colour = BGET#snapfile%   :REM only (0-7) valid
  510IF border_colour>7 THEN border_colour=0
  520
  530REM -- Copy (27..49178) = 48 kbytes RAM dump
  540FOR L%=&4100 TO &100FF
  550  snapbuf%?L%=BGET#snapfile%
  560NEXT
  570
  580CLOSE#snapfile%
  590
  600::
  610
  620REM Locate the Program stack within the snapshot
  630StackPtr  = splo_register+(256*sphi_register)
  640StackLocn = StackPtr + &100
  650
  660REM Locate the value of the Program counter as stored on the stack
  670pclo=snapbuf%?(StackLocn+0)
  680pchi=snapbuf%?(StackLocn+1)
  690ProgCounter = pclo+(256*pchi)
  700
  710REM Adjust the value of the Stack Pointer
  720StackPtr = StackPtr+2
  730REM Adjust the value of the Program counter for Speculator use
  740ProgCounter = ProgCounter-&100
  750
  760
  770
  780
  790::
  800
  810romfile% = OPENIN(SpecDir$+".Roms.Spectrum")
  820
  830REM -- Copy 16 kbytes ROM dump
  840FOR L%=&100 TO &40FF
  850  snapbuf%?L%=BGET#romfile%
  860NEXT
  870
  880CLOSE#romfile%
  890
  900::
  910
  920REM -- At present the locations for the following is unknown
  930snapbuf%!0 = r_register
  940
  950REM -- An absolute value stored in any location is that taken from
  960REM -- a snapshot of a newly initialised 'speculator' emulation.
  970REM -- An absolute value of &?? indicates that value changes
  980REM -- regularly between 'simple' snaps for no known reason.
  990snapbuf%!&00 = a_register
 1000snapbuf%!&04 = f_register
 1010snapbuf%!&08 = b_register
 1020snapbuf%!&0C = c_register
 1030snapbuf%!&10 = d_register
 1040snapbuf%!&14 = e_register
 1050snapbuf%!&18 = h_register
 1060snapbuf%!&1C = l_register
 1070snapbuf%!&20 = ProgCounter
 1080snapbuf%!&24 = &0187F704
 1090REM snapbuf%?24 = &??
 1100REM snapbuf%?25 = &??
 1110REM snapbuf%?26 = &??
 1120snapbuf%!&28 = StackPtr
 1130snapbuf%!&2C = &00000BEB
 1140snapbuf%!&30 = &00000070
 1150snapbuf%!&34 = &AAAAAAA7
 1160snapbuf%!&38 = &AAAAAAAA
 1170snapbuf%!&3C = &7B000000
 1180snapbuf%!&40 = &00000EBB
 1190snapbuf%!&44 = &00000070
 1200snapbuf%!&48 = &AAAAAAA7
 1210snapbuf%!&4C = &AAAAAAAA
 1220snapbuf%!&50 = &B7000000
 1230snapbuf%!&54 = &00000BEB
 1240snapbuf%!&58 = &00000070
 1250snapbuf%!&5C = &AAAAAAA7
 1260snapbuf%!&60 = &AAAAAAAA
 1270snapbuf%!&64 = &7B000000
 1280snapbuf%!&68 = &00000EBB
 1290snapbuf%!&6C = &00000070
 1300snapbuf%!&70 = &AAAAAAA7
 1310snapbuf%!&74 = &AAAAAAAA
 1320snapbuf%!&78 = &B7000000
 1330snapbuf%!&7C = &00000BEB
 1340snapbuf%!&80 = &00000070
 1350snapbuf%!&84 = &AAAAAAA7
 1360snapbuf%!&88 = &0AAAAAAA
 1370snapbuf%!&8C = &00FF0000
 1380snapbuf%!&90 = &EA7C0CEC
 1390snapbuf%!&94 = &00048EC5
 1400REM snapbuf%?94 = &??
 1410REM snapbuf%?95 = &??
 1420snapbuf%!&98 = &AAAAAAA7
 1430snapbuf%!&9C = &00AAAA07
 1440snapbuf%?&9C = border_colour
 1450REM snapbuf%?A0 = &??
 1460snapbuf%!&A0 = &B70000FF
 1470snapbuf%!&A4 = &00000001
 1480snapbuf%?&A4 = i_mode
 1490snapbuf%!&A8 = &00000000
 1500snapbuf%!&AC = &AAAAAAA7
 1510snapbuf%!&B0 = &00000000
 1520snapbuf%!&B4 = &7B000000
 1530snapbuf%!&B8 = &00000000
 1540snapbuf%!&BC = &FF3F0070
 1550snapbuf%?&BE = i_register
 1560snapbuf%?&BF = iff_register
 1570snapbuf%!&C0 = &40000000
 1580snapbuf%!&C4 = &40000F00
 1590snapbuf%!&C8 = &4000000F
 1600snapbuf%!&CC = &40000F0F
 1610snapbuf%!&D0 = &400000F0
 1620snapbuf%!&D4 = &40000FF0
 1630snapbuf%!&D8 = &400000FF
 1640snapbuf%!&DC = &40000FFF
 1650snapbuf%!&E0 = &FFFFFFFF
 1660snapbuf%!&E4 = &FFFFFFFF
 1670snapbuf%!&E8 = &0187F7B8
 1680snapbuf%!&EC = &00004400
 1690snapbuf%?&EC = a_altregister
 1700snapbuf%?&ED = f_altregister
 1710snapbuf%!&F0 = &00004B17
 1720snapbuf%?&F0 = b_altregister
 1730snapbuf%?&F1 = c_altregister
 1740snapbuf%!&F4 = &7F100600
 1750snapbuf%?&F4 = d_altregister
 1760snapbuf%?&F5 = e_altregister
 1770snapbuf%?&F6 = h_altregister
 1780snapbuf%?&F7 = l_altregister
 1790snapbuf%!&F8 = &00000000
 1800snapbuf%?&F8 = ixlo_register
 1810snapbuf%?&F9 = ixhi_register
 1820snapbuf%!&FC = &00005C3A
 1830snapbuf%?&FC = iylo_register
 1840snapbuf%?&FD = iyhi_register
 1850
 1860::
 1870
 1880SYS "OS_File",10,SpecDir$+".Programs."+Snap$,&702,,snapbuf%,snapbuf%+&10100
 1890
 1900::
 1910
 1920READ Snap$
 1930ENDWHILE
 1940
 1950END
 1960
 1970::
 1980
 1990DEF PROCerror
 2000  ON ERROR OFF
 2010  REPORT:PRINT " at line ";ERL
 2020  CLOSE#snapfile%
 2030  CLOSE#romfile%
 2040ENDPROC
 2050
 2060
 2070DATA REX/SNA,SKOOLDAZ/S,EndOfList
 2080REM  EndOfList

C� *************************************************************
�    Title : PC To ARC
�   Author : M.Perigo
(�     Date : 3 Sep 93
2C�  Purpose : Converts spectrum emulator snapshot files from the
<D�            .SNA format used by PC and Amiga spectrum emulators
F7�            to the Archimedes 'Speculator' format.
PC� *************************************************************
Z
d� � �error:�
n
x=SpecDir$ = "IDEFS::4.$.TEMP.mikestuff.SPECTRUM.!Spectrum"
�� Snap$
�
�� snapbuf% &100FF
�
�::
�
�ȕ Snap$ <> "EndOfList"
�
�-snapfile% = �(SpecDir$+".PCsnaps."+Snap$)
�
�i_register = �#snapfile%
�l_altregister = �#snapfile%
�h_altregister = �#snapfile%
e_altregister = �#snapfile%
d_altregister = �#snapfile%
c_altregister = �#snapfile%
"b_altregister = �#snapfile%
,f_altregister = �#snapfile%
6a_altregister = �#snapfile%
@l_register = �#snapfile%
Jh_register = �#snapfile%
Te_register = �#snapfile%
^d_register = �#snapfile%
hc_register = �#snapfile%
rb_register = �#snapfile%
|iylo_register = �#snapfile%
�iyhi_register = �#snapfile%
�ixlo_register = �#snapfile%
�ixhi_register = �#snapfile%
�4iff_register  = �#snapfile%   :� only bit2 valid
�1�???iff_register = iff_register AND %00000100
�r_register = �#snapfile%
�f_register = �#snapfile%
�a_register = �#snapfile%
�splo_register = �#snapfile%
�sphi_register = �#snapfile%
�;i_mode        = �#snapfile%   :� only (0, 1 or 2) valid
�5border_colour = �#snapfile%   :� only (0-7) valid
�'� border_colour>7 � border_colour=0

.� -- Copy (27..49178) = 48 kbytes RAM dump
� L%=&4100 � &100FF
&  snapbuf%?L%=�#snapfile%
0�
:
D�#snapfile%
N
X::
b
l2� Locate the Program stack within the snapshot
v1StackPtr  = splo_register+(256*sphi_register)
�StackLocn = StackPtr + &100
�
�D� Locate the value of the Program counter as stored on the stack
�pclo=snapbuf%?(StackLocn+0)
�pchi=snapbuf%?(StackLocn+1)
�!ProgCounter = pclo+(256*pchi)
�
�+� Adjust the value of the Stack Pointer
�StackPtr = StackPtr+2
�@� Adjust the value of the Program counter for Speculator use
�"ProgCounter = ProgCounter-&100
�
�


::
 
*+romfile% = �(SpecDir$+".Roms.Spectrum")
4
> � -- Copy 16 kbytes ROM dump
H� L%=&100 � &40FF
R  snapbuf%?L%=�#romfile%
\�
f
p�#romfile%
z
�::
�
�>� -- At present the locations for the following is unknown
�snapbuf%!0 = r_register
�
�D� -- An absolute value stored in any location is that taken from
�B� -- a snapshot of a newly initialised 'speculator' emulation.
�>� -- An absolute value of &?? indicates that value changes
�>� -- regularly between 'simple' snaps for no known reason.
�snapbuf%!&00 = a_register
�snapbuf%!&04 = f_register
�snapbuf%!&08 = b_register
�snapbuf%!&0C = c_register
snapbuf%!&10 = d_register
snapbuf%!&14 = e_register
snapbuf%!&18 = h_register
$snapbuf%!&1C = l_register
.snapbuf%!&20 = ProgCounter
8snapbuf%!&24 = &0187F704
B� snapbuf%?24 = &??
L� snapbuf%?25 = &??
V� snapbuf%?26 = &??
`snapbuf%!&28 = StackPtr
jsnapbuf%!&2C = &00000BEB
tsnapbuf%!&30 = &00000070
~snapbuf%!&34 = &AAAAAAA7
�snapbuf%!&38 = &AAAAAAAA
�snapbuf%!&3C = &7B000000
�snapbuf%!&40 = &00000EBB
�snapbuf%!&44 = &00000070
�snapbuf%!&48 = &AAAAAAA7
�snapbuf%!&4C = &AAAAAAAA
�snapbuf%!&50 = &B7000000
�snapbuf%!&54 = &00000BEB
�snapbuf%!&58 = &00000070
�snapbuf%!&5C = &AAAAAAA7
�snapbuf%!&60 = &AAAAAAAA
�snapbuf%!&64 = &7B000000
snapbuf%!&68 = &00000EBB

snapbuf%!&6C = &00000070
snapbuf%!&70 = &AAAAAAA7
snapbuf%!&74 = &AAAAAAAA
(snapbuf%!&78 = &B7000000
2snapbuf%!&7C = &00000BEB
<snapbuf%!&80 = &00000070
Fsnapbuf%!&84 = &AAAAAAA7
Psnapbuf%!&88 = &0AAAAAAA
Zsnapbuf%!&8C = &00FF0000
dsnapbuf%!&90 = &EA7C0CEC
nsnapbuf%!&94 = &00048EC5
x� snapbuf%?94 = &??
�� snapbuf%?95 = &??
�snapbuf%!&98 = &AAAAAAA7
�snapbuf%!&9C = &00AAAA07
� snapbuf%?&9C = border_colour
�� snapbuf%?A0 = &??
�snapbuf%!&A0 = &B70000FF
�snapbuf%!&A4 = &00000001
�snapbuf%?&A4 = i_mode
�snapbuf%!&A8 = &00000000
�snapbuf%!&AC = &AAAAAAA7
�snapbuf%!&B0 = &00000000
�snapbuf%!&B4 = &7B000000
�snapbuf%!&B8 = &00000000
snapbuf%!&BC = &FF3F0070
snapbuf%?&BE = i_register
snapbuf%?&BF = iff_register
"snapbuf%!&C0 = &40000000
,snapbuf%!&C4 = &40000F00
6snapbuf%!&C8 = &4000000F
@snapbuf%!&CC = &40000F0F
Jsnapbuf%!&D0 = &400000F0
Tsnapbuf%!&D4 = &40000FF0
^snapbuf%!&D8 = &400000FF
hsnapbuf%!&DC = &40000FFF
rsnapbuf%!&E0 = &FFFFFFFF
|snapbuf%!&E4 = &FFFFFFFF
�snapbuf%!&E8 = &0187F7B8
�snapbuf%!&EC = &00004400
� snapbuf%?&EC = a_altregister
� snapbuf%?&ED = f_altregister
�snapbuf%!&F0 = &00004B17
� snapbuf%?&F0 = b_altregister
� snapbuf%?&F1 = c_altregister
�snapbuf%!&F4 = &7F100600
� snapbuf%?&F4 = d_altregister
� snapbuf%?&F5 = e_altregister
� snapbuf%?&F6 = h_altregister
� snapbuf%?&F7 = l_altregister
�snapbuf%!&F8 = &00000000
 snapbuf%?&F8 = ixlo_register
 snapbuf%?&F9 = ixhi_register
snapbuf%!&FC = &00005C3A
& snapbuf%?&FC = iylo_register
0 snapbuf%?&FD = iyhi_register
:
D::
N
XNș "OS_File",10,SpecDir$+".Programs."+Snap$,&702,,snapbuf%,snapbuf%+&10100
b
l::
v
�� Snap$
��
�
��
�
�::
�
�� �error
�  � � �
�  �:� " at line ";�
�  �#snapfile%
�  �#romfile%
��


"� REX/SNA,SKOOLDAZ/S,EndOfList
 �  EndOfList
�
00000000  0d 00 0a 43 f4 20 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |...C. **********|
00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
00000040  2a 2a 2a 0d 00 14 1a f4  20 20 20 20 54 69 74 6c  |***.....    Titl|
00000050  65 20 3a 20 50 43 20 54  6f 20 41 52 43 0d 00 1e  |e : PC To ARC...|
00000060  19 f4 20 20 20 41 75 74  68 6f 72 20 3a 20 4d 2e  |..   Author : M.|
00000070  50 65 72 69 67 6f 0d 00  28 19 f4 20 20 20 20 20  |Perigo..(..     |
00000080  44 61 74 65 20 3a 20 33  20 53 65 70 20 39 33 0d  |Date : 3 Sep 93.|
00000090  00 32 43 f4 20 20 50 75  72 70 6f 73 65 20 3a 20  |.2C.  Purpose : |
000000a0  43 6f 6e 76 65 72 74 73  20 73 70 65 63 74 72 75  |Converts spectru|
000000b0  6d 20 65 6d 75 6c 61 74  6f 72 20 73 6e 61 70 73  |m emulator snaps|
000000c0  68 6f 74 20 66 69 6c 65  73 20 66 72 6f 6d 20 74  |hot files from t|
000000d0  68 65 0d 00 3c 44 f4 20  20 20 20 20 20 20 20 20  |he..<D.         |
000000e0  20 20 20 2e 53 4e 41 20  66 6f 72 6d 61 74 20 75  |   .SNA format u|
000000f0  73 65 64 20 62 79 20 50  43 20 61 6e 64 20 41 6d  |sed by PC and Am|
00000100  69 67 61 20 73 70 65 63  74 72 75 6d 20 65 6d 75  |iga spectrum emu|
00000110  6c 61 74 6f 72 73 0d 00  46 37 f4 20 20 20 20 20  |lators..F7.     |
00000120  20 20 20 20 20 20 20 74  6f 20 74 68 65 20 41 72  |       to the Ar|
00000130  63 68 69 6d 65 64 65 73  20 27 53 70 65 63 75 6c  |chimedes 'Specul|
00000140  61 74 6f 72 27 20 66 6f  72 6d 61 74 2e 0d 00 50  |ator' format...P|
00000150  43 f4 20 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |C. *************|
00000160  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
00000190  0d 00 5a 04 0d 00 64 10  ee 20 85 20 f2 65 72 72  |..Z...d.. . .err|
000001a0  6f 72 3a e0 0d 00 6e 04  0d 00 78 3d 53 70 65 63  |or:...n...x=Spec|
000001b0  44 69 72 24 20 3d 20 22  49 44 45 46 53 3a 3a 34  |Dir$ = "IDEFS::4|
000001c0  2e 24 2e 54 45 4d 50 2e  6d 69 6b 65 73 74 75 66  |.$.TEMP.mikestuf|
000001d0  66 2e 53 50 45 43 54 52  55 4d 2e 21 53 70 65 63  |f.SPECTRUM.!Spec|
000001e0  74 72 75 6d 22 0d 00 82  0b f3 20 53 6e 61 70 24  |trum"..... Snap$|
000001f0  0d 00 8c 04 0d 00 96 15  de 20 73 6e 61 70 62 75  |......... snapbu|
00000200  66 25 20 26 31 30 30 46  46 0d 00 a0 04 0d 00 aa  |f% &100FF.......|
00000210  06 3a 3a 0d 00 b4 04 0d  00 be 1b c8 95 20 53 6e  |.::.......... Sn|
00000220  61 70 24 20 3c 3e 20 22  45 6e 64 4f 66 4c 69 73  |ap$ <> "EndOfLis|
00000230  74 22 0d 00 c8 04 0d 00  d2 2d 73 6e 61 70 66 69  |t".......-snapfi|
00000240  6c 65 25 20 3d 20 8e 28  53 70 65 63 44 69 72 24  |le% = .(SpecDir$|
00000250  2b 22 2e 50 43 73 6e 61  70 73 2e 22 2b 53 6e 61  |+".PCsnaps."+Sna|
00000260  70 24 29 0d 00 dc 04 0d  00 e6 1c 69 5f 72 65 67  |p$)........i_reg|
00000270  69 73 74 65 72 20 3d 20  9a 23 73 6e 61 70 66 69  |ister = .#snapfi|
00000280  6c 65 25 0d 00 f0 1f 6c  5f 61 6c 74 72 65 67 69  |le%....l_altregi|
00000290  73 74 65 72 20 3d 20 9a  23 73 6e 61 70 66 69 6c  |ster = .#snapfil|
000002a0  65 25 0d 00 fa 1f 68 5f  61 6c 74 72 65 67 69 73  |e%....h_altregis|
000002b0  74 65 72 20 3d 20 9a 23  73 6e 61 70 66 69 6c 65  |ter = .#snapfile|
000002c0  25 0d 01 04 1f 65 5f 61  6c 74 72 65 67 69 73 74  |%....e_altregist|
000002d0  65 72 20 3d 20 9a 23 73  6e 61 70 66 69 6c 65 25  |er = .#snapfile%|
000002e0  0d 01 0e 1f 64 5f 61 6c  74 72 65 67 69 73 74 65  |....d_altregiste|
000002f0  72 20 3d 20 9a 23 73 6e  61 70 66 69 6c 65 25 0d  |r = .#snapfile%.|
00000300  01 18 1f 63 5f 61 6c 74  72 65 67 69 73 74 65 72  |...c_altregister|
00000310  20 3d 20 9a 23 73 6e 61  70 66 69 6c 65 25 0d 01  | = .#snapfile%..|
00000320  22 1f 62 5f 61 6c 74 72  65 67 69 73 74 65 72 20  |".b_altregister |
00000330  3d 20 9a 23 73 6e 61 70  66 69 6c 65 25 0d 01 2c  |= .#snapfile%..,|
00000340  1f 66 5f 61 6c 74 72 65  67 69 73 74 65 72 20 3d  |.f_altregister =|
00000350  20 9a 23 73 6e 61 70 66  69 6c 65 25 0d 01 36 1f  | .#snapfile%..6.|
00000360  61 5f 61 6c 74 72 65 67  69 73 74 65 72 20 3d 20  |a_altregister = |
00000370  9a 23 73 6e 61 70 66 69  6c 65 25 0d 01 40 1c 6c  |.#snapfile%..@.l|
00000380  5f 72 65 67 69 73 74 65  72 20 3d 20 9a 23 73 6e  |_register = .#sn|
00000390  61 70 66 69 6c 65 25 0d  01 4a 1c 68 5f 72 65 67  |apfile%..J.h_reg|
000003a0  69 73 74 65 72 20 3d 20  9a 23 73 6e 61 70 66 69  |ister = .#snapfi|
000003b0  6c 65 25 0d 01 54 1c 65  5f 72 65 67 69 73 74 65  |le%..T.e_registe|
000003c0  72 20 3d 20 9a 23 73 6e  61 70 66 69 6c 65 25 0d  |r = .#snapfile%.|
000003d0  01 5e 1c 64 5f 72 65 67  69 73 74 65 72 20 3d 20  |.^.d_register = |
000003e0  9a 23 73 6e 61 70 66 69  6c 65 25 0d 01 68 1c 63  |.#snapfile%..h.c|
000003f0  5f 72 65 67 69 73 74 65  72 20 3d 20 9a 23 73 6e  |_register = .#sn|
00000400  61 70 66 69 6c 65 25 0d  01 72 1c 62 5f 72 65 67  |apfile%..r.b_reg|
00000410  69 73 74 65 72 20 3d 20  9a 23 73 6e 61 70 66 69  |ister = .#snapfi|
00000420  6c 65 25 0d 01 7c 1f 69  79 6c 6f 5f 72 65 67 69  |le%..|.iylo_regi|
00000430  73 74 65 72 20 3d 20 9a  23 73 6e 61 70 66 69 6c  |ster = .#snapfil|
00000440  65 25 0d 01 86 1f 69 79  68 69 5f 72 65 67 69 73  |e%....iyhi_regis|
00000450  74 65 72 20 3d 20 9a 23  73 6e 61 70 66 69 6c 65  |ter = .#snapfile|
00000460  25 0d 01 90 1f 69 78 6c  6f 5f 72 65 67 69 73 74  |%....ixlo_regist|
00000470  65 72 20 3d 20 9a 23 73  6e 61 70 66 69 6c 65 25  |er = .#snapfile%|
00000480  0d 01 9a 1f 69 78 68 69  5f 72 65 67 69 73 74 65  |....ixhi_registe|
00000490  72 20 3d 20 9a 23 73 6e  61 70 66 69 6c 65 25 0d  |r = .#snapfile%.|
000004a0  01 a4 34 69 66 66 5f 72  65 67 69 73 74 65 72 20  |..4iff_register |
000004b0  20 3d 20 9a 23 73 6e 61  70 66 69 6c 65 25 20 20  | = .#snapfile%  |
000004c0  20 3a f4 20 6f 6e 6c 79  20 62 69 74 32 20 76 61  | :. only bit2 va|
000004d0  6c 69 64 0d 01 ae 31 f4  3f 3f 3f 69 66 66 5f 72  |lid...1.???iff_r|
000004e0  65 67 69 73 74 65 72 20  3d 20 69 66 66 5f 72 65  |egister = iff_re|
000004f0  67 69 73 74 65 72 20 41  4e 44 20 25 30 30 30 30  |gister AND %0000|
00000500  30 31 30 30 0d 01 b8 1c  72 5f 72 65 67 69 73 74  |0100....r_regist|
00000510  65 72 20 3d 20 9a 23 73  6e 61 70 66 69 6c 65 25  |er = .#snapfile%|
00000520  0d 01 c2 1c 66 5f 72 65  67 69 73 74 65 72 20 3d  |....f_register =|
00000530  20 9a 23 73 6e 61 70 66  69 6c 65 25 0d 01 cc 1c  | .#snapfile%....|
00000540  61 5f 72 65 67 69 73 74  65 72 20 3d 20 9a 23 73  |a_register = .#s|
00000550  6e 61 70 66 69 6c 65 25  0d 01 d6 1f 73 70 6c 6f  |napfile%....splo|
00000560  5f 72 65 67 69 73 74 65  72 20 3d 20 9a 23 73 6e  |_register = .#sn|
00000570  61 70 66 69 6c 65 25 0d  01 e0 1f 73 70 68 69 5f  |apfile%....sphi_|
00000580  72 65 67 69 73 74 65 72  20 3d 20 9a 23 73 6e 61  |register = .#sna|
00000590  70 66 69 6c 65 25 0d 01  ea 3b 69 5f 6d 6f 64 65  |pfile%...;i_mode|
000005a0  20 20 20 20 20 20 20 20  3d 20 9a 23 73 6e 61 70  |        = .#snap|
000005b0  66 69 6c 65 25 20 20 20  3a f4 20 6f 6e 6c 79 20  |file%   :. only |
000005c0  28 30 2c 20 31 20 6f 72  20 32 29 20 76 61 6c 69  |(0, 1 or 2) vali|
000005d0  64 0d 01 f4 35 62 6f 72  64 65 72 5f 63 6f 6c 6f  |d...5border_colo|
000005e0  75 72 20 3d 20 9a 23 73  6e 61 70 66 69 6c 65 25  |ur = .#snapfile%|
000005f0  20 20 20 3a f4 20 6f 6e  6c 79 20 28 30 2d 37 29  |   :. only (0-7)|
00000600  20 76 61 6c 69 64 0d 01  fe 27 e7 20 62 6f 72 64  | valid...'. bord|
00000610  65 72 5f 63 6f 6c 6f 75  72 3e 37 20 8c 20 62 6f  |er_colour>7 . bo|
00000620  72 64 65 72 5f 63 6f 6c  6f 75 72 3d 30 0d 02 08  |rder_colour=0...|
00000630  04 0d 02 12 2e f4 20 2d  2d 20 43 6f 70 79 20 28  |...... -- Copy (|
00000640  32 37 2e 2e 34 39 31 37  38 29 20 3d 20 34 38 20  |27..49178) = 48 |
00000650  6b 62 79 74 65 73 20 52  41 4d 20 64 75 6d 70 0d  |kbytes RAM dump.|
00000660  02 1c 17 e3 20 4c 25 3d  26 34 31 30 30 20 b8 20  |.... L%=&4100 . |
00000670  26 31 30 30 46 46 0d 02  26 1d 20 20 73 6e 61 70  |&100FF..&.  snap|
00000680  62 75 66 25 3f 4c 25 3d  9a 23 73 6e 61 70 66 69  |buf%?L%=.#snapfi|
00000690  6c 65 25 0d 02 30 05 ed  0d 02 3a 04 0d 02 44 0f  |le%..0....:...D.|
000006a0  d9 23 73 6e 61 70 66 69  6c 65 25 0d 02 4e 04 0d  |.#snapfile%..N..|
000006b0  02 58 06 3a 3a 0d 02 62  04 0d 02 6c 32 f4 20 4c  |.X.::..b...l2. L|
000006c0  6f 63 61 74 65 20 74 68  65 20 50 72 6f 67 72 61  |ocate the Progra|
000006d0  6d 20 73 74 61 63 6b 20  77 69 74 68 69 6e 20 74  |m stack within t|
000006e0  68 65 20 73 6e 61 70 73  68 6f 74 0d 02 76 31 53  |he snapshot..v1S|
000006f0  74 61 63 6b 50 74 72 20  20 3d 20 73 70 6c 6f 5f  |tackPtr  = splo_|
00000700  72 65 67 69 73 74 65 72  2b 28 32 35 36 2a 73 70  |register+(256*sp|
00000710  68 69 5f 72 65 67 69 73  74 65 72 29 0d 02 80 1f  |hi_register)....|
00000720  53 74 61 63 6b 4c 6f 63  6e 20 3d 20 53 74 61 63  |StackLocn = Stac|
00000730  6b 50 74 72 20 2b 20 26  31 30 30 0d 02 8a 04 0d  |kPtr + &100.....|
00000740  02 94 44 f4 20 4c 6f 63  61 74 65 20 74 68 65 20  |..D. Locate the |
00000750  76 61 6c 75 65 20 6f 66  20 74 68 65 20 50 72 6f  |value of the Pro|
00000760  67 72 61 6d 20 63 6f 75  6e 74 65 72 20 61 73 20  |gram counter as |
00000770  73 74 6f 72 65 64 20 6f  6e 20 74 68 65 20 73 74  |stored on the st|
00000780  61 63 6b 0d 02 9e 1f 70  63 6c 6f 3d 73 6e 61 70  |ack....pclo=snap|
00000790  62 75 66 25 3f 28 53 74  61 63 6b 4c 6f 63 6e 2b  |buf%?(StackLocn+|
000007a0  30 29 0d 02 a8 1f 70 63  68 69 3d 73 6e 61 70 62  |0)....pchi=snapb|
000007b0  75 66 25 3f 28 53 74 61  63 6b 4c 6f 63 6e 2b 31  |uf%?(StackLocn+1|
000007c0  29 0d 02 b2 21 50 72 6f  67 43 6f 75 6e 74 65 72  |)...!ProgCounter|
000007d0  20 3d 20 70 63 6c 6f 2b  28 32 35 36 2a 70 63 68  | = pclo+(256*pch|
000007e0  69 29 0d 02 bc 04 0d 02  c6 2b f4 20 41 64 6a 75  |i).......+. Adju|
000007f0  73 74 20 74 68 65 20 76  61 6c 75 65 20 6f 66 20  |st the value of |
00000800  74 68 65 20 53 74 61 63  6b 20 50 6f 69 6e 74 65  |the Stack Pointe|
00000810  72 0d 02 d0 19 53 74 61  63 6b 50 74 72 20 3d 20  |r....StackPtr = |
00000820  53 74 61 63 6b 50 74 72  2b 32 0d 02 da 40 f4 20  |StackPtr+2...@. |
00000830  41 64 6a 75 73 74 20 74  68 65 20 76 61 6c 75 65  |Adjust the value|
00000840  20 6f 66 20 74 68 65 20  50 72 6f 67 72 61 6d 20  | of the Program |
00000850  63 6f 75 6e 74 65 72 20  66 6f 72 20 53 70 65 63  |counter for Spec|
00000860  75 6c 61 74 6f 72 20 75  73 65 0d 02 e4 22 50 72  |ulator use..."Pr|
00000870  6f 67 43 6f 75 6e 74 65  72 20 3d 20 50 72 6f 67  |ogCounter = Prog|
00000880  43 6f 75 6e 74 65 72 2d  26 31 30 30 0d 02 ee 04  |Counter-&100....|
00000890  0d 02 f8 04 0d 03 02 04  0d 03 0c 04 0d 03 16 06  |................|
000008a0  3a 3a 0d 03 20 04 0d 03  2a 2b 72 6f 6d 66 69 6c  |::.. ...*+romfil|
000008b0  65 25 20 3d 20 8e 28 53  70 65 63 44 69 72 24 2b  |e% = .(SpecDir$+|
000008c0  22 2e 52 6f 6d 73 2e 53  70 65 63 74 72 75 6d 22  |".Roms.Spectrum"|
000008d0  29 0d 03 34 04 0d 03 3e  20 f4 20 2d 2d 20 43 6f  |)..4...> . -- Co|
000008e0  70 79 20 31 36 20 6b 62  79 74 65 73 20 52 4f 4d  |py 16 kbytes ROM|
000008f0  20 64 75 6d 70 0d 03 48  15 e3 20 4c 25 3d 26 31  | dump..H.. L%=&1|
00000900  30 30 20 b8 20 26 34 30  46 46 0d 03 52 1c 20 20  |00 . &40FF..R.  |
00000910  73 6e 61 70 62 75 66 25  3f 4c 25 3d 9a 23 72 6f  |snapbuf%?L%=.#ro|
00000920  6d 66 69 6c 65 25 0d 03  5c 05 ed 0d 03 66 04 0d  |mfile%..\....f..|
00000930  03 70 0e d9 23 72 6f 6d  66 69 6c 65 25 0d 03 7a  |.p..#romfile%..z|
00000940  04 0d 03 84 06 3a 3a 0d  03 8e 04 0d 03 98 3e f4  |.....::.......>.|
00000950  20 2d 2d 20 41 74 20 70  72 65 73 65 6e 74 20 74  | -- At present t|
00000960  68 65 20 6c 6f 63 61 74  69 6f 6e 73 20 66 6f 72  |he locations for|
00000970  20 74 68 65 20 66 6f 6c  6c 6f 77 69 6e 67 20 69  | the following i|
00000980  73 20 75 6e 6b 6e 6f 77  6e 0d 03 a2 1b 73 6e 61  |s unknown....sna|
00000990  70 62 75 66 25 21 30 20  3d 20 72 5f 72 65 67 69  |pbuf%!0 = r_regi|
000009a0  73 74 65 72 0d 03 ac 04  0d 03 b6 44 f4 20 2d 2d  |ster.......D. --|
000009b0  20 41 6e 20 61 62 73 6f  6c 75 74 65 20 76 61 6c  | An absolute val|
000009c0  75 65 20 73 74 6f 72 65  64 20 69 6e 20 61 6e 79  |ue stored in any|
000009d0  20 6c 6f 63 61 74 69 6f  6e 20 69 73 20 74 68 61  | location is tha|
000009e0  74 20 74 61 6b 65 6e 20  66 72 6f 6d 0d 03 c0 42  |t taken from...B|
000009f0  f4 20 2d 2d 20 61 20 73  6e 61 70 73 68 6f 74 20  |. -- a snapshot |
00000a00  6f 66 20 61 20 6e 65 77  6c 79 20 69 6e 69 74 69  |of a newly initi|
00000a10  61 6c 69 73 65 64 20 27  73 70 65 63 75 6c 61 74  |alised 'speculat|
00000a20  6f 72 27 20 65 6d 75 6c  61 74 69 6f 6e 2e 0d 03  |or' emulation...|
00000a30  ca 3e f4 20 2d 2d 20 41  6e 20 61 62 73 6f 6c 75  |.>. -- An absolu|
00000a40  74 65 20 76 61 6c 75 65  20 6f 66 20 26 3f 3f 20  |te value of &?? |
00000a50  69 6e 64 69 63 61 74 65  73 20 74 68 61 74 20 76  |indicates that v|
00000a60  61 6c 75 65 20 63 68 61  6e 67 65 73 0d 03 d4 3e  |alue changes...>|
00000a70  f4 20 2d 2d 20 72 65 67  75 6c 61 72 6c 79 20 62  |. -- regularly b|
00000a80  65 74 77 65 65 6e 20 27  73 69 6d 70 6c 65 27 20  |etween 'simple' |
00000a90  73 6e 61 70 73 20 66 6f  72 20 6e 6f 20 6b 6e 6f  |snaps for no kno|
00000aa0  77 6e 20 72 65 61 73 6f  6e 2e 0d 03 de 1d 73 6e  |wn reason.....sn|
00000ab0  61 70 62 75 66 25 21 26  30 30 20 3d 20 61 5f 72  |apbuf%!&00 = a_r|
00000ac0  65 67 69 73 74 65 72 0d  03 e8 1d 73 6e 61 70 62  |egister....snapb|
00000ad0  75 66 25 21 26 30 34 20  3d 20 66 5f 72 65 67 69  |uf%!&04 = f_regi|
00000ae0  73 74 65 72 0d 03 f2 1d  73 6e 61 70 62 75 66 25  |ster....snapbuf%|
00000af0  21 26 30 38 20 3d 20 62  5f 72 65 67 69 73 74 65  |!&08 = b_registe|
00000b00  72 0d 03 fc 1d 73 6e 61  70 62 75 66 25 21 26 30  |r....snapbuf%!&0|
00000b10  43 20 3d 20 63 5f 72 65  67 69 73 74 65 72 0d 04  |C = c_register..|
00000b20  06 1d 73 6e 61 70 62 75  66 25 21 26 31 30 20 3d  |..snapbuf%!&10 =|
00000b30  20 64 5f 72 65 67 69 73  74 65 72 0d 04 10 1d 73  | d_register....s|
00000b40  6e 61 70 62 75 66 25 21  26 31 34 20 3d 20 65 5f  |napbuf%!&14 = e_|
00000b50  72 65 67 69 73 74 65 72  0d 04 1a 1d 73 6e 61 70  |register....snap|
00000b60  62 75 66 25 21 26 31 38  20 3d 20 68 5f 72 65 67  |buf%!&18 = h_reg|
00000b70  69 73 74 65 72 0d 04 24  1d 73 6e 61 70 62 75 66  |ister..$.snapbuf|
00000b80  25 21 26 31 43 20 3d 20  6c 5f 72 65 67 69 73 74  |%!&1C = l_regist|
00000b90  65 72 0d 04 2e 1e 73 6e  61 70 62 75 66 25 21 26  |er....snapbuf%!&|
00000ba0  32 30 20 3d 20 50 72 6f  67 43 6f 75 6e 74 65 72  |20 = ProgCounter|
00000bb0  0d 04 38 1c 73 6e 61 70  62 75 66 25 21 26 32 34  |..8.snapbuf%!&24|
00000bc0  20 3d 20 26 30 31 38 37  46 37 30 34 0d 04 42 17  | = &0187F704..B.|
00000bd0  f4 20 73 6e 61 70 62 75  66 25 3f 32 34 20 3d 20  |. snapbuf%?24 = |
00000be0  26 3f 3f 0d 04 4c 17 f4  20 73 6e 61 70 62 75 66  |&??..L.. snapbuf|
00000bf0  25 3f 32 35 20 3d 20 26  3f 3f 0d 04 56 17 f4 20  |%?25 = &??..V.. |
00000c00  73 6e 61 70 62 75 66 25  3f 32 36 20 3d 20 26 3f  |snapbuf%?26 = &?|
00000c10  3f 0d 04 60 1b 73 6e 61  70 62 75 66 25 21 26 32  |?..`.snapbuf%!&2|
00000c20  38 20 3d 20 53 74 61 63  6b 50 74 72 0d 04 6a 1c  |8 = StackPtr..j.|
00000c30  73 6e 61 70 62 75 66 25  21 26 32 43 20 3d 20 26  |snapbuf%!&2C = &|
00000c40  30 30 30 30 30 42 45 42  0d 04 74 1c 73 6e 61 70  |00000BEB..t.snap|
00000c50  62 75 66 25 21 26 33 30  20 3d 20 26 30 30 30 30  |buf%!&30 = &0000|
00000c60  30 30 37 30 0d 04 7e 1c  73 6e 61 70 62 75 66 25  |0070..~.snapbuf%|
00000c70  21 26 33 34 20 3d 20 26  41 41 41 41 41 41 41 37  |!&34 = &AAAAAAA7|
00000c80  0d 04 88 1c 73 6e 61 70  62 75 66 25 21 26 33 38  |....snapbuf%!&38|
00000c90  20 3d 20 26 41 41 41 41  41 41 41 41 0d 04 92 1c  | = &AAAAAAAA....|
00000ca0  73 6e 61 70 62 75 66 25  21 26 33 43 20 3d 20 26  |snapbuf%!&3C = &|
00000cb0  37 42 30 30 30 30 30 30  0d 04 9c 1c 73 6e 61 70  |7B000000....snap|
00000cc0  62 75 66 25 21 26 34 30  20 3d 20 26 30 30 30 30  |buf%!&40 = &0000|
00000cd0  30 45 42 42 0d 04 a6 1c  73 6e 61 70 62 75 66 25  |0EBB....snapbuf%|
00000ce0  21 26 34 34 20 3d 20 26  30 30 30 30 30 30 37 30  |!&44 = &00000070|
00000cf0  0d 04 b0 1c 73 6e 61 70  62 75 66 25 21 26 34 38  |....snapbuf%!&48|
00000d00  20 3d 20 26 41 41 41 41  41 41 41 37 0d 04 ba 1c  | = &AAAAAAA7....|
00000d10  73 6e 61 70 62 75 66 25  21 26 34 43 20 3d 20 26  |snapbuf%!&4C = &|
00000d20  41 41 41 41 41 41 41 41  0d 04 c4 1c 73 6e 61 70  |AAAAAAAA....snap|
00000d30  62 75 66 25 21 26 35 30  20 3d 20 26 42 37 30 30  |buf%!&50 = &B700|
00000d40  30 30 30 30 0d 04 ce 1c  73 6e 61 70 62 75 66 25  |0000....snapbuf%|
00000d50  21 26 35 34 20 3d 20 26  30 30 30 30 30 42 45 42  |!&54 = &00000BEB|
00000d60  0d 04 d8 1c 73 6e 61 70  62 75 66 25 21 26 35 38  |....snapbuf%!&58|
00000d70  20 3d 20 26 30 30 30 30  30 30 37 30 0d 04 e2 1c  | = &00000070....|
00000d80  73 6e 61 70 62 75 66 25  21 26 35 43 20 3d 20 26  |snapbuf%!&5C = &|
00000d90  41 41 41 41 41 41 41 37  0d 04 ec 1c 73 6e 61 70  |AAAAAAA7....snap|
00000da0  62 75 66 25 21 26 36 30  20 3d 20 26 41 41 41 41  |buf%!&60 = &AAAA|
00000db0  41 41 41 41 0d 04 f6 1c  73 6e 61 70 62 75 66 25  |AAAA....snapbuf%|
00000dc0  21 26 36 34 20 3d 20 26  37 42 30 30 30 30 30 30  |!&64 = &7B000000|
00000dd0  0d 05 00 1c 73 6e 61 70  62 75 66 25 21 26 36 38  |....snapbuf%!&68|
00000de0  20 3d 20 26 30 30 30 30  30 45 42 42 0d 05 0a 1c  | = &00000EBB....|
00000df0  73 6e 61 70 62 75 66 25  21 26 36 43 20 3d 20 26  |snapbuf%!&6C = &|
00000e00  30 30 30 30 30 30 37 30  0d 05 14 1c 73 6e 61 70  |00000070....snap|
00000e10  62 75 66 25 21 26 37 30  20 3d 20 26 41 41 41 41  |buf%!&70 = &AAAA|
00000e20  41 41 41 37 0d 05 1e 1c  73 6e 61 70 62 75 66 25  |AAA7....snapbuf%|
00000e30  21 26 37 34 20 3d 20 26  41 41 41 41 41 41 41 41  |!&74 = &AAAAAAAA|
00000e40  0d 05 28 1c 73 6e 61 70  62 75 66 25 21 26 37 38  |..(.snapbuf%!&78|
00000e50  20 3d 20 26 42 37 30 30  30 30 30 30 0d 05 32 1c  | = &B7000000..2.|
00000e60  73 6e 61 70 62 75 66 25  21 26 37 43 20 3d 20 26  |snapbuf%!&7C = &|
00000e70  30 30 30 30 30 42 45 42  0d 05 3c 1c 73 6e 61 70  |00000BEB..<.snap|
00000e80  62 75 66 25 21 26 38 30  20 3d 20 26 30 30 30 30  |buf%!&80 = &0000|
00000e90  30 30 37 30 0d 05 46 1c  73 6e 61 70 62 75 66 25  |0070..F.snapbuf%|
00000ea0  21 26 38 34 20 3d 20 26  41 41 41 41 41 41 41 37  |!&84 = &AAAAAAA7|
00000eb0  0d 05 50 1c 73 6e 61 70  62 75 66 25 21 26 38 38  |..P.snapbuf%!&88|
00000ec0  20 3d 20 26 30 41 41 41  41 41 41 41 0d 05 5a 1c  | = &0AAAAAAA..Z.|
00000ed0  73 6e 61 70 62 75 66 25  21 26 38 43 20 3d 20 26  |snapbuf%!&8C = &|
00000ee0  30 30 46 46 30 30 30 30  0d 05 64 1c 73 6e 61 70  |00FF0000..d.snap|
00000ef0  62 75 66 25 21 26 39 30  20 3d 20 26 45 41 37 43  |buf%!&90 = &EA7C|
00000f00  30 43 45 43 0d 05 6e 1c  73 6e 61 70 62 75 66 25  |0CEC..n.snapbuf%|
00000f10  21 26 39 34 20 3d 20 26  30 30 30 34 38 45 43 35  |!&94 = &00048EC5|
00000f20  0d 05 78 17 f4 20 73 6e  61 70 62 75 66 25 3f 39  |..x.. snapbuf%?9|
00000f30  34 20 3d 20 26 3f 3f 0d  05 82 17 f4 20 73 6e 61  |4 = &??..... sna|
00000f40  70 62 75 66 25 3f 39 35  20 3d 20 26 3f 3f 0d 05  |pbuf%?95 = &??..|
00000f50  8c 1c 73 6e 61 70 62 75  66 25 21 26 39 38 20 3d  |..snapbuf%!&98 =|
00000f60  20 26 41 41 41 41 41 41  41 37 0d 05 96 1c 73 6e  | &AAAAAAA7....sn|
00000f70  61 70 62 75 66 25 21 26  39 43 20 3d 20 26 30 30  |apbuf%!&9C = &00|
00000f80  41 41 41 41 30 37 0d 05  a0 20 73 6e 61 70 62 75  |AAAA07... snapbu|
00000f90  66 25 3f 26 39 43 20 3d  20 62 6f 72 64 65 72 5f  |f%?&9C = border_|
00000fa0  63 6f 6c 6f 75 72 0d 05  aa 17 f4 20 73 6e 61 70  |colour..... snap|
00000fb0  62 75 66 25 3f 41 30 20  3d 20 26 3f 3f 0d 05 b4  |buf%?A0 = &??...|
00000fc0  1c 73 6e 61 70 62 75 66  25 21 26 41 30 20 3d 20  |.snapbuf%!&A0 = |
00000fd0  26 42 37 30 30 30 30 46  46 0d 05 be 1c 73 6e 61  |&B70000FF....sna|
00000fe0  70 62 75 66 25 21 26 41  34 20 3d 20 26 30 30 30  |pbuf%!&A4 = &000|
00000ff0  30 30 30 30 31 0d 05 c8  19 73 6e 61 70 62 75 66  |00001....snapbuf|
00001000  25 3f 26 41 34 20 3d 20  69 5f 6d 6f 64 65 0d 05  |%?&A4 = i_mode..|
00001010  d2 1c 73 6e 61 70 62 75  66 25 21 26 41 38 20 3d  |..snapbuf%!&A8 =|
00001020  20 26 30 30 30 30 30 30  30 30 0d 05 dc 1c 73 6e  | &00000000....sn|
00001030  61 70 62 75 66 25 21 26  41 43 20 3d 20 26 41 41  |apbuf%!&AC = &AA|
00001040  41 41 41 41 41 37 0d 05  e6 1c 73 6e 61 70 62 75  |AAAAA7....snapbu|
00001050  66 25 21 26 42 30 20 3d  20 26 30 30 30 30 30 30  |f%!&B0 = &000000|
00001060  30 30 0d 05 f0 1c 73 6e  61 70 62 75 66 25 21 26  |00....snapbuf%!&|
00001070  42 34 20 3d 20 26 37 42  30 30 30 30 30 30 0d 05  |B4 = &7B000000..|
00001080  fa 1c 73 6e 61 70 62 75  66 25 21 26 42 38 20 3d  |..snapbuf%!&B8 =|
00001090  20 26 30 30 30 30 30 30  30 30 0d 06 04 1c 73 6e  | &00000000....sn|
000010a0  61 70 62 75 66 25 21 26  42 43 20 3d 20 26 46 46  |apbuf%!&BC = &FF|
000010b0  33 46 30 30 37 30 0d 06  0e 1d 73 6e 61 70 62 75  |3F0070....snapbu|
000010c0  66 25 3f 26 42 45 20 3d  20 69 5f 72 65 67 69 73  |f%?&BE = i_regis|
000010d0  74 65 72 0d 06 18 1f 73  6e 61 70 62 75 66 25 3f  |ter....snapbuf%?|
000010e0  26 42 46 20 3d 20 69 66  66 5f 72 65 67 69 73 74  |&BF = iff_regist|
000010f0  65 72 0d 06 22 1c 73 6e  61 70 62 75 66 25 21 26  |er..".snapbuf%!&|
00001100  43 30 20 3d 20 26 34 30  30 30 30 30 30 30 0d 06  |C0 = &40000000..|
00001110  2c 1c 73 6e 61 70 62 75  66 25 21 26 43 34 20 3d  |,.snapbuf%!&C4 =|
00001120  20 26 34 30 30 30 30 46  30 30 0d 06 36 1c 73 6e  | &40000F00..6.sn|
00001130  61 70 62 75 66 25 21 26  43 38 20 3d 20 26 34 30  |apbuf%!&C8 = &40|
00001140  30 30 30 30 30 46 0d 06  40 1c 73 6e 61 70 62 75  |00000F..@.snapbu|
00001150  66 25 21 26 43 43 20 3d  20 26 34 30 30 30 30 46  |f%!&CC = &40000F|
00001160  30 46 0d 06 4a 1c 73 6e  61 70 62 75 66 25 21 26  |0F..J.snapbuf%!&|
00001170  44 30 20 3d 20 26 34 30  30 30 30 30 46 30 0d 06  |D0 = &400000F0..|
00001180  54 1c 73 6e 61 70 62 75  66 25 21 26 44 34 20 3d  |T.snapbuf%!&D4 =|
00001190  20 26 34 30 30 30 30 46  46 30 0d 06 5e 1c 73 6e  | &40000FF0..^.sn|
000011a0  61 70 62 75 66 25 21 26  44 38 20 3d 20 26 34 30  |apbuf%!&D8 = &40|
000011b0  30 30 30 30 46 46 0d 06  68 1c 73 6e 61 70 62 75  |0000FF..h.snapbu|
000011c0  66 25 21 26 44 43 20 3d  20 26 34 30 30 30 30 46  |f%!&DC = &40000F|
000011d0  46 46 0d 06 72 1c 73 6e  61 70 62 75 66 25 21 26  |FF..r.snapbuf%!&|
000011e0  45 30 20 3d 20 26 46 46  46 46 46 46 46 46 0d 06  |E0 = &FFFFFFFF..|
000011f0  7c 1c 73 6e 61 70 62 75  66 25 21 26 45 34 20 3d  ||.snapbuf%!&E4 =|
00001200  20 26 46 46 46 46 46 46  46 46 0d 06 86 1c 73 6e  | &FFFFFFFF....sn|
00001210  61 70 62 75 66 25 21 26  45 38 20 3d 20 26 30 31  |apbuf%!&E8 = &01|
00001220  38 37 46 37 42 38 0d 06  90 1c 73 6e 61 70 62 75  |87F7B8....snapbu|
00001230  66 25 21 26 45 43 20 3d  20 26 30 30 30 30 34 34  |f%!&EC = &000044|
00001240  30 30 0d 06 9a 20 73 6e  61 70 62 75 66 25 3f 26  |00... snapbuf%?&|
00001250  45 43 20 3d 20 61 5f 61  6c 74 72 65 67 69 73 74  |EC = a_altregist|
00001260  65 72 0d 06 a4 20 73 6e  61 70 62 75 66 25 3f 26  |er... snapbuf%?&|
00001270  45 44 20 3d 20 66 5f 61  6c 74 72 65 67 69 73 74  |ED = f_altregist|
00001280  65 72 0d 06 ae 1c 73 6e  61 70 62 75 66 25 21 26  |er....snapbuf%!&|
00001290  46 30 20 3d 20 26 30 30  30 30 34 42 31 37 0d 06  |F0 = &00004B17..|
000012a0  b8 20 73 6e 61 70 62 75  66 25 3f 26 46 30 20 3d  |. snapbuf%?&F0 =|
000012b0  20 62 5f 61 6c 74 72 65  67 69 73 74 65 72 0d 06  | b_altregister..|
000012c0  c2 20 73 6e 61 70 62 75  66 25 3f 26 46 31 20 3d  |. snapbuf%?&F1 =|
000012d0  20 63 5f 61 6c 74 72 65  67 69 73 74 65 72 0d 06  | c_altregister..|
000012e0  cc 1c 73 6e 61 70 62 75  66 25 21 26 46 34 20 3d  |..snapbuf%!&F4 =|
000012f0  20 26 37 46 31 30 30 36  30 30 0d 06 d6 20 73 6e  | &7F100600... sn|
00001300  61 70 62 75 66 25 3f 26  46 34 20 3d 20 64 5f 61  |apbuf%?&F4 = d_a|
00001310  6c 74 72 65 67 69 73 74  65 72 0d 06 e0 20 73 6e  |ltregister... sn|
00001320  61 70 62 75 66 25 3f 26  46 35 20 3d 20 65 5f 61  |apbuf%?&F5 = e_a|
00001330  6c 74 72 65 67 69 73 74  65 72 0d 06 ea 20 73 6e  |ltregister... sn|
00001340  61 70 62 75 66 25 3f 26  46 36 20 3d 20 68 5f 61  |apbuf%?&F6 = h_a|
00001350  6c 74 72 65 67 69 73 74  65 72 0d 06 f4 20 73 6e  |ltregister... sn|
00001360  61 70 62 75 66 25 3f 26  46 37 20 3d 20 6c 5f 61  |apbuf%?&F7 = l_a|
00001370  6c 74 72 65 67 69 73 74  65 72 0d 06 fe 1c 73 6e  |ltregister....sn|
00001380  61 70 62 75 66 25 21 26  46 38 20 3d 20 26 30 30  |apbuf%!&F8 = &00|
00001390  30 30 30 30 30 30 0d 07  08 20 73 6e 61 70 62 75  |000000... snapbu|
000013a0  66 25 3f 26 46 38 20 3d  20 69 78 6c 6f 5f 72 65  |f%?&F8 = ixlo_re|
000013b0  67 69 73 74 65 72 0d 07  12 20 73 6e 61 70 62 75  |gister... snapbu|
000013c0  66 25 3f 26 46 39 20 3d  20 69 78 68 69 5f 72 65  |f%?&F9 = ixhi_re|
000013d0  67 69 73 74 65 72 0d 07  1c 1c 73 6e 61 70 62 75  |gister....snapbu|
000013e0  66 25 21 26 46 43 20 3d  20 26 30 30 30 30 35 43  |f%!&FC = &00005C|
000013f0  33 41 0d 07 26 20 73 6e  61 70 62 75 66 25 3f 26  |3A..& snapbuf%?&|
00001400  46 43 20 3d 20 69 79 6c  6f 5f 72 65 67 69 73 74  |FC = iylo_regist|
00001410  65 72 0d 07 30 20 73 6e  61 70 62 75 66 25 3f 26  |er..0 snapbuf%?&|
00001420  46 44 20 3d 20 69 79 68  69 5f 72 65 67 69 73 74  |FD = iyhi_regist|
00001430  65 72 0d 07 3a 04 0d 07  44 06 3a 3a 0d 07 4e 04  |er..:...D.::..N.|
00001440  0d 07 58 4e c8 99 20 22  4f 53 5f 46 69 6c 65 22  |..XN.. "OS_File"|
00001450  2c 31 30 2c 53 70 65 63  44 69 72 24 2b 22 2e 50  |,10,SpecDir$+".P|
00001460  72 6f 67 72 61 6d 73 2e  22 2b 53 6e 61 70 24 2c  |rograms."+Snap$,|
00001470  26 37 30 32 2c 2c 73 6e  61 70 62 75 66 25 2c 73  |&702,,snapbuf%,s|
00001480  6e 61 70 62 75 66 25 2b  26 31 30 31 30 30 0d 07  |napbuf%+&10100..|
00001490  62 04 0d 07 6c 06 3a 3a  0d 07 76 04 0d 07 80 0b  |b...l.::..v.....|
000014a0  f3 20 53 6e 61 70 24 0d  07 8a 05 ce 0d 07 94 04  |. Snap$.........|
000014b0  0d 07 9e 05 e0 0d 07 a8  04 0d 07 b2 06 3a 3a 0d  |.............::.|
000014c0  07 bc 04 0d 07 c6 0c dd  20 f2 65 72 72 6f 72 0d  |........ .error.|
000014d0  07 d0 0b 20 20 ee 20 85  20 87 0d 07 da 17 20 20  |...  . . .....  |
000014e0  f6 3a f1 20 22 20 61 74  20 6c 69 6e 65 20 22 3b  |.:. " at line ";|
000014f0  9e 0d 07 e4 11 20 20 d9  23 73 6e 61 70 66 69 6c  |.....  .#snapfil|
00001500  65 25 0d 07 ee 10 20 20  d9 23 72 6f 6d 66 69 6c  |e%....  .#romfil|
00001510  65 25 0d 07 f8 05 e1 0d  08 02 04 0d 08 0c 04 0d  |e%..............|
00001520  08 16 22 dc 20 52 45 58  2f 53 4e 41 2c 53 4b 4f  |..". REX/SNA,SKO|
00001530  4f 4c 44 41 5a 2f 53 2c  45 6e 64 4f 66 4c 69 73  |OLDAZ/S,EndOfLis|
00001540  74 0d 08 20 10 f4 20 20  45 6e 64 4f 66 4c 69 73  |t.. ..  EndOfLis|
00001550  74 0d ff                                          |t..|
00001553