; -----------------------------------------------------------------------------
; Exile Loader (c) Superior Software
; reverse engineered by Eelco Huininga
; DOS Filename   : ExileL2
; Acorn filename : $.ExileL
; Load address   : 00001700
; Exec address   : 0000352F
; Length         : 000042E1
; -----------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; OS call addresses
; -----------------------------------------------------------------------------
nvwrch             = &FFCB                       ; nvwrch Non-vectored write character
osfind             = &FFCE                       ; OSFIND Open or close file
osfile             = &FFDD                       ; OSFILE Load/save file
osrdch             = &FFE0                       ; OSRDCH Read character
oswrch             = &FFEE                       ; OSWRCH Write character
osword             = &FFF1                       ; OSWORD Various OS routines
osbyte             = &FFF4                       ; OSBYTE Various OS routines
oscli              = &FFF7                       ; OSCLI Command Line Interpreter

org                &1700

.DataList1
1700  04           .     ...
1701  14           .     ...
1702  04           .     ...
1703  75 1E        u.    ADC &1E,X
1705  1B           .     ...
1706  10 10        ..    BPL &1718
1708  10 1C        ..    BPL &1726
170A  1C           .     ...
170B  20 70 70      pp   JSR &7070
170E  61 52        aR    ADC (&52,X)
1710  72           r     ...
1711  4F           O     ...
1712  21 08        !.    AND (&08,X)
1714  08           .     PHP
1715  21 21        !!    AND (&21,X)
1717  08           .     PHP
.
1718  08           .     PHP
1719  21 78        !x    AND (&78,X)
171B  78           x     SEI
171C  13           .     ...
171D  13           .     ...
171E  13           .     ...
171F  5E 5E 15     ^^.   LSR &155E,Y
1722  16 16        ..    ASL &16,X
1724  16 16        ..    ASL &16,X
.
1726  04           .     ...
1727  52           R     ...
1728  45 64        Ed    EOR &64
172A  64           d     ...
172B  64           d     ...
172C  64           d     ...
172D  64           d     ...
172E  59 59 59     YYY   EOR &5959,Y
1731  59 6D 63     Ymc   EOR &636D,Y
1734  63           c     ...
1735  0B           .     ...
1736  0F           .     ...
1737  17           .     ...
1738  14           .     ...
1739  17           .     ...
173A  39 17 4A     9.J   AND &4A17,Y
173D  4B           K     ...
173E  3C           <     ...
173F  41 1A        A.    EOR (&1A,X)
1741  71 2E        q.    ADC (&2E),Y
1743  5D 17 20     ].    EOR &2017,X
1746  56 57        VW    LSR &57,X
1748  47           G     ...
1749  22           "     ...
174A  60           `     RTS
174B  7B           {     ...
174C  76 76        vv    ROR &76,X
174E  58           X     CLI
174F  58           X     CLI
1750  21 4D        !M    AND (&4D,X)
1752  4D 4D 4D     MMM   EOR &4D4D
1755  20 4D 4D      MM   JSR &4D4D
1758  22           "     ...
1759  6B           k     ...
175A  6C 6C 79     lly   JMP (&796C)
175D  6C 04 7A     l.z   JMP (&7A04)
1760  63           c     ...
1761  7C           |     ...
1762  7C           |     ...
1763  79           y     DB &79
1764  77           w     DB &77

.DataList2
1765  3E           >     DB &3E
1766  1B           .     ...
1767  2E F2 32     ..2   ROL &32F2
176A  32           2     ...
176B  53           S     ...
176C  05 0F        ..    ORA &0F
176E  14           .     ...
176F  29 BC        ).    AND #&BC
1771  65 65        ee    ADC &65
1773  F7           .     ...
1774  97           .     ...
1775  D3           .     ...
1776  C7           .     ...
1777  EF           .     ...
1778  7E 5F 3C     ~_<   ROR &3C5F,X
177B  5A           Z     ...
177C  11 2D        .-    ORA (&2D),Y
177E  34           4     ...
177F  E1 80        ..    SBC (&80,X)
1781  55 1B        U.    EOR &1B,X
1783  4C 59 23     LY#   JMP &2359
1786  72           r     ...
1787  2E 7B 77     .{w   ROL &777B
178A  33           3     ...
178B  39 8B 44     9.D   AND &448B,Y
178E  51 0D        Q.    EOR (&0D),Y
1790  46 2B        F+    LSR &2B
1792  53           S     ...
1793  35 3C        5<    AND &3C,X
1795  02           .     ...
1796  01 70        .p    ORA (&70,X)
1798  9C           .     ...
1799  CF           .     ...
179A  00           .     BRK
179B  14           .     ...
179C  10 4B        .K    BPL &17E9
179E  10 0C        ..    BPL &17AC
17A0  34           4     ...
17A1  6B           k     ...
17A2  6B           k     ...
17A3  42           B     ...
17A4  42           B     ...
17A5  31 6F        1o    AND (&6F),Y
17A7  15 2E        ..    ORA &2E,X
17A9  12           .     ...
17AA  CB           .     ...
17AB  33           3     ...
.
17AC  B1 62        .b    LDA (&62),Y
17AE  00           .     BRK
17AF  DB           .     ...
17B0  9F           .     ...
17B1  8F           .     ...
17B2  CF           .     ...
17B3  E5 8E        ..    SBC &8E
17B5  EF           .     ...
17B6  AB           .     ...
17B7  AD 95 9C     ...   LDA &9C95
17BA  91 92        ..    STA (&92),Y
17BC  A6 91        ..    LDX &91
17BE  B1 8E        ..    LDA (&8E),Y
17C0  E0 A2        ..    CPX #&A2
17C2  B5 B3        ..    LDA &B3,X
17C4  E3           .     ...
17C5  D5 E3        ..    CMP &E3,X
17C7  D7           .     ...
17C8  F0 71        .q    BEQ &183B
17CA  2E 2E 2E     ...   ROL &2E2E
17CD  2E 2E 2E     ...   ROL &2E2E
17D0  2E 2E 2E     ...   ROL &2E2E
17D3  2E 2E 2E     ...   ROL &2E2E
17D6  2E 2E 2E     ...   ROL &2E2E
17D9  2E 2E 2E     ...   ROL &2E2E
17DC  2E 2E 2E     ...   ROL &2E2E
17DF  2E 2E 2E     ...   ROL &2E2E
17E2  2E 2E 2E     ...   ROL &2E2E
17E5  2E 2E 2E     ...   ROL &2E2E
17E8  2E 2E 2E     ...   ROL &2E2E
17EB  2E 2E 2E     ...   ROL &2E2E
17EE  2E 2E 2E     ...   ROL &2E2E
17F1  2E 2E 2E     ...   ROL &2E2E
17F4  2E 2E 2E     ...   ROL &2E2E
17F7  2E F0 C8     ...   ROL &C8F0
17FA  3C           <     ...
17FB  28           (     PLP
17FC  28           (     PLP
17FD  3C           <     ...
17FE  3C           <     ...
17FF  03           .     ...
1800  08           .     PHP
1801  08           .     PHP
1802  08           .     PHP
1803  0C           .     ...
1804  18           .     CLC
1805  28           (     PLP
1806  3C           <     ...
1807  28           (     PLP
1808  50 28        P(    BVC &1832
180A  08           .     PHP
180B  78           x     SEI
180C  08           .     PHP
180D  20 10 14      ..   JSR &1410
1810  1C           .     ...
1811  0C           .     ...
1812  20 50 30      P0   JSR &3050
1815  64           d     ...
1816  28           (     PLP
1817  3C           <     ...
1818  50 78        Px    BVC &1892
181A  A0 28        .(    LDY #&28
181C  28           (     PLP
181D  3C           <     ...
181E  50 50        PP    BVC &1870
1820  3C           <     ...
1821  3C           <     ...
1822  3C           <     ...
1823  3C           <     ...
1824  3C           <     ...
1825  50 02        P.    BVC &1829
1827  03           .     ...
1828  04           .     ...
.
1829  05 07        ..    ORA &07
182B  08           .     PHP
182C  0A           .     ASL A
182D  0F           .     ...
182E  10 11        ..    BPL &1841
1830  1A           .     ...
1831  1B           .     ...
.
1832  1C           .     ...
1833  1D 1E 1F     ...   ORA &1F1E,X
1836  20 21 27      !'   JSR &2721
1839  28           (     PLP
183A  29 2A        )*    AND #&2A
183C  2B           +     ...
183D  2C 2D 2E     ,-.   BIT &2E2D
1840  2F           /     ...
.
1841  30 31        01    BMI &1874
1843  51 52        QR    EOR (&52),Y
1845  53           S     ...
1846  54           T     ...
1847  56 57        VW    LSR &57,X
1849  59 5A 5B     YZ[   EOR &5B5A,Y
184C  5C           \     ...
184D  5D 5E 5F     ]^_   EOR &5F5E,X
1850  60           `     RTS
1851  61 62        ab    ADC (&62,X)
1853  63           c     ...
1854  84 79        .y    STY &79
1856  8E 31 2E     .1.   STX &2E31
1859  86 86        ..    STX &86
185B  86 9C        ..    STX &9C
185D  00           .     BRK
185E  00           .     BRK
185F  85 29        .)    STA &29
1861  85 85        ..    STA &85
1863  A1 F4        ..    LDA (&F4,X)
1865  F4           .     ...
1866  F4           .     ...
1867  F4           .     ...
1868  01 F5        ..    ORA (&F5,X)
.
186A  F5 F4        ..    SBC &F4,X
186C  02           .     ...
186D  02           .     ...
186E  F5 F5        ..    SBC &F5,X
.
1870  F5 F5        ..    SBC &F5,X
1872  F4           .     ...
1873  F4           .     ...
.
1874  F5 5A        .Z    SBC &5A,X
1876  F5 F4        ..    SBC &F4,X
1878  5A           Z     ...
1879  5A           Z     ...
187A  F4           .     ...
187B  F5 F5        ..    SBC &F5,X
187D  F4           .     ...
187E  F4           .     ...
187F  F4           .     ...
1880  F5 01        ..    SBC &01,X
1882  02           .     ...
1883  02           .     ...
.
1884  5A           Z     ...
1885  5A           Z     ...
.
1886  5A           Z     ...
1887  5A           Z     ...
.
1888  5A           Z     ...
1889  F5 F5        ..    SBC &F5,X
188B  F5 F5        ..    SBC &F5,X
188D  F5 F5        ..    SBC &F5,X
188F  5A           Z     ...
1890  F4           .     ...
1891  F5 F5        ..    SBC &F5,X
1893  F5 F5        ..    SBC &F5,X
1895  F5 F5        ..    SBC &F5,X
1897  F5 F5        ..    SBC &F5,X
1899  01 F4        ..    ORA (&F4,X)
189B  F5 F5        ..    SBC &F5,X
189D  F5 F5        ..    SBC &F5,X
189F  02           .     ...
18A0  F5 F4        ..    SBC &F4,X
18A2  F4           .     ...
18A3  02           .     ...
18A4  03           .     ...
18A5  03           .     ...
18A6  03           .     ...
18A7  03           .     ...
18A8  02           .     ...
18A9  3C           <     ...
18AA  F5 01        ..    SBC &01,X
18AC  5B           [     ...
18AD  01 F5        ..    ORA (&F5,X)
18AF  F4           .     ...
18B0  F4           .     ...
18B1  02           .     ...
18B2  F4           .     ...
18B3  F4           .     ...
18B4  01 02        ..    ORA (&02,X)
18B6  F4           .     ...
18B7  F4           .     ...
18B8  F4           .     ...
18B9  F4           .     ...
18BA  F4           .     ...
18BB  F4           .     ...
18BC  F4           .     ...
18BD  F4           .     ...
18BE  F4           .     ...
18BF  F4           .     ...
18C0  F4           .     ...
18C1  F4           .     ...
.
18C2  F4           .     ...
18C3  F4           .     ...
18C4  F4           .     ...
18C5  F4           .     ...
18C6  F4           .     ...
18C7  F4           .     ...
18C8  F4           .     ...
18C9  F4           .     ...
18CA  F4           .     ...
18CB  F4           .     ...
18CC  01 20        .     ORA (&20,X)
18CE  B0 90        ..    BCS &1860
18D0  F0 F0        ..    BEQ &18C2
18D2  B0 B0        ..    BCS &1884
18D4  B0 B0        ..    BCS &1886
18D6  B0 B0        ..    BCS &1888
18D8  30 90        0.    BMI &186A
18DA  30 30        00    BMI &190C
18DC  30 00        0.    BMI &18DE
.
18DE  00           .     BRK
18DF  00           .     BRK
18E0  00           .     BRK
18E1  05 00        ..    ORA &00
18E3  80           .     ...
18E4  80           .     ...
18E5  C5 C5        ..    CMP &C5
18E7  80           .     ...
18E8  80           .     ...
18E9  80           .     ...
18EA  00           .     BRK
18EB  00           .     BRK
18EC  00           .     BRK
18ED  00           .     BRK
18EE  05 80        ..    ORA &80
18F0  80           .     ...
18F1  C5 85        ..    CMP &85
18F3  C0 C0        ..    CPY #&C0
18F5  C0 C0        ..    CPY #&C0
18F7  C0 C0        ..    CPY #&C0
18F9  C0 85        ..    CPY #&85
18FB  45 45        EE    EOR &45
18FD  45 45        EE    EOR &45
18FF  45 45        EE    EOR &45
1901  45 40        E@    EOR &40
1903  40           @     RTI
1904  40           @     RTI
1905  40           @     RTI
1906  40           @     RTI
1907  00           .     BRK
1908  85 C0        ..    STA &C0
190A  80           .     ...
190B  80           .     ...
.
190C  80           .     ...
190D  80           .     ...
190E  80           .     ...
190F  80           .     ...
1910  80           .     ...
1911  80           .     ...
1912  85 00        ..    STA &00
1914  00           .     BRK
1915  00           .     BRK
1916  00           .     BRK
1917  C0 05        ..    CPY #&05
1919  00           .     BRK
191A  00           .     BRK
191B  00           .     BRK
191C  05 C5        ..    ORA &C5
191E  C5 C5        ..    CMP &C5
.
1920  C5 05        ..    CMP &05
.
1922  05 C0        ..    ORA &C0
1924  05 05        ..    ORA &05
1926  05 00        ..    ORA &00
1928  40           @     RTI
1929  00           .     BRK
192A  05 00        ..    ORA &00
192C  80           .     ...
192D  05 05        ..    ORA &05
192F  00           .     BRK
1930  00           .     BRK
1931  C0 00        ..    CPY #&00
1933  00           .     BRK
1934  00           .     BRK
1935  00           .     BRK
1936  00           .     BRK
1937  00           .     BRK
1938  00           .     BRK
1939  00           .     BRK
193A  00           .     BRK
193B  00           .     BRK
193C  00           .     BRK
193D  00           .     BRK
193E  00           .     BRK
193F  00           .     BRK
1940  00           .     BRK
1941  00           .     BRK
1942  00           .     BRK
1943  00           .     BRK
1944  00           .     BRK
1945  05 C6        ..    ORA &C6
1947  CE C6 C6     ...   DEC &C6C6
194A  C6 BB        ..    DEC &BB
194C  C6 18        ..    DEC &18
194E  2D 70 6A     -pj   AND &6A70
.
1951  C6 23        .#    DEC &23
1953  39 C6 62     9.b   AND &62C6,Y
1956  C0 8E        ..    CPY #&8E
1958  39 44 47     9DG   AND &4744,Y
195B  26 48        &H    ROL &48
195D  49 DF        I.    EOR #&DF
195F  C6 99        ..    DEC &99
1961  9A           .     TXS
1962  25 2B        %+    AND &2B
1964  39 3B 3C     9;<   AND &3C3B,Y
1967  55 8E        U.    EOR &8E,X
1969  43           C     ...
196A  34           4     ...
196B  35 27        5'    AND &27,X
196D  28           (     PLP
196E  29 2A        )*    AND #&2A
1970  42           B     ...
1971  BF           .     ...
1972  40           @     RTI
1973  3D 38 36     =86   ORA &3638,X
1976  37           7     ...
1977  3E 33 31     >31   ROL &3133,X
197A  2F           /     ...
197B  30 2C        0,    BMI &19A9
197D  24 32        $2    BIT &32
197F  41 45        AE    EOR (&45,X)
1981  3A           :     ...
1982  6A           j     ROR A
1983  23           #     ...
1984  60           `     RTS
1985  CC 00 00     ...   CPY &0000
1988  00           .     BRK
1989  00           .     BRK
198A  00           .     BRK
198B  00           .     BRK
198C  00           .     BRK
198D  D0 C0        ..    BNE &194F
198F  B0 C0        ..    BCS &1951
1991  00           .     BRK
1992  00           .     BRK
1993  00           .     BRK
1994  00           .     BRK
1995  C0 B0        ..    CPY #&B0
1997  A0 00        ..    LDY #&00
1999  00           .     BRK
199A  00           .     BRK
199B  00           .     BRK
199C  80           .     ...
199D  C0 70        .p    CPY #&70
199F  00           .     BRK
19A0  B0 80        ..    BCS &1922
19A2  90 00        ..    BCC &19A4
.
19A4  00           .     BRK
19A5  80           .     ...
19A6  C0 00        ..    CPY #&00
19A8  A0 00        ..    LDY #&00
19AA  00           .     BRK
19AB  80           .     ...
19AC  00           .     BRK
19AD  40           @     RTI
19AE  80           .     ...
19AF  C0 00        ..    CPY #&00
19B1  F0 B0        ..    BEQ &1963
19B3  00           .     BRK
19B4  00           .     BRK
19B5  00           .     BRK
19B6  80           .     ...
19B7  70 00        p.    BCS &19B9
.
19B9  C0 C0        ..    CPY #&C0
19BB  00           .     BRK
19BC  80           .     ...
19BD  00           .     BRK
19BE  80           .     ...
19BF  00           .     BRK
19C0  90 30        .0    BCC &19F2
19C2  C0 00        ..    CPY #&00
19C4  A0 00        ..    LDY #&00
19C6  80           .     ...
19C7  02           .     ...
19C8  91 91        ..    STA (&91),Y
19CA  91 00        ..    STA (&00),Y
19CC  91 A8        ..    STA (&A8),Y
19CE  DC           .     ...
19CF  B8           .     CLV
19D0  8C 80 C9     ...   STY &C980
19D3  4A           J     LSR A
19D4  80           .     ...
19D5  06 88        ..    ASL &88
19D7  05 04        ..    ORA &04
19D9  00           .     BRK
19DA  02           .     ...
19DB  02           .     ...
19DC  02           .     ...
19DD  02           .     ...
19DE  02           .     ...
19DF  91 03        ..    STA (&03),Y
19E1  03           .     ...
19E2  02           .     ...
19E3  02           .     ...
19E4  00           .     BRK
19E5  00           .     BRK
19E6  00           .     BRK
19E7  BC B1 00     ...   LDY &00B1,X
19EA  00           .     BRK
19EB  00           .     BRK
19EC  01 01        ..    ORA (&01,X)
19EE  01 01        ..    ORA (&01,X)
19F0  00           .     BRK
19F1  04           .     ...
.
19F2  04           .     ...
19F3  04           .     ...
19F4  04           .     ...
19F5  04           .     ...
19F6  04           .     ...
19F7  04           .     ...
19F8  02           .     ...
19F9  01 01        ..    ORA (&01,X)
19FB  01 02        ..    ORA (&02,X)
19FD  02           .     ...
19FE  02           .     ...
19FF  00           .     BRK
1A00  00           .     BRK
1A01  00           .     BRK
1A02  82           .     ...
1A03  02           .     ...
1A04  64           d     ...
1A05  EE 00 1D     ...   INC &1D00
1A08  39 57 7A     9Wz   AND &7A57,Y
1A0B  9E           .     ...
1A0C  BC D8 F6     ...   LDY &F6D8,X
1A0F  FE 01 FE     ...   INC &FE01,X
.
1A12  FB           .     ...
1A13  FA           .     ...
1A14  F8           .     SED
1A15  F5 F5        ..    SBC &F5,X
1A17  F3           .     ...
1A18  F3           .     ...
1A19  00           .     BRK
1A1A  F5 E9        ..    SBC &E9,X
1A1C  DE CE BE     ...   DEC &BECE,X
1A1F  B1 A1        ..    LDA (&A1),Y
1A21  98           .     TYA
1A22  FF           .     ...
1A23  FF           .     ...
1A24  B0 EC        ..    BCS &1A12
1A26  77           w     ...
1A27  64           d     ...
1A28  9A           .     TXS
1A29  AF           .     ...
1A2A  DA           .     ...
1A2B  C6 36        .6    DEC &36
1A2D  9F           .     ...
1A2E  2E A9 9C     ...   ROL &9CA9
1A31  83           .     ...
1A32  88           .     DEY
1A33  5F           _     ...
1A34  57           W     ...
1A35  BF           .     ...
1A36  9D 4D 45     .ME   STA &454D,X
1A39  81 B3        ..    STA (&B3,X)
1A3B  3F           ?     ...
1A3C  CB           .     ...
1A3D  40           @     RTI
1A3E  4C CA 2F     L./   JMP &2FCA
1A41  A7           .     ...
1A42  56 34        V4    LSR &34,X
1A44  E3           .     ...
1A45  3B           ;     ...
1A46  E4 80        ..    CPX &80
1A48  E0 64        .d    CPX #&64
1A4A  37           7     ...
1A4B  47           G     ...
1A4C  9F           .     ...
1A4D  9C           .     ...
1A4E  AA           .     TAX
1A4F  9B           .     ...
1A50  9A           .     TXS
1A51  5E C7 8A     ^..   LSR &8AC7,Y
1A54  60           `     RTS
1A55  9D A2 B2     ...   STA &B2A2,X
1A58  98           .     TYA
1A59  A9 DB        ..    LDA #&DB
1A5B  28           (     PLP
1A5C  29 3C        )<    AND #&3C
1A5E  98           .     TYA
1A5F  63           c     ...
1A60  CB           .     ...
1A61  61 A3        a.    ADC (&A3,X)
1A63  CE E9 80     ...   DEC &80E9
1A66  2E 4F 79     .Oy   ROL &794F
1A69  87           .     ...
1A6A  B6 97        ..    LDX &97,Y
1A6C  2D D6 5C     -.\   AND &5CD6
1A6F  A0 74        .t    LDY #&74
.
1A71  6A           j     ROR A
1A72  A1 9F        ..    LDA (&9F,X)
1A74  89           .     ...
1A75  85 6B        .k    STA &6B
1A77  AE 65 E2     .e.   LDX &E265
1A7A  ED 80 CD     ...   SBC &CD80
1A7D  A8           .     TAY
1A7E  2B           +     ...
1A7F  AB           .     ...
1A80  9D 62 E5     .b.   STA &E562,X
1A83  70 EC        p.    BCS &1A71
1A85  83           .     ...
1A86  C1 C6        ..    CMP (&C6,X)
1A88  67           g     ...
1A89  EB           .     ...
1A8A  2D 98 AA     -..   AND &AA98
1A8D  CC A5 9E     ...   CPY &9EA5
1A90  A2 D7        ..    LDX #&D7
1A92  E6 E7        ..    INC &E7
1A94  94 7C        .|    STY &7C
1A96  E3           .     ...
1A97  45 9B        E.    EOR &9B
1A99  9F           .     ...
1A9A  C2           .     ...
1A9B  71 67        qg    ADC (&67),Y
1A9D  4F           O     ...
1A9E  CF           .     ...
1A9F  D2           .     ...
1AA0  E2           .     ...
1AA1  7A           z     ...
1AA2  62           b     ...
1AA3  DA           .     ...
1AA4  76 B2        v.    ROR &B2,X
1AA6  66 D7        f.    ROR &D7
1AA8  83           .     ...
1AA9  84 80        ..    STY &80
1AAB  87           .     ...
1AAC  9B           .     ...
1AAD  50 AE        P.    BVC &1A5D
1AAF  64           d     ...
1AB0  A3           .     ...
1AB1  63           c     ...
1AB2  B8           .     CLV
1AB3  7F                ...
1AB4  82           .     ...
1AB5  E0 9C        ..    CPX #&9C
1AB7  61 9D        a.    ADC (&9D,X)
1AB9  29 46        )F    AND #&46
1ABB  9F           .     ...
1ABC  9A           .     TXS
1ABD  74           t     ...
1ABE  75 77        uw    ADC &77,X
1AC0  B2           .     ...
1AC1  E4 62        .b    CPX &62
1AC3  63           c     ...
1AC4  82           .     ...
1AC5  61 D4        a.    ADC (&D4,X)
1AC7  D3           .     ...
1AC8  77           w     ...
1AC9  2E 64 86     .d.   ROL &8664
1ACC  A5 A0        ..    LDA &A0
1ACE  D1 B4        ..    CMP (&B4),Y
1AD0  7F                ...
1AD1  A3           .     ...
1AD2  9F           .     ...
1AD3  99 80 67     ..g   STA &6780,Y
1AD6  DA           .     ...
1AD7  89           .     ...
1AD8  95 8B        ..    STA &8B,X
1ADA  AB           .     ...
1ADB  C4 9D        ..    CPY &9D
1ADD  AA           .     TAX
1ADE  BB           .     ...
1ADF  47           G     ...
1AE0  8A           .     TXA
1AE1  A7           .     ...
1AE2  61 9E        a.    ADC (&9E,X)
1AE4  2E D6 7E     ..~   ROL &7ED6
1AE7  DA           .     ...
1AE8  AA           .     TAX
1AE9  AB           .     ...
1AEA  45 67        Eg    EOR &67
1AEC  D4           .     ...
1AED  29 B8        ).    AND #&B8
1AEF  6B           k     ...
1AF0  69 9D        i.    ADC #&9D
1AF2  94 63        .c    STY &63
1AF4  B4 A1        ..    LDY &A1
1AF6  9F           .     ...
1AF7  A0 57        .W    LDY #&57
1AF9  E1 7F        .    SBC (&7F,X)
1AFB  A6 B4        ..    LDX &B4
1AFD  53           S     ...
1AFE  61 D4        a.    ADC (&D4,X)
1B00  82           .     ...
1B01  E3           .     ...
1B02  75 C3        u.    ADC &C3,X
1B04  84 9E        ..    STY &9E
1B06  C6 64        .d    DEC &64
1B08  A2 28        .(    LDX #&28
1B0A  29 9D        ).    AND #&9D
1B0C  83           .     ...
1B0D  A8           .     TAY
1B0E  80           .     ...
1B0F  AA           .     TAX
1B10  D5 A0        ..    CMP &A0,X
1B12  9F           .     ...
1B13  D6 62        .b    DEC &62,X
1B15  69 2C        i,    ADC #&2C
1B17  A5 B8        ..    LDA &B8
1B19  B9 D9 59     ..Y   LDA &59D9,Y
1B1C  79 39 48     y9H   ADC &4839,Y
1B1F  E8           .     INX
1B20  A0 89        ..    LDY #&89
1B22  89           .     ...
1B23  89           .     ...
1B24  89           .     ...
1B25  89           .     ...
1B26  8A           .     TXA
1B27  46 C6        F.    LSR &C6
1B29  06 06        ..    ASL &06
1B2B  46 05        F.    LSR &05
1B2D  05 00        ..    ORA &00
1B2F  C3           .     ...
1B30  04           .     ...
1B31  83           .     ...
1B32  84 84        ..    STY &84
1B34  83           .     ...
1B35  88           .     DEY
1B36  48           H     PHA
1B37  02           .     ...
1B38  02           .     ...
1B39  42           B     ...
1B3A  02           .     ...
1B3B  7B           {     ...
1B3C  22           "     ...
1B3D  1E 06 06     ...   ASL &0606,Y
1B40  C6 06        ..    DEC &06
1B42  46 46        FF    LSR &46
1B44  85 85        ..    STA &85
1B46  87           .     ...
1B47  89           .     ...
1B48  89           .     ...
1B49  C7           .     ...
1B4A  0A           .     ASL A
1B4B  8C 03 84     ...   STY &8403
1B4E  83           .     ...
1B4F  43           C     ...
1B50  84 84        ..    STY &84
1B52  02           .     ...
1B53  01 41        .A    ORA (&41,X)
1B55  01 01        ..    ORA (&01,X)
1B57  2E 1E 3B     ..;   ROL &3B1E
1B5A  46 46        FF    LSR &46
1B5C  06 C6        ..    ASL &C6
1B5E  06 06        ..    ASL &06
1B60  06 46        .F    ASL &46
1B62  06 09        ..    ASL &09
1B64  C9 89        ..    CMP #&89
1B66  CA           .     DEX
1B67  8A           .     TXA
1B68  8A           .     TXA
1B69  0A           .     ASL A
1B6A  4A           J     LSR A
1B6B  8A           .     TXA
1B6C  04           .     ...
1B6D  44           D     ...
1B6E  41 01        A.    EOR (&01,X)
1B70  C8           .     INY
1B71  48           H     PHA
1B72  CC 82 02     ...   CPY &0282
1B75  02           .     ...
1B76  02           .     ...
1B77  1E 89 09     ...   ASL &0989,Y
1B7A  0A           .     ASL A
1B7B  4A           J     LSR A
1B7C  CA           .     DEX
1B7D  4A           J     LSR A
1B7E  86 46        .F    STX &46
1B80  46 46        FF    LSR &46
1B82  86 45        .E    STX &45
1B84  47           G     ...
1B85  00           .     BRK
1B86  00           .     BRK
1B87  00           .     BRK
1B88  00           .     BRK
1B89  84 C3        ..    STY &C3
1B8B  44           D     ...
1B8C  43           C     ...
1B8D  43           C     ...
1B8E  43           C     ...
1B8F  44           D     ...
1B90  84 44        .D    STY &44
1B92  04           .     ...
1B93  01 08        ..    ORA (&08,X)
1B95  08           .     PHP
1B96  02           .     ...
1B97  02           .     ...
1B98  82           .     ...
1B99  1E 2D 46     .-F   ASL &462D,Y
1B9C  46 45        FE    LSR &45
1B9E  46 C6        F.    LSR &C6
1BA0  89           .     ...
1BA1  C9 49        .I    CMP #&49
1BA3  89           .     ...
1BA4  CA           .     DEX
1BA5  CA           .     DEX
1BA6  8A           .     TXA
1BA7  8A           .     TXA
1BA8  8A           .     TXA
1BA9  0A           .     ASL A
1BAA  00           .     BRK
1BAB  00           .     BRK
1BAC  C4 43        .C    CPY &43
1BAE  04           .     ...
1BAF  43           C     ...
1BB0  84 44        .D    STY &44
1BB2  04           .     ...
1BB3  44           D     ...
1BB4  84 41        .A    STY &41
1BB6  01 01        ..    ORA (&01,X)
1BB8  01 C8        ..    ORA (&C8,X)
1BBA  42           B     ...
1BBB  82           .     ...
1BBC  3B           ;     ...
1BBD  11 3B        .;    ORA (&3B),Y
1BBF  89           .     ...
1BC0  C9 CA        ..    CMP #&CA
1BC2  8A           .     TXA
1BC3  C6 06        ..    DEC &06
1BC5  C6 C6        ..    DEC &C6
1BC7  06 06        ..    ASL &06
1BC9  85 47        .G    STA &47
1BCB  4A           J     LSR A
1BCC  CA           .     DEX
1BCD  8A           .     TXA
1BCE  00           .     BRK
1BCF  00           .     BRK
1BD0  44           D     ...
1BD1  43           C     ...
1BD2  C3           .     ...
1BD3  44           D     ...
1BD4  44           D     ...
1BD5  04           .     ...
1BD6  41 C8        A.    EOR (&C8,X)
1BD8  88           .     DEY
1BD9  C8           .     INY
1BDA  C8           .     INY
1BDB  02           .     ...
1BDC  8C 49 89     .I.   STY &8949
1BDF  0A           .     ASL A
1BE0  0A           .     ASL A
1BE1  8A           .     TXA
1BE2  C6 06        ..    DEC &06
1BE4  06 47        .G    ASL &47
1BE6  87           .     ...
1BE7  CC 41 01     .A.   CPY &0141
1BEA  08           .     PHP
1BEB  08           .     PHP
1BEC  08           .     PHP
1BED  08           .     PHP
1BEE  C4 84        ..    CPY &84
1BF0  43           C     ...
1BF1  43           C     ...
1BF2  84 04        ..    STY &04
1BF4  83           .     ...
1BF5  82           .     ...
1BF6  82           .     ...
1BF7  0D 0D 46     ..F   ORA &460D
1BFA  06 06        ..    ASL &06
1BFC  06 06        ..    ASL &06
1BFE  45 45        EE    EOR &45
1C00  45 06        E.    EOR &06
1C02  07           .     ...
1C03  89           .     ...
1C04  09 8A        ..    ORA #&8A
1C06  4A           J     LSR A
1C07  4A           J     LSR A
1C08  CA           .     DEX
1C09  CA           .     DEX
1C0A  4A           J     LSR A
1C0B  00           .     BRK
1C0C  00           .     BRK
1C0D  00           .     BRK
1C0E  48           H     PHA
1C0F  08           .     PHP
1C10  82           .     ...
.
1C11  82           .     ...
1C12  82           .     ...
1C13  02           .     ...
1C14  C4 C4        ..    CPY &C4
1C16  0B           .     ...
1C17  0B           .     ...
1C18  0B           .     ...
1C19  D1 91        ..    CMP (&91),Y
1C1B  D1 D1        ..    CMP (&D1),Y
1C1D  91 91        ..    STA (&91),Y
1C1F  00           .     BRK

; -----------------------------------------------------------------------------
; Unencoded save game data
; -----------------------------------------------------------------------------
.UnencodedData
1C20  2E 2E 2E     ...   ROL &2E2E
1C23  2E 2E 2E     ...   ROL &2E2E
1C26  2E 00 00     ...   ROL &0000
1C29  00           .     BRK
1C2A  00           .     BRK
1C2B  00           .     BRK
1C2C  00           .     BRK
1C2D  00           .     BRK
1C2E  00           .     BRK
1C2F  00           .     BRK
1C30  00           .     BRK
1C31  00           .     BRK
1C32  00           .     BRK
1C33  00           .     BRK
1C34  00           .     BRK
1C35  00           .     BRK
1C36  00           .     BRK
1C37  00           .     BRK                     ; Pistol (&00 Hasn't got, &FF Has got)
1C38  00           .     BRK                     ; Icer (&00 Hasn't got, &FF Has got)
1C39  00           .     BRK                     ; Blaster (&00 Hasn't got, &FF Has got)
1C3A  00           .     BRK                     ; Plasma Gun (&00 Hasn't got, &FF Has got)
1C3B  00           .     BRK                     ; Protection Suit (&00 Hasn't got, &FF Has got)
1C3C  00           .     BRK
1C3D  00           .     BRK
1C3E  00           .     BRK
1C3F  00           .     BRK
1C40  00           .     BRK
1C41  00           .     BRK
1C42  00           .     BRK
1C43  00           .     BRK
1C44  00           .     BRK
1C45  00           .     BRK
1C46  00           .     BRK
1C47  00           .     BRK
1C48  FF           .     ...
1C49  00           .     BRK
1C4A  00           .     BRK
1C4B  32           2     ...
1C4C  8E D2 63     ..c   STX &63D2
1C4F  99 98 C0     ...   STA &C098,Y
1C52  C0 C7        ..    CPY #&C7
1C54  3C           <     ...
1C55  00           .     BRK
1C56  00           .     BRK
1C57  00           .     BRK
1C58  00           .     BRK
1C59  00           .     BRK
1C5A  CE DF C1     ...   DEC &C1DF
1C5D  C1 CE        ..    CMP (&CE,X)
1C5F  DF           .     ...
1C60  C1 C1        ..    CMP (&C1,X)
1C62  04           .     ...
1C63  0A           .     ASL A
1C64  01 01        ..    ORA (&01,X)
1C66  0A           .     ASL A
1C67  80           .     ...
1C68  80           .     ...
1C69  80           .     ...
1C6A  80           .     ...
1C6B  00           .     BRK
1C6C  00           .     BRK
1C6D  00           .     BRK
1C6E  00           .     BRK
1C6F  00           .     BRK
1C70  50 50        PP    BVC &1CC2
1C72  50 50        PP    BVC &1CC4
1C74  50 00        P.    BVC &1C76
1C76  00           .     BRK
1C77  00           .     BRK
1C78  00           .     BRK
1C79  00           .     BRK
1C7A  00           .     BRK
1C7B  00           .     BRK
1C7C  30 10        0.    BMI &1C8E
1C7E  10 01        ..    BPL &1C81
1C80  08           .     PHP
1C81  10 01        ..    BPL &1C84
1C83  06 10        ..    ASL &10
1C85  FF           .     ...
1C86  32           2     ...
1C87  00           .     BRK
1C88  00           .     BRK
1C89  26 60        &`    ROL &60
1C8B  CC 00 00     ...   CPY &0000
1C8E  00           .     BRK
1C8F  00           .     BRK
1C90  00           .     BRK
1C91  00           .     BRK
1C92  00           .     BRK
1C93  D0 C0        ..    BNE &1C55
1C95  B0 C0        ..    BCS &1C57
1C97  00           .     BRK
1C98  04           .     ...
1C99  04           .     ...
1C9A  00           .     BRK
1C9B  C0 B0        ..    CPY #&B0
1C9D  A0 00        ..    LDY #&00
1C9F  00           .     BRK
1CA0  00           .     BRK
1CA1  00           .     BRK
1CA2  80           .     ...
1CA3  C0 70        .p    CPY #&70
1CA5  00           .     BRK
1CA6  B0 80        ..    BCS &1C28
1CA8  C0 64        .d    CPY #&64
1CAA  00           .     BRK
1CAB  80           .     ...
1CAC  C0 00        ..    CPY #&00
1CAE  A0 00        ..    LDY #&00
1CB0  00           .     BRK
1CB1  80           .     ...
1CB2  00           .     BRK
1CB3  40           @     RTI
1CB4  80           .     ...
1CB5  C0 00        ..    CPY #&00
1CB7  F0 B0        ..    BEQ &1C69
1CB9  9B           .     ...
1CBA  99 00 00     ...   STA &0000,Y
1CBD  00           .     BRK
1CBE  00           .     BRK
1CBF  00           .     BRK
1CC0  00           .     BRK
1CC1  00           .     BRK
1CC2  00           .     BRK
1CC3  00           .     BRK
1CC4  00           .     BRK
1CC5  00           .     BRK
1CC6  00           .     BRK
1CC7  00           .     BRK
1CC8  00           .     BRK
1CC9  00           .     BRK
1CCA  65 80        e.    ADC &80
1CCC  20 02 91      ..   JSR &9102
1CCF  91 91        ..    STA (&91),Y
1CD1  00           .     BRK
1CD2  91 A8        ..    STA (&A8),Y
1CD4  DC           .     ...
1CD5  B8           .     CLV
1CD6  8C 80 C9     ...   STY &C980
1CD9  4A           J     LSR A
1CDA  80           .     ...
1CDB  06           .     EQUB &06

1CDC  3B           ;     EQUB &3B
1CDD  3B           ;     EQUB &3D
1CDE  00           .     BRK
1CDF  00           .     BRK
1CE0  00           .     BRK
1CE1  00           .     BRK
1CE2  00           .     BRK
1CE3  00           .     BRK
1CE4  00           .     BRK
1CE5  00           .     BRK
1CE6  00           .     BRK
1CE7  00           .     BRK
1CE8  00           .     BRK
1CE9  00           .     BRK
1CEA  00           .     BRK
1CEB  00           .     BRK

1CEC  00           .     BRK
1CED  DC           .     ...
1CEE  81 11        ..    STA (&11,X)
1CF0  01 01        ..    ORA (&01,X)
1CF2  01 01        ..    ORA (&01,X)
1CF4  01 01        ..    ORA (&01,X)
1CF6  01 01        ..    ORA (&01,X)
1CF8  01 01        ..    ORA (&01,X)
1CFA  01 01        ..    ORA (&01,X)
1CFC  01 01        ..    ORA (&01,X)
1CFE  02           .     ...
1CFF  39 01 01     9..   AND &0101,Y
1D02  02           .     ...
1D03  02           .     ...
1D04  02           .     ...
1D05  00           .     BRK
1D06  00           .     BRK
1D07  00           .     BRK
1D08  82           .     ...
1D09  02           .     ...
1D0A  64           d     ...
1D0B  EE CA 34     ..4   INC &34CA
1D0E  00           .     BRK
1D0F  00           .     BRK
1D10  B0 DE        ..    BCS &1CF0
1D12  A1 D9        ..    LDA (&D9,X)
1D14  3C           <     ...
1D15  B1 9C        ..    LDA (&9C),Y
1D17  F0 D4        ..    BEQ &1CED
1D19  75 01        u.    ADC &01,X
1D1B  99 8E C0     ...   STA &C08E,Y
1D1E  00           .     BRK
1D1F  10 22        ."    BPL &1D43
1D21  59 34 83     Y4.   EOR &8334,Y
1D24  82           .     ...
1D25  80           .     ...
1D26  76 68        vh    ROR &68,X
1D28  52           R     ...
1D29  20 55 26      U&   JSR &2655
1D2C  67           g     ...
1D2D  0D 35 00     .5.   ORA &0035
1D30  6F           o     ...
1D31  D0 0C        ..    BNE &1D3F
1D33  3D 64 69     =di   ORA &6964,X
1D36  F6 31        .1    INC &31,X
1D38  48           H     PHA
1D39  18           .     CLC
1D3A  49 F7        I.    EOR #&F7
1D3C  50 97        P.    BVC &1CD5
1D3E  47           G     ...
1D3F  99 00 16     ...   STA &1600,Y
1D42  47           G     ...
1D43  09 34        .4    ORA #&34
1D45  83           .     ...
1D46  82           .     ...
1D47  80           .     ...
1D48  76 68        vh    ROR &68,X
1D4A  52           R     ...
1D4B  20 31 42      1B   JSR &4231
1D4E  FF           .     ...
1D4F  C8           .     INY
1D50  6B           k     ...
1D51  70 43        pC    BCS &1D96
1D53  34           4     ...
1D54  43           C     ...
1D55  3C           <     ...
1D56  75 72        ur    ADC &72,X
1D58  15 3A        .:    ORA &3A,X
1D5A  C4 64        .d    CPY &64
1D5C  5E AE 68     ^.h   LSR &68AE,Y
1D5F  3B           ;     ...
1D60  32           2     ...
1D61  79 74 64     ytd   ADC &6474,Y
1D64  44           D     ...
1D65  03           .     ...
1D66  22           "     ...
1D67  59 34 83     Y4.   EOR &8334,Y
1D6A  82           .     ...
1D6B  80           .     ...
1D6C  0A           .     ASL A
1D6D  F1 9A        ..    SBC (&9A),Y
1D6F  F4           .     ...
1D70  2C F8 3A     ,.:   BIT &3AF8
1D73  C1 36        .6    CMP (&36,X)
1D75  D0 9B        ..    BNE &1D12
1D77  75 85        u.    ADC &85,X
1D79  88           .     DEY
1D7A  79 85 38     y.8   ADC &3885,Y
1D7D  C9 87        ..    CMP #&87
1D7F  0E 67 50     .gP   ASL &5067
1D82  16 47        .G    ASL &47,X
1D84  09 34        .4    ORA #&34
1D86  83           .     ...
1D87  82           .     ...
1D88  80           .     ...
1D89  76 68        vh    ROR &68,X
1D8B  52           R     ...
1D8C  20 55 00      U.   JSR &0055
1D8F  CF           .     ...
1D90  E8           .     INX
1D91  83           .     ...
1D92  7D 4B 81     }K.   ADC &814B,X
1D95  A6 8E        ..    LDX &8E
1D97  9C           .     ...
1D98  5B           [     ...
1D99  8A           .     TXA
1D9A  9E           .     ...
1D9B  54           T     ...
1D9C  86 40        .@    STX &40
1D9E  F8           .     SED
1D9F  EF           .     ...
1DA0  B9 FC 78     ..x   LDA &78FC,Y
1DA3  80           .     ...
1DA4  76 68        vh    ROR &68,X
1DA6  52           R     ...
1DA7  20 55 26      U&   JSR &2655
1DAA  67           g     ...
1DAB  D0 16        ..    BNE &1DC3
1DAD  28           (     PLP
1DAE  00           .     BRK
1DAF  7C           |     ...
1DB0  60           `     RTS
1DB1  04           .     ...
1DB2  88           .     DEY
1DB3  88           .     DEY
1DB4  A0 A6        ..    LDY #&A6
1DB6  AE 83 86     ...   LDX &8683
1DB9  82           .     ...
1DBA  80           .     ...
1DBB  80           .     ...
1DBC  AD 81 F7     ...   LDA &F781
1DBF  A1 F1        ..    LDA (&F1,X)
1DC1  F7           .     ...
1DC2  81 8A        ..    STA (&8A,X)
1DC4  AC D2 DF     ...   LDY &DFD2
1DC7  D4           .     ...
1DC8  A3           .     ...
1DC9  84 85        ..    STY &85
1DCB  AE 80 80     ...   LDX &8080
1DCE  88           .     DEY
1DCF  AC C4 C0     ...   LDY &C0C4
1DD2  04           .     ...
1DD3  A8           .     TAY
1DD4  C4 BC        ..    CPY &BC
1DD6  FD 81 C1     ...   SBC &C181,X
1DD9  D1 91        ..    CMP (&91),Y
1DDB  F1 F1        ..    SBC (&F1),Y
1DDD  DA           .     ...
1DDE  F7           .     ...
1DDF  F3           .     ...
1DE0  D8           .     CLD
1DE1  88           .     DEY
1DE2  80           .     ...
1DE3  83           .     ...
1DE4  83           .     ...
1DE5  B0 AA        ..    BCS &1D91
1DE7  80           .     ...
1DE8  80           .     ...
1DE9  87           .     ...
1DEA  80           .     ...
1DEB  30 08        0.    BMI &1DF5
1DED  10 7C        .|    BPL &1E6B
1DEF  04           .     ...
1DF0  10 A8        ..    BPL &1D9A
1DF2  90 04        ..    BCC &1DF8
1DF4  C1 F1        ..    CMP (&F1,X)
1DF6  E1 95        ..    SBC (&95,X)
1DF8  BC B4 FD     ...   LDY &FDB4,X
1DFB  A1 D6        ..    LDA (&D6,X)
1DFD  DD E2 04     ...   CMP &04E2,X
1E00  0C           .     ...
1E01  04           .     ...
1E02  20 21 A0      !.   JSR &A021
1E05  B0 AC        ..    BCS &1DB3
1E07  83           .     ...
1E08  81 84        ..    STA (&84,X)
1E0A  80           .     ...
1E0B  C4 85        ..    CPY &85
1E0D  95 A3        ..    STA &A3,X
1E0F  B5 F1        ..    LDA &F1,X
1E11  AD C1 81     ...   LDA &81C1
1E14  89           .     ...
1E15  A0 C1        ..    LDY #&C1
1E17  F1 F1        ..    SBC (&F1),Y
1E19  C1 8C        ..    CMP (&8C,X)
1E1B  A4 E4        ..    LDY &E4
1E1D  D7           .     ...
1E1E  9D E1 A6     ...   STA &A6E1,X
1E21  81 85        ..    STA (&85,X)
1E23  83           .     ...
1E24  83           .     ...
1E25  D0 A8        ..    BNE &1DCF
1E27  04           .     ...
1E28  04           .     ...
1E29  D0 88        ..    BNE &1DB3
1E2B  04           .     ...
1E2C  04           .     ...
1E2D  04           .     ...
1E2E  08           .     PHP
1E2F  BD 8A F1     ...   LDA &F18A,X
1E32  D1 F1        ..    CMP (&F1),Y
1E34  B1 F1        ..    LDA (&F1),Y
1E36  C1 C1        ..    CMP (&C1,X)
1E38  C1 C1        ..    CMP (&C1,X)
1E3A  E2           .     ...
1E3B  E4 DC        ..    CPX &DC
1E3D  A0 C2        ..    LDY #&C2
1E3F  CB           .     ...
1E40  B8           .     CLV
1E41  A8           .     TAY
1E42  10 98        ..    BPL &1DDC
1E44  A0 80        ..    LDY #&80
1E46  83           .     ...
1E47  80           .     ...
1E48  80           .     ...
1E49  80           .     ...
1E4A  80           .     ...
1E4B  00           .     BRK
1E4C  C4 40        .@    CPY &40
1E4E  84 28        .(    STY &28
1E50  75 BC        u.    ADC &BC,X
1E52  F1 D1        ..    SBC (&D1),Y
1E54  A9 F1        ..    LDA #&F1
1E56  C0 C1        ..    CPY #&C1
1E58  8F           .     ...
1E59  94 C2        ..    STY &C2
1E5B  CA           .     DEX
1E5C  FA           .     ...
1E5D  9C           .     ...
1E5E  FE 10 14     ...   INC &1410,X
1E61  90 98        ..    BCC &1DFB
1E63  04           .     ...
1E64  A4 80        ..    LDY &80
1E66  83           .     ...
1E67  C6 C4        ..    DEC &C4
1E69  FE AA 90     ...   INC &90AA,X
1E6C  EC DC 9E     ...   CPX &9EDC
1E6F  F4           .     ...
1E70  F7           .     ...
1E71  F1 F1        ..    SBC (&F1),Y
1E73  81 F1        ..    STA (&F1,X)
1E75  F1 B1        ..    SBC (&B1),Y
1E77  DB           .     ...
1E78  9E           .     ...
1E79  84 AC        ..    STY &AC
1E7B  80           .     ...
1E7C  80           .     ...
1E7D  80           .     ...
1E7E  80           .     ...
1E7F  80           .     ...
1E80  80           .     ...
1E81  80           .     ...
1E82  C0 04        ..    CPY #&04
1E84  08           .     PHP
1E85  90 A2        ..    BCC &1E29
1E87  04           .     ...
1E88  04           .     ...
1E89  04           .     ...
1E8A  20 BC 53      .S   JSR &53BC
1E8D  9D 84 DA     ...   STA &DA84,X
1E90  CB           .     ...
1E91  DE C5 A5     ...   DEC &A5C5,X
1E94  C1 F1        ..    CMP (&F1,X)
1E96  70 D0        p.    BCS &1E68
1E98  80           .     ...
1E99  00           .     BRK
1E9A  0F           .     ...
1E9B  27           '     ...
1E9C  2E 07 2F     ../   ROL &2F07
1E9F  2D 1F 1F     -..   AND &1F1F
1EA2  0D 0D 0D     ...   ORA &0D0D
1EA5  0C           .     ...
1EA6  60           `     RTS
1EA7  2C 00 0D     ,..   BIT &0D00
1EAA  0D 1F 0D     ...   ORA &0D1F
1EAD  5C           \     ...
1EAE  0D 20 05     . .   ORA &0520
1EB1  04           .     ...
1EB2  06 31        .1    ASL &31
1EB4  05 2A        .*    ORA &2A
1EB6  09 0D        ..    ORA #&0D
1EB8  0D 1F 20     ..    ORA &201F
1EBB  55 55        UU    EOR &55,X
1EBD  0D 63 0F     .c.   ORA &0F63
1EC0  2E 0A 1B     ...   ROL &1B0A
1EC3  37           7     ...
1EC4  29 1A        ).    AND #&1A
1EC6  1A           .     ...
1EC7  37           7     ...
1EC8  37           7     ...
1EC9  0A           .     ASL A
1ECA  37           7     ...
1ECB  4B           K     ...
1ECC  4B           K     ...
1ECD  2D 1F 20     -.    AND &201F
1ED0  0D 0D 28     ..(   ORA &280D
1ED3  55 05        U.    EOR &05,X
1ED5  80           .     ...
1ED6  00           .     BRK
1ED7  80           .     ...
1ED8  80           .     ...
1ED9  20 28 0D      (.   JSR &0D28
1EDC  0D 28 27     .('   ORA &2728
1EDF  31 0E        1.    AND (&0E),Y
1EE1  08           .     PHP
1EE2  11 39        .9    ORA (&39),Y
1EE4  37           7     ...
1EE5  37           7     ...
1EE6  37           7     ...
1EE7  2A           *     ROL A
1EE8  80           .     ...
1EE9  4A           J     LSR A
1EEA  10 2F        ./    BPL &1F1B
1EEC  30 30        00    BMI &1F1E
1EEE  09 0D        ..    ORA #&0D
1EF0  09 09        ..    ORA #&09
1EF2  4F           O     ...
1EF3  24 4A        $J    BIT &4A
1EF5  04           .     ...
1EF6  1A           .     ...
1EF7  39 10 00     9..   AND &0010,Y
1EFA  4C 0A 2F     L./   JMP &2F0A
1EFD  29 2C        ),    AND #&2C
1EFF  37           7     ...
1F00  20 3A 0D      :.   JSR &0D3A
1F03  05 05        ..    ORA &05
1F05  0D 20 0D     . .   ORA &0D20
1F08  0D 48 51     .HQ   ORA &5148
1F0B  0C           .     ...
1F0C  55 22        U"    EOR &22,X
1F0E  04           .     ...
1F0F  2E 2F 2B     ./+   ROL &2B2F
1F12  2A           *     ROL A
1F13  21 02        !.    AND (&02,X)
1F15  02           .     ...
1F16  1A           .     ...
1F17  80           .     ...
1F18  4B           K     ...
1F19  80           .     ...
1F1A  9B           .     ...
1F1B  A3           .     ...
1F1C  98           .     TYA
1F1D  98           .     TYA
1F1E  A4 9F        ..    LDY &9F
1F20  A0 C0        ..    LDY #&C0
1F22  48           H     PHA
1F23  83           .     ...
1F24  C5 87        ..    CMP &87
1F26  97           .     ...
1F27  E1 84        ..    SBC (&84,X)
1F29  98           .     TYA
1F2A  99 E7 7C     ..|   STA &7CE7,Y
1F2D  00           .     BRK
1F2E  00           .     BRK
1F2F  00           .     BRK
1F30  00           .     BRK
1F31  00           .     BRK
1F32  00           .     BRK
1F33  00           .     BRK
1F34  00           .     BRK
1F35  00           .     BRK
1F36  00           .     BRK
1F37  00           .     BRK
1F38  00           .     BRK
1F39  00           .     BRK
1F3A  39 5D 4D     9]M   AND &4D5D,Y
1F3D  4D 67 49     MgI   EOR &4967
1F40  49 4E        IN    EOR #&4E
1F42  56 78        Vx    LSR &78,X
1F44  60           `     RTS
1F45  59 5E 61     Y^a   EOR &615E,Y
1F48  5B           [     ...
1F49  80           .     ...
1F4A  3C           <     ...
1F4B  80           .     ...
1F4C  77           w     ...
1F4D  00           .     BRK
1F4E  00           .     BRK
1F4F  00           .     BRK
1F50  00           .     BRK
1F51  00           .     BRK
1F52  00           .     BRK
1F53  00           .     BRK
1F54  00           .     BRK
1F55  00           .     BRK
1F56  00           .     BRK
1F57  00           .     BRK
1F58  00           .     BRK
1F59  00           .     BRK
1F5A  64           d     ...
1F5B  43           C     ...
1F5C  50 50        PP    BVC &1FAE
1F5E  59 50 46     YPF   EOR &4650,Y
1F61  50 50        PP    BVC &1FB3
1F63  4E 45 53     NES   LSR &5345
1F66  1D 03 50     ..P   ORA &5003,X
1F69  50 4A        PJ    BVC &1FB5
1F6B  3A           :     ...
1F6C  4C 00 00     L..   JMP &0000
1F6F  00           .     BRK
1F70  00           .     BRK
1F71  00           .     BRK
1F72  00           .     BRK
1F73  00           .     BRK
1F74  00           .     BRK
1F75  00           .     BRK
1F76  00           .     BRK
1F77  00           .     BRK
1F78  00           .     BRK
1F79  00           .     BRK
1F7A  DC           .     ...
1F7B  F0 F3        ..    BEQ &1F70
1F7D  71 79        qy    ADC (&79),Y
1F7F  FB           .     ...
1F80  42           B     ...
1F81  F5 47        .G    SBC &47,X
1F83  F3           .     ...
1F84  F2           .     ...
1F85  F3           .     ...
1F86  F2           .     ...
1F87  F0 FB        ..    BEQ &1F84
1F89  F2           .     ...

.
1F8A  40           @     RTI
1F8B  FB           .     ...
1F8C  F0 F1        ..    BEQ &1F7F
1F8E  00           .     BRK
1F8F  00           .     BRK
1F90  00           .     BRK
1F91  00           .     BRK
1F92  00           .     BRK
1F93  00           .     BRK
1F94  00           .     BRK
1F95  00           .     BRK
1F96  00           .     BRK
1F97  00           .     BRK
1F98  00           .     BRK
1F99  00           .     BRK
1F9A  00           .     BRK
1F9B  00           .     BRK
1F9C  00           .     BRK
1F9D  43           C     ...

.
1F9E  00           .     BRK
1F9F  FF           .     ...

.
1FA0  CA           .     DEX
1FA1  C9 E3        ..    CMP #&E3
1FA3  E9 EB        ..    SBC #&EB
1FA5  CE F8 E6     ...   DEC &E6F8
1FA8  CC EE 30     ..0   CPY &30EE
1FAB  DE EF CB     ...   DEC &CBEF,X
1FAE  FB           .     ...
1FAF  FE           .     ...

.UncodedData
1FB0  00           .     BRK
1FB1  EA           .     NOP
1FB2  00           .     BRK
1FB3  EA           .     NOP
.
1FB4  08           .     PHP
1FB5  EA           .     NOP
1FB6  05 EA        ..    ORA &EA
.
1FB8  F0 F0        ..    BEQ &1FAA
1FBA  F8           .     SED
1FBB  F8           .     SED
.
1FBC  05 0A        ..    ORA &0A

; -----------------------------------------------------------------------------
; Print pick-upable objects like grenades, canons, 
; -----------------------------------------------------------------------------
.
1FBE  4C FA 1F     L..   JMP &1FFA

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
1FC1  BD 3A 1F     .:.   LDA &1F3A,X
1FC4  F0 33        .3    BEQ &1FF9
1FC6  BD 5A 1F     .Z.   LDA &1F5A,X
1FC9  20 4F 27      O'   JSR &274F
1FCC  B0 2B        .+    BCS &1FF9
1FCE  BD 1A 1F     ...   LDA &1F1A,X
1FD1  99 B9 1C     ...   STA UnencodedData+&0099,Y
1FD4  BD 3A 1F     .:.   LDA &1F3A,X
1FD7  99 DC 1C     ...   STA UnencodedData+&00BC,Y
1FDA  BD 7B 1F     .{.   LDA &1F7B,X
1FDD  48           H     PHA
1FDE  09 0F        ..    ORA #&0F
1FE0  99 4E 1D     .N.   STA &1D4E,Y
1FE3  68           h     PLA
1FE4  0A           .     ASL A
1FE5  0A           .     ASL A
1FE6  0A           .     ASL A
1FE7  0A           .     ASL A
1FE8  48           H     PHA
1FE9  29 C0        ).    AND #&C0
1FEB  99 A8 1C     ...   STA UnencodedData+&0088,Y
1FEE  68           h     PLA
1FEF  0A           .     ASL A
1FF0  0A           .     ASL A
1FF1  99 CB 1C     ...   STA UnencodedData+&00AB,Y
1FF4  A9 00        ..    LDA #&00
1FF6  9D 3A 1F     .:.   STA &1F3A,X
.
1FF9  60           `     RTS
.
1FFA  A2 1F        ..    LDX #&1F
.
1FFC  BD 3A 1F     .:.   LDA &1F3A,X
1FFF  85 3C        .<    STA &3C
2001  38           8     SEC
2002  E5 81        ..    SBC &81
2004  18           .     CLC
2005  69 01        i.    ADC #&01
2007  C9 07        ..    CMP #&07
2009  B0 14        ..    BCS &201F
200B  BD 1A 1F     ...   LDA &1F1A,X
200E  85 3A        .:    STA &3A
2010  38           8     SEC
.
2011  E5 7F        .    SBC &7F
2013  18           .     CLC
2014  69 01        i.    ADC #&01
2016  C9 0A        ..    CMP #&0A
2018  B0 05        ..    BCS &201F
201A  A0 01        ..    LDY #&01
201C  20 C1 1F      ..   JSR &1FC1
.
201F  CA           .     DEX
.
2020  10 DA        ..    BPL &1FFC
2022  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.SpriteI
2023  A9 3F        .?    LDA #&3F
2025  8D 9F 1F     ...   STA UnencodedData+&037F
2028  20 3F 20      ?    JSR &203F                ; SpriteII
202B  A6 78        .x    LDX &78
202D  5E EE 1C     ^..   LSR UnencodedData+&00CE,Y
2030  A5 55        .U    LDA &55
2032  29 05        ).    AND #&05
2034  C9 01        ..    CMP #&01
2036  3E EE 1C     >..   ROL UnencodedData+&00CE,X
2039  A9 FF        ..    LDA #&FF
203B  8D 9F 1F     ...   STA UnencodedData+&037F
203E  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.SpriteII
203F  A2 03        ..    LDX #&03
2041  06 55        .U    ASL &55
.SpriteII0
2043  B0 69        .i    BCS &20AE
2045  E0 02        ..    CPX #&02
2047  90 2C        .,    BCC &2075
2049  B4 5A        .Z    LDY &5A
204B  B9 EE 54     ..T   LDA DataList3,Y
204E  4A           J     LSR A
204F  B9 00 54     ..T   LDA DataList4,Y
2052  6A           j     ROR A
2053  29 80        ).    AND #&80
2055  6A           j     ROR A
2056  55 56        UV    EOR &56,X
2058  95 48        .H    STA &48,X
205A  0A           .     ASL A
205B  95 4A        .J    STA &4A,X
205D  B9 00 54     ..T   LDA DataList4,Y
2060  29 F0        ).    AND #&F0
2062  95 30        .0    STA &30,X
2064  B9 EE 54     ..T   LDA DataList3,Y
2067  29 F8        ).    AND #&F8
2069  95 32        .2    STA &32,X
206B  B9 DC 55     ..U   LDA &55DC,Y             ; DataList8
206E  95 44        .D    STA &44,X
2070  B9 CA 56     ..V   LDA &56CA,Y             ; DataList9
2073  95 46        .F    STA &46,X
.SpriteII1
2075  B5 36        .6    LDA &36,X
2077  3D B8 1F     =..   AND UncodedData+&0398,X ; ?????????????????? pointer might be wrong
207A  38           8     SEC
207B  F5 7E        .~    SBC &7E,X
207D  95 3E        .>    STA &3E,X
207F  B5 3A        .:    LDA &3A,X
2081  F5 7F        .    SBC &7F,X
2083  95 42        .B    STA &42,X
2085  B5 3E        .>    LDA &3E,X
2087  18           .     CLC
2088  75 32        u2    ADC &32,X
208A  85 1B        ..    STA &1B
208C  B5 42        .B    LDA &42,X
208E  69 00        i.    ADC #&00
2090  85 1C        ..    STA &1C
2092  30 55        0U    BMI &20E9
2094  B0 3D        .=    BCS &20D3
2096  A5 1B        ..    LDA &1B
2098  38           8     SEC
2099  FD B0 1F     ...   SBC UncodedData+&0390,X ; ?????????????????? pointer might be wrong
209C  85 1B        ..    STA &1B
209E  A5 1C        ..    LDA &1C
20A0  FD B4 1F     ...   SBC UncodedData+&0394,X ; ?????????????????? pointer might be wrong
20A3  85 1C        ..    STA &1C
20A5  F0 0F        ..    BEQ &20B6
20A7  10 05        ..    BPL &20AE
.SpriteII2
20A9  B5 3E        .>    LDA &3E,X
.SpriteII3
20AB  95 3E        .>    STA &3E,X
20AD  18           .     CLC
.SpriteII4
20AE  26 55        &U    ROL &55
20B0  CA           .     DEX
20B1  30 39        09    BMI &20EC
20B3  4C 43 20     LC    JMP &2043
.SpriteII5
20B6  A5 1B        ..    LDA &1B
20B8  F5 32        .2    SBC &32,X
20BA  B0 F2        ..    BCS &20AE
20BC  5D B8 1F     ]..   EOR UnencodedData+&0398,X ; ?????????????????? pointer might be wrong
20BF  95 32        .2    STA &32,X
20C1  B5 4A        .J    LDA &4A,X
20C3  10 E4        ..    BPL &20A9
20C5  A5 1B        ..    LDA &1B
20C7  38           8     SEC
20C8  FD B8 1F     ...   SBC UnencodedData+&0398,X ; ?????????????????? pointer might be wrong
20CB  75 46        uF    ADC &46,X
20CD  69 00        i.    ADC #&00
20CF  95 46        .F    STA &46,X
20D1  90 D6        ..    BCC &20A9
.SpriteII6
20D3  A5 1B        ..    LDA &1B
20D5  95 32        .2    STA &32,X
20D7  B5 4A        .J    LDA &4A,X
20D9  30 08        0.    BMI &20E3
20DB  B5 46        .F    LDA &46,X
20DD  F5 3E        .>    SBC &3E,X
20DF  69 00        i.    ADC #&00
20E1  95 46        .F    STA &46,X
.SpriteII7
20E3  A9 00        ..    LDA #&00
20E5  95 42        .B    STA &42,X
20E7  F0 C2        ..    BEQ &20AB
.SpriteII8
20E9  38           8     SEC
20EA  B0 C2        ..    BCS &20AE
.SpriteII9
20EC  A5 55        .U    LDA &55
20EE  4C F6 20     L.    JMP &20F6
20F1  29 05        ).    AND #&05
20F3  F0 01        ..    BEQ &20F6
20F5  60           `     RTS
.SpriteII10
20F6  A9 02        ..    LDA #&02
20F8  85 7C        .|    STA &7C
20FA  A9 00        ..    LDA #&00
20FC  85 00        ..    STA &00
20FE  48           H     PHA
20FF  BA           .     TSX
2100  86 51        .Q    STX &51
.SpriteII11
2102  C6 7C        .|    DEC &7C
2104  10 02        ..    BPL &2108
2106  68           h     PLA
2107  60           `     RTS
.SpriteII12
2108  A6 7C        .|    LDX &7C
210A  A5 55        .U    LDA &55
210C  3D BC 1F     =..   AND UnencodedData+&039C,X
210F  D0 F1        ..    BNE &2102
2111  B5 46        .F    LDA &46,X
2113  0A           .     ASL A
2114  69 00        i.    ADC #&00
2116  0A           .     ASL A
2117  69 00        i.    ADC #&00
2119  29 1F        ).    AND #&1F
211B  85 0A        ..    STA &0A
211D  B5 5A        .Z    LDA &5A,X
211F  4A           J     LSR A
2120  4A           J     LSR A
2121  4A           J     LSR A
2122  4A           J     LSR A
2123  A8           .     TAY
2124  B9 35 27     .5'   LDA &2735,Y             ; DataList11 (2735-2744)
2127  29 55        )U    AND #&55
2129  85 11        ..    STA &11
212B  0A           .     ASL A
212C  85 22        ."    STA &22
212E  B5 5A        .Z    LDA &5A,X
2130  29 0F        ).    AND #&0F
2132  A8           .     TAY
2133  B9 A0 1F     ...   LDA &1FA0,Y ; 1FA0-1FAF
2136  2D 9F 1F     -..   AND UnencodedData+&037F
2139  A8           .     TAY
213A  29 55        )U    AND #&55
213C  85 01        ..    STA &01
213E  0A           .     ASL A
213F  85 02        ..    STA &02
2141  98           .     TYA
2142  29 AA        ).    AND #&AA
2144  85 20        .     STA &20
2146  4A           J     LSR A
2147  85 10        ..    STA &10
2149  B5 4A        .J    LDA &4A,X
214B  85 4C        .L    STA &4C
214D  4A           J     LSR A
214E  4A           J     LSR A
214F  4A           J     LSR A
2150  35 32        52    AND &32,X
2152  55 3E        U>    EOR &3E,X
2154  55 46        UF    EOR &46,X
2156  29 10        ).    AND #&10
2158  F0 18        ..    BEQ &2172
215A  A5 02        ..    LDA &02
215C  A4 01        ..    LDY &01
215E  85 01        ..    STA &01
2160  84 02        ..    STY &02
2162  A5 20        .     LDA &20
2164  A4 10        ..    LDY &10
2166  85 10        ..    STA &10
2168  84 20        .     STY &20
216A  A5 22        ."    LDA &22
216C  A4 11        ..    LDY &11
216E  85 11        ..    STA &11
2170  84 22        ."    STY &22
.SpriteII13
2172  A9 20        .     LDA #&20
2174  A0 00        ..    LDY #&00
2176  24 4C        $L    BIT &4C
2178  70 03        p.    BCS &217D
217A  A9 E0        ..    LDA #&E0
217C  88           .     DEY
.SpriteII14
217D  8D 9F 22     .."   STA &229F
2180  8C A7 22     .."   STY &22A7
2183  B5 34        .4    LDA &34,X
2185  50 02        P.    BVC &2189
2187  A9 00        ..    LDA #&00
.SpriteII15
2189  18           .     CLC
218A  75 48        uH    ADC &48,X
218C  69 00        i.    ADC #&00
218E  0A           .     ASL A
218F  69 00        i.    ADC #&00
2191  0A           .     ASL A
2192  69 00        i.    ADC #&00
2194  85 0B        ..    STA &0B
2196  29 E0        ).    AND #&E0
2198  05 0A        ..    ORA &0A
219A  69 E0        i.    ADC #&E0
219C  8D 45 22     .E"   STA &2245
219F  A5 0B        ..    LDA &0B
21A1  29 0F        ).    AND #&0F
21A3  69 45        iE    ADC #&45
21A5  8D 46 22     .F"   STA &2246
21A8  B5 3E        .>    LDA &3E,X
21AA  29 10        ).    AND #&10
21AC  75 32        u2    ADC &32,X
21AE  85 07        ..    STA &07
21B0  6A           j     ROR A
21B1  29 F0        ).    AND #&F0
21B3  4A           J     LSR A
21B4  85 6E        .n    STA &6E
21B6  B5 46        .F    LDA &46,X
21B8  29 30        )0    AND #&30
21BA  75 32        u2    ADC &32,X
21BC  6A           j     ROR A
21BD  4A           J     LSR A
21BE  4A           J     LSR A
21BF  4A           J     LSR A
21C0  A8           .     TAY
21C1  4A           J     LSR A
21C2  4A           J     LSR A
21C3  85 50        .P    STA &50
21C5  B5 32        .2    LDA &32,X
21C7  4A           J     LSR A
21C8  4A           J     LSR A
21C9  4A           J     LSR A
21CA  4A           J     LSR A
21CB  85 0B        ..    STA &0B
21CD  98           .     TYA
21CE  29 03        ).    AND #&03
21D0  18           .     CLC
21D1  65 51        eQ    ADC &51
21D3  E9 01        ..    SBC #&01
21D5  8D 74 22     .t"   STA &2274
21D8  AA           .     TAX
21D9  E8           .     INX
21DA  E5 0B        ..    SBC &0B
21DC  E9 02        ..    SBC #&02
21DE  8D 77 22     .w"   STA &2277
21E1  A0 CA        ..    LDY #&CA
21E3  24 4C        $L    BIT &4C
21E5  10 04        ..    BPL &21EB
21E7  AA           .     TAX
21E8  CA           .     DEX
21E9  A0 E8        ..    LDY #&E8
.SpriteII16
21EB  A5 07        ..    LDA &07
21ED  29 10        ).    AND #&10
21EF  F0 04        ..    BEQ &21F5
21F1  8C F4 21     ..!   STY &21F4
21F4  E8           .     INX
.SpriteII17
21F5  86 52        .R    STX &52
21F7  8C 7E 22     .~"   STY &227E
21FA  8C 82 22     .."   STY &2282
21FD  A6 7C        .|    LDX &7C
21FF  B5 34        .4    LDA &34,X
2201  4A           J     LSR A
2202  4A           J     LSR A
2203  4A           J     LSR A
2204  85 53        .S    STA &53
2206  B5 40        .@    LDA &40,X
2208  18           .     CLC
2209  75 34        u4    ADC &34,X
220B  85 1B        ..    STA &1B
220D  B5 44        .D    LDA &44,X
220F  69 00        i.    ADC #&00
2211  85 1C        ..    STA &1C
2213  A5 1B        ..    LDA &1B
2215  46 1C        F.    LSR &1C
2217  6A           j     ROR A
2218  46 1C        F.    LSR &1C
221A  6A           j     ROR A
221B  46 1C        F.    LSR &1C
221D  6A           j     ROR A
221E  A8           .     TAY
221F  29 07        ).    AND #&07
2221  05 6E        .n    ORA &6E
2223  85 6F        .o    STA &6F
2225  09 07        ..    ORA #&07
2227  85 6E        .n    STA &6E
2229  B5 3E        .>    LDA &3E,X
222B  29 E0        ).    AND #&E0
222D  69 00        i.    ADC #&00
222F  85 1B        ..    STA &1B
2231  98           .     TYA
2232  29 F8        ).    AND #&F8
2234  55 42        UB    EOR &42,X
2236  69 00        i.    ADC #&00
2238  6A           j     ROR A
2239  66 1B        f.    ROR &1B
223B  4A           J     LSR A
223C  66 1B        f.    ROR &1B
223E  69 58        iX    ADC #&58
2240  85 1C        ..    STA &1C
.SpriteII18
2242  A4 50        .P    LDY &50
.SpriteII19
2244  B9 FF FF     ...   LDA &FFFF,Y             ; DataList10 &510C (see &219C and &21A5)
2247  AA           .     TAX
2248  29 11        ).    AND #&11
224A  8D 4E 22     .N"   STA &224E
224D  A5 FF        ..    LDA &FF
224F  48           H     PHA
2250  8A           .     TXA
2251  29 22        )"    AND #&22
2253  8D 57 22     .W"   STA &2257
2256  A5 FF        ..    LDA &FF
2258  48           H     PHA
2259  8A           .     TXA
225A  4A           J     LSR A
225B  4A           J     LSR A
225C  AA           .     TAX
225D  29 11        ).    AND #&11
225F  8D 63 22     .c"   STA &2263
2262  A5 FF        ..    LDA &FF
2264  48           H     PHA
2265  8A           .     TXA
2266  29 22        )"    AND #&22
2268  8D 6C 22     .l"   STA &226C
226B  A5 FF        ..    LDA &FF
226D  48           H     PHA
226E  88           .     DEY
226F  10 D3        ..    BPL &2244
2271  48           H     PHA
2272  C8           .     INY
2273  8C FF 01     ...   STY &01FF               ; see &21D5
2276  8C FF 01     ...   STY &01FF               ; see &21DE
2279  38           8     SEC
227A  A4 6F        .o    LDY &6F
227C  A6 52        .R    LDX &52
.SpriteII20
227E  CA           .     DEX                     ; see 21F7
227F  BD 00 01     ...   LDA &0100,X
2282  CA           .     DEX                     ; see 21FA
2283  1D 00 01     ...   ORA &0100,X
2286  51 1B        Q.    EOR (&1B),Y
2288  30 02        0.    BMI &228C
228A  91 1B        ..    STA (&1B),Y
.SpriteII21
228C  98           .     TYA
228D  E9 08        ..    SBC #&08
228F  A8           .     TAY
2290  B0 EC        ..    BCS &227E
2292  A6 51        .Q    LDX &51
2294  9A           .     TXS
2295  C6 53        .S    DEC &53
2297  30 23        0#    BMI &22BC
2299  C6 6F        .o    DEC &6F
229B  AD 45 22     .E"   LDA &2245
229E  69 20        i     ADC #&20                ; See also SpriteII14
22A0  8D 45 22     .E"   STA &2245
22A3  AD 46 22     .F"   LDA &2246
22A6  69 00        i.    ADC #&00                ; See also SpriteII14
22A8  8D 46 22     .F"   STA &2246
22AB  C0 F9        ..    CPY #&F9
22AD  B0 93        ..    BCS &2242
22AF  A5 6E        .n    LDA &6E
22B1  85 6F        .o    STA &6F
22B3  A5 1C        ..    LDA &1C
22B5  E9 01        ..    SBC #&01
22B7  85 1C        ..    STA &1C
22B9  4C 42 22     LB"   JMP &2242
.SpriteII22
22BC  4C 02 21     L.!   JMP &2102

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
22BF  A2 01        ..    LDX #&01
.
22C1  BD 86 22     .."   LDA &2286,X
22C4  BC 88 22     .."   LDY &2288,X
22C7  9D 88 22     .."   STA &2288,X
22CA  98           .     TYA
22CB  9D 86 22     .."   STA &2286,X
22CE  CA           .     DEX
22CF  10 F0        ..    BPL &22C1
.
22D1  60           `     RTS
22D2  20 9A 27      .'   JSR &279A
22D5  C0 19        ..    CPY #&19
22D7  F0 F8        ..    BEQ &22D1
22D9  A9 00        ..    LDA #&00
.
22DB  85 55        .U    STA &55
22DD  A9 00        ..    LDA #&00
22DF  85 56        .V    STA &56
22E1  85 57        .W    STA &57
22E3  4C 3F 20     L?    JMP &203F
22E6  19 2D ED     .-.   ORA &ED2D,Y
22E9  6D AD 2D     m.-   ADC &2DAD
22EC  ED 5E 9E     .^.   SBC &9E5E
22EF  00           .     BRK
22F0  C0 80        ..    CPY #&80
22F2  40           @     RTI
22F3  2E 2F 2E     ./.   ROL &2E2F
22F6  23           #     ...
22F7  06 04        ..    ASL &04
22F9  06 04        ..    ASL &04
22FB  07           .     ...
22FC  05 05        ..    ORA &05
22FE  06 19        ..    ASL &19
2300  2C 19 2B     ,.+   BIT &2B19
2303  00           .     BRK
2304  01 02        ..    ORA (&02,X)
2306  03           .     ...
2307  1A           .     ...
2308  21 09        !.    AND (&09,X)
230A  9B           .     ...
230B  12           .     ...
230C  10 60        .`    BPL &236E
230E  2B           +     ...
230F  0F           .     ...
.
2310  4F           O     ...
2311  04           .     ...
2312  0A           .     ASL A
2313  1B           .     ...
2314  5A           Z     ...
2315  19 19 1E     ...   ORA &1E19,Y
2318  13           .     ...
2319  24 2C        $,    BIT &2C
231B  19 8D 82     ...   ORA &828D,Y
231E  8B           .     ...
231F  8F           .     ...
2320  84 89        ..    STY &89
2322  8D 81 82     ...   STA &8281
2325  81 85        ..    STA (&85,X)
2327  B2           .     ...
2328  CD 90 95     ...   CMP &9590
232B  81 B1        ..    STA (&B1,X)
232D  97           .     ...
232E  FD F3        ..

.InitVideoULA1data
2330  07           .     EQUB &07                ; Actual colour 0 logical colour 7
2331  16           .     EQUB &16                ; Actual colour 1 logical colour 6
2332  25           %     EQUB &25                ; Actual colour 2 logical colour 5
2333  34           4     EQUB &34                ; Actual colour 3 logical colour 4
2334  43           C     EQUB &43                ; Actual colour 4 logical colour 3
2335  52           R     EQUB &52                ; Actual colour 5 logical colour 2
2336  61           a     EQUB &61                ; Actual colour 6 logical colour 1
2337  70           p     EQUB &70                ; Actual colour 7 logical colour 0
2338  87           .     EQUB &87                ; Actual colour 8 logical colour 7
2339  96           .     EQUB &96                ; Actual colour 9 logical colour 6
233A  A5           .     EQUB &A5                ; Actual colour A logical colour 5
233B  B4           .     EQUB &B4                ; Actual colour B logical colour 4
233C  C3           .     EQUB &C3                ; Actual colour C logical colour 3
233D  D2           .     EQUB &D2                ; Actual colour D logical colour 2
233E  E1           .     EQUB &E1                ; Actual colour E logical colour 1
233F  F0           .     EQUB &F0                ; Actual colour F logical colour 0

.InitVideoULA2data
2340  37           7     EQUB &37                ; Actual colour 3 logical colour 7
2341  27           '     EQUB &27                ; Actual colour 2 logical colour 7
2342  17           .     EQUB &17                ; Actual colour 1 logical colour 7
2343  07           .     EQUB &07                ; Actual colour 0 logical colour 7
2344  77           w     EQUB &77                ; Actual colour 7 logical colour 7
2345  67           g     EQUB &67                ; Actual colour 6 logical colour 7
2346  57           W     EQUB &57                ; Actual colour 5 logical colour 7
2347  47           G     EQUB &47                ; Actual colour 4 logical colour 7
2348  B0           .     EQUB &B0                ; Actual colour B logical colour 0
2349  A0           .     EQUB &A0                ; Actual colour A logical colour 0
234A  90           .     EQUB &90                ; Actual colour 9 logical colour 0
234B  80           .     EQUB &80                ; Actual colour 8 logical colour 0
234C  F0           .     EQUB &F0                ; Actual colour F logical colour 0
234D  E0           .     EQUB &E0                ; Actual colour E logical colour 0
234E  D0           .     EQUB &D0                ; Actual colour D logical colour 0
234F  C0           .     EQUB &C0                ; Actual colour C logical colour 0

2350  01 00        ..    ORA (&00,X)

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2352  A9 00        ..    LDA #&00
2354  85 7E        .~    STA &7E
2356  85 80        ..    STA &80
2358  A5 1A        ..    LDA &1A
235A  38           8     SEC
235B  E9 02        ..    SBC #&02
235D  85 81        ..    STA &81
235F  A5 18        ..    LDA &18
2361  E9 04        ..    SBC #&04
2363  85 7F        .    STA &7F
2365  A9 80        ..    LDA #&80
2367  8D 34 27     .4'   STA &2734
236A  A5 81        ..    LDA &81
236C  85 25        .%    STA &25
.
236E  A2 05        ..    LDX #&05
.
2370  8A           .     TXA
2371  48           H     PHA
2372  A5 7F        .    LDA &7F
2374  85 23        .#    STA &23
2376  A2 08        ..    LDX #&08
.
2378  8A           .     TXA
2379  48           H     PHA
237A  20 E3 2F      ./   JSR &2FE3
237D  E6 23        .#    INC &23
237F  68           h     PLA
2380  AA           .     TAX
2381  CA           .     DEX
2382  D0 F4        ..    BNE &2378
2384  E6 25        .%    INC &25
2386  68           h     PLA
2387  AA           .     TAX
2388  CA           .     DEX
2389  D0 E5        ..    BNE &2370
238B  60           `     RTS

.
238C  00           .     BRK
238D  00           .     BRK

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
238E  A2 00        ..    LDX #&00
2390  86 04        ..    STX &04
2392  20 06 24      .$   JSR &2406
2395  85 0E        ..    STA &0E
2397  29 C0        ).    AND #&C0
2399  85 0F        ..    STA &0F
239B  45 0E        E.    EOR &0E
239D  C9 09        ..    CMP #&09
239F  B0 48        .H    BCS &23E9
23A1  85 0B        ..    STA &0B
23A3  A8           .     TAY
23A4  BE 07 1A     ...   LDX &1A07,Y
23A7  BD 22 1A     .".   LDA &1A22,X
23AA  48           H     PHA
23AB  A5 23        .#    LDA &23
23AD  9D 22 1A     .".   STA &1A22,X
23B0  BE 06 1A     ...   LDX &1A06,Y
23B3  CA           .     DEX
.
23B4  E8           .     INX
23B5  DD 22 1A     .".   CMP &1A22,X
23B8  D0 FA        ..    BNE &23B4
23BA  8A           .     TXA
23BB  D9 07 1A     ...   CMP &1A07,Y
23BE  B0 11        ..    BCS &23D1
23C0  79 10 1A     y..   ADC &1A10,Y
23C3  85 04        ..    STA &04
23C5  18           .     CLC
23C6  79 19 1A     y..   ADC &1A19,Y
23C9  85 05        ..    STA &05
23CB  BD 21 1B     .!.   LDA &1B21,X
23CE  4C D8 23     L.#   JMP &23D8
.
23D1  A6 0B        ..    LDX &0B
23D3  BD 13 23     ..#   LDA &2313,X
23D6  45 0F        E.    EOR &0F
.
23D8  85 0E        ..    STA &0E
23DA  BE 07 1A     ...   LDX &1A07,Y
23DD  68           h     PLA
23DE  9D 22 1A     .".   STA &1A22,X
23E1  A5 0E        ..    LDA &0E
23E3  29 C0        ).    AND #&C0
23E5  85 0F        ..    STA &0F
23E7  45 0E        E.    EOR &0E
.
23E9  85 0E        ..    STA &0E
23EB  C9 10        ..    CMP #&10
23ED  B0 16        ..    BCS &2405
23EF  BA           .     TXS
23F0  8E 99 27     ..'   STX &2799
23F3  AA           .     TAX
23F4  BD CD 18     ...   LDA &18CD,X
23F7  2C 34 27     ,4'   BIT &2734
23FA  F0 07        ..    BEQ &2403
23FC  29 0F        ).    AND #&0F
23FE  A4 04        ..    LDY &04
2400  20 23 26      #&   JSR &2623
.
2403  A5 0E        ..    LDA &0E
.
2405  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2406  A5 25        .%    LDA &25
2408  AA           .     TAX
2409  4A           J     LSR A
240A  45 23        E#    EOR &23
240C  29 F8        ).    AND #&F8
240E  4A           J     LSR A
240F  65 23        e#    ADC &23
2411  4A           J     LSR A
2412  65 25        e%    ADC &25
2414  85 0B        ..    STA &0B
2416  8A           .     TXA
2417  C9 79        .y    CMP #&79
2419  90 06        ..    BCC &2421
241B  C9 BF        ..    CMP #&BF
241D  90 54        .T    BCC &2473
241F  E9 46        .F    SBC #&46
.
2421  C9 48        .H    CMP #&48
2423  B0 06        ..    BCS &242B
2425  C9 3E        .>    CMP #&3E
2427  B0 4A        .J    BCS &2473
2429  69 0A        i.    ADC #&0A
.
242B  8D 8D 23     ..#   STA &238D
242E  29 A8        ).    AND #&A8
2430  49 6F        Io    EOR #&6F
2432  4A           J     LSR A
2433  65 23        e#    ADC &23
2435  49 60        I`    EOR #&60
2437  69 28        i(    ADC #&28
2439  8D 8C 23     ..#   STA &238C
243C  29 38        )8    AND #&38
243E  49 A4        I.    EOR #&A4
2440  6D 8D 23     m.#   ADC &238D
2443  8D 8D 23     ..#   STA &238D
2446  A8           .     TAY
2447  49 2C        I,    EOR #&2C
2449  6D 8C 23     m.#   ADC &238C
244C  C0 20        .     CPY #&20
244E  B0 23        .#    BCS &2473
2450  C9 20        .     CMP #&20
2452  B0 1B        ..    BCS &246F
2454  A8           .     TAY
2455  0A           .     ASL A
2456  0A           .     ASL A
2457  0A           .     ASL A
2458  4D 8D 23     M.#   EOR &238D
245B  85 72        .r    STA &72
245D  98           .     TYA
245E  29 03        ).    AND #&03
2460  69 41        iA    ADC #&41
2462  85 73        .s    STA &73
2464  A0 E0        ..    LDY #&E0
2466  B1 72        .r    LDA (&72),Y
2468  60           `     RTS
.
2469  4C B3 25     L.%   JMP &25B3
.
246C  4C 54 25     LT%   JMP &2554
.
246F  C9 3D        .=    CMP #&3D
2471  90 F9        ..    BCC &246C
.
2473  E0 4E        .N    CPX #&4E
2475  90 F5        ..    BCC &246C
2477  F0 F0        ..    BEQ &2469
2479  E0 4F        .O    CPX #&4F
247B  D0 0E        ..    BNE &248B
247D  A5 23        .#    LDA &23
247F  C9 40        .@    CMP #&40
2481  F0 05        ..    BEQ &2488
2483  A0 01        ..    LDY #&01
2485  4C A3 25     L.%   JMP &25A3
.
2488  A9 62        .b    LDA #&62
248A  60           `     RTS
.
248B  A4 0B        ..    LDY &0B
248D  A9 00        ..    LDA #&00
248F  85 0B        ..    STA &0B
2491  A5 23        .#    LDA &23
2493  24 25        $%    BIT &25
2495  30 07        0.    BMI &249E
2497  69 1D        i.    ADC #&1D
2499  C9 5E        .^    CMP #&5E
249B  4C A2 24     L.$   JMP &24A2
.
249E  69 07        i.    ADC #&07
24A0  C9 2B        .+    CMP #&2B
.
24A2  90 55        .U    BCC &24F9
24A4  98           .     TYA
24A5  29 E8        ).    AND #&E8
24A7  C5 25        .%    CMP &25
24A9  90 4E        .N    BCC &24F9
24AB  84 0B        ..    STY &0B
24AD  8A           .     TXA
24AE  0A           .     ASL A
24AF  65 25        e%    ADC &25
24B1  4A           J     LSR A
24B2  65 25        e%    ADC &25
24B4  29 E0        ).    AND #&E0
24B6  65 23        e#    ADC &23
24B8  29 E8        ).    AND #&E8
24BA  D0 13        ..    BNE &24CF
24BC  A5 25        .%    LDA &25
24BE  10 AC        ..    BPL &246C
24C0  A5 23        .#    LDA &23
24C2  4A           J     LSR A
24C3  4A           J     LSR A
24C4  4A           J     LSR A
24C5  AA           .     TAX
24C6  A9 0E        ..    LDA #&0E
24C8  E0 0A        ..    CPX #&0A
24CA  D0 02        ..    BNE &24CE
24CC  A9 8E        ..    LDA #&8E
.
24CE  60           `     RTS
.
24CF  98           .     TYA
24D0  4A           J     LSR A
24D1  4A           J     LSR A
24D2  29 30        )0    AND #&30
24D4  4A           J     LSR A
24D5  65 23        e#    ADC &23
24D7  4A           J     LSR A
24D8  45 23        E#    EOR &23
24DA  4A           J     LSR A
24DB  45 23        E#    EOR &23
24DD  65 23        e#    ADC &23
24DF  29 FD        ).    AND #&FD
24E1  45 23        E#    EOR &23
24E3  29 07        ).    AND #&07
24E5  D0 0E        ..    BNE &24F5
24E7  A5 23        .#    LDA &23
24E9  30 07        0.    BMI &24F2
24EB  4A           J     LSR A
24EC  65 25        e%    ADC &25
24EE  29 30        )0    AND #&30
24F0  F0 03        ..    BEQ &24F5
.
24F2  A9 08        ..    LDA #&08
24F4  60           `     RTS
.
24F5  E0 52        .R    CPX #&52
24F7  B0 03        ..    BCS &24FC
.
24F9  4C 98 25     L.%   JMP &2598
.
24FC  98           .     TYA
24FD  29 68        )h    AND #&68
24FF  65 25        e%    ADC &25
2501  4A           J     LSR A
2502  65 25        e%    ADC &25
2504  4A           J     LSR A
2505  65 25        e%    ADC &25
2507  29 FC        ).    AND #&FC
2509  45 25        E%    EOR &25
250B  29 17        ).    AND #&17
250D  D0 4C        .L    BNE &255B
250F  98           .     TYA
2510  65 23        e#    ADC &23
2512  29 50        )P    AND #&50
2514  F0 3E        .>    BEQ &2554
2516  25 23        %#    AND &23
2518  4A           J     LSR A
2519  4A           J     LSR A
251A  65 25        e%    ADC &25
251C  4A           J     LSR A
251D  4A           J     LSR A
251E  29 0F        ).    AND #&0F
2520  C9 08        ..    CMP #&08
2522  90 08        ..    BCC &252C
2524  24 0B        $.    BIT &0B
2526  50 16        P.    BVC &253E
2528  09 04        ..    ORA #&04
252A  D0 12        ..    BNE &253E
.
252C  85 0A        ..    STA &0A
252E  49 05        I.    EOR #&05
2530  C9 06        ..    CMP #&06
2532  A5 0A        ..    LDA &0A
2534  B0 08        ..    BCS &253E
2536  98           .     TYA
2537  4A           J     LSR A
2538  65 25        e%    ADC &25
253A  45 23        E#    EOR &23
253C  29 07        ).    AND #&07
.
253E  18           .     CLC
253F  69 1D        i.    ADC #&1D
2541  48           H     PHA
2542  20 C2 25      .%   JSR &25C2
2545  68           h     PLA
2546  90 0C        ..    BCC &2554
2548  A8           .     TAY
2549  B9 E6 22     .."   LDA &22E6,Y
254C  A4 25        .%    LDY &25
254E  C0 E0        ..    CPY #&E0
2550  D0 02        ..    BNE &2554
2552  49 40        I@    EOR #&40
.
2554  A0 00        ..    LDY #&00
.
2556  38           8     SEC
2557  B9 E6 22     .."   LDA &22E6,Y
255A  60           `     RTS
.
255B  20 C2 25      .%   JSR &25C2
255E  B0 38        .8    BCS &2598
2560  C0 00        ..    CPY #&00
2562  F0 F2        ..    BEQ &2556
2564  A5 0B        ..    LDA &0B
2566  48           H     PHA
2567  84 0A        ..    STY &0A
2569  2A           *     ROL A
256A  2A           *     ROL A
256B  2A           *     ROL A
256C  29 01        ).    AND #&01
256E  2A           *     ROL A
256F  A8           .     TAY
2570  68           h     PLA
2571  65 23        e#    ADC &23
2573  2A           *     ROL A
2574  45 25        E%    EOR &25
2576  29 1A        ).    AND #&1A
2578  D0 15        ..    BNE &258F
257A  98           .     TYA
257B  A4 0A        ..    LDY &0A
257D  59 ED 22     Y."   EOR &22ED,Y
2580  29 7F        )    AND #&7F
2582  C9 40        .@    CMP #&40
2584  2A           *     ROL A
2585  29 07        ).    AND #&07
2587  AA           .     TAX
2588  BD F7 22     .."   LDA &22F7,X
258B  59 ED 22     Y."   EOR &22ED,Y
258E  60           `     RTS
.
258F  B9 F3 22     .."   LDA &22F3,Y
2592  A4 0A        ..    LDY &0A
2594  59 ED 22     Y."   EOR &22ED,Y
2597  60           `     RTS
.
2598  A5 0B        ..    LDA &0B
259A  4A           J     LSR A
259B  4A           J     LSR A
259C  4A           J     LSR A
259D  29 0E        ).    AND #&0E
259F  4A           J     LSR A
25A0  69 01        i.    ADC #&01
25A2  A8           .     TAY
.
25A3  4C 56 25     LV%   JMP &2556
.
25A6  65 23        e#    ADC &23
25A8  2A           *     ROL A
25A9  2A           *     ROL A
25AA  2A           *     ROL A
25AB  29 02        ).    AND #&02
25AD  69 19        i.    ADC #&19
25AF  A8           .     TAY
25B0  4C 56 25     LV%   JMP &2556
.
25B3  A0 19        ..    LDY #&19
25B5  A5 23        .#    LDA &23
25B7  4A           J     LSR A
25B8  65 23        e#    ADC &23
25BA  29 17        ).    AND #&17
25BC  D0 E8        ..    BNE &25A6
25BE  66 0B        f.    ROR &0B
25C0  6A           j     ROR A
25C1  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
25C2  8A           .     TXA
25C3  4A           J     LSR A
25C4  45 25        E%    EOR &25
25C6  29 06        ).    AND #&06
25C8  D0 23        .#    BNE &25ED
25CA  98           .     TYA
25CB  A0 02        ..    LDY #&02
25CD  29 20        )     AND #&20
25CF  0A           .     ASL A
25D0  0A           .     ASL A
25D1  49 E5        I.    EOR #&E5
25D3  8D DD 25     ..%   STA &25DD
25D6  30 02        0.    BMI &25DA
25D8  A0 04        ..    LDY #&04
.
25DA  8A           .     TXA
25DB  69 16        i.    ADC #&16
25DD  65 23        e#    ADC &23
25DF  29 5F        )_    AND #&5F
25E1  AA           .     TAX
25E2  CA           .     DEX
25E3  E0 0C        ..    CPX #&0C
25E5  90 38        .8    BCC &261F
25E7  F0 38        .8    BEQ &2621
25E9  C8           .     INY
25EA  E8           .     INX
25EB  F0 34        .4    BEQ &2621
.
25ED  A5 23        .#    LDA &23
25EF  4A           J     LSR A
25F0  4A           J     LSR A
25F1  4A           J     LSR A
25F2  4A           J     LSR A
25F3  B0 29        .)    BCS &261E
25F5  A9 01        ..    LDA #&01
25F7  65 23        e#    ADC &23
25F9  65 25        e%    ADC &25
25FB  29 8F        ).    AND #&8F
25FD  C9 01        ..    CMP #&01
25FF  F0 1E        ..    BEQ &261F
2601  AA           .     TAX
2602  38           8     SEC
2603  A5 25        .%    LDA &25
2605  E5 23        .#    SBC &23
2607  29 2F        )/    AND #&2F
2609  C9 01        ..    CMP #&01
260B  F0 12        ..    BEQ &261F
260D  A0 02        ..    LDY #&02
260F  C9 02        ..    CMP #&02
2611  F0 0E        ..    BEQ &2621
2613  C8           .     INY
2614  90 0B        ..    BCC &2621
2616  C8           .     INY
2617  E0 02        ..    CPX #&02
2619  F0 06        ..    BEQ &2621
261B  C8           .     INY
261C  90 03        ..    BCC &2621
.
261E  60           `     RTS
.
261F  A0 00        ..    LDY #&00
.
2621  18           .     CLC
2622  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2623  BA           .     TXS
2624  8E 99 27     ..'   STX &2799
2627  A6 0E        ..    LDX &0E
2629  10 04        ..    BPL &262F

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.GoSprite
262B  AA           .     TAX
262C  BD CD 18     ...   LDA &18CD,X             ; DataList6
.
262F  48           H     PHA
2630  BD 54 18     .T.   LDA &1854,X             ; DataList7
2633  18           .     CLC
2634  69 2A        i*    ADC #&2A
2636  AA           .     TAX
2637  68           h     PLA
2638  29 3F        )?    AND #&3F
263A  69 3C        i<    ADC #&3C
263C  48           H     PHA
263D  8A           .     TXA
263E  48           H     PHA
263F  A6 03        ..    LDX &03
2641  8A           .     TXA
2642  C0 00        ..    CPY #&00
2644  60           `     RTS

; -----------------------------------------------------------------------------
; Print detonator/doors/switches/grenades/weapons/turrets/
; -----------------------------------------------------------------------------
.Sprite
2645  A2 00        ..    LDX #&00
.sprite0
2647  86 78        .x    STX &78
2649  BD DC 1C     ...   LDA UnencodedData+&00BC,X
264C  D0 03        ..    BNE &2651
264E  4C 2B 27     L+'   JMP &272B
.sprite1
2651  BD DC 1C     ...   LDA UnencodedData+&00BC,X
2654  85 3C        .<    STA &3C
2656  85 3D        .=    STA &3D
2658  BD EE 1C     ...   LDA UnencodedData+&00CE,X
265B  85 56        .V    STA &56
265D  85 57        .W    STA &57
265F  85 27        .'    STA &27
2661  0A           .     ASL A
2662  85 29        .)    STA &29
2664  BD B9 1C     ...   LDA UnencodedData+&0099,X
2667  85 3A        .:    STA &3A
2669  85 3B        .;    STA &3B
266B  BD A8 1C     ...   LDA UnencodedData+&0088,X
266E  85 36        .6    STA &36
2670  85 37        .7    STA &37
2672  BD CB 1C     ...   LDA UnencodedData+&00AB,X
2675  85 38        .8    STA &38
2677  85 39        .9    STA &39
2679  BD 98 1C     ...   LDA UnencodedData+&0078,X
267C  85 5C        .\    STA &5C
267E  85 5D        .]    STA &5D
2680  BD FE 1C     ...   LDA UnencodedData+&00DE,X
2683  85 5A        .Z    STA &5A
2685  85 5B        .[    STA &5B
2687  BD 88 1C     ...   LDA UnencodedData+&0068,X
268A  85 1F        ..    STA &1F
268C  BD 8E 1D     ...   LDA UnencodedData+&016E,X
268F  85 2B        .+    STA &2B
2691  BD 3E 1D     .>.   LDA UnencodedData+&011E,X
2694  85 2F        ./    STA &2F
2696  BD 5E 1D     .^.   LDA UnencodedData+&013E,X
2699  85 31        .1    STA &31
269B  BD 9E 1D     ...   LDA UnencodedData+&017E,X
269E  85 28        .(    STA &28
26A0  A6 5C        .\    LDX &5C
26A2  BD 00 54     ..T   LDA DataList4,X
26A5  29 F0        ).    AND #&F0
26A7  85 2A        .*    STA &2A
26A9  BD EE 54     ..T   LDA DataList3,X
26AC  29 F8        ).    AND #&F8
26AE  85 2C        .,    STA &2C
26B0  A6 2B        .+    LDX &2B
26B2  BD AE 1D     ...   LDA UnencodedData+&018E,X
26B5  85 03        ..    STA &03
26B7  A5 1F        ..    LDA &1F
26B9  18           .     CLC
26BA  69 14        i.    ADC #&14
26BC  A0 FF        ..    LDY #&FF
26BE  20 2B 26      +&   JSR &262B
26C1  18           .     CLC
26C2  A5 57        .W    LDA &57
26C4  6A           j     ROR A
26C5  6A           j     ROR A
26C6  29 C0        ).    AND #&C0
26C8  85 0A        ..    STA &0A
26CA  4A           J     LSR A
26CB  4A           J     LSR A
26CC  05 0A        ..    ORA &0A
26CE  85 55        .U    STA &55
26D0  A5 27        .'    LDA &27
26D2  0A           .     ASL A
26D3  A5 29        .)    LDA &29
26D5  6A           j     ROR A
26D6  29 C0        ).    AND #&C0
26D8  85 58        .X    STA &58
26DA  A5 56        .V    LDA &56
26DC  29 C0        ).    AND #&C0
26DE  85 59        .Y    STA &59
26E0  45 56        EV    EOR &56
26E2  45 58        EX    EOR &58
26E4  29 F7        ).    AND #&F7
26E6  85 56        .V    STA &56
26E8  A6 78        .x    LDX &78
26EA  A5 3C        .<    LDA &3C
26EC  9D DC 1C     ...   STA UnencodedData+&00BC,X
26EF  A5 3A        .:    LDA &3A
26F1  9D B9 1C     ...   STA UnencodedData+&0099,X
26F4  A5 36        .6    LDA &36
26F6  9D A8 1C     ...   STA UnencodedData+&0088,X
26F9  A5 56        .V    LDA &56
26FB  9D EE 1C     ...   STA UnencodedData+&00CE,X
26FE  A5 38        .8    LDA &38
2700  9D CB 1C     ...   STA UnencodedData+&00AB,X
2703  A5 5C        .\    LDA &5C
2705  9D 98 1C     ...   STA UnencodedData+&0078,X
2708  A5 5A        .Z    LDA &5A
270A  9D FE 1C     ...   STA UnencodedData+&00DE,X
270D  A5 1F        ..    LDA &1F
270F  9D 88 1C     ...   STA UnencodedData+&0068,X
2712  A5 2B        .+    LDA &2B
2714  9D 8E 1D     ...   STA UnencodedData+&016E,X
2717  A5 2F        ./    LDA &2F
2719  9D 3E 1D     .>.   STA UnencodedData+&011E,X
271C  A5 31        .1    LDA &31
271E  9D 5E 1D     .^.   STA UnencodedData+&013E,X
2721  A5 28        .(    LDA &28
2723  9D 9E 1D     ...   STA UnencodedData+&017E,X
2726  20 23 20      #    JSR &2023               ; SpriteI
2729  A6 78        .x    LDX &78
.sprite2
272B  E8           .     INX
272C  E0 10        ..    CPX #&10
272E  B0 03        ..    BCS sprite3
2730  4C 47 26     LG&   JMP sprite0
.sprite3
2733  60           `     RTS

2734  00           .     BRK
2735  00           .     BRK
2736  03           .     ...
2737  0C           .     ...
2738  0F           .     ...
2739  30 33        03    BMI &276E
273B  3C           <     ...
273C  3F           ?     ...
273D  C0 C3        ..    CPY #&C3
273F  CC CF F0     ...   CPY &F0CF
2742  F3           .     ...
2743  FC           .     ...
2744  FF           .     ...
2745  00           .     BRK
2746  00           .     BRK
2747  A0 00        ..    LDY #&00
2749  2C A0 01     ,..   BIT &01A0
274C  2C A0 04     ,..   BIT &04A0
.
274F  85 0A        ..    STA &0A
2751  86 09        ..    STX &09
2753  A0 FF        ..    LDY #&FF
.
2755  C8           .     INY
2756  C0 10        ..    CPY #&10
2758  B0 3C        .<    BCS &2796
275A  B9 DC 1C     ...   LDA UnencodedData+&00BC,Y
275D  D0 F6        ..    BNE &2755
275F  A6 0A        ..    LDX &0A
2761  BD 65 17     .e.   LDA DataList2,X
2764  29 7F        )    AND #&7F
2766  99 FE 1C     ...   STA &1CFE,Y
2769  BD 00 17     ...   LDA DataList1,X
276C  99 98 1C     ...   STA &1C98,Y
276F  A9 01        ..    LDA #&01
2771  99 EE 1C     ...   STA UnencodedData+&00CE,Y
2774  A9 FF        ..    LDA #&FF
2776  99 6E 1D     .n.   STA &1D6E,Y
2779  98           .     TYA
277A  99 2E 1D     ...   STA &1D2E,Y
277D  A9 00        ..    LDA #&00
277F  99 8E 1D     ...   STA UnencodedData+&016E,Y
2782  99 9E 1D     ...   STA &1D9E,Y
2785  99 7E 1D     .~.   STA &1D7E,Y
2788  99 0E 1D     ...   STA &1D0E,Y
278B  99 1E 1D     ...   STA &1D1E,Y
278E  8A           .     TXA
278F  99 88 1C     ...   STA &1C88,Y
2792  20 5D 28      ](   JSR &285D
2795  18           .     CLC
.
2796  A6 09        ..    LDX &09
2798  60           `     RTS
2799  00           .     BRK
.
279A  20 8E 23      .#   JSR &238E
279D  A8           .     TAY
279E  B9 C6 19     ...   LDA &19C6,Y
27A1  D0 0D        ..    BNE &27B0
27A3  A5 25        .%    LDA &25
27A5  38           8     SEC
27A6  E9 54        .T    SBC #&54
27A8  4A           J     LSR A
27A9  4A           J     LSR A
27AA  4A           J     LSR A
27AB  4A           J     LSR A
27AC  AA           .     TAX
27AD  BD 1C 23     ..#   LDA &231C,X
.
27B0  C9 03        ..    CMP #&03
27B2  B0 09        ..    BCS &27BD
27B4  69 B1        i.    ADC #&B1
27B6  24 25        $%    BIT &25
27B8  10 54        .T    BPL &280E
27BA  0A           .     ASL A
27BB  69 90        i.    ADC #&90
.
27BD  C9 03        ..    CMP #&03
27BF  D0 11        ..    BNE &27D2
27C1  A5 0F        ..    LDA &0F
27C3  2A           *     ROL A
27C4  2A           *     ROL A
27C5  2A           *     ROL A
27C6  E5 25        .%    SBC &25
27C8  6A           j     ROR A
27C9  18           .     CLC
27CA  65 23        e#    ADC &23
27CC  29 03        ).    AND #&03
27CE  AA           .     TAX
27CF  BD 2C 23     .,#   LDA &232C,X
.
27D2  C9 04        ..    CMP #&04
27D4  D0 0C        ..    BNE &27E2
27D6  A5 25        .%    LDA &25
27D8  2A           *     ROL A
27D9  2A           *     ROL A
27DA  2A           *     ROL A
27DB  2A           *     ROL A
27DC  29 07        ).    AND #&07
27DE  AA           .     TAX
27DF  BD 23 23     .##   LDA &2323,X
.
27E2  C9 05        ..    CMP #&05
27E4  D0 1C        ..    BNE &2802
27E6  A5 25        .%    LDA &25
27E8  6A           j     ROR A
27E9  6A           j     ROR A
27EA  45 25        E%    EOR &25
27EC  6A           j     ROR A
27ED  90 02        ..    BCC &27F1
27EF  A0 19        ..    LDY #&19
.
27F1  6A           j     ROR A
27F2  E5 25        .%    SBC &25
27F4  29 40        )@    AND #&40
27F6  45 0F        E.    EOR &0F
27F8  24 0F        $.    BIT &0F
27FA  85 0F        ..    STA &0F
27FC  A9 B1        ..    LDA #&B1
27FE  50 0E        P.    BVC &280E
2800  69 0A        i.    ADC #&0A
.
2802  C9 06        ..    CMP #&06
2804  D0 08        ..    BNE &280E
2806  A9 9C        ..    LDA #&9C
2808  24 0F        $.    BIT &0F
280A  50 02        P.    BVC &280E
280C  A9 CF        ..    LDA #&CF
.
280E  85 5A        .Z    STA &5A
2810  85 5B        .[    STA &5B
2812  A5 0F        ..    LDA &0F
2814  85 58        .X    STA &58
2816  85 59        .Y    STA &59
2818  B9 46 19     .F.   LDA &1946,Y
281B  29 7F        )    AND #&7F
281D  AA           .     TAX
281E  85 5C        .\    STA &5C
2820  85 5D        .]    STA &5D
2822  B9 86 19     ...   LDA &1986,Y
2825  29 F0        ).    AND #&F0
2827  24 0F        $.    BIT &0F
2829  50 07        P.    BVC &2832
282B  7D EE 54     }.T   ADC DataList3,X
282E  09 07        ..    ORA #&07
2830  49 FF        I.    EOR #&FF
.
2832  85 38        .8    STA &38
2834  85 39        .9    STA &39
2836  A9 00        ..    LDA #&00
2838  24 0F        $.    BIT &0F
283A  10 05        ..    BPL &2841
283C  A9 F2        ..    LDA #&F2
283E  FD 00 54     ..T   SBC DataList4,X
.
2841  85 36        .6    STA &36
2843  85 37        .7    STA &37
2845  A5 23        .#    LDA &23
2847  85 3A        .:    STA &3A
2849  85 3B        .;    STA &3B
284B  A5 25        .%    LDA &25
284D  85 3C        .<    STA &3C
284F  85 3D        .=    STA &3D
2851  60           `     RTS
.
2852  A5 23        .#    LDA &23
2854  99 B9 1C     ...   STA UnencodedData+&0099,Y
2857  A5 25        .%    LDA &25
2859  99 DC 1C     ...   STA UnencodedData+&00BC,Y
285C  60           `     RTS
.
285D  A5 3A        .:    LDA &3A
285F  99 B9 1C     ...   STA UnencodedData+&0099,Y
2862  A5 3C        .<    LDA &3C
2864  99 DC 1C     ...   STA UnencodedData+&00BC,Y
2867  60           `     RTS
2868  00           .     BRK
2869  EA           .     NOP
286A  00           .     BRK
286B  0F           .     ...
286C  EA           .     NOP
286D  07           .     ...
286E  F0 EA        ..    BEQ &285A
2870  F8           .     SED
2871  20 EA 80      ..   JSR &80EA
2874  EA           .     NOP
2875  10 EA        ..    BPL &2861
2877  40           @     RTI
2878  FF           .     ...
.
2879  18           .     CLC
287A  30 04        0.    BMI &2880
287C  49 FF        I.    EOR #&FF
287E  69 01        i.    ADC #&01
.
2880  60           `     RTS

; -----------------------------------------------------------------------------
; Check if there's a sideways RAM bank available
; -----------------------------------------------------------------------------
.
2881  78           x     SEI
2882  20 87 28      .(   JSR &2887
2885  58           X     CLI
2886  60           `     RTS
.
2887  A2 0F        ..    LDX #&0F
.
2889  A9 0F        ..    LDA #&0F
288B  8D 62 FE     .b.   STA &FE62
288E  8E 60 FE     .`.   STX &FE60
2891  8E 32 FE     .2.   STX &FE32
2894  8E 30 FE     .0.   STX &FE30
2897  A0 00        ..    LDY #&00
2899  84 1B        ..    STY &1B
289B  A9 80        ..    LDA #&80
289D  85 1C        ..    STA &1C
.
289F  B1 1B        ..    LDA (&1B),Y
28A1  85 0B        ..    STA &0B
28A3  A9 AA        ..    LDA #%10101010
28A5  91 1B        ..    STA (&1B),Y
28A7  D1 1B        ..    CMP (&1B),Y
28A9  D0 18        ..    BNE &28C3
28AB  A9 55        .U    LDA #%01010101
28AD  91 1B        ..    STA (&1B),Y
28AF  D1 1B        ..    CMP (&1B),Y
28B1  D0 10        ..    BNE &28C3
28B3  A5 0B        ..    LDA &0B
28B5  91 1B        ..    STA (&1B),Y
28B7  C8           .     INY
28B8  D0 E5        ..    BNE &289F
28BA  E6 1C        ..    INC &1C
28BC  A5 1C        ..    LDA &1C
28BE  C9 C0        ..    CMP #&C0
28C0  90 DD        ..    BCC &289F
28C2  60           `     RTS
.
28C3  CA           .     DEX
28C4  10 C3        ..    BPL &2889
28C6  18           .     CLC
28C7  60           `     RTS

.
28C8  00           .     BRK
28C9  00           .     BRK
28CA  00           .     BRK
28CB  00           .     BRK
28CC  00           .     BRK
28CD  00           .     BRK
28CE  00           .     BRK
28CF  00           .     BRK
28D0  00           .     BRK
28D1  00           .     BRK
28D2  00           .     BRK
28D3  00           .     BRK
28D4  00           .     BRK
28D5  00           .     BRK
28D6  00           .     BRK
28D7  00           .     BRK
28D8  00           .     BRK
28D9  00           .     BRK
28DA  00           .     BRK
28DB  00           .     BRK
28DC  00           .     BRK
28DD  00           .     BRK
28DE  00           .     BRK
28DF  00           .     BRK

.
28E0  0E D8 28     ..(   ASL &28D8
28E3  2E D9 28     ..(   ROL &28D9
28E6  2E DA 28     ..(   ROL &28DA
28E9  2E DB 28     ..(   ROL &28DB
28EC  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
28ED  20 80 31      .1   JSR decodesavegame      ; Decode save game data
28F0  A2 18        ..    LDX #&18
28F2  A9 00        ..    LDA #&00
.
28F4  9D C7 28     ..(   STA &28C7,X
28F7  CA           .     DEX
28F8  D0 FA        ..    BNE &28F4
28FA  A0 03        ..    LDY #&03
.
28FC  B9 2A 1C     .*.   LDA UnencodedData+&000A,Y
28FF  99 D7 28     ..(   STA &28D7,Y
2902  88           .     DEY
2903  D0 F7        ..    BNE &28FC
2905  8C DB 28     ..(   STY &28DB                ; &28DB = &00
2908  A2 02        ..    LDX #&02
.
290A  A0 03        ..    LDY #&03
.
290C  B9 D8 28     ..(   LDA &28D8,Y
290F  48           H     PHA
2910  88           .     DEY
2911  10 F9        ..    BPL &290C
2913  20 E0 28      .(   JSR &28E0
2916  20 E0 28      .(   JSR &28E0
2919  18           .     CLC
291A  A0 FC        ..    LDY #&FC
.
291C  68           h     PLA
291D  79 DC 27     y.'   ADC &27DC,Y
2920  99 DC 27     ..'   STA &27DC,Y
2923  C8           .     INY
2924  D0 F6        ..    BNE &291C
2926  20 E0 28      .(   JSR &28E0
2929  CA           .     DEX
292A  D0 DE        ..    BNE &290A
292C  20 08 2E      ..   JSR &2E08
292F  A0 04        ..    LDY #&04
.
2931  B9 5D 00     .].   LDA &005D,Y
2934  99 D3 28     ..(   STA &28D3,Y
2937  88           .     DEY
2938  D0 F7        ..    BNE &2931
293A  A2 04        ..    LDX #&04
293C  A0 00        ..    LDY #&00
.
293E  CA           .     DEX
293F  30 1E        0.    BMI &295F
2941  BD 67 1C     .g.   LDA &1C67,X
2944  F0 F8        ..    BEQ &293E
2946  30 F6        0.    BMI &293E
2948  98           .     TYA
2949  48           H     PHA
294A  8A           .     TXA
294B  48           H     PHA
294C  18           .     CLC
294D  69 22        i"    ADC #&22
294F  20 89 2B      .+   JSR &2B89
2952  84 0B        ..    STY &0B
2954  68           h     PLA
2955  AA           .     TAX
2956  68           h     PLA
2957  A8           .     TAY
2958  A5 0B        ..    LDA &0B
295A  D0 E2        ..    BNE &293E
295C  C8           .     INY
295D  D0 DF        ..    BNE &293E
.
295F  98           .     TYA
2960  AA           .     TAX
2961  F0 0A        ..    BEQ &296D
.
2963  A9 88        ..    LDA #&88
2965  A0 13        ..    LDY #&13
2967  20 6E 2A      n*   JSR &2A6E
296A  CA           .     DEX
296B  D0 F6        ..    BNE &2963
.
296D  AD 31 1E     .1.   LDA &1E31
2970  29 08        ).    AND #&08
2972  F0 07        ..    BEQ &297B
2974  A9 28        .(    LDA #&28
2976  A0 23        .#    LDY #&23
2978  20 7A 2A      z*   JSR &2A7A
.
297B  A9 02        ..    LDA #&02
297D  20 C8 2A      .*   JSR &2AC8
2980  AE C7 2A     ..*   LDX &2AC7
2983  F0 0A        ..    BEQ &298F
.
2985  A9 20        .     LDA #&20
2987  A0 4E        .N    LDY #&4E
2989  20 7A 2A      z*   JSR &2A7A
298C  CA           .     DEX
298D  D0 F6        ..    BNE &2985
.
298F  AD D6 1D     ...   LDA &1DD6
2992  6A           j     ROR A
2993  B0 07        ..    BCS &299C
2995  A9 20        .     LDA #&20
2997  A0 4E        .N    LDY #&4E
2999  20 7A 2A      z*   JSR &2A7A
.
299C  AD 5F 1C     ._.   LDA &1C5F
299F  30 07        0.    BMI &29A8
29A1  A9 20        .     LDA #&20
29A3  A0 4E        .N    LDY #&4E
29A5  20 7A 2A      z*   JSR &2A7A
.
29A8  A2 00        ..    LDX #&00
.
29AA  8A           .     TXA
29AB  48           H     PHA
29AC  BD 26 18     .&.   LDA &1826,X
29AF  20 C8 2A      .*   JSR &2AC8
29B2  68           h     PLA
29B3  AA           .     TAX
29B4  BD CA 17     ...   LDA &17CA,X
29B7  38           8     SEC
29B8  ED C6 2A     ..*   SBC &2AC6
29BB  90 3D        .=    BCC &29FA
29BD  85 0B        ..    STA &0B
29BF  BD F8 17     ...   LDA &17F8,X
29C2  20 4A 2A      J*   JSR &2A4A
29C5  A0 02        ..    LDY #&02
.
29C7  A5 1E        ..    LDA &1E
29C9  48           H     PHA
29CA  A5 1D        ..    LDA &1D
29CC  06 1D        ..    ASL &1D
29CE  26 1E        &.    ROL &1E
29D0  06 1D        ..    ASL &1D
29D2  26 1E        &.    ROL &1E
29D4  65 1D        e.    ADC &1D
29D6  85 1D        ..    STA &1D
29D8  68           h     PLA
29D9  65 1E        e.    ADC &1E
29DB  85 1E        ..    STA &1E
29DD  88           .     DEY
29DE  D0 E7        ..    BNE &29C7
29E0  BD 26 18     .&.   LDA &1826,X
29E3  86 0B        ..    STX &0B
29E5  A2 00        ..    LDX #&00
29E7  C9 04        ..    CMP #&04
29E9  B0 02        ..    BCS &29ED
29EB  A2 04        ..    LDX #&04
.
29ED  C9 4A        .J    CMP #&4A
29EF  90 02        ..    BCC &29F3
29F1  A2 08        ..    LDX #&08
.
29F3  A5 1D        ..    LDA &1D
29F5  A4 1E        ..    LDY &1E
29F7  20 8C 2A      .*   JSR &2A8C
.
29FA  E8           .     INX
29FB  E0 2E        ..    CPX #&2E
29FD  D0 AB        ..    BNE &29AA
29FF  A2 00        ..    LDX #&00
2A01  20 28 2A      (*   JSR &2A28
2A04  A2 04        ..    LDX #&04
2A06  20 39 2A      9*   JSR &2A39
2A09  A2 08        ..    LDX #&08
2A0B  20 28 2A      (*   JSR &2A28
2A0E  A2 0C        ..    LDX #&0C
2A10  20 39 2A      9*   JSR &2A39
2A13  A2 10        ..    LDX #&10
2A15  20 39 2A      9*   JSR &2A39
2A18  AD DF 28     ..(   LDA &28DF
2A1B  10 0A        ..    BPL &2A27
2A1D  A2 04        ..    LDX #&04
2A1F  A9 00        ..    LDA #&00
.
2A21  9D DB 28     ..(   STA &28DB,X
2A24  CA           .     DEX
2A25  D0 FA        ..    BNE &2A21
.
2A27  60           `     RTS
.
2A28  18           .     CLC
2A29  A0 FC        ..    LDY #&FC
.
2A2B  B9 E0 27     ..'   LDA &27E0,Y
2A2E  7D C8 28     }.(   ADC &28C8,X
2A31  99 E0 27     ..'   STA &27E0,Y
2A34  E8           .     INX
2A35  C8           .     INY
2A36  D0 F3        ..    BNE &2A2B
2A38  60           `     RTS
.
2A39  38           8     SEC
2A3A  A0 FC        ..    LDY #&FC
.
2A3C  B9 E0 27     ..'   LDA &27E0,Y
2A3F  FD C8 28     ..(   SBC &28C8,X
2A42  99 E0 27     ..'   STA &27E0,Y
2A45  E8           .     INX
2A46  C8           .     INY
2A47  D0 F3        ..    BNE &2A3C
2A49  60           `     RTS
.
2A4A  85 1B        ..    STA &1B
2A4C  A9 00        ..    LDA #&00
2A4E  85 1C        ..    STA &1C
2A50  85 1D        ..    STA &1D
2A52  85 1E        ..    STA &1E
.
2A54  46 0B        F.    LSR &0B
2A56  90 0D        ..    BCC &2A65
2A58  18           .     CLC
2A59  A5 1B        ..    LDA &1B
2A5B  65 1D        e.    ADC &1D
2A5D  85 1D        ..    STA &1D
2A5F  A5 1C        ..    LDA &1C
2A61  65 1E        e.    ADC &1E
2A63  85 1E        ..    STA &1E
.
2A65  06 1B        ..    ASL &1B
2A67  26 1C        &.    ROL &1C
2A69  A5 0B        ..    LDA &0B
2A6B  D0 E7        ..    BNE &2A54
2A6D  60           `     RTS
.
2A6E  86 0B        ..    STX &0B
2A70  A2 00        ..    LDX #&00
2A72  10 18        ..    BPL &2A8C
2A74  86 0B        ..    STX &0B
2A76  A2 04        ..    LDX #&04
2A78  10 12        ..    BPL &2A8C
.
2A7A  86 0B        ..    STX &0B
2A7C  A2 08        ..    LDX #&08
2A7E  10 0C        ..    BPL &2A8C
2A80  86 0B        ..    STX &0B
2A82  A2 0C        ..    LDX #&0C
2A84  10 06        ..    BPL &2A8C
2A86  86 0B        ..    STX &0B
2A88  A2 10        ..    LDX #&10
2A8A  10 00        ..    BPL &2A8C
.
2A8C  18           .     CLC
2A8D  7D C8 28     }.(   ADC &28C8,X
2A90  9D C8 28     ..(   STA &28C8,X
2A93  98           .     TYA
2A94  7D C9 28     }.(   ADC &28C9,X
2A97  9D C9 28     ..(   STA &28C9,X
2A9A  A9 00        ..    LDA #&00
2A9C  7D CA 28     }.(   ADC &28CA,X
2A9F  9D CA 28     ..(   STA &28CA,X
2AA2  A9 00        ..    LDA #&00
2AA4  7D CB 28     }.(   ADC &28CB,X
2AA7  9D CB 28     ..(   STA &28CB,X
2AAA  A6 0B        ..    LDX &0B
2AAC  60           `     RTS
.
2AAD  A2 00        ..    LDX #&00
.
2AAF  8A           .     TXA
2AB0  48           H     PHA
2AB1  BD 26 18     .&.   LDA &1826,X
2AB4  20 C8 2A      .*   JSR &2AC8
2AB7  68           h     PLA
2AB8  AA           .     TAX
2AB9  AD C6 2A     ..*   LDA &2AC6
2ABC  9D CA 17     ...   STA &17CA,X
2ABF  E8           .     INX
2AC0  E0 2E        ..    CPX #&2E
2AC2  D0 EB        ..    BNE &2AAF
2AC4  60           `     RTS
2AC5  00           .     BRK
2AC6  00           .     BRK
2AC7  00           .     BRK
.
2AC8  8D C5 2A     ..*   STA &2AC5
2ACB  A0 00        ..    LDY #&00
2ACD  8C C7 2A     ..*   STY &2AC7
2AD0  20 89 2B      .+   JSR &2B89
2AD3  8C C6 2A     ..*   STY &2AC6
2AD6  AD C5 2A     ..*   LDA &2AC5
2AD9  20 6E 2B      n+   JSR &2B6E
2ADC  AD C5 2A     ..*   LDA &2AC5
2ADF  20 E3 2A      .*   JSR &2AE3
2AE2  60           `     RTS
.
2AE3  A0 00        ..    LDY #&00
2AE5  BE 06 1A     ...   LDX &1A06,Y
.
2AE8  98           .     TYA
2AE9  48           H     PHA
2AEA  8A           .     TXA
2AEB  48           H     PHA
2AEC  18           .     CLC
2AED  79 10 1A     y..   ADC &1A10,Y
2AF0  85 04        ..    STA &04
2AF2  18           .     CLC
2AF3  79 19 1A     y..   ADC &1A19,Y
2AF6  85 05        ..    STA &05
2AF8  BD 21 1B     .!.   LDA &1B21,X
2AFB  29 3F        )?    AND #&3F
2AFD  C9 09        ..    CMP #&09
2AFF  F0 25        .%    BEQ &2B26
2B01  C9 0A        ..    CMP #&0A
2B03  F0 21        .!    BEQ &2B26
2B05  C9 06        ..    CMP #&06
2B07  F0 3A        .:    BEQ &2B43
2B09  C9 05        ..    CMP #&05
2B0B  F0 36        .6    BEQ &2B43
2B0D  C9 07        ..    CMP #&07
2B0F  F0 32        .2    BEQ &2B43
2B11  C9 02        ..    CMP #&02
2B13  F0 45        .E    BEQ &2B5A
.
2B15  68           h     PLA
2B16  AA           .     TAX
2B17  68           h     PLA
2B18  A8           .     TAY
2B19  E8           .     INX
2B1A  8A           .     TXA
2B1B  D9 07 1A     ...   CMP &1A07,Y
2B1E  D0 C8        ..    BNE &2AE8
.
2B20  C8           .     INY
2B21  C0 09        ..    CPY #&09
2B23  D0 C3        ..    BNE &2AE8
2B25  60           `     RTS
.
2B26  A6 05        ..    LDX &05
2B28  BD 99 1E     ...   LDA &1E99,X
2B2B  CD C5 2A     ..*   CMP &2AC5
2B2E  D0 E5        ..    BNE &2B15
2B30  A6 04        ..    LDX &04
2B32  BD AE 1D     ...   LDA UnencodedData+&018E,X
2B35  4A           J     LSR A
2B36  4A           J     LSR A
2B37  29 1F        ).    AND #&1F
2B39  18           .     CLC
2B3A  6D C6 2A     m.*   ADC &2AC6
2B3D  8D C6 2A     ..*   STA &2AC6
2B40  4C 15 2B     L.+   JMP &2B15
.
2B43  A6 05        ..    LDX &05
2B45  BD 99 1E     ...   LDA &1E99,X
2B48  CD C5 2A     ..*   CMP &2AC5
2B4B  D0 C8        ..    BNE &2B15
2B4D  A6 04        ..    LDX &04
2B4F  BD AE 1D     ...   LDA UnencodedData+&018E,X
2B52  10 C1        ..    BPL &2B15
2B54  EE C6 2A     ..*   INC &2AC6
2B57  4C 15 2B     L.+   JMP &2B15
.
2B5A  A6 04        ..    LDX &04
2B5C  BD AE 1D     ...   LDA UnencodedData+&018E,X
2B5F  10 B4        ..    BPL &2B15
2B61  29 7F        )    AND #&7F
2B63  CD C5 2A     ..*   CMP &2AC5
2B66  D0 AD        ..    BNE &2B15
2B68  EE C6 2A     ..*   INC &2AC6
2B6B  4C 15 2B     L.+   JMP &2B15
.
2B6E  A2 20        .     LDX #&20
.
2B70  BC 39 1F     .9.   LDY &1F39,X
2B73  F0 10        ..    BEQ &2B85
2B75  DD 59 1F     .Y.   CMP &1F59,X
2B78  D0 0B        ..    BNE &2B85
2B7A  EE C6 2A     ..*   INC &2AC6
2B7D  48           H     PHA
2B7E  BD 39 1F     .9.   LDA &1F39,X
2B81  20 B4 2B      .+   JSR &2BB4
2B84  68           h     PLA
.
2B85  CA           .     DEX
2B86  D0 E8        ..    BNE &2B70
2B88  60           `     RTS
.
2B89  A2 0F        ..    LDX #&0F
2B8B  A0 00        ..    LDY #&00
2B8D  85 0B        ..    STA &0B
.
2B8F  BD DC 1C     ...   LDA UnencodedData+&00BC,X
2B92  F0 1C        ..    BEQ &2BB0
2B94  BD 88 1C     ...   LDA UnencodedData+&0068,X
2B97  C9 49        .I    CMP #&49
2B99  D0 0A        ..    BNE &2BA5
2B9B  84 0A        ..    STY &0A
2B9D  BC 8E 1D     ...   LDY UnencodedData+&016E,X
2BA0  B9 AE 1D     ...   LDA UnencodedData+&018E,Y
2BA3  A4 0A        ..    LDY &0A
.
2BA5  C5 0B        ..    CMP &0B
2BA7  D0 07        ..    BNE &2BB0
2BA9  C8           .     INY
2BAA  BD DC 1C     ...   LDA UnencodedData+&00BC,X
2BAD  20 B4 2B      .+   JSR &2BB4
.
2BB0  CA           .     DEX
2BB1  10 DC        ..    BPL &2B8F
2BB3  60           `     RTS
.
2BB4  38           8     SEC
2BB5  E9 3A        .:    SBC #&3A
2BB7  C9 04        ..    CMP #&04
2BB9  B0 03        ..    BCS &2BBE
2BBB  EE C7 2A     ..*   INC &2AC7
.
2BBE  60           `     RTS
2BBF  FF           .     ...
2BC0  00           .     BRK
2BC1  E0 00        ..    CPX #&00
2BC3  07           .     ...
2BC4  00           .     BRK
2BC5  C0 00        ..    CPY #&00
2BC7  04           .     ...
2BC8  00           .     BRK
2BC9  26 24        &$    ROL &24
2BCB  22           "     ...
.
2BCC  60           `     RTS
2BCD  60           `     RTS
.
2BCE  20 88 34      .4   JSR &3488
2BD1  A2 18        ..    LDX #&18
2BD3  A0 2C        .,    LDY #&2C
2BD5  20 FA 34      .4   JSR &34FA               ; Print "Drive?"
2BD8  A9 FF        ..    LDA #&FF
2BDA  8D 51 34     .Q4   STA StatusByte1
2BDD  20 70 31      p1   JSR &3170
.
2BE0  20 69 34      i4   JSR &3469               ; Read one character from keyboard
2BE3  C9 0D        ..    CMP #&0D
2BE5  F0 17        ..    BEQ &2BFE
2BE7  38           8     SEC
2BE8  E9 30        .0    SBC #&30
2BEA  C9 04        ..    CMP #&04
2BEC  B0 F2        ..    BCS &2BE0
2BEE  69 30        i0    ADC #&30
2BF0  8D 58 34     .X4   STA &3458
2BF3  8D E7 3B     ..;   STA &3BE7
2BF6  20 EE FF      ..   JSR oswrch
2BF9  A9 0D        ..    LDA #&0D
2BFB  20 EE FF      ..   JSR oswrch
.
2BFE  20 EE FF      ..   JSR oswrch
2C01  60           `     RTS

; -----------------------------------------------------------------------------
; F3 Catalogue
; -----------------------------------------------------------------------------
.
2C02  20 52 30      R0   JSR initialize          ; Initialize
2C05  20 CC 2B      .+   JSR &2BCC
2C08  20 CE 2B      .+   JSR &2BCE
2C0B  20 FB 2F      ./   JSR &2FFB
2C0E  A2 E3        ..    LDX #&E3
2C10  A0 3B        .;    LDY #&3B
2C12  20 F7 FF      ..   JSR oscli               ; Execute *CAT 0
2C15  4C 54 39     LT9   JMP &3954               ; Wait for CR or SPACE and return to the main loop
.
2C18  11 21        .!    ORA (&21),Y
2C1A  0D 0A 44     ..D   ORA &440A
2C1D  72           r     ...
2C1E  69 76        iv    ADC #&76
2C20  65 3F        e?    ADC &3F
2C22  11 77        .w    ORA (&77),Y
2C24  00           .     BRK

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2C25  CE 63 2C     .c,   DEC &2C63
2C28  10 07        ..    BPL &2C31
2C2A  EE 63 2C     .c,   INC &2C63
2C2D  A0 04        ..    LDY #&04
2C2F  D0 0C        ..    BNE &2C3D
.
2C31  CE 64 2C     .d,   DEC &2C64
2C34  AD 64 2C     .d,   LDA &2C64
2C37  29 03        ).    AND #&03
2C39  8D 64 2C     .d,   STA &2C64
2C3C  A8           .     TAY
.
2C3D  B9 4B 1C     .K.   LDA UnencodedData+&002B,Y
2C40  8D B9 1C     ...   STA UnencodedData+&0099
2C43  B9 50 1C     .P.   LDA UnencodedData+&0030,Y
2C46  8D DC 1C     ...   STA UnencodedData+&00BC
2C49  AE 98 1C     ...   LDX UnencodedData+&0078
2C4C  BD 00 54     ..T   LDA DataList4,X
2C4F  4A           J     LSR A
2C50  49 FF        I.    EOR #&FF
2C52  69 80        i.    ADC #&80
2C54  8D A8 1C     ...   STA UnencodedData+&0088
2C57  BD EE 54     ..T   LDA DataList3,X
2C5A  4A           J     LSR A
2C5B  49 FF        I.    EOR #&FF
2C5D  69 80        i.    ADC #&80
2C5F  8D CB 1C     ...   STA UnencodedData+&00AB
2C62  60           `     RTS

.
2C63  00           .     BRK
2C64  00           .     BRK

; -----------------------------------------------------------------------------
; F5 Save position
; -----------------------------------------------------------------------------
.
2C65  20 85 34      .4   JSR &3485
2C68  20 CC 2B      .+   JSR &2BCC
2C6B  A2 31        .1    LDX #&31
2C6D  A0 2D        .-    LDY #&2D
2C6F  20 FA 34      .4   JSR &34FA               ; Print "Save Filename?"
2C72  20 14 34      .4   JSR &3414
2C75  20 0E 2D      .-   JSR &2D0E
2C78  20 CE 2B      .+   JSR &2BCE
2C7B  A9 00        ..    LDA #&00
2C7D  A2 48        .H    LDX #&48
2C7F  A0 2D        .-    LDY #&2D
2C81  20 DD FF      ..   JSR osfile              ; Save file (parameter block is at &2D48)
2C84  A9 03        ..    LDA #&03
2C86  8D 1F 35     ..5   STA DatafileStatus
2C89  20 7E 2D      ~-   JSR &2D7E
2C8C  4C 5F 39     L_9   JMP &395F               ; Return to the main loop

; -----------------------------------------------------------------------------
; F4 Load position
; -----------------------------------------------------------------------------
.
2C8F  20 85 34      .4   JSR &3485
2C92  20 CC 2B      .+   JSR &2BCC
2C95  A2 1A        ..    LDX #&1A
2C97  A0 2D        .-    LDY #&2D
2C99  20 FA 34      .4   JSR &34FA               ; Print "Load Filename?"
2C9C  20 14 34      .4   JSR &3414
2C9F  20 02 2D      .-   JSR &2D02
2CA2  20 CE 2B      .+   JSR &2BCE
2CA5  A9 05        ..    LDA #&05
2CA7  A2 48        .H    LDX #&48
2CA9  A0 2D        .-    LDY #&2D
2CAB  20 DD FF      ..   JSR osfile              ; Read file's catalogue information (parameter block is at &2D48)
2CAE  C9 01        ..    CMP #&01                ; Check if file type = &01 (was the file found?)
2CB0  D0 1C        ..    BNE &2CCE
2CB2  38           8     SEC
2CB3  AD 53 2D     .S-   LDA &2D53
2CB6  49 04        I.    EOR #&04
2CB8  0D 52 2D     .R-   ORA &2D52
2CBB  0D 54 2D     .T-   ORA &2D54
2CBE  0D 55 2D     .U-   ORA &2D55
2CC1  F0 17        ..    BEQ &2CDA               ; Is the file length &00000400?
2CC3  00           .     BRK
2CC4  00           .     BRK
2CC5  42           B     ...
2CC6  61 64        ad    ADC (&64,X)
2CC8  20 66 69      fi   JSR &6966
2CCB  6C 65 00     le.   JMP (&0065)
.
2CCE  00           .     BRK
2CCF  00           .     BRK
2CD0  4E 6F 74     Not   LSR &746F
2CD3  20 66 6F      fo   JSR &6F66
2CD6  75 6E        un    ADC &6E,X
2CD8  64           d     ...
2CD9  00           .     BRK
.
2CDA  20 02 2D      .-   JSR &2D02
2CDD  A9 FF        ..    LDA #&FF
2CDF  A2 48        .H    LDX #&48
2CE1  A0 2D        .-    LDY #&2D
2CE3  20 DD FF      ..   JSR osfile              ; Load file (parameter block is at &2D48)
2CE6  A9 04        ..    LDA #&04
2CE8  85 1C        ..    STA &1C
2CEA  A9 00        ..    LDA #&00
2CEC  85 1B        ..    STA &1B
2CEE  A9 02        ..    LDA #&02
2CF0  8D 1F 35     ..5   STA DatafileStatus
2CF3  20 7E 2D      ~-   JSR &2D7E
2CF6  20 ED 28      .(   JSR &28ED
2CF9  A9 00        ..    LDA #&00
2CFB  A8           .     TAY
2CFC  20 CE FF      ..   JSR osfind              ; Close all open files
2CFF  4C 5F 39     L_9   JMP &395F               ; Return to the main loop
.
2D02  A2 12        ..    LDX #&12
.
2D04  BD 59 2D     .Y-   LDA &2D59,X
2D07  9D 47 2D     .G-   STA &2D47,X
2D0A  CA           .     DEX
2D0B  D0 F7        ..    BNE &2D04
2D0D  60           `     RTS
.
2D0E  A2 12        ..    LDX #&12
.
2D10  BD 6B 2D     .k-   LDA &2D6B,X
2D13  9D 47 2D     .G-   STA &2D47,X
2D16  CA           .     DEX
2D17  D0 F7        ..    BNE &2D10
2D19  60           `     RTS
.
2D1A  11 21        .!    ORA (&21),Y
2D1C  0A           .     ASL A
2D1D  4C 6F 61     Loa   JMP &616F
2D20  64           d     ...
2D21  20 46 69      Fi   JSR &6946
2D24  6C 65 6E     len   JMP (&6E65)
2D27  61 6D        am    ADC (&6D,X)
2D29  65 3F        e?    ADC &3F
2D2B  20 0D 0A      ..   JSR &0A0D
2D2E  0A           .     ASL A
2D2F  3F           ?     ...
2D30  00           .     BRK

.
2D31  11 21        .!    ORA (&21),Y
2D33  0A           .     ASL A
2D34  53           S     ...
2D35  61 76        av    ADC (&76,X)
2D37  65 20        e     ADC &20
2D39  46 69        Fi    LSR &69
2D3B  6C 65 6E     len   JMP (&6E65)
2D3E  61 6D        am    ADC (&6D,X)
2D40  65 3F        e?    ADC &3F
2D42  20 0D 0A      ..   JSR &0A0D
2D45  0A           .     ASL A
2D46  3F           ?     ...
2D47  00           .     BRK

.
2D48  57 34        W4    EQUW &3457              ; Pointer to filename
2D4A  00 04 FF FF  ....  EQUD &FFFF0400          ; Load address
2D4E  00 00 00 00  ....  EQUD &00000000          ; Exec address
2D52  00 00 00 00  ....  EQUD &00000000          ; Length
2D56  00 00 00 00  ....  EQUD &00000000          ; File attributes

.
2D5A  57           W     ...
2D5B  34           4     ...
2D5C  00           .     BRK
2D5D  04           .     ...
2D5E  FF           .     ...
2D5F  FF           .     ...
2D60  00           .     BRK
2D61  00           .     BRK
2D62  00           .     BRK
2D63  00           .     BRK
2D64  00           .     BRK
2D65  00           .     BRK
2D66  00           .     BRK
2D67  00           .     BRK
2D68  00           .     BRK
2D69  00           .     BRK
2D6A  00           .     BRK
2D6B  00           .     BRK
2D6C  57           W     ...
2D6D  34           4     ...
2D6E  00           .     BRK
2D6F  2C FF FF     ,..   BIT &FFFF
2D72  00           .     BRK
2D73  00           .     BRK
2D74  00           .     BRK
2D75  00           .     BRK
2D76  00           .     BRK
2D77  04           .     ...
2D78  FF           .     ...
2D79  FF           .     ...
2D7A  00           .     BRK
2D7B  08           .     PHP
2D7C  FF           .     ...
2D7D  FF           .     ...

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2D7E  A2 FF        ..    LDX #&FF
2D80  A0 00        ..    LDY #&00
.
2D82  E8           .     INX
2D83  BD 5A 34     .Z4   LDA &345A,X
2D86  C9 20        .     CMP #&20
2D88  F0 F8        ..    BEQ &2D82
2D8A  C9 0D        ..    CMP #&0D
2D8C  F0 08        ..    BEQ &2D96
2D8E  99 46 3B     .F;   STA &3B46,Y
2D91  C8           .     INY
2D92  C0 0E        ..    CPY #&0E
2D94  D0 EC        ..    BNE &2D82
.
2D96  A9 22        ."    LDA #&22
2D98  99 46 3B     .F;   STA &3B46,Y
2D9B  A9 00        ..    LDA #&00
2D9D  99 47 3B     .G;   STA &3B47,Y
2DA0  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.ShowUsedTime
2DA1  20 08 2E      ..   JSR &2E08
2DA4  A9 3C        .<    LDA #&3C
2DA6  20 C5 2E      ..   JSR &2EC5
2DA9  48           H     PHA
2DAA  A9 3C        .<    LDA #&3C
2DAC  20 C5 2E      ..   JSR &2EC5
2DAF  48           H     PHA
2DB0  A9 18        ..    LDA #&18
2DB2  20 C5 2E      ..   JSR &2EC5
2DB5  48           H     PHA
2DB6  A9 64        .d    LDA #&64
2DB8  20 C5 2E      ..   JSR &2EC5
2DBB  48           H     PHA
2DBC  A9 1B        ..    LDA #&1B
2DBE  20 1C 2E      ..   JSR &2E1C
2DC1  A9 83        ..    LDA #&83
2DC3  20 EE FF      ..   JSR oswrch
2DC6  20 2C 2E      ,.   JSR &2E2C
2DC9  A5 5E        .^    LDA &5E
2DCB  18           .     CLC
2DCC  69 30        i0    ADC #&30
2DCE  20 EE FF      ..   JSR oswrch
2DD1  68           h     PLA
2DD2  20 34 2F      4/   JSR &2F34               ; Print the two nibbles of A as two digit, terminated with a dot
2DD5  A9 30        .0    LDA #&30
2DD7  20 1C 2E      ..   JSR &2E1C
2DDA  A9 82        ..    LDA #&82
2DDC  20 EE FF      ..   JSR oswrch
2DDF  20 2C 2E      ,.   JSR &2E2C
2DE2  68           h     PLA
2DE3  20 34 2F      4/   JSR &2F34               ; Print the two nibbles of A as two digit, terminated with a dot
2DE6  A9 3F        .?    LDA #&3F
2DE8  20 1C 2E      ..   JSR &2E1C
2DEB  A9 81        ..    LDA #&81
2DED  20 EE FF      ..   JSR oswrch
2DF0  20 2C 2E      ,.   JSR &2E2C
2DF3  68           h     PLA
2DF4  20 34 2F      4/   JSR &2F34               ; Print the two nibbles of A as two digit, terminated with a dot
2DF7  A9 4E        .N    LDA #&4E
2DF9  20 1C 2E      ..   JSR &2E1C
2DFC  A9 80        ..    LDA #&80
2DFE  20 EE FF      ..   JSR oswrch
2E01  20 2C 2E      ,.   JSR &2E2C
2E04  68           h     PLA
2E05  4C 1B 2F     L./   JMP &2F1B               ; Print the two nibbles of A as two digit

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2E08  A9 00        ..    LDA #&00
2E0A  85 62        .b    STA &62
2E0C  A0 04        ..    LDY #&04
.
2E0E  B9 26 1C     .&.   LDA UnencodedData+&0006,Y
2E11  99 5D 00     .].   STA &005D,Y
2E14  88           .     DEY
2E15  D0 F7        ..    BNE &2E0E
2E17  A9 32        .2    LDA #&32
2E19  4C C5 2E     L..   JMP &2EC5

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2E1C  8D 3C 2E     .<.   STA &2E3C
2E1F  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
2E22  A9 19        ..    LDA #&19
2E24  20 C7 33      .3   JSR Seperate2
2E27  A9 11        ..    LDA #&11
2E29  85 86        ..    STA &86
2E2B  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2E2C  A9 20        .     LDA #&20
2E2E  20 C7 33      .3   JSR Seperate2
2E31  AD 3C 2E     .<.   LDA &2E3C
2E34  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
2E37  A9 7E        .~    LDA #&7E
2E39  85 86        ..    STA &86
2E3B  60           `     RTS
2E3C  00           .     BRK

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.ShowScore
2E3D  A9 2C        .,    LDA #&2C
2E3F  20 C7 33      .3   JSR Seperate2
2E42  A2 AB        ..    LDX #&AB
2E44  A0 2E        ..    LDY #&2E
2E46  20 0B 35      .5   JSR &350B
2E49  A9 00        ..    LDA #&00
2E4B  85 62        .b    STA &62
2E4D  A0 04        ..    LDY #&04
.
2E4F  B9 DB 28     ..(   LDA &28DB,Y
2E52  99 5D 00     .].   STA &005D,Y
2E55  88           .     DEY
2E56  D0 F7        ..    BNE &2E4F
2E58  20 79 2E      y.   JSR &2E79
2E5B  46 83        F.    LSR &83
2E5D  66 82        f.    ROR &82
2E5F  A9 B0        ..    LDA #&B0
2E61  E5 82        ..    SBC &82
2E63  85 82        ..    STA &82
2E65  A9 83        ..    LDA #&83
2E67  E5 83        ..    SBC &83
2E69  85 83        ..    STA &83
2E6B  A2 AB        ..    LDX #&AB
2E6D  A0 2E        ..    LDY #&2E
2E6F  20 FA 34      .4   JSR &34FA               ; Print "Score : "
2E72  A2 B9        ..    LDX #&B9
2E74  A0 2E        ..    LDY #&2E
2E76  4C FA 34     L.4   JMP &34FA               ; Print "            .k"

; -----------------------------------------------------------------------------
; Print numbers
; -----------------------------------------------------------------------------
.
2E79  A0 00        ..    LDY #&00
.
2E7B  98           .     TYA
2E7C  48           H     PHA
2E7D  A9 0A        ..    LDA #&0A
2E7F  20 C5 2E      ..   JSR &2EC5
2E82  85 0B        ..    STA &0B
2E84  68           h     PLA
2E85  A8           .     TAY
2E86  A5 0B        ..    LDA &0B
2E88  18           .     CLC
2E89  69 30        i0    ADC #&30
2E8B  48           H     PHA
2E8C  C8           .     INY
2E8D  A9 00        ..    LDA #&00
2E8F  A2 04        ..    LDX #&04
.
2E91  15 5D        .]    ORA &5D,X
2E93  D0 E6        ..    BNE &2E7B
2E95  CA           .     DEX
2E96  D0 F9        ..    BNE &2E91
.
2E98  68           h     PLA
2E99  9D B9 2E     ...   STA &2EB9,X
2E9C  E8           .     INX
2E9D  88           .     DEY
2E9E  D0 F8        ..    BNE &2E98
2EA0  98           .     TYA
2EA1  9D B9 2E     ...   STA &2EB9,X
2EA4  A2 B9        ..    LDX #&2EB9 MOD 256
2EA6  A0 2E        ..    LDY #&2EB9 DIV 256
2EA8  4C 11 35     L.5   JMP &3511

.
2EAB  11 31        .1    ORA (&31),Y
2EAD  53           S     ...
2EAE  63           c     ...
2EAF  6F           o     ...
2EB0  72           r     ...
2EB1  65 20        e     ADC &20
2EB3  3A           :     ...
2EB4  20 20 11       .   JSR &1120
2EB7  2C 00
.
2EB9  20                 EQUB &20
2EBA  20 20 20           JSR &2020
2EBD  20 20 20           JSR &2020
2EC0  20 20 20           JSR &2020
2EC3  20 20

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2EC5  85 6B        .k    STA &6B
2EC7  A9 00        ..    LDA #&00
2EC9  85 67        .g    STA &67
2ECB  85 68        .h    STA &68
2ECD  85 69        .i    STA &69
2ECF  85 6A        .j    STA &6A
2ED1  85 62        .b    STA &62
2ED3  A2 20        .     LDX #&20
.
2ED5  46 6B        Fk    LSR &6B
2ED7  66 6A        fj    ROR &6A
2ED9  66 69        fi    ROR &69
2EDB  66 68        fh    ROR &68
2EDD  66 67        fg    ROR &67
2EDF  38           8     SEC
2EE0  A0 FB        ..    LDY #&FB
.
2EE2  B9 63 FF     .c.   LDA &FF63,Y
2EE5  F9 6C FF     .l.   SBC &FF6C,Y
2EE8  C8           .     INY
2EE9  D0 F7        ..    BNE &2EE2
2EEB  90 0E        ..    BCC &2EFB
2EED  A0 FB        ..    LDY #&FB
.
2EEF  B9 63 FF     .c.   LDA &FF63,Y
2EF2  F9 6C FF     .l.   SBC &FF6C,Y
2EF5  99 63 FF     .c.   STA &FF63,Y
2EF8  C8           .     INY
2EF9  D0 F4        ..    BNE &2EEF
.
2EFB  26 63        &c    ROL &63
2EFD  26 64        &d    ROL &64
2EFF  26 65        &e    ROL &65
2F01  26 66        &f    ROL &66
2F03  CA           .     DEX
2F04  D0 CF        ..    BNE &2ED5
2F06  A5 5E        .^    LDA &5E
2F08  48           H     PHA
2F09  A5 63        .c    LDA &63
2F0B  85 5E        .^    STA &5E
2F0D  A5 64        .d    LDA &64
2F0F  85 5F        ._    STA &5F
2F11  A5 65        .e    LDA &65
2F13  85 60        .`    STA &60
2F15  A5 66        .f    LDA &66
2F17  85 61        .a    STA &61
2F19  68           h     PLA
2F1A  60           `     RTS

; -----------------------------------------------------------------------------
; Print the two nibbles of A as two digit
; -----------------------------------------------------------------------------
.
2F1B  A2 FF        ..    LDX #&FF
2F1D  38           8     SEC
.
2F1E  E9 0A        ..    SBC #&0A
2F20  E8           .     INX
2F21  B0 FB        ..    BCS &2F1E
2F23  69 0A        i.    ADC #&0A
2F25  48           H     PHA
2F26  8A           .     TXA
2F27  18           .     CLC
2F28  69 30        i0    ADC #ASC"0"
2F2A  20 EE FF      ..   JSR oswrch
2F2D  68           h     PLA
2F2E  18           .     CLC
2F2F  69 30        i0    ADC #ASC"0"
2F31  4C EE FF     L..   JMP oswrch

; -----------------------------------------------------------------------------
; Print the two nibbles of A as two digit, terminated with a dot
; -----------------------------------------------------------------------------
.
2F34  20 1B 2F      ./   JSR &2F1B                ; Print the two nibbles of A as two digit
2F37  A9 2E        ..    LDA #&2E
2F39  4C EE FF     L..   JMP oswrch

; -----------------------------------------------------------------------------
; Calculate and print competition number
; -----------------------------------------------------------------------------
.ShowCompetitionNumber
2F3C  20 80 31      .1   JSR decodesavegame      ; Decode save game data
2F3F  A9 02        ..    LDA #&02
2F41  20 C8 2A      .*   JSR &2AC8
2F44  20 08 2E      ..   JSR &2E08
2F47  18           .     CLC
2F48  A9 37        .7    LDA #&37
2F4A  20 C5 2F      ./   JSR &2FC5
2F4D  20 C5 2F      ./   JSR &2FC5
2F50  65 61        ea    ADC &61
2F52  6D DC 28     m.(   ADC &28DC
2F55  85 61        .a    STA &61
2F57  6D 31 1C     m1.   ADC &1C31
2F5A  18           .     CLC
2F5B  65 60        e`    ADC &60
2F5D  6D DD 28     m.(   ADC &28DD
2F60  85 60        .`    STA &60
2F62  65 5F        e_    ADC &5F
2F64  6D DE 28     m.(   ADC &28DE
2F67  85 5F        ._    STA &5F
2F69  65 5E        e^    ADC &5E
2F6B  6D DF 28     m.(   ADC &28DF
2F6E  85 5E        .^    STA &5E
2F70  6D 32 1C     m2.   ADC &1C32
2F73  20 C5 2F      ./   JSR &2FC5
2F76  AD 31 1E     .1.   LDA &1E31
2F79  29 7F        )    AND #&7F
2F7B  20 C5 2F      ./   JSR &2FC5
2F7E  AD 5F 1C     ._.   LDA &1C5F
2F81  29 80        ).    AND #&80
2F83  20 C5 2F      ./   JSR &2FC5
2F86  6D C7 2A     m.*   ADC &2AC7
2F89  20 C5 2F      ./   JSR &2FC5
2F8C  AD D6 1D     ...   LDA &1DD6
2F8F  29 7F        )    AND #&7F
2F91  20 C5 2F      ./   JSR &2FC5
2F94  A9 10        ..    LDA #&10
2F96  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
2F99  A9 38        .8    LDA #&38
2F9B  20 C7 33      .3   JSR Seperate2
2F9E  A2 B7        ..    LDX #&B7
2FA0  A0 2F        ./    LDY #&2F
2FA2  20 FA 34      .4   JSR &34FA               ; Print "Comp. : "
2FA5  A2 04        ..    LDX #&04
.
2FA7  8A           .     TXA
2FA8  48           H     PHA
2FA9  A9 61        .a    LDA #&61
2FAB  20 C5 2E      ..   JSR &2EC5
2FAE  20 1B 2F      ./   JSR &2F1B               ; Print the two nibbles of A as two digit
2FB1  68           h     PLA
2FB2  AA           .     TAX
2FB3  CA           .     DEX
2FB4  D0 F1        ..    BNE &2FA7
2FB6  60           `     RTS

.
2FB7  11 31        .1    EQUW &3111
2FB9  43 6F 6D 70  Comp  EQUS "Comp. :  "
      2E 20 3A 20  . : 
      20            
2FC2  11 1C        ..    EQUW &1C11
2FC4  00           .     EQUB &00

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2FC5  65 61        ea    ADC &61
2FC7  65 5F        e_    ADC &5F
2FC9  85 5F        ._    STA &5F
2FCB  65 60        e`    ADC &60
2FCD  85 60        .`    STA &60
2FCF  65 61        ea    ADC &61
2FD1  85 61        .a    STA &61
2FD3  65 5E        e^    ADC &5E
2FD5  85 5E        .^    STA &5E
2FD7  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
2FD8  A2 0F        ..    LDX #&0F
2FDA  A9 00        ..    LDA #&00
.
2FDC  9D DC 1C     ...   STA UnencodedData+&00BC,X
2FDF  CA           .     DEX
2FE0  10 FA        ..    BPL &2FDC
2FE2  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2FE3  20 9A 27      .'   JSR &279A
2FE6  20 BF 22      ."   JSR &22BF
2FE9  A9 A0        ..    LDA #&A0
2FEB  20 DB 22      ."   JSR &22DB
2FEE  4C BF 22     L."   JMP &22BF

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
2FF1  AD 88 22     .."   LDA &2288
2FF4  49 14        I.    EOR #&14
2FF6  8D 88 22     .."   STA &2288
2FF9  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.StatusByte2
2FFA  00           .     BRK

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
2FFB  20 E5 30      .0   JSR &30E5               ; Make a short beep
2FFE  A9 0D        ..    LDA #&0D
3000  20 CB FF      ..   JSR nvwrch
3003  20 26 30      &0   JSR &3026               ; Enable cursor
3006  4E FA 2F     N./   LSR StatusByte2
3009  A2 15        ..    LDX #&15
300B  20 94 30      .0   JSR &3094
300E  20 C3 30      .0   JSR &30C3               ; Redefine palette
3011  A9 0C        ..    LDA #&0C                ; 6845 Register 12 (MSB Screen start address: &6000 / 8 lines per character = &0C00)
3013  A0 0C        ..    LDY #&0C
3015  8D 00 FE     ...   STA &FE00
3018  8C 01 FE     ...   STY &FE01
301B  A9 0D        ..    LDA #&0D                ; 6845 Register 13 (LSB Screen start address: &6000 / 8 lines per character = &0C00)
301D  A0 00        ..    LDY #&00
301F  8D 00 FE     ...   STA &FE00
3022  8C 01 FE     ...   STY &FE01
3025  60           `     RTS

; -----------------------------------------------------------------------------
; Enable or disable cursor
; -----------------------------------------------------------------------------
.enablecursor
3026  A2 01        ..    LDX #&01                ; Enable cursor
3028  4C 2D 30     L-0   JMP &302D
.disablecursor                                   ; Subroutine is never called???
302B  A2 00        ..    LDX #&00                ; Disable cursor
.                                                ; Put value X in register 1 of the 6845
302D  A9 17        ..    LDA #&17                ; VDU 23,1,X,0,0,0,0,0,0,0,0
302F  20 CB FF      ..   JSR nvwrch
3032  A9 01        ..    LDA #&01
3034  20 CB FF      ..   JSR nvwrch
3037  8A           .     TXA
3038  20 CB FF      ..   JSR nvwrch
303B  A9 00        ..    LDA #&00
303D  20 CB FF      ..   JSR nvwrch
3040  20 CB FF      ..   JSR nvwrch
3043  20 CB FF      ..   JSR nvwrch
3046  20 CB FF      ..   JSR nvwrch
3049  20 CB FF      ..   JSR nvwrch
304C  20 CB FF      ..   JSR nvwrch
304F  4C CB FF     L..   JMP nvwrch

; -----------------------------------------------------------------------------
; Initialization
; -----------------------------------------------------------------------------
.initialize
3052  A9 00        ..    LDA #&00
3054  85 7E        .~    STA &7E
3056  85 80        ..    STA &80
3058  85 82        ..    STA &82
305A  85 84        ..    STA &84
305C  85 83        ..    STA &83
305E  A9 80        ..    LDA #&80
3060  85 7F        .    STA &7F
3062  85 83        ..    STA &83
3064  A9 80        ..    LDA #&80
3066  85 81        ..    STA &81
3068  85 85        ..    STA &85
306A  A9 FF        ..    LDA #&FF
306C  8D FA 2F     ../   STA StatusByte2
306F  20 EA 30      .0   JSR &30EA               ; Clear screen
3072  A9 13        ..    LDA #&13                ; Disable events
3074  20 F4 FF      ..   JSR osbyte
3077  20 B7 30      .0   JSR &30B7               ; Redefine palette
307A  A9 31        .1    LDA #&31
307C  85 86        ..    STA &86
307E  A9 0C        ..    LDA #&0C                ; 6845 Register 12 (MSB Screen start address: &5800 / 8 lines per character = &0B00)
3080  A0 0B        ..    LDY #&0B
3082  8D 00 FE     ...   STA &FE00
3085  8C 01 FE     ...   STY &FE01
3088  A9 0D        ..    LDA #&0D                ; 6845 Register 13 (LSB Screen start address: &5800 / 8 lines per character = &0B00)
308A  A0 00        ..    LDY #&00
308C  8D 00 FE     ...   STA &FE00
308F  8C 01 FE     ...   STY &FE01
3092  A2 0A        ..    LDX #&0A
.
3094  8A           .     TXA
3095  48           H     PHA
3096  A9 13        ..    LDA #&13
3098  20 F4 FF      ..   JSR osbyte
309B  68           h     PLA
309C  AA           .     TAX
309D  A0 09        ..    LDY #&09
.
309F  BD CF 30     ..0   LDA &30CF,X
30A2  8C 00 FE     ...   STY &FE00
30A5  8D 01 FE     ...   STA &FE01
30A8  CA           .     DEX
30A9  88           .     DEY
30AA  10 F3        ..    BPL &309F
30AC  BD CF 30     ..0   LDA &30CF,X
30AF  AA           .     TAX
30B0  A0 00        ..    LDY #&00
30B2  A9 9A        ..    LDA #&9A
30B4  20 F4 FF      ..   JSR osbyte              ; Write to video ULA control register
.InitVideoULA1
30B7  A0 10        ..    LDY #&10
.
30B9  B9 2F 23     ./#   LDA &232F,Y
30BC  8D 21 FE     .!.   STA &FE21               ; Video ULA Palette register
30BF  88           .     DEY
30C0  D0 F7        ..    BNE &30B9
30C2  60           `     RTS

.InitVideoULA2
30C3  A0 10        ..    LDY #&10
.
30C5  B9 3F 23     .?#   LDA &233F,Y
30C8  8D 21 FE     .!.   STA &FE21               ; Video ULA Palette register
30CB  88           .     DEY
30CC  D0 F7        ..    BNE &30C5
30CE  60           `     RTS

.
30CF  14           .     EQUB &14                ; Video ULA control register (MODE 2 without cursor)
30D0  7F                EQUB &7F                ; 6845 Register 0 (Horizontal total)
30D1  40           @     EQUB &40                ; 6845 Register 1 (Characters per line)
30D2  5B           [     EQUB &5B                ; 6845 Register 2 (Horizontal sync position)
30D3  28           (     EQUB &28                ; 6845 Register 3 (Sync pulse widths)
30D4  26           &     EQUB &26                ; 6845 Register 4 (Vertical total)
30D5  00           .     EQUB &00                ; 6845 Register 5 (Vertical total adjust)
30D6  14           .     EQUB &14                ; 6845 Register 6 (Vertical displayed register)
30D7  1D           .     EQUB &1D                ; 6845 Register 7 (Vertical sync position)
30D8  00           .     EQUB &00                ; 6845 Register 8 (Non-interlaced mode, No display blanking delay, No cursor blanking delay)
30D9  07           .     EQUB &07                ; 6845 Register 9 (Scan lines per character)

.
30DA  88           .     EQUB &88                ; Video ULA control register (MODE 4 or MODE 6)
30DB  3F           ?     EQUB &3F                ; 6845 Register 0 (Horizontal total)
30DC  28           (     EQUB &28                ; 6845 Register 1 (Characters per line)
30DD  31           1     EQUB &31                ; 6845 Register 2 (Horizontal sync position)
30DE  24           $     EQUB &24                ; 6845 Register 3 (Sync pulse widths)
30DF  26           &     EQUB &26                ; 6845 Register 4 (Vertical total)
30E0  00           .     EQUB &00                ; 6845 Register 5 (Vertical total adjust)
30E1  19           .     EQUB &19                ; 6845 Register 6 (Vertical displayed register)
30E2  20                 EQUB &20                ; 6845 Register 7 (Vertical sync position)
30E3  00           .     EQUB &00                ; 6845 Register 8 (Non-interlaced mode, No display blanking delay, No cursor blanking delay)
30E4  07           .     EQUB &07                ; 6845 Register 9 (Scan lines per character)

; -----------------------------------------------------------------------------
; Make a short beep
; -----------------------------------------------------------------------------
.beep
30E5  A9 0C        ..    LDA #&0C
30E7  4C CB FF     L..   JMP nvwrch              ; Make a short beep (BEL)

; -----------------------------------------------------------------------------
; Clear screen
; -----------------------------------------------------------------------------
.cls
30EA  A2 0F        ..    LDX #&0F
.cls0
30EC  BD EE 1C     ...   LDA UnencodedData+&00CE,X
30EF  09 01        ..    ORA #&01
30F1  9D EE 1C     ...   STA UnencodedData+&00CE,X
30F4  CA           .     DEX
30F5  10 F5        ..    BPL &30EC
30F7  A9 58        .X    LDA #&5800 DIV 256
30F9  85 1C        ..    STA &1C
30FB  A9 00        ..    LDA #&5800 MOD 256
30FD  85 1B        ..    STA &1B
30FF  A8           .     TAY
.cls1
3100  91 1B        ..    STA (&1B),Y
3102  C8           .     INY
3103  D0 FB        ..    BNE &3100
3105  E6 1C        ..    INC &1C
3107  10 F7        ..    BPL &3100
3109  4C B7 30     L.0   JMP &30B7               ; Redefine palette

; -----------------------------------------------------------------------------
; Custom WRCH (Write character) routine
; -----------------------------------------------------------------------------
.NewWRCHV
310C  85 0B        ..    STA &0B
310E  48           H     PHA
310F  8A           .     TXA
3110  48           H     PHA
3111  98           .     TYA
3112  48           H     PHA
3113  A5 0B        ..    LDA &0B
3115  2C 51 34     ,Q4   BIT StatusByte1
3118  30 06        0.    BMI NewWRCHV0
311A  20 48 31      H1   JSR &3148
311D  4C 42 31     LB1   JMP NewWRCHV4
.NewWRCHV0
3120  C9 0D        ..    CMP #&0D
3122  F0 16        ..    BEQ NewWRCHV3
3124  C9 07        ..    CMP #&07
3126  F0 0C        ..    BEQ NewWRCHV2
3128  C9 15        ..    CMP #&15
312A  F0 08        ..    BEQ NewWRCHV2
312C  C9 20        .     CMP #&20
312E  90 12        ..    BCC NewWRCHV4
.NewWRCHV1
3130  C9 00        ..    CMP #&00
3132  30 0E        0.    BMI NewWRCHV4
.NewWRCHV2
3134  20 48 31      H1   JSR &3148
3137  4C 42 31     LB1   JMP NewWRCHV4
.NewWRCHV3
313A  20 48 31      H1   JSR &3148
313D  A9 0A        ..    LDA #&0A
313F  20 48 31      H1   JSR &3148
.NewWRCHV4
3142  68           h     PLA
3143  A8           .     TAY
3144  68           h     PLA
3145  AA           .     TAX
3146  68           h     PLA
3147  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
3148  2C FA 2F     ,./   BIT StatusByte2
314B  30 03        0.    BMI &3150
314D  4C CB FF     L..   JMP nvwrch
.
3150  2C 51 34     ,Q4   BIT StatusByte1
3153  10 18        ..    BPL &316D
3155  48           H     PHA
3156  A9 7F        .    LDA #&7F
3158  20 01 32      .2   JSR &3201
315B  68           h     PLA
315C  20 01 32      .2   JSR &3201
315F  C9 0D        ..    CMP #&0D
3161  D0 04        ..    BNE &3167
3163  4E 51 34     NQ4   LSR StatusByte1
3166  60           `     RTS
.
3167  48           H     PHA
3168  20 70 31      p1   JSR &3170
316B  68           h     PLA
316C  60           `     RTS
.
316D  4C 01 32     L.2   JMP &3201

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
3170  A5 86        ..    LDA &86
3172  48           H     PHA
3173  A9 6A        .j    LDA #&6A
3175  85 86        ..    STA &86
3177  A9 5F        ._    LDA #&5F
3179  20 01 32      .2   JSR &3201
317C  68           h     PLA
317D  85 86        ..    STA &86
317F  60           `     RTS

; -----------------------------------------------------------------------------
; Decode save game data
; -----------------------------------------------------------------------------
.decodesavegame
3180  A9 82        ..    LDA #&82
3182  85 1B        ..    STA &1B
3184  A9 FC        ..    LDA #&FC
3186  85 1C        ..    STA &1C
3188  A9 04        ..    LDA #&0400 DIV 256
318A  8D A4 31     ..1   STA decode1+2
318D  A9 1C        ..    LDA #UnencodedData DIV 256
318F  8D A7 31     ..1   STA decode1+5
3192  38           8     SEC
3193  F8           .     SED
3194  A0 00        ..    LDY #&00
3196  A9 6E        .n    LDA #&6E
3198  85 0B        ..    STA &0B
319A  A9 92        ..    LDA #&92
.decode0
319C  65 0B        e.    ADC &0B
319E  69 15        i.    ADC #&15
31A0  85 0B        ..    STA &0B
.decode1
31A2  59 00 04     Y..   EOR &0400,Y
31A5  99 20 1C     . .   STA UnencodedData,Y
31A8  45 0B        E.    EOR &0B
31AA  C8           .     INY
31AB  D0 06        ..    BNE &31B3
31AD  EE A4 31     ..1   INC &31A4
31B0  EE A7 31     ..1   INC &31A7
.decode2
31B3  E6 1B        ..    INC &1B
31B5  D0 E5        ..    BNE decode0
31B7  E6 1C        ..    INC &1C
31B9  D0 E1        ..    BNE decode0
31BB  D8           .     CLD
31BC  AD 4F 1C     .O.   LDA UnencodedData+&002F
31BF  C9 99        ..    CMP #&99
31C1  D0 2D        .-    BNE &31F0                ; File is not an Exile save game file
31C3  AD 54 1C     .T.   LDA UnencodedData+&0034
31C6  C9 3C        .<    CMP #&3C
31C8  D0 26        .&    BNE &31F0                ; File is not an Exile save game file
31CA  A2 A6        ..    LDX #&A6
31CC  A0 FC        ..    LDY #&FC
31CE  A9 20        .     LDA #UnencodedData MOD 256
31D0  8D DB 31     ..1   STA &31DB
31D3  A9 1C        ..    LDA #UnencodedData DIV 256
31D5  8D DC 31     ..1   STA &31DC
31D8  A9 DC        ..    LDA #&DC
.decode3
31DA  4D 20 1C     M .   EOR UnencodedData
31DD  EE DB 31     ..1   INC &31DB
31E0  D0 03        ..    BNE decode4
31E2  EE DC 31     ..1   INC &31DC
.decode4
31E5  E8           .     INX
31E6  D0 F2        ..    BNE decode3
31E8  C8           .     INY
31E9  D0 EF        ..    BNE decode3
31EB  CD 7A 1F     .z.   CMP UnencodedData+&035A
31EE  F0 06        ..    BEQ &31F6
.decode5
31F0  20 ED 33      .3   JSR &33ED               ; Replace encoded save game data with encoded data for default position
31F3  4C 80 31     L.1   JMP decodesavegame      ; Decode save game data
.decode6
31F6  AD 1F 35     ..5   LDA DatafileStatus
31F9  D0 03        ..    BNE &31FE
31FB  8D DD 1C     ...   STA &1CDD
.
31FE  60           `     RTS

.wrchvtemp
31FF  00           .     BRK
3200  00           .     BRK

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
3201  48           H     PHA
3202  8D 00 32     ..2   STA wrchvtemp+1
3205  98           .     TYA
3206  48           H     PHA
3207  8A           .     TXA
3208  48           H     PHA
3209  AD FF 31     ..1   LDA wrchvtemp
320C  C9 11        ..    CMP #&11
320E  D0 0D        ..    BNE &321D
3210  AD 00 32     ..2   LDA wrchvtemp+1
3213  85 86        ..    STA &86
3215  A9 00        ..    LDA #&00
3217  8D FF 31     ..1   STA wrchvtemp
321A  4C C6 32     L.2   JMP &32C6
.
321D  AD 00 32     ..2   LDA wrchvtemp+1
3220  C9 20        .     CMP #&20
3222  B0 42        .B    BCS &3266
3224  C9 0D        ..    CMP #&0D
3226  D0 0B        ..    BNE &3233
3228  A9 00        ..    LDA #&00
322A  85 82        ..    STA &82
322C  A9 80        ..    LDA #&80
322E  85 83        ..    STA &83
3230  4C C6 32     L.2   JMP &32C6
.
3233  C9 0A        ..    CMP #&0A
3235  D0 25        .%    BNE &325C
3237  18           .     CLC
3238  A5 84        ..    LDA &84
323A  69 50        iP    ADC #&50
323C  85 84        ..    STA &84
323E  A5 85        ..    LDA &85
3240  69 00        i.    ADC #&00
3242  85 85        ..    STA &85
3244  C9 85        ..    CMP #&85
3246  90 11        ..    BCC &3259
.
3248  A2 FF        ..    LDX #&FF                ; Scan code for SHIFT (CTRL in BeebEm???)
324A  20 9F 33      .3   JSR &339F               ; Perform keyboard scan
324D  10 07        ..    BPL &3256
324F  A2 FE        ..    LDX #&FE                ; Scan code for CTRL (SHIFT in BeebEm???)
3251  20 9F 33      .3   JSR &339F               ; Perform keyboard scan
3254  30 F2        0.    BMI &3248
.
3256  20 52 30      R0   JSR initialize          ; Initialize
.
3259  4C C6 32     L.2   JMP &32C6
.
325C  C9 11        ..    CMP #&11
325E  D0 03        ..    BNE &3263
3260  8D FF 31     ..1   STA wrchvtemp
.
3263  4C C6 32     L.2   JMP &32C6
.
3266  C9 7F        .    CMP #&7F
3268  F0 21        .!    BEQ &328B
326A  18           .     CLC
326B  69 5D        i]    ADC #&5D
326D  48           H     PHA
326E  AC 5E 33     .^3   LDY wrchvlist
3271  99 5F 33     ._3   STA wrchvlist+&01,Y
3274  A5 86        ..    LDA &86
3276  99 7F 33     .3   STA wrchvlist+&21,Y
3279  C8           .     INY
327A  98           .     TYA
327B  29 1F        ).    AND #&1F
327D  8D 5E 33     .^3   STA &335E
3280  A5 86        ..    LDA &86
3282  85 5A        .Z    STA &5A
3284  68           h     PLA
3285  20 DE 32      .2   JSR showitem
3288  4C C6 32     L.2   JMP &32C6
.
328B  AC 5E 33     .^3   LDY &335E
328E  88           .     DEY
328F  98           .     TYA
3290  29 1F        ).    AND #&1F
3292  A8           .     TAY
3293  8D 5E 33     .^3   STA &335E
3296  BE 5F 33     ._3   LDX &335F,Y
3299  18           .     CLC
329A  BD 00 54     ..T   LDA DataList4,X
329D  29 F0        ).    AND #&F0
329F  69 20        i     ADC #&20
32A1  85 0B        ..    STA &0B
32A3  38           8     SEC
32A4  A5 82        ..    LDA &82
32A6  E5 0B        ..    SBC &0B
32A8  85 82        ..    STA &82
32AA  48           H     PHA
32AB  A5 83        ..    LDA &83
32AD  E9 00        ..    SBC #&00
32AF  85 83        ..    STA &83
32B1  48           H     PHA
32B2  B9 7F 33     .3   LDA &337F,Y
32B5  85 5A        .Z    STA &5A
32B7  B9 5F 33     ._3   LDA &335F,Y
32BA  20 DE 32      .2   JSR showitem
32BD  68           h     PLA
32BE  85 83        ..    STA &83
32C0  68           h     PLA
32C1  85 82        ..    STA &82
32C3  4C C6 32     L.2   JMP &32C6
.
32C6  68           h     PLA
32C7  AA           .     TAX
32C8  68           h     PLA
32C9  A8           .     TAY
32CA  68           h     PLA
32CB  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.movedata
32CC  A5 82        ..    LDA &82
32CE  85 36        .6    STA &36
32D0  A5 83        ..    LDA &83
32D2  85 3A        .:    STA &3A
32D4  A5 84        ..    LDA &84
32D6  85 38        .8    STA &38
32D8  A5 85        ..    LDA &85
32DA  85 3C        .<    STA &3C
32DC  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.StatusByte3
32DD  FF           .     EQUB &FF

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.showitem
32DE  85 5C        .\    STA &5C
32E0  2C DD 32     ,.2   BIT StatusByte3
32E3  10 5C        .\    BPL &3341
32E5  20 CC 32      .2   JSR &32CC               ; MoveData
32E8  A2 00        ..    LDX #&00
32EA  A5 5C        .\    LDA &5C
32EC  38           8     SEC
32ED  E9 BE        ..    SBC #&BE
32EF  C9 1A        ..    CMP #&1A
32F1  B0 02        ..    BCS &32F5
32F3  A2 08        ..    LDX #&08
.showitem0
32F5  86 0B        ..    STX &0B
32F7  A9 80        ..    LDA #&80
32F9  85 7F        .    STA &7F
32FB  A9 80        ..    LDA #&80
32FD  85 81        ..    STA &81
32FF  A9 00        ..    LDA #&00
3301  85 7E        .~    STA &7E
3303  85 80        ..    STA &80
3305  A2 0F        ..    LDX #&0F
3307  A9 00        ..    LDA #&00
.showitem1
3309  9D DC 1C     ...   STA UnencodedData+&00BC,X
330C  CA           .     DEX
330D  10 FA        ..    BPL &3309
330F  A5 3A        .:    LDA &3A
3311  8D B9 1C     ...   STA UnencodedData+&0099
3314  A5 36        .6    LDA &36
3316  8D A8 1C     ...   STA UnencodedData+&0088
3319  18           .     CLC
331A  A5 38        .8    LDA &38
331C  65 0B        e.    ADC &0B
331E  8D CB 1C     ...   STA UnencodedData+&00AB
3321  A5 3C        .<    LDA &3C
3323  69 00        i.    ADC #&00
3325  8D DC 1C     ...   STA UnencodedData+&00BC
3328  A5 5A        .Z    LDA &5A
332A  8D FE 1C     ...   STA UnencodedData+&00DE
332D  A9 01        ..    LDA #&01
332F  8D EE 1C     ...   STA UnencodedData+&00CE
3332  A9 49        .I    LDA #&49
3334  8D 88 1C     ...   STA UnencodedData+&0068
3337  A5 5C        .\    LDA &5C
3339  8D 98 1C     ...   STA UnencodedData+&0078
333C  48           H     PHA
333D  20 45 26      E&   JSR Sprite
3340  68           h     PLA
.showitem2
3341  AA           .     TAX
3342  38           8     SEC
3343  E9 7D        .}    SBC #&7D
3345  C9 5F        ._    CMP #&5F
3347  A9 10        ..    LDA #&10
3349  B0 02        ..    BCS &334D
334B  A9 20        .     LDA #&20
.showitem3
334D  18           .     CLC
334E  7D 00 54     }.T   ADC DataList4,X
3351  29 F0        ).    AND #&F0
3353  65 82        e.    ADC &82
3355  85 82        ..    STA &82
3357  A5 83        ..    LDA &83
3359  69 00        i.    ADC #&00
335B  85 83        ..    STA &83
335D  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.wrchvlist
335E  00           .     BRK
.
335F  2E 2E 2E     ...   ROL &2E2E
3362  2E 2E 2E     ...   ROL &2E2E
3365  2E 2E 2E     ...   ROL &2E2E
3368  2E 2E 2E     ...   ROL &2E2E
336B  2E 2E 2E     ...   ROL &2E2E
336E  2E 2E 2E     ...   ROL &2E2E
3371  2E 2E 2E     ...   ROL &2E2E
3374  2E 2E 2E     ...   ROL &2E2E
3377  2E 2E 2E     ...   ROL &2E2E
337A  2E 2E 2E     ...   ROL &2E2E
337D  2E 2E        ..
.
337F  2E 2E 2E     ...   ROL &2E2E
3382  2E 2E 2E     ...   ROL &2E2E
3385  2E 2E 2E     ...   ROL &2E2E
3388  2E 2E 2E     ...   ROL &2E2E
338B  2E 2E 2E     ...   ROL &2E2E
338E  2E 2E 2E     ...   ROL &2E2E
3381  2E 2E 2E     ...   ROL &2E2E
3394  2E 2E 2E     ...   ROL &2E2E
3397  2E 2E 2E     ...   ROL &2E2E
339A  2E 2E 2E     ...   ROL &2E2E
339D  2E 2E        ..

; -----------------------------------------------------------------------------
; Perform keyboard scan
; -----------------------------------------------------------------------------
.
339F  A0 FF        ..    LDY #&FF
33A1  A9 81        ..    LDA #&81                ; Read key with time limit (INKEY)
33A3  20 F4 FF      ..   JSR osbyte
33A6  E0 00        ..    CPX #&00
33A8  60           `     RTS

; -----------------------------------------------------------------------------
; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
; -----------------------------------------------------------------------------
.Seperate1
33A9  85 82        ..    STA &82
33AB  A9 00        ..    LDA #&00
33AD  85 83        ..    STA &83
33AF  06 82        ..    ASL &82
33B1  26 83        &.    ROL &83
33B3  06 82        ..    ASL &82
33B5  26 83        &.    ROL &83
33B7  06 82        ..    ASL &82
33B9  26 83        &.    ROL &83
33BB  06 82        ..    ASL &82
33BD  26 83        &.    ROL &83
33BF  A9 80        ..    LDA #&80
33C1  18           .     CLC
33C2  65 83        e.    ADC &83
33C4  85 83        ..    STA &83
33C6  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.Seperate2
33C7  85 84        ..    STA &84
33C9  A9 00        ..    LDA #&00
33CB  85 85        ..    STA &85
33CD  06 84        ..    ASL &84
33CF  26 85        &.    ROL &85
33D1  06 84        ..    ASL &84
33D3  26 85        &.    ROL &85
33D5  06 84        ..    ASL &84
33D7  26 85        &.    ROL &85
33D9  A9 80        ..    LDA #&80
33DB  18           .     CLC
33DC  65 85        e.    ADC &85
33DE  85 85        ..    STA &85
33E0  60           `     RTS

; -----------------------------------------------------------------------------
; F7 Default position
; -----------------------------------------------------------------------------
.
33E1  20 52 30      R0   JSR initialize          ; Initialize
33E4  20 ED 33      .3   JSR &33ED               ; Replace encoded save game data with encoded data for default position
33E7  20 ED 28      .(   JSR &28ED
33EA  4C 5F 39     L_9   JMP &395F               ; Return to the main loop

; -----------------------------------------------------------------------------
; Replace encoded save game data with encoded data for default position
; -----------------------------------------------------------------------------
.
33ED  A9 2C        .,    LDA #DefaultSaveGameData MOD 256
33EF  85 1B        ..    STA &1B
33F1  A9 3D        .=    LDA #DefaultSaveGameData DIV 256
33F3  85 1C        ..    STA &1C
33F5  A9 04        ..    LDA #&0400 DIV 256
33F7  8D 02 34     ..4   STA &3402
33FA  A2 04        ..    LDX #&04
.
33FC  A0 00        ..    LDY #&00
.
33FE  B1 1B        ..    LDA (&1B),Y
3400  99 00 04     ...   STA &0400,Y
3403  88           .     DEY
3404  D0 F8        ..    BNE &33FE
3406  E6 1C        ..    INC &1C
3408  EE 02 34     ..4   INC &3402
340B  CA           .     DEX
340C  D0 EE        ..    BNE &33FC
340E  A9 00        ..    LDA #&00
3410  8D 1F 35     ..5   STA DatafileStatus
3413  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
3414  A9 04        ..    LDA #&04
3416  A2 00        ..    LDX #&00
3418  A0 00        ..    LDY #&00
341A  20 F4 FF      ..   JSR osbyte              ; Enable cursor editing
341D  2C FA 2F     ,./   BIT StatusByte2
3420  10 0C        ..    BPL &342E
3422  20 70 31      p1   JSR &3170
3425  A9 04        ..    LDA #&04
3427  A2 01        ..    LDX #&01
3429  A0 00        ..    LDY #&00
342B  20 F4 FF      ..   JSR osbyte              ; Disable cursor editing (cursor keys will return keycodes &87-&8B)
.
342E  A9 FF        ..    LDA #&FF
3430  8D 51 34     .Q4   STA StatusByte1
3433  A5 86        ..    LDA &86
3435  48           H     PHA
3436  A9 77        .w    LDA #&77
3438  85 86        ..    STA &86
343A  A2 52        .R    LDX #&3452 MOD 256
343C  A0 34        .4    LDY #&3452 DIV 256
343E  A9 00        ..    LDA #&00
3440  20 F1 FF      ..   JSR osword              ; Read line from input stream (parameter block at &3452)
3443  68           h     PLA
3444  85 86        ..    STA &86
3446  A9 00        ..    LDA #&00
3448  8D 51 34     .Q4   STA StatusByte1
344B  90 03        ..    BCC &3450
344D  4C D0 34     L.4   JMP &34D0               ; Generate an ESCAPE error message
.
3450  60           `     RTS

; -----------------------------------------------------------------------------
; &00: Normal operation, &FF: An OSWORD &00 call is being performed
; -----------------------------------------------------------------------------
.StatusByte1
3451  00           .     BRK

; -----------------------------------------------------------------------------
; OSWORD &00 parameter block
; -----------------------------------------------------------------------------
.
3452  5A 34        Z4    EQUW &345A              ; Pointer to buffer for input 
3454  0E           .     EQUB &0E                ; Maximum line length = 14 characters
3455  20                 EQUB &20                ; Minimum acceptable ASCII value is 32
3456  7F                EQUB &7F                ; Maximum acceptable ASCII value is 127

; -----------------------------------------------------------------------------
; Filename buffer, used by OSFILE calls
; -----------------------------------------------------------------------------
.
3457  3A 30 2E     :0.   EQUS ":0."
345A  0D 0D 0D     ...   ORA &0D0D
345D  0D 0D 0D     ...   ORA &0D0D
3460  0D 0D 0D     ...   ORA &0D0D
3463  0D 0D 0D     ...   ORA &0D0D
3466  0D 0D 0D     ...   ORA &0D0D

; -----------------------------------------------------------------------------
; Read one character from keyboard
; -----------------------------------------------------------------------------
.readcharacter
3469  20 E0 FF      ..   JSR osrdch
346C  90 07        ..    BCC readcharacter1
346E  C9 1B        ..    CMP #&1B
3470  D0 03        ..    BNE readcharacter1
3472  4C D0 34     L.4   JMP &34D0               ; Generate an ESCAPE error message
.readcharacter1
3475  18           .     CLC
3476  60           `     RTS

; -----------------------------------------------------------------------------
; Set the return address for the BRKV handler when BRK was executed
; -----------------------------------------------------------------------------
.setbrkreturnaddr
3477  8E CC 34     ..4   STX &34CC
347A  8C CD 34     ..4   STY &34CD
347D  60           `     RTS

; -----------------------------------------------------------------------------
; Set the return address for the BRKV handler when ESCAPE was hit
; -----------------------------------------------------------------------------
.setescreturnaddr
347E  8E CE 34     ..4   STX &34CE
3481  8C CF 34     ..4   STY &34CF
3484  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
3485  20 52 30      R0   JSR initialize          ; Initialize
.
3488  A2 54        .T    LDX #&3954 MOD 256      ; &3954: Wait for CR or SPACE and return to the main loop
348A  A0 39        .9    LDY #&3954 DIV 256
348C  20 77 34      w4   JSR setbrkreturnaddr    ; Set the return address for the BRKV handler when BRK was executed
348F  A2 5F        ._    LDX #&395F MOD 256      ; &395F: Main loop
3491  A0 39        .9    LDY #&395F DIV 256
3493  4C 7E 34     L~4   JMP setescreturnaddr    ; Set the return address for the BRKV handler when ESCAPE was hit

; -----------------------------------------------------------------------------
; Subroutine is never used???
; -----------------------------------------------------------------------------
.
3496  A2 F6        ..    LDX #&2CF6 MOD 256
3498  A0 2C        .,    LDY #&2CF6 DIV 256
349A  20 77 34      w4   JSR setbrkreturnaddr    ; Set the return address for the BRKV handler when BRK was executed
349D  4C 7E 34     L~4   JMP setescreturnaddr    ; Set the return address for the BRKV handler when ESCAPE was hit

; -----------------------------------------------------------------------------
; Custom "BRK handler" routine
; -----------------------------------------------------------------------------
.brkhandler
34A0  20 20 35       5   JSR setnewwrchv         ; Set WRCHV to new "Write character" routine
34A3  A9 71        .q    LDA #&71
34A5  85 86        ..    STA &86
34A7  4E 51 34     NQ4   LSR StatusByte1
34AA  A9 0F        ..    LDA #&0F
34AC  A2 00        ..    LDX #&00
34AE  A0 00        ..    LDY #&00
34B0  20 F4 FF      ..   JSR osbyte              ; Flush all buffers
34B3  A5 FF        ..    LDA &FF                 ; Check the ESCAPE flag
34B5  48           H     PHA
34B6  10 08        ..    BPL &34C0               ; Jump if ESCAPE flag is not set
34B8  A9 7C        .|    LDA #&7C
34BA  20 F4 FF      ..   JSR osbyte              ; Clear ESCAPE condition
34BD  4C C3 34     L.4   JMP &34C3
.
34C0  20 DE 34      .4   JSR &34DE
.
34C3  68           h     PLA
34C4  30 03        0.    BMI &34C9               ; Jump if escape flag is set
34C6  6C CC 34     l.4   JMP (&34CC)
.
34C9  6C CE 34     l.4   JMP (&34CE)

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.brkreturnaddr
34CC  5F 39        _9    EQUW mainloop           ; Return address from the BRKV handler when BRK was executed
.escreturnaddr
34CE  5F 39        _9    EQUW mainloop           ; Return address from the BRKV handler when ESCAPE was hit

; -----------------------------------------------------------------------------
; Generate an ESCAPE error message
; -----------------------------------------------------------------------------
.
34D0  A9 7D        .}    LDA #&7D
34D2  20 F4 FF      ..   JSR osbyte              ; Set ESCAPE condition
34D5  00           .     BRK
34D6  00           .     BRK                     ; Error code
34D7  45 73 63 61  Esca  EQUS "Escape"           ; Error message
      70 65        pe
34DD  00           .     EQUB &00                ; Error message terminator

; -----------------------------------------------------------------------------
; BRK-instruction handler
; -----------------------------------------------------------------------------
.
34DE  20 F0 34      .4   JSR &34F0               ; Print LF+CR
34E1  A0 01        ..    LDY #&01
.
34E3  B1 FD        ..    LDA (&FD),Y             ; Pointer to the byte after the last BRK instruction
34E5  F0 06        ..    BEQ &34ED
34E7  20 EE FF      ..   JSR oswrch
34EA  C8           .     INY
34EB  D0 F6        ..    BNE &34E3
.
34ED  4C F0 34     L.4   JMP &34F0               ; Print LF+CR

; -----------------------------------------------------------------------------
; Print LF+CR
; -----------------------------------------------------------------------------
.
34F0  A9 0A        ..    LDA #&0A
34F2  20 EE FF      ..   JSR oswrch
34F5  A9 0D        ..    LDA #&0D
34F7  4C EE FF     L..   JMP oswrch

; -----------------------------------------------------------------------------
; Print message stored in XY
; -----------------------------------------------------------------------------
.
34FA  86 1D        ..    STX &1D
34FC  84 1E        ..    STY &1E
34FE  A0 00        ..    LDY #&00
.
3500  B1 1D        ..    LDA (&1D),Y
3502  F0 06        ..    BEQ &350A
3504  20 EE FF      ..   JSR oswrch
3507  C8           .     INY
3508  D0 F6        ..    BNE &3500
.
350A  60           `     RTS

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
350B  A9 00        ..    LDA #&00
350D  85 82        ..    STA &82
350F  85 83        ..    STA &83
.
3511  A9 00        ..    LDA #&00
3513  8D DD 32     ..2   STA StatusByte3
3516  20 FA 34      .4   JSR &34FA
3519  A9 FF        ..    LDA #&FF
351B  8D DD 32     ..2   STA StatusByte3
351E  60           `     RTS

; -----------------------------------------------------------------------------
; Datafile status (&00 "Default", &01 "Unsaved", &02 File has been loaded, &03 File has been saved)
; -----------------------------------------------------------------------------
.DatafileStatus
351F  00           .     BRK

; -----------------------------------------------------------------------------
; Set WRCHV to custom "Write character" routine
; -----------------------------------------------------------------------------
.setnewwrchv
3520  A9 0C        ..    LDA #&310C MOD 256
3522  8D 0E 02     ...   STA &020E
3525  A9 31        .1    LDA #&310C DIV 256
3527  8D 0F 02     ...   STA &020F
352A  60           `     RTS

.
352B  00 00        ..    EQUW &0000
.
352D  00 00        ..    EQUW &0000

; -----------------------------------------------------------------------------
; Entry point
; -----------------------------------------------------------------------------
.start
352F  A9 A0        ..    LDA #&34A0 MOD 256      ; Set BRKV to custom "BRK handler" routine
3531  8D 02 02     ...   STA &0202
3534  A9 34        .4    LDA #&34A0 DIV 256
3536  8D 03 02     ...   STA &0203
3539  A9 C8        ..    LDA #&C8
353B  A2 02        ..    LDX #&02                ; Memory cleared on BREAK, normal ESCAPE action
353D  A0 00        ..    LDY #&00
353F  20 F4 FF      ..   JSR osbyte              ; Set new ESCAPE and BREAK effect
3542  20 20 35       5   JSR setnewwrchv         ; Set WRCHV to new "Write character" routine
3545  20 AD 2A      .*   JSR &2AAD
3548  A9 16        ..    LDA #&16                ; Select new screen mode
354A  20 CB FF      ..   JSR nvwrch
354D  A9 06        ..    LDA #&06                ; MODE 6
354F  20 CB FF      ..   JSR nvwrch
3552  20 52 30      R0   JSR initialize          ; Initialize
3555  20 ED 28      .(   JSR &28ED
3558  4C 5F 39     L_9   JMP &395F               ; Return to the main loop

; -----------------------------------------------------------------------------
; F2 See position
; -----------------------------------------------------------------------------
.
355B  20 52 30      R0   JSR initialize          ; Initialize
355E  20 80 31      .1   JSR decodesavegame      ; Decode save game data
3561  AD B9 1C     ...   LDA UnencodedData+&0099 ; Current X position
3564  8D 56 3B     .V;   STA &3B56
3567  AD DC 1C     ...   LDA UnencodedData+&00BC ; Current Y position
356A  8D 57 3B     .W;   STA &3B57
356D  AD 4A 1C     .J.   LDA UnencodedData+&002A
3570  8D 63 2C     .c,   STA &2C63
3573  AD 49 1C     .I.   LDA UnencodedData+&0029
3576  8D 64 2C     .d,   STA &2C64
3579  A2 FF        ..    LDX #&FF
357B  9A           .     TXS
357C  A2 5F        ._    LDX #&395F MOD 256
357E  A0 39        .9    LDY #&395F DIV 256
3580  20 77 34      w4   JSR setbrkreturnaddr    ; Set the return address for the BRKV handler when BRK was executed
3583  20 7E 34      ~4   JSR setescreturnaddr    ; Set the return address for the BRKV handler when ESCAPE was hit
3586  20 80 31      .1   JSR decodesavegame      ; Decode save game data
3589  20 EA 30      .0   JSR &30EA               ; Clear screen
.
358C  AD 56 3B     .V;   LDA &3B56
358F  85 18        ..    STA &18                 ; X-position
3591  AD 57 3B     .W;   LDA &3B57
3594  85 1A        ..    STA &1A                 ; Y-position
3596  20 52 23      R#   JSR &2352
3599  20 BE 1F      ..   JSR &1FBE
359C  20 45 26      E&   JSR Sprite
.
359F  20 69 34      i4   JSR &3469               ; Read one character from keyboard
35A2  B0 FB        ..    BCS &359F
35A4  C9 20        .     CMP #&20                ; Was SPACE pressed?
35A6  D0 03        ..    BNE &35AB
35A8  4C 5F 39     L_9   JMP &395F               ; Return to the main loop
.
35AB  09 20        .     ORA #&20                ; Make character lower case
35AD  C9 74        .t    CMP #ASC"t"
35AF  D0 EE        ..    BNE &359F
35B1  20 80 31      .1   JSR decodesavegame      ; Decode save game data
35B4  20 EA 30      .0   JSR &30EA               ; Clear screen
35B7  20 25 2C      %,   JSR &2C25
35BA  AD B9 1C     ...   LDA UnencodedData+&0099
35BD  8D 56 3B     .V;   STA &3B56
35C0  AD DC 1C     ...   LDA UnencodedData+&00BC
35C3  8D 57 3B     .W;   STA &3B57
35C6  4C 8C 35     L.5   JMP &358C

; -----------------------------------------------------------------------------
; F6 Score Breakdown
; -----------------------------------------------------------------------------
.
35C9  A2 54        .T    LDX #&3954 MOD 256
35CB  A0 39        .9    LDY #&3954 DIV 256
35CD  20 77 34      w4   JSR storejmp1           ; Set the return address for the BRKV handler when BRK was executed
35D0  A2 5F        ._    LDX #&395F MOD 256
35D2  A0 39        .9    LDY #&395F DIV 256
35D4  20 7E 34      ~4   JSR setescreturnaddr    ; Set the return address for the BRKV handler when ESCAPE was hit
35D7  20 52 30      R0   JSR initialize          ; Initialize
35DA  20 42 3A      B:   JSR header              ; Print Exile header
35DD  A9 1C        ..    LDA #&1C
35DF  20 C7 33      .3   JSR Seperate2
35E2  A9 0F        ..    LDA #&0F
35E4  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
35E7  A2 67        .g    LDX #&3667 MOD 256
35E9  A0 36        .6    LDY #&3667 DIV 256
35EB  20 FA 34      .4   JSR &34FA               ; Print "Score Breakdown:"
35EE  A9 32        .2    LDA #&32
35F0  8D BF 38     ..8   STA SBuffer
35F3  A9 00        ..    LDA #&00
35F5  8D C0 38     ..8   STA SBuffer+1
.
35F8  AD BF 38     ..8   LDA SBuffer
35FB  20 C7 33      .3   JSR Seperate2
35FE  AD C0 38     ..8   LDA SBuffer+1
3601  0A           .     ASL A
3602  A8           .     TAY
3603  B9 7A 36     .z6   LDA &367A,Y
3606  48           H     PHA
3607  AA           .     TAX
3608  B9 7B 36     .{6   LDA &367B,Y
360B  48           H     PHA
360C  A8           .     TAY
360D  20 0B 35      .5   JSR &350B
3610  A9 CE        ..    LDA #&CE
3612  E5 82        ..    SBC &82
3614  85 82        ..    STA &82
3616  A9 83        ..    LDA #&83
3618  E5 83        ..    SBC &83
361A  85 83        ..    STA &83
361C  68           h     PLA
361D  A8           .     TAY
361E  68           h     PLA
361F  AA           .     TAX
3620  20 FA 34      .4   JSR &34FA               ; Print message stored in XY
3623  A9 00        ..    LDA #&00
3625  85 82        ..    STA &82
3627  85 83        ..    STA &83
3629  AD C0 38     ..8   LDA SBuffer+1
362C  0A           .     ASL A
362D  0A           .     ASL A
362E  AA           .     TAX
362F  A0 FC        ..    LDY #&FC
.
3631  BD C8 28     ..(   LDA &28C8,X
3634  99 62 FF     .b.   STA &FF62,Y
3637  E8           .     INX
3638  C8           .     INY
3639  D0 F6        ..    BNE &3631
363B  20 79 2E      y.   JSR &2E79               ; Print numbers
363E  A9 C8        ..    LDA #&C8
3640  E5 82        ..    SBC &82
3642  85 82        ..    STA &82
3644  A9 86        ..    LDA #&86
3646  E5 83        ..    SBC &83
3648  85 83        ..    STA &83
364A  A2 B9        ..    LDX #&2EB9 MOD 256
364C  A0 2E        ..    LDY #&2EB9 DIV 256
364E  20 FA 34      .4   JSR &34FA               ; Print "            "
3651  AD BF 38     ..8   LDA SBuffer
3654  18           .     CLC
3655  69 0C        i.    ADC #&0C
3657  8D BF 38     ..8   STA SBuffer
365A  EE C0 38     ..8   INC SBuffer+1
365D  AD C0 38     ..8   LDA SBuffer+1
3660  C9 06        ..    CMP #&06
3662  D0 94        ..    BNE &35F8
3664  4C 54 39     LT9   JMP &3954               ; Wait for CR or SPACE and return to the main loop
.
3667  11 61        .a    ORA (&61),Y
3669  53           S     ...
366A  63           c     ...
366B  6F           o     ...
366C  72           r     ...
366D  65 20        e     ADC &20
366F  42           B     ...
3670  72           r     ...
3671  65 61        ea    ADC &61
3673  6B           k     ...
3674  64           d     ...
3675  6F           o     ...
3676  77           w     ...
3677  6E 3A 00     n:.   ROR &003A

.
367A  86 36        .6    EQUW &3686              ; Kills  +"
367C  91 36        .6    EQUW &3691              ; Kills  -"
367E  9C 36        .6    EQUW &369C              ; Bonuses  +"
3680  A9 36        .6    EQUW &36A9              ; Time  -"
3682  B3 36        .6    EQUW &36B3              ; Deaths  -"
3684  BD 36        .6    EQUW &36BD              ; Total     "

.
3686  11 31        .1    EQUB &11, &31
3688  4B 69 6C 6C  Kill  EQUS "Kills +"
      73 20 20 2B  s  +
3690  00           .     EQUB &00

.
3691  11 1C        ..    ORA (&1C),Y
3693  4B           K     ...
3694  69 6C        il    ADC #&6C
3696  6C 73 20     ls    JMP (&2073)
3699  20 2D 00      -.   JSR &002D

.
369C  11 31        .1    ORA (&31),Y
369E  42           B     ...
369F  6F           o     ...
36A0  6E 75 73     nus   ROR &7375
36A3  65 73        es    ADC &73
36A5  20 20 2B       +   JSR &2B20
36A8  00           .     BRK

.
36A9  11 1C        ..    ORA (&1C),Y
36AB  54           T     ...
36AC  69 6D        im    ADC #&6D
36AE  65 20        e     ADC &20
36B0  20 2D 00      -.   JSR &002D

.
36B3  44           D     ...
36B4  65 61        ea    ADC &61
36B6  74           t     ...
36B7  68           h     PLA
36B8  73           s     ...
36B9  20 20 2D       -   JSR &2D20
36BC  00           .     BRK

.
36BD  0A           .     ASL A
36BE  11 77        .w    ORA (&77),Y
36C0  54           T     ...
36C1  6F           o     ...
36C2  74           t     ...
36C3  61 6C        al    ADC (&6C,X)
36C5  20 20 20           JSR &2020
36C8  20 20 20           JSR &2020
36CB  00           .     BRK

; -----------------------------------------------------------------------------
; F1 Status
; -----------------------------------------------------------------------------
.
36CC  A2 5F        ._    LDX #&395F MOD 256
36CE  A0 39        .9    LDY #&395F DIV 256
36D0  20 77 34      w4   JSR setbrkreturnaddr    ; Set the return address for the BRKV handler when BRK was executed
36D3  20 7E 34      ~4   JSR setescreturnaddr    ; Set the return address for the BRKV handler when ESCAPE was hit
36D6  20 80 31      .1   JSR decodesavegame      ; Decode save game data
36D9  20 52 30      R0   JSR initialize          ; Initialize
36DC  20 42 3A      B:   JSR header              ; Print Exile header
36DF  20 A1 2D      .-   JSR ShowUsedTime
36E2  20 3D 2E      =.   JSR ShowScore
36E5  20 3C 2F      </   JSR ShowCompetitionNumber
36E8  A9 04        ..    LDA #&04
36EA  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
36ED  A9 48        .H    LDA #&48
36EF  20 C7 33      .3   JSR Seperate2
36F2  A2 71        .q    LDX #&3871 MOD 256
36F4  A0 38        .8    LDY #&3871 DIV 256
36F6  20 FA 34      .4   JSR &34FA               ; Print "Fuel"
36F9  A9 1A        ..    LDA #&1A
36FB  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
36FE  A9 45        .E    LDA #&45
3700  8D BF 38     ..8   STA SBuffer
3703  20 C7 33      .3   JSR Seperate2
3706  A9 21        .!    LDA #&21
3708  8D C1 38     ..8   STA SBuffer+2
370B  AD 7C 1C     .|.   LDA UnencodedData+&005C
370E  20 C5 38      .8   JSR ShowBar
3711  A9 00        ..    LDA #&00
3713  8D C0 38     ..8   STA SBuffer+1
.
3716  AD BF 38     ..8   LDA SBuffer
3719  18           .     CLC
371A  69 0F        i.    ADC #&0F
371C  8D BF 38     ..8   STA SBuffer
371F  EE C0 38     ..8   INC SBuffer+1
3722  AE C0 38     ..8   LDX SBuffer+1
3725  E0 06        ..    CPX #&06
3727  F0 6A        .j    BEQ &3793
3729  BD 36 1C     .6.   LDA UnencodedData+&0016,X
372C  08           .     PHP
372D  A9 00        ..    LDA #&00
372F  28           (     PLP
3730  10 4E        .N    BPL &3780
3732  8A           .     TXA
3733  18           .     CLC
3734  69 59        iY    ADC #&59
3736  AA           .     TAX
3737  BD 65 17     .e.   LDA DataList2,X
373A  29 7F        )    AND #&7F
373C  85 5A        .Z    STA &5A
373E  BD 00 17     ...   LDA DataList1,X
3741  48           H     PHA
3742  A8           .     TAY
3743  B9 EE 54     ..T   LDA DataList3,Y
3746  4A           J     LSR A
3747  4A           J     LSR A
3748  4A           J     LSR A
3749  4A           J     LSR A
374A  49 FF        I.    EOR #&FF
374C  69 04        i.    ADC #&04
374E  6D BF 38     m.8   ADC SBuffer
3751  20 C7 33      .3   JSR Seperate2
3754  A9 11        ..    LDA #&11
3756  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
3759  AD C0 38     ..8   LDA SBuffer+1
375C  C9 05        ..    CMP #&05
375E  D0 05        ..    BNE &3765
3760  A9 09        ..    LDA #&09
3762  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
.
3765  68           h     PLA
3766  20 DE 32      .2   JSR showitem
3769  A9 1A        ..    LDA #&1A
376B  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
376E  AD BF 38     ..8   LDA SBuffer
3771  20 C7 33      .3   JSR Seperate2
3774  AE C0 38     ..8   LDX SBuffer+1
3777  BD B9 38     ..8   LDA BarColourTable,X
377A  8D C1 38     ..8   STA SBuffer+2
377D  BD 7C 1C     .|.   LDA &1C7C,X
.
3780  48           H     PHA
3781  A9 1A        ..    LDA #&1A
3783  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
3786  AD BF 38     ..8   LDA SBuffer
3789  20 C7 33      .3   JSR Seperate2
378C  68           h     PLA
378D  20 C5 38      .8   JSR ShowBar
3790  4C 16 37     L.7   JMP &3716
.
3793  A9 4E        .N    LDA #&4E
3795  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
3798  A9 49        .I    LDA #&49
379A  20 C7 33      .3   JSR Seperate2
379D  A2 78        .x    LDX #&78
379F  A0 38        .8    LDY #&38
37A1  20 FA 34      .4   JSR &34FA               ; Print "Pockets"
37A4  A9 49        .I    LDA #&49
37A6  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
37A9  A9 54        .T    LDA #&54
37AB  20 C7 33      .3   JSR Seperate2
37AE  A2 98        ..    LDX #&98
37B0  A0 38        .8    LDY #&38
37B2  20 FA 34      .4   JSR &34FA               ; Print "
37B5  A9 51        .Q    LDA #&51
37B7  8D B8 38     ..8   STA &38B8
.
37BA  AE 6F 1C     .o.   LDX &1C6F
37BD  F0 52        .R    BEQ &3811
37BF  BD 6F 1C     .o.   LDA UnencodedData+&004F,X
37C2  AA           .     TAX
37C3  BD 65 17     .e.   LDA DataList2,X
37C6  29 7F        )    AND #&7F
37C8  85 5A        .Z    STA &5A
37CA  BD 00 17     ...   LDA DataList1,X
37CD  48           H     PHA
37CE  A8           .     TAY
37CF  AD B8 38     ..8   LDA &38B8
37D2  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
37D5  B9 00 54     ..T   LDA DataList4,Y
37D8  4A           J     LSR A
37D9  69 08        i.    ADC #&08
37DB  85 0B        ..    STA &0B
37DD  A5 82        ..    LDA &82
37DF  E5 0B        ..    SBC &0B
37E1  85 82        ..    STA &82
37E3  B0 02        ..    BCS &37E7
37E5  C6 83        ..    DEC &83
.
37E7  A9 5B        .[    LDA #&5B
37E9  20 C7 33      .3   JSR Seperate2
37EC  B9 EE 54     ..T   LDA DataList3,Y
37EF  4A           J     LSR A
37F0  69 04        i.    ADC #&04
37F2  85 0B        ..    STA &0B
37F4  A5 84        ..    LDA &84
37F6  E5 0B        ..    SBC &0B
37F8  85 84        ..    STA &84
37FA  B0 02        ..    BCS &37FE
37FC  C6 85        ..    DEC &85
.
37FE  68           h     PLA
37FF  20 DE 32      .2   JSR showitem
3802  18           .     CLC
3803  AD B8 38     ..8   LDA &38B8
3806  69 0B        i.    ADC #&0B
3808  8D B8 38     ..8   STA &38B8
380B  CE 6F 1C     .o.   DEC &1C6F
380E  4C BA 37     L.7   JMP &37BA
.
3811  A9 55        .U    LDA #&55
3813  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
3816  A9 76        .v    LDA #&76
3818  20 C7 33      .3   JSR Seperate2
381B  A2 82        ..    LDX #&82
381D  A0 38        .8    LDY #&38
381F  20 FA 34      .4   JSR &34FA               ; Print "Keys"
3822  A9 49        .I    LDA #&49
3824  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
3827  A9 81        ..    LDA #&81
3829  20 C7 33      .3   JSR Seperate2
382C  A2 89        ..    LDX #&89
382E  A0 38        .8    LDY #&38
3830  20 FA 34      .4   JSR &34FA               ; Print "
3833  A9 4D        .M    LDA #&4D
3835  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
.
3838  A9 84        ..    LDA #&84
383A  20 C7 33      .3   JSR Seperate2
383D  A9 FF        ..    LDA #&FF
383F  8D 70 38     .p8   STA &3870
.
3842  EE 70 38     .p8   INC &3870
3845  AE 70 38     .p8   LDX &3870
3848  E0 08        ..    CPX #&08
384A  F0 21        .!    BEQ &386D
384C  BD 2E 1C     ...   LDA UnencodedData+&000E,X
384F  10 F1        ..    BPL &3842
3851  BD B6 17     ...   LDA &17B6,X
3854  29 7F        )    AND #&7F
3856  85 5A        .Z    STA &5A
3858  A9 4D        .M    LDA #&4D
385A  20 DE 32      .2   JSR showitem
385D  18           .     CLC
385E  A5 82        ..    LDA &82
3860  69 10        i.    ADC #&10
3862  85 82        ..    STA &82
3864  A5 83        ..    LDA &83
3866  69 00        i.    ADC #&00
3868  85 83        ..    STA &83
386A  4C 42 38     LB8   JMP &3842
.
386D  4C 54 39     LT9   JMP &3954               ; Wait for CR or SPACE and return to the main loop

.
3870  00           .     BRK

.
3871  11 6A        .j    ORA (&6A),Y
3873  46 75        Fu    LSR &75
3875  65 6C        el    ADC &6C
3877  00           .     BRK

.
3878  11 5A        .Z    ORA (&5A),Y
387A  50 6F        Po    BVC &38EB
387C  63           c     ...
387D  6B           k     ...
387E  65 74        et    ADC &74
3880  73           s     ...
3881  00           .     BRK

.
3882  11 5A        .Z    ORA (&5A),Y
3884  4B           K     ...
3885  65 79        ey    ADC &79
3887  73           s     ...
3888  00           .     BRK

.
3889  11 31        .1    ORA (&31),Y
388B  84 11        ..    STY &11
388D  01 89        ..    ORA (&89,X)
388F  89           .     ...
3890  89           .     ...
3891  89           .     ...
3892  89           .     ...
3893  87           .     ...
3894  11 31        .1    ORA (&31),Y
3896  85 00        ..    STA &00

.
3898  11 31        .1    ORA (&31),Y
389A  84 11        ..    STY &11
389C  01 89        ..    ORA (&89,X)
389E  86 11        ..    STX &11
38A0  11 87        ..    ORA (&87),Y
38A2  11 01        ..    ORA (&01),Y
38A4  89           .     ...
38A5  86 11        ..    STX &11
38A7  11 87        ..    ORA (&87),Y
38A9  11 01        ..    ORA (&01),Y
38AB  89           .     ...
38AC  86 11        ..    STX &11
38AE  11 87        ..    ORA (&87),Y
38B0  11 01        ..    ORA (&01),Y
38B2  89           .     ...
38B3  86 11        ..    STX &11
38B5  31 85        1.    AND (&85),Y
38B7  00           .     BRK

.
38B8  00           .     BRK

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.BarColourTable
38B9  21 51        !Q    AND (&51,X)
38BB  61 31        a1    ADC (&31,X)
38BD  11 71        .q    ORA (&71),Y

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.SBuffer
38BF  00           .     BRK
38C0  00           .     BRK
38C1  00           .     BRK
38C2  00           .     BRK
38C3  00           .     BRK
38C4  00           .     BRK

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.ShowBar
38C5  C9 00        ..    CMP #&00
38C7  10 02        ..    BPL &38CB
38C9  A9 7F        .    LDA #&7F
.ShowBar0
38CB  4A           J     LSR A
38CC  4A           J     LSR A
38CD  8D C2 38     ..8   STA SBuffer+3
38D0  49 1F        I.    EOR #&1F
38D2  8D C3 38     ..8   STA SBuffer+4
38D5  A9 31        .1    LDA #&31
38D7  85 86        ..    STA &86
38D9  A9 84        ..    LDA #&84
38DB  20 EE FF      ..   JSR oswrch
38DE  A9 01        ..    LDA #&01
38E0  85 86        ..    STA &86
38E2  A9 86        ..    LDA #&86
38E4  20 EE FF      ..   JSR oswrch
38E7  AD C1 38     ..8   LDA SBuffer+2
38EA  85 86        ..    STA &86
38EC  AD C2 38     ..8   LDA SBuffer+3
38EF  20 05 39      .9   JSR &3905
38F2  A9 01        ..    LDA #&01
38F4  85 86        ..    STA &86
38F6  AD C3 38     ..8   LDA SBuffer+4
38F9  20 05 39      .9   JSR &3905
38FC  A9 31        .1    LDA #&31
38FE  85 86        ..    STA &86
3900  A9 85        ..    LDA #&85
3902  4C EE FF     L..   JMP oswrch
.ShowBar1
3905  8D C4 38     ..8   STA SBuffer+5
.ShowBar2
3908  AD C4 38     ..8   LDA SBuffer+5
390B  F0 45        .E    BEQ &3952
390D  C9 08        ..    CMP #&08
390F  90 10        ..    BCC &3921
3911  AD C4 38     ..8   LDA SBuffer+5
3914  E9 08        ..    SBC #&08
3916  8D C4 38     ..8   STA SBuffer+5
3919  A9 89        ..    LDA #&89
391B  20 EE FF      ..   JSR oswrch
391E  4C 08 39     L.9   JMP &3908
.ShowBar3
3921  C9 04        ..    CMP #&04
3923  90 10        ..    BCC &3935
3925  AD C4 38     ..8   LDA SBuffer+5
3928  E9 04        ..    SBC #&04
392A  8D C4 38     ..8   STA SBuffer+5
392D  A9 88        ..    LDA #&88
392F  20 EE FF      ..   JSR oswrch
3932  4C 08 39     L.9   JMP &3908
.ShowBar4
3935  C9 02        ..    CMP #&02
3937  90 0E        ..    BCC &3947
3939  CE C4 38     ..8   DEC SBuffer+5
393C  CE C4 38     ..8   DEC SBuffer+5
393F  A9 87        ..    LDA #&87
3941  20 EE FF      ..   JSR oswrch
3944  4C 08 39     L.9   JMP &3908
.ShowBar5
3947  CE C4 38     ..8   DEC SBuffer+5
394A  A9 86        ..    LDA #&86
394C  20 EE FF      ..   JSR oswrch
394F  4C 08 39     L.9   JMP &3908
.ShowBar6
3952  60           `     RTS

; -----------------------------------------------------------------------------
; Highest available menu item
; -----------------------------------------------------------------------------
.
3953  00           .     BRK

; -----------------------------------------------------------------------------
; Main loop
; -----------------------------------------------------------------------------
.mainloop0                                       ; Wait for CR or SPACE and return to the main loop
3954  20 69 34      i4   JSR &3469               ; Read one character from keyboard
3957  C9 0D        ..    CMP #&0D
3959  F0 04        ..    BEQ &395F
395B  C9 20        .     CMP #&20
395D  D0 F5        ..    BNE &3954
.mainloop
395F  A2 FF        ..    LDX #&FF
3961  9A           .     TXS
3962  A2 5F        ._    LDX #mainloop MOD 256
3964  A0 39        .9    LDY #mainloop DIV 256
3966  20 77 34      w4   JSR setbrkreturnaddr    ; Set the return address for the BRKV handler when BRK was executed
3969  20 7E 34      ~4   JSR setescreturnaddr    ; Set the return address for the BRKV handler when ESCAPE was hit
396C  A9 04        ..    LDA #&04
396E  A2 01        ..    LDX #&01
3970  A0 00        ..    LDY #&00
3972  20 F4 FF      ..   JSR osbyte              ; Disable cursor editing (cursor keys will return keycodes &87-&8B)
3975  A9 E1        ..    LDA #&E1
3977  A2 30        .0    LDX #&30                ; f0-f9 will return ASCII &30-&39
3979  A0 00        ..    LDY #&00
397B  20 F4 FF      ..   JSR osbyte              ; Write function key status
397E  A9 E2        ..    LDA #&E2
3980  A2 00        ..    LDX #&00                ; SHIFT + f0-f9 will be ignored
3982  A0 00        ..    LDY #&00
3984  20 F4 FF      ..   JSR osbyte              ; Write SHIFT + function key status
3987  A9 E3        ..    LDA #&E3
3989  A2 00        ..    LDX #&00                ; CTRL + f0-f9 will be ignored
398B  A0 00        ..    LDY #&00
398D  20 F4 FF      ..   JSR osbyte              ; Write CTRL + function key status
3990  A9 E4        ..    LDA #&E4
3992  A2 00        ..    LDX #&00                ; CTRL + SHIFT + f0-f9 will be ignored
3994  A0 00        ..    LDY #&00
3996  20 F4 FF      ..   JSR osbyte              ; Write CTRL + SHIFT + function key status
3999  20 52 30      R0   JSR initialize          ; Initialize
399C  20 42 3A      B:   JSR header              ; Print Exile header
399F  A9 1E        ..    LDA #&1E
39A1  20 C7 33      .3   JSR Seperate2
39A4  A9 00        ..    LDA #&00
39A6  8D 53 39     .S9   STA &3953
.mainloop1
39A9  A2 87        ..    LDX #&87
39AB  A0 3A        .:    LDY #&3A
39AD  20 FA 34      .4   JSR &34FA               ; Print "          F"
39B0  AD 53 39     .S9   LDA &3953
39B3  18           .     CLC
39B4  69 30        i0    ADC #ASC"0"
39B6  20 EE FF      ..   JSR oswrch              ; Print function key number
39B9  A9 26        .&    LDA #&26
39BB  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
39BE  AD 53 39     .S9   LDA &3953
39C1  0A           .     ASL A                   ; A = A * 4
39C2  0A           .     ASL A
39C3  AA           .     TAX
39C4  BD 98 3A     ..:   LDA &3A98,X             ; MSB of menu item text
39C7  A8           .     TAY
39C8  BD 97 3A     ..:   LDA &3A97,X             ; LSB of menu item text
39CB  AA           .     TAX
39CC  20 FA 34      .4   JSR &34FA               ; Print menu item
39CF  A9 0D        ..    LDA #&0D
39D1  20 EE FF      ..   JSR oswrch              ; Print a CR
39D4  A9 0A        ..    LDA #&0A
39D6  20 EE FF      ..   JSR oswrch              ; Print a LF
39D9  EE 53 39     .S9   INC &3953
39DC  AD 53 39     .S9   LDA &3953
39DF  0A           .     ASL A
39E0  0A           .     ASL A
39E1  AA           .     TAX
39E2  BD 96 3A     ..:   LDA &3A96,X
39E5  10 C2        ..    BPL &39A9               ; Have we reached the end of the menu table?
39E7  A2 1B        ..    LDX #&1B
39E9  A0 3B        .;    LDY #&3B
39EB  20 FA 34      .4   JSR &34FA               ; Print a CR and LF
39EE  AD 1F 35     ..5   LDA DatafileStatus
39F1  D0 0A        ..    BNE &39FD
39F3  A2 1E        ..    LDX #&1E
39F5  A0 3B        .;    LDY #&3B
39F7  20 FA 34      .4   JSR &34FA               ; Print "Default"
39FA  4C 27 3A     L':   JMP &3A27
.mainloop2
39FD  C9 01        ..    CMP #&01
39FF  D0 0A        ..    BNE &3A0B
3A01  A2 28        .(    LDX #&28
3A03  A0 3B        .;    LDY #&3B
3A05  20 FA 34      .4   JSR &34FA               ; Print "Unsaved"
3A08  4C 27 3A     L':   JMP &3A27
.mainloop3
3A0B  C9 02        ..    CMP #&02
3A0D  D0 0A        ..    BNE &3A19
3A0F  A2 32        .2    LDX #&32
3A11  A0 3B        .;    LDY #&3B
3A13  20 FA 34      .4   JSR &34FA               ; Print "File: "
3A16  4C 20 3A     L :   JMP &3A20
.mainloop4
3A19  A2 3C        .<    LDX #&3C
3A1B  A0 3B        .;    LDY #&3B
3A1D  20 FA 34      .4   JSR &34FA               ; Print "File: "
.mainloop5
3A20  A2 46        .F    LDX #&46
3A22  A0 3B        .;    LDY #&3B
3A24  20 FA 34      .4   JSR &34FA
.mainloop6
3A27  20 69 34      i4   JSR &3469               ; Read one character from keyboard
3A2A  38           8     SEC
3A2B  E9 30        .0    SBC #ASC"0"             ; Substract 30 from users input
3A2D  CD 53 39     .S9   CMP &3953               ; Compare user input with highest available menu item
3A30  B0 F5        ..    BCS &3A27
3A32  0A           .     ASL A
3A33  0A           .     ASL A                   ; A = A * 4
3A34  AA           .     TAX
3A35  BD 95 3A     ..:   LDA FunctionList,X      ; LSB of pointer to routine
3A38  85 1B        ..    STA &1B
3A3A  BD 96 3A     ..:   LDA FunctionList+1,X    ; MSB of pointer to routine
3A3D  85 1C        ..    STA &1C
3A3F  6C 1B 00     l..   JMP (&001B)

; -----------------------------------------------------------------------------
; Print Exile header
; -----------------------------------------------------------------------------
.header
3A42  A9 06        ..    LDA #&06
3A44  20 A9 33      .3   JSR Seperate1           ; &82(bit4-7) = A(bit0-3), &83(bit0-3) = A(bit4-7)+&80
3A47  A9 07        ..    LDA #&07
3A49  20 C7 33      .3   JSR Seperate2
3A4C  A2 6B        .k    LDX #headerdata1 MOD 256
3A4E  A0 3A        .:    LDY #headerdata1 DIV 256
3A50  20 FA 34      .4   JSR &34FA                ; Print
3A53  A9 00        ..    LDA #&00
3A55  20 C7 33      .3   JSR Seperate2
3A58  A2 76        .v    LDX #headerdata2 MOD 256
3A5A  A0 3A        .:    LDY #headerdata2 DIV 256
3A5C  20 FA 34      .4   JSR &34FA                ; Print
3A5F  A9 07        ..    LDA #&07
3A61  20 C7 33      .3   JSR Seperate2
3A64  A2 7B        .{    LDX #headerdata3 MOD 256
3A66  A0 3A        .:    LDY #headerdata3 DIV 256
3A68  4C FA 34     L.4   JMP &34FA                ; Print

.headerdata1
3A6B  11           .     EQUB &11
3A6C  53           S     EQUB &53
3A6D  8B           .     EQUB &8B
3A6E  11           .     EQUB &11
3A6F  1E           .     EQUB &1E
3A70  8A           .     EQUB &8A
3A71  8A           .     EQUB &8A
3A72  8A           .     EQUB &8A
3A73  8A           .     EQUB &8A
3A74  8C           .     EQUB &8C
3A75  00           .     EQUB &00

.headerdata2
3A76  11           .     EQUB &11
3A77  33           3     EQUB &33
3A78  8F           .     EQUB &8F
3A79  90           .     EQUB &90
3A7A  00           .     EQUB &00

.headerdata3
3A7B  11           .     EQUB &11
3A7C  1E           .     EQUB &1E
3A7D  8D           .     EQUB &8D
3A7E  8A           .     EQUB &8A
3A7F  8A           .     EQUB &8A
3A80  8A           .     EQUB &8A
3A81  8A           .     EQUB &8A
3A82  11           .     EQUB &11
3A83  53           S     EQUB &53
3A84  8E           .     EQUB &8E
3A85  0D           .     EQUB &0D
3A86  00           .     EQUB &00

.
3A87  11 31        .1    ORA (&31),Y
3A89  20 20 20           JSR &2020
3A8C  20 20 20           JSR &2020
3A8F  20 20 20           JSR &2020
3A92  20 46 00      F.   JSR &0046

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.FunctionList                                    ; F0: Run Game
3A95  58 3B        X;    EQUW &3B58
3A97  B7 3A        .:    EQUW &3AB7
.                                                ; F1: Status
3A99  CC 36        .6    EQUW &36CC
3A9B  C0 3A        .:    EQUW &3AC0
.                                                ; F2: See position
3A9D  5B 35        [5    EQUW &355B
3A9F  04 3B        .;    EQUW &3B04
.                                                ; F3: Catalogue
3AA1  02 2C        .,    EQUW &2C02
3AA3  11 3B        .;    EQUW &3B11
.                                                ; F4: Load position
3AA5  8F 2C        .,    EQUW &2C8F
3AA7  D7 3A        .:    EQUW &3AD7
.                                                ; F5: Save position
3AA9  65 2C        e,    EQUW &2C65
3AAB  E5 3A        .:    EQUW &3AE5
.                                                ; F6: Score Breakdown
3AAD  C9 35        .5    EQUW &35C9
3AAF  C7 3A        .:    EQUW &3AC7
.                                                ; F7: Default position
3AB1  E1 33        .3    EQUW &33E1
3AB3  F3 3A        .:    EQUW &3AF3
.
3AB5  FF FF        ..    EQUW &FFFF

.
3AB7  52 75 6E 20  Run   EQUS "Run Game"
      47 61 6D 65  Game
3ABF  00           .     EQUB &00

.
3AC0  53 74 61 74  Stat  EQUS "Status"
      75 73        us
3AC6  00           .     EQUB &00

.
3AC7  53 63 6F 72  Scor  EQUS "Score Breakdown"
      65 20 42 72  e Br
      65 61 6B 64  eakd
      6F 77 6E     own
3AD6  00           .     EQUB &00

.
3AD7  4C 6F 61 64  Load  EQUS "Load position"
      20 70 6F 73   pos
      69 74 69 6F  itio
      6E
3AE4  00

.
3AE5  53 61 76 65  Save EQUS "Save position"
      20 70 6F 73   pos
3AED  69 74 69 6F  itio
3AF1  6E
3AF2  00

.
3AF3  44 65 66 61  Defa EQUS "Default position"
      75 6C 74 20  ult 
      70 6F 73 69  posi
      74 69 6F 6E  tion
3B03  00

.
3B04  53 65 65 20  See   EQUS "See position"
      70 6F 73 69  posi
      74 69 6F 6E  tion
3B10  00

.
3B11  43 61 74 61  Cata  EQUS "Catalogue"
      6C 6F 67 75  logu
      65           e
3B1A  00           .     BRK

.
3B1B  0D 0A 00     ...   ORA &000A

.
3B1E  11 17        ..    ORA (&17),Y
3B20  44           D     ...
3B21  65 66        ef    ADC &66
3B23  61 75        au    ADC (&75,X)
3B25  6C 74 00     lt.   JMP (&0074)

.
3B28  11 6A        .j    ORA (&6A),Y
3B2A  55 6E        Un    EOR &6E,X
3B2C  73           s     ...
3B2D  61 76        av    ADC (&76,X)
3B2F  65 64        ed    ADC &64
3B31  00           .     BRK

.
3B32  11 21        .!    ORA (&21),Y
3B34  46 69        Fi    LSR &69
3B36  6C 65 3A     le:   JMP (&3A65)
3B39  20 22 00      ".   JSR &0022

.
3B3C  11 21        .!    ORA (&21),Y
3B3E  46 69        Fi    LSR &69
3B40  6C 65 3A     le:   JMP (&3A65)
3B43  20 22 00      ".   JSR &0022

.
3B46  2E 2E 2E     ...   ROL &2E2E
3B49  2E 2E 2E     ...   ROL &2E2E
3B4C  2E 2E 2E     ...   ROL &2E2E
3B4F  2E 2E 2E     ...   ROL &2E2E
3B52  2E 2E 2E     ...   ROL &2E2E
3B55  2E

.
3B56  9C           .     EQUB &9C                ; Temporary X position (used by F2 Show position)
3B57  3B           ;     EQUB &3B                ; Temporary Y position (used by F2 Show position)

; -----------------------------------------------------------------------------
; F0 Run Game
; -----------------------------------------------------------------------------
.
3B58  A9 C8        ..    LDA #&C8
3B5A  A2 03        ..    LDX #&03                ; Memory cleared on BREAK, ESCAPE disabled unless caused by OSBYTE &7D
3B5C  A0 00        ..    LDY #&00
3B5E  20 F4 FF      ..   JSR osbyte              ; Set new ESCAPE and BREAK effect
3B61  20 52 30      R0   JSR initialize          ; Initialize
3B64  AD 2B 35     .+5   LDA &352B               ; Restore original FILEV pointer
3B67  8D 12 02     ...   STA &0212
3B6A  AD 2C 35     .,5   LDA &352C
3B6D  8D 13 02     ...   STA &0213
3B70  AD 2D 35     .-5   LDA &352D               ; Restore original FSCV pointer
3B73  8D 1E 02     ...   STA &021E
3B76  AD 2E 35     ..5   LDA &352E
3B79  8D 1F 02     ...   STA &021F
3B7C  20 81 28      .(   JSR &2881               ; Check if there's a sideways RAM bank available
3B7F  90 1A        ..    BCC &3B9B               ; Jump if no sideways RAM is available
3B81  8E 2A 3C     .*<   STX &3C2A               ; Store the available sideways RAM bank in &3C2A
3B84  A2 00        ..    LDX #&00
3B86  A0 3C        .<    LDY #&3C
3B88  20 FA 34      .4   JSR &34FA               ; Print "May I use your Sideways Ram ? (y/n)"
.
3B8B  20 69 34      i4   JSR &3469               ; Read one character from keyboard
3B8E  09 20        .     ORA #&20                ; Make character lower case
3B90  C9 79        .y    CMP #ASC"y"
3B92  F0 0E        ..    BEQ &3BA2
3B94  C9 6E        .n    CMP #ASC"n"
3B96  D0 F3        ..    BNE &3B8B
3B98  20 EE FF      ..   JSR oswrch              ; Print response
.
3B9B  A2 DB        ..    LDX #&3BDB MOD 256
3B9D  A0 3B        .;    LDY #&3BDB DIV 256
3B9F  4C A9 3B     L.;   JMP &3BA9               ; Start the normal version of Exile
.
3BA2  20 EE FF      ..   JSR oswrch              ; Print response
3BA5  A2 D2        ..    LDX #&3BD2 MOD 256
3BA7  A0 3B        .;    LDY #&3BD2 DIV 256      ; Start the extended version of Exile
.
3BA9  8A           .     TXA
3BAA  48           H     PHA
3BAB  98           .     TYA
3BAC  48           H     PHA
3BAD  A9 16        ..    LDA #&16
3BAF  20 CB FF      ..   JSR nvwrch
3BB2  A9 07        ..    LDA #&07
3BB4  20 CB FF      ..   JSR nvwrch              ; Select screen MODE 7
3BB7  A9 CB        ..    LDA #&CB
3BB9  8D 0E 02     ...   STA &020E
3BBC  A9 FF        ..    LDA #&FF
3BBE  8D 0F 02     ...   STA &020F               ; Set WRCHV to original location in OS
3BC1  A9 01        ..    LDA #&01
3BC3  8D 00 FE     ...   STA &FE00
3BC6  A9 00        ..    LDA #&00
3BC8  8D 01 FE     ...   STA &FE01               ; Disable cursor
3BCB  68           h     PLA
3BCC  A8           .     TAY
3BCD  68           h     PLA
3BCE  AA           .     TAX
3BCF  4C F7 FF     L..   JMP oscli

.
3BD2  2F 45 78 69  /Exi  EQUS "/ExileSR"
      6C 65 53 52  leSR
3BDA  0D           .     EQUB &0D

.
3BDB  2F 45 78 69  /Exi  EQUS "/ExileB"
      6C 65 42     leB
3BE2  0D           .     EQUB &0D

.
3BE3  43 41 54 20  CAT   EQUS "CAT 0"
3BE7  30           0
3BE8  0D           .     EQUB &0D

.
3BE9  44 49 53 43  DISC  EQUS "DISC"
3BED  0D

.
3BEE  54 41 50 45  TAPE  EQUS "TAPE"
3BF2  0D

3BF3  00 48        .H    ORA &4800
3BF5  2D 00 00     -..   AND &0000
3BF8  00           .     BRK
3BF9  00           .     BRK
3BFA  00           .     BRK
3BFB  00           .     BRK
3BFC  00           .     BRK
3BFD  00           .     BRK
3BFE  00           .     BRK
3BFF  00           .     BRK

3C00  11 31        .1    ORA (&31),Y
3C02  4D 61 79     May   EOR &7961
3C05  20 49 20      I    JSR &2049
3C08  75 73        us    ADC &73,X
3C0A  65 20        e     ADC &20
3C0C  79 6F 75     you   ADC &756F,Y
3C0F  72           r     ...
3C10  20 53 69      Si   JSR &6953
3C13  64           d     ...
3C14  65 77        ew    ADC &77
3C16  61 79        ay    ADC (&79,X)
3C18  73           s     ...
3C19  0D 0A 0A     ...   ORA &0A0A
3C1C  52           R     ...
3C1D  61 6D        am    ADC (&6D,X)
3C1F  20 3F 20      ?    JSR &203F
3C22  28           (     PLP
3C23  79 2F 6E     y/n   ADC &6E2F,Y
3C26  29 11        ).    AND #&11
3C28  75 00        u.    ADC &00,X

.
3C2A  00           .     BRK                     ; Available sideways RAM bank number

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3C2B  F0 1A        ..    BEQ &3C47
3C2D  AD 34 27     .4'   LDA &2734
3C30  29 90        ).    AND #&90
3C32  F0 13        ..    BEQ &3C47
3C34  A5 0F        ..    LDA &0F
3C36  0A           .     ASL A
.
3C37  B9 AE 1D     ...   LDA UnencodedData+&018E,Y
3C3A  10 0B        ..    BPL &3C47
3C3C  A9 40        .@    LDA #&40
3C3E  20 CD 3C      .<   JSR &3CCD
3C41  A9 40        .@    LDA #&40
3C43  99 CB 1C     ...   STA UnencodedData+&00AB,Y
3C46  60           `     RTS
.
3C47  38           8     SEC
3C48  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3C49  A9 05        ..    LDA #&05
3C4B  24 0F        $.    BIT &0F
3C4D  70 02        p.    BCS &3C51
3C4F  A9 04        ..    LDA #&04
.
3C51  4C CD 3C     L.<   JMP &3CCD
3C54  60           `     RTS

.
3C55  17 19        ..    EQUW &1917
3C56  2A 19        .*    EQUW &192A

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3C59  A9 3E        .>    LDA #&3E
3C5B  2C A9 3C     ,.<   BIT &3CA9
3C5E  85 0A        ..    STA &0A
3C60  A5 0F        ..    LDA &0F
3C62  0A           .     ASL A
3C63  2A           *     ROL A
3C64  69 00        i.    ADC #&00
3C66  29 01        ).    AND #&01
3C68  48           H     PHA
3C69  B9 AE 1D     ...   LDA UnencodedData+&018E,Y
3C6C  30 01        0.    BMI &3C6F
3C6E  4A           J     LSR A
.
3C6F  29 02        ).    AND #&02
3C71  4A           J     LSR A
3C72  E9 00        ..    SBC #&00
3C74  85 71        .q    STA &71
3C76  AD 34 27     .4'   LDA &2734
3C79  30 09        0.    BMI &3C84
3C7B  68           h     PLA
3C7C  48           H     PHA
3C7D  2A           *     ROL A
3C7E  AA           .     TAX
3C7F  BD 55 3C     .U<   LDA &3C55,X
3C82  85 0E        ..    STA &0E
.
3C84  68           h     PLA
3C85  2C 34 27     ,4'   BIT &2734
3C88  70 19        p.    BCS &3CA3
3C8A  48           H     PHA
3C8B  18           .     CLC
3C8C  65 0A        e.    ADC &0A
3C8E  20 CD 3C      .<   JSR &3CCD
3C91  68           h     PLA
3C92  0A           .     ASL A
3C93  99 5E 1D     .^.   STA UnencodedData+&013E,Y
3C96  AA           .     TAX
3C97  B5 23        .#    LDA &23,X
3C99  E9 00        ..    SBC #&00
3C9B  99 9E 1D     ...   STA UnencodedData+&017E,Y
3C9E  A5 71        .q    LDA &71
3CA0  99 3E 1D     .>.   STA UnencodedData+&011E,Y
.
3CA3  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3CA4  A9 41        .A    LDA #&41
3CA6  20 CD 3C      .<   JSR &3CCD
3CA9  A9 40        .@    LDA #&40
3CAB  99 A8 1C     ...   STA UnencodedData+&0088,Y
3CAE  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3CAF  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3CB0  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3CB1  A6 05        ..    LDX &05
3CB3  BD 99 1E     ...   LDA UnencodedData+&0279,X
3CB6  4C CD 3C     L.<   JMP &3CCD

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3CB9  B9 AE 1D     ...   LDA UnencodedData+&018E,Y
3CBC  29 7F        )    AND #&7F
3CBE  20 CD 3C      .<   JSR &3CCD
3CC1  A9 49        .I    LDA #&49
3CC3  99 88 1C     ...   STA UnencodedData+&0068,Y
3CC6  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3CC7  A9 42        .B    LDA #&42
3CC9  4C CD 3C     L.<   JMP &3CCD
3CCC  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3CCD  A0 00        ..    LDY #&00
3CCF  2C A0 08     ,..   BIT &08A0
3CD2  85 70        .p    STA &70
3CD4  A6 04        ..    LDX &04
3CD6  F0 07        ..    BEQ &3CDF
3CD8  BD AE 1D     ...   LDA UnencodedData+&018E,X
3CDB  10 3C        .<    BPL &3D19
3CDD  A5 70        .p    LDA &70
.
3CDF  20 4F 27      O'   JSR &274F
3CE2  B0 35        .5    BCS &3D19
3CE4  20 52 28      R(   JSR &2852
3CE7  A6 70        .p    LDX &70
3CE9  BD 00 17     ...   LDA DataList1,X
3CEC  AA           .     TAX
3CED  A5 0F        ..    LDA &0F
3CEF  09 01        ..    ORA #&01
3CF1  99 EE 1C     ...   STA UnencodedData+&00CE,Y
3CF4  A9 00        ..    LDA #&00
3CF6  24 0F        $.    BIT &0F
3CF8  10 03        ..    BPL &3CFD
3CFA  FD 00 54     ..T   SBC DataList4,X
.
3CFD  99 A8 1C     ...   STA UnencodedData+&0088,Y
3D00  A9 00        ..    LDA #&00
3D02  24 0F        $.    BIT &0F
3D04  70 03        p.    BCS &3D09
3D06  FD EE 54     ..T   SBC DataList3,X
.
3D09  99 CB 1C     ...   STA UnencodedData+&00AB,Y
3D0C  A5 04        ..    LDA &04
3D0E  99 8E 1D     ...   STA UnencodedData+&016E,Y
3D11  AA           .     TAX
3D12  BD AE 1D     ...   LDA UnencodedData+&018E,X
3D15  29 7F        )    AND #&7F
3D17  18           .     CLC
3D18  60           `     RTS
.
3D19  AE 99 27     ..'   LDX &2799
3D1C  9A           .     TXS
3D1D  38           8     SEC
3D1E  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3D1F  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3D20  A5 03        ..    LDA &03
3D22  4A           J     LSR A
3D23  66 27        f'    ROR &27
3D25  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3D26  2A           *     ROL A
3D27  49 01        I.    EOR #&01
3D29  6A           j     ROR A
3D2A  60           `     RTS

; -----------------------------------------------------------------------------
; Subroutine is never called???
; -----------------------------------------------------------------------------
.
3D2B  60           `     RTS

; -----------------------------------------------------------------------------
; Encoded save game data for default position
; -----------------------------------------------------------------------------
.DefaultSaveGameData
3D2C  F9 1C B3     ...   SBC &B31C,Y
3D2F  58           X     CLI
3D30  66 41        fA    ROR &41
3D32  38           8     SEC
3D33  86 93        ..    STX &93
3D35  02           .     ...
3D36  20 55 26      U&   JSR &2655
3D39  67           g     ...
3D3A  50 16        P.    BVC &3D52
3D3C  47           G     ...
3D3D  09 34        .4    ORA #&34
3D3F  83           .     ...
3D40  82           .     ...
3D41  80           .     ...
3D42  76 68        vh    ROR &68,X
3D44  52           R     ...
3D45  20 55 26      U&   JSR &2655
3D48  67           g     ...
3D49  50 16        P.    BVC &3D61
3D4B  47           G     ...
3D4C  09 34        .4    ORA #&34
3D4E  83           .     ...
3D4F  82           .     ...
3D50  80           .     ...
3D51  76 68        vh    ROR &68,X
3D53  52           R     ...
3D54  DF           .     ...
3D55  81 78        .x    STA (&78,X)
3D57  40           @     RTI
3D58  A6 82        ..    LDX &82
3D5A  2B           +     ...
3D5B  0D BB A0     ...   ORA &A0BB
3D5E  B6 CF        ..    LDX &CF,Y
3D60  66 1E        f.    ROR &1E
3D62  83           .     ...
3D63  82           .     ...
3D64  7A           z     ...
3D65  76 A8        v.    ROR &A8,X
3D67  4F           O     ...
3D68  A0 B6        ..    LDY #&B6
3D6A  C7           .     ...
3D6B  B1 41        .A    LDA (&41),Y
3D6D  F6 0D        ..    INC &0D,X
3D6F  32           2     ...
3D70  84 84        ..    STY &84
3D72  8F           .     ...
3D73  16 A8        ..    ASL &A8,X
3D75  D2           .     ...
3D76  80           .     ...
3D77  96 08        ..    STX &08,Y
3D79  32           2     ...
3D7A  79 74 34     yt4   ADC &3474,Y
3D7D  43           C     ...
3D7E  22           "     ...
3D7F  59 D4 34     Y.4   EOR &34D4,Y
3D82  84 84        ..    STY &84
3D84  84 84        ..    STY &84
3D86  84 84        ..    STY &84
3D88  B4 04        ..    LDY &04
3D8A  24 72        $r    BIT &72
3D8C  69 56        iV    ADC #&56
3D8E  19 54 32     .T2   ORA &3254,Y
3D91  96 B3        ..    STX &B3,Y
3D93  10 36        .6    BPL &3DCB
3D95  A1 4E        .N    LDA (&4E,X)
3D97  10 CE        ..    BPL &3D67
3D99  1E DE 9F     ...   ASL &9FDE,Y
3D9C  BC 5E AC     .^.   LDY &AC5E,X
3D9F  2C 5E 07     ,^.   BIT &075E
3DA2  5B           [     ...
3DA3  78           x     SEI
3DA4  3C           <     ...
3DA5  91 62        .b    STA (&62),Y
3DA7  F7           .     ...
3DA8  77           w     ...
3DA9  65 0A        e.    ADC &0A
3DAB  77           w     ...
3DAC  65 04        e.    ADC &04
3DAE  65 30        e0    ADC &30
3DB0  65 7D        e}    ADC &7D
3DB2  18           .     CLC
3DB3  CF           .     ...
3DB4  F6 6D        .m    INC &6D,X
3DB6  18           .     CLC
3DB7  32           2     ...
3DB8  5A           Z     ...
3DB9  73           s     ...
3DBA  61 03        a.    ADC (&03,X)
3DBC  1B           .     ...
3DBD  57           W     ...
3DBE  6D 77 70     mwp   ADC &7077
3DC1  89           .     ...
3DC2  2E 7F 0B     ..   ROL &0B7F
3DC5  0C           .     ...
3DC6  BC FA A2     ...   LDY &A2FA,X
3DC9  58           X     CLI
3DCA  32           2     ...
3DCB  79 74 64     ytd   ADC &6474,Y
3DCE  44           D     ...
3DCF  03           .     ...
3DD0  BD FE DC     ...   LDA &DCFE,X
3DD3  9C           .     ...
3DD4  85 98        ..    STA &98
3DD6  51 50        QP    EOR (&50),Y
3DD8  56 98        V.    LSR &98,X
3DDA  52           R     ...
3DDB  7C           |     ...
3DDC  42           B     ...
3DDD  DB           .     ...
3DDE  3D DA 29     =.)   ORA &29DA,X
3DE1  4D 0E 90     M..   EOR &900E
3DE4  51 A5        Q.    EOR (&A5),Y
3DE6  84 20        .     STY &20
3DE8  1B           .     ...
3DE9  6D 79 79     myy   ADC &7979
3DEC  35 85        5.    AND &85,X
3DEE  86 88        ..    STX &88
3DF0  92           .     ...
3DF1  00           .     BRK
3DF2  16 7D        .}    ASL &7D,X
3DF4  7D 7E 78     }~x   ADC &787E,X
3DF7  05 5B        .[    ORA &5B
3DF9  EA           .     NOP
3DFA  01 09        ..    ORA (&09,X)
3DFC  41 99        A.    EOR (&99,X)
3DFE  15 44        .D    ORA &44,X
3E00  05 24        .$    ORA &24
3E02  65 44        eD    ADC &44
3E04  05 A5        ..    ORA &A5
3E06  86 48        .H    STX &48
3E08  11 B8        ..    ORA (&B8),Y
3E0A  4C 79 6E     Lyn   JMP &6E79
3E0D  54           T     ...
3E0E  15 22        ."    ORA &22,X
3E10  17           .     ...
3E11  E1 24        .$    SBC (&24,X)
3E13  E4 CA        ..    CPX &CA
3E15  98           .     TYA
3E16  12           .     ...
3E17  55 3B        U;    EOR &3B,X
3E19  4C 35 85     L5.   JMP &8535
3E1C  86 88        ..    STX &88
3E1E  CB           .     ...
3E1F  7C           |     ...
3E20  B4 FB        ..    LDY &FB
3E22  73           s     ...
3E23  03           .     ...
3E24  6E 43 01     nC.   ROR &0143
3E27  18           .     CLC
3E28  51 18        Q.    EOR (&18),Y
3E2A  50 07        P.    BVC &3E33
3E2C  38           8     SEC
3E2D  93           .     ...
3E2E  7B           {     ...
3E2F  E2           .     ...
3E30  2C 7E 7E     ,~~   BIT &7E7E
3E33  7E 7E 05     ~~.   ROR &057E,X
3E36  24 65        $e    BIT &65
3E38  44           D     ...
3E39  05 95        ..    ORA &95
3E3B  36 85        6.    ROL &85,X
3E3D  8B           .     ...
3E3E  24 84        $.    BIT &84
3E40  84 84        ..    STY &84
3E42  85 86        ..    STA &86
3E44  09 69        .i    ORA #&69
3E46  4B           K     ...
3E47  1E 5D 3D     .]=   ASL &3D5D,Y
3E4A  92           .     ...
3E4B  01 16        ..    ORA (&16,X)
3E4D  4D 1E DC     M..   EOR &DC1E
3E50  96 E8        ..    STX &E8,Y
3E52  44           D     ...
3E53  CF           .     ...
3E54  1C           .     ...
3E55  A7           .     ...
3E56  FE 0F 8D     ...   INC &8D0F,X
3E59  7E 7E 49     ~~I   ROR &497E,X
3E5C  B9 7E 10     .~.   LDA &107E,Y
3E5F  C2           .     ...
3E60  8D 93 A6     ...   STA &A693
3E63  40           @     RTI
3E64  84 BE        ..    STY &BE
3E66  7E 7E 7E     ~~~   ROR &7E7E,X
3E69  7E D1 13     ~..   ROR &13D1,X
3E6C  07           .     ...
3E6D  29 6D        )m    AND #&6D
3E6F  58           X     CLI
3E70  CC 7E 7F     .~   CPY &7F7E
3E73  3E 05 2C     >.,   ROL &2C05,X
3E76  58           X     CLI
3E77  0C           .     ...
3E78  64           d     ...
3E79  44           D     ...
3E7A  85 8C        ..    STA &8C
3E7C  ED 7D 09     .}.   SBC &097D
3E7F  07           .     ...
3E80  20 6B 59      kY   JSR &596B
3E83  EC 9F EB     ...   CPX &EB9F
3E86  7D 7E 7E     }~~   ADC &7E7E,X
3E89  7E 4F 5F     ~O_   ROR &5F4F,X
3E8C  33           3     ...
3E8D  81 77        .w    STA (&77,X)
3E8F  BA           .     TXS
3E90  02           .     ...
3E91  34           4     ...
3E92  71 63        qc    ADC (&63),Y
3E94  03           .     ...
3E95  58           X     CLI
3E96  32           2     ...
3E97  79 74 64     ytd   ADC &6474,Y
3E9A  44           D     ...
3E9B  06 25        .%    ASL &25
3E9D  65 4B        eK    ADC &4B
3E9F  1F           .     ...
3EA0  5E 3E 91     ^>.   LSR &913E,Y
3EA3  94 04        ..    STY &04
3EA5  01 09        ..    ORA (&09,X)
3EA7  7C           |     ...
3EA8  4E 38 90     N8.   LSR &9038
3EAB  9B           .     ...
3EAC  13           .     ...
3EAD  42           B     ...
3EAE  94 04        ..    STY &04
3EB0  24 6D        $m    BIT &6D
3EB2  91 AA        ..    STA (&AA),Y
3EB4  56 63        Vc    LSR &63,X
3EB6  40           @     RTI
3EB7  96 93        ..    STX &93,Y
3EB9  83           .     ...
3EBA  17           .     ...
3EBB  35 F9        5.    AND &F9,X
3EBD  70 E9        p.    BCS &3EA8
3EBF  AE F7 96     ...   LDX &96F7
3EC2  ED 91 A6     ...   SBC &A691
3EC5  C0 F8        ..    CPY #&F8
3EC7  D2           .     ...
3EC8  AC 31 81     .1.   LDY &8131
3ECB  D2           .     ...
3ECC  D0 9F        ..    BNE &3E6D
3ECE  08           .     PHP
3ECF  18           .     CLC
3ED0  EA           .     NOP
3ED1  C0 96        ..    CPY #&96
3ED3  B5 31        .1    LDA &31,X
3ED5  BD FD F9     ...   LDA &F9FD,X
3ED8  B3           .     ...
3ED9  E3           .     ...
3EDA  AA           .     TAX
3EDB  E5 D4        ..    SBC &D4
3EDD  A1 7C        .|    LDA (&7C,X)
3EDF  DE F2 B9     ...   DEC &B9F2,X
3EE2  3C           <     ...
3EE3  99 D2 B3     ...   STA &B3D2,Y
3EE6  00           .     BRK
3EE7  F7           .     ...
3EE8  71 BD        q.    ADC (&BD),Y
3EEA  F1 87        ..    SBC (&87),Y
3EEC  AF           .     ...
3EED  80           .     ...
3EEE  84 87        ..    STY &87
3EF0  84 B7        ..    STY &B7
3EF2  EB           .     ...
3EF3  88           .     DEY
3EF4  92           .     ...
3EF5  A6 C3        ..    LDX &C3
3EF7  B2           .     ...
3EF8  18           .     CLC
3EF9  54           T     ...
3EFA  6F           o     ...
3EFB  00           .     BRK
3EFC  30 CD        0.    BMI &3ECB
3EFE  84 10        ..    STY &10
3F00  81 C6        ..    STA (&C6,X)
3F02  98           .     TYA
3F03  06 A8        ..    ASL &A8
3F05  8D 35 39     .59   STA &3935
3F08  85 89        ..    STA &89
3F0A  BB           .     ...
3F0B  92           .     ...
3F0C  08           .     PHP
3F0D  2C 55 67     ,Ug   BIT &6755
3F10  89           .     ...
3F11  84 98        ..    STY &98
3F13  CB           .     ...
3F14  14           .     ...
3F15  A1 C2        ..    LDA (&C2,X)
3F17  44           D     ...
3F18  C5 14        ..    CMP &14
3F1A  B3           .     ...
3F1B  F5 E0        ..    SBC &E0,X
3F1D  C5 C8        ..    CMP &C8
3F1F  D5 8C        ..    CMP &8C,X
3F21  B3           .     ...
3F22  82           .     ...
3F23  B0 96        ..    BCS &3EBB
3F25  B8           .     CLV
3F26  9F           .     ...
3F27  91 A6        ..    STA (&A6),Y
3F29  B3           .     ...
3F2A  0E C2 C7     ...   ASL &C7C2
3F2D  85 80        ..    STA &80
3F2F  82           .     ...
3F30  1A           .     ...
3F31  E5 3E        .>    SBC &3E
3F33  52           R     ...
3F34  20 89 EC      ..   JSR &EC89
3F37  36 80        6.    ROL &80,X
3F39  84 88        ..    STY &88
3F3B  39 B3 99     9..   AND &99B3,Y
3F3E  52           R     ...
3F3F  A0 D6        ..    LDY #&D6
3F41  E8           .     INX
3F42  45 84        E.    EOR &84
3F44  84 84        ..    STY &84
3F46  A7           .     ...
3F47  8C AA A2     ...   STY &A2AA
3F4A  E3           .     ...
3F4B  4B           K     ...
3F4C  FF           .     ...
3F4D  80           .     ...
3F4E  35 ED        5.    AND &ED,X
3F50  E4 85        ..    CPX &85
3F52  85 87        ..    STA &87
3F54  90 97        ..    BCC &3EED
3F56  B0 56        .V    BCS &3FAE
3F58  EC D6 CC     ...   CPX &CCD6
3F5B  BF           .     ...
3F5C  4D BB B4     M..   EOR &B4BB
3F5F  A4 3C        .<    LDY &3C
3F61  A2 B1        ..    LDX #&B1
3F63  59 FC C5     Y..   EOR &C5FC,Y
3F66  51 AA        Q.    EOR (&AA),Y
3F68  7C           |     ...
3F69  18           .     CLC
3F6A  E6 90        ..    INC &90
3F6C  92           .     ...
3F6D  04           .     ...
3F6E  8B           .     ...
3F6F  25 C5        %.    AND &C5
3F71  82           .     ...
3F72  83           .     ...
3F73  5F           _     ...
3F74  BE E4 2B     ..+   LDX &2BE4,Y
3F77  B8           .     CLV
3F78  8E AE 9C     ...   STX &9CAE
3F7B  D5 85        ..    CMP &85,X
3F7D  82           .     ...
3F7E  80           .     ...
3F7F  E6 D8        ..    INC &D8
3F81  75 C4        u.    ADC &C4,X
3F83  CE F8 C4     ...   DEC &C4F8
3F86  2D B0 D6     -..   AND &D6B0
3F89  88           .     DEY
3F8A  92           .     ...
3F8B  A1 B8        ..    LDA (&B8,X)
3F8D  F2           .     ...
3F8E  80           .     ...
3F8F  33           3     ...
3F90  8D 04 B1     ...   STA &B104
3F93  45 05        E.    EOR &05
3F95  26 43        &C    ROL &43
3F97  9E           .     ...
3F98  11 F5        ..    ORA (&F5),Y
3F9A  BD A3 53     ..S   LDA &53A3,X
3F9D  B9 C7 E3     ...   LDA &E3C7,Y
3FA0  C4 B7        ..    CPY &B7
3FA2  09 D3        ..    ORA #&D3
3FA4  D3           .     ...
3FA5  02           .     ...
3FA6  2F           /     ...
3FA7  57           W     ...
3FA8  6D 35 AD     m5.   ADC &AD35
3FAB  3C           <     ...
3FAC  76 7E        v~    ROR &7E,X
3FAE  6C 44 05     lD.   JMP (&0544)
3FB1  25 09        %.    AND &09
3FB3  BF           .     ...
3FB4  34           4     ...
3FB5  89           .     ...
3FB6  84 96        ..    STY &96
3FB8  0C           .     ...
3FB9  75 2D        u-    ADC &2D,X
3FBB  48           H     PHA
3FBC  37           7     ...
3FBD  80           .     ...
3FBE  86 B3        ..    STX &B3
3FC0  14           .     ...
3FC1  6B           k     ...
3FC2  21 69        !i    AND (&69,X)
3FC4  44           D     ...
3FC5  17           .     ...
3FC6  61 4D        aM    ADC (&4D,X)
3FC8  D3           .     ...
3FC9  38           8     SEC
3FCA  EA           .     NOP
3FCB  5A           Z     ...
3FCC  1C           .     ...
3FCD  63           c     ...
3FCE  53           S     ...
3FCF  20 7B 53      {S   JSR &537B
3FD2  02           .     ...
3FD3  02           .     ...
3FD4  65 39        e9    ADC &39
3FD6  B0 58        .X    BCS &4030
3FD8  CC 18 76     ..v   CPY &7618
3FDB  41 15        A.    EOR (&15,X)
3FDD  45 20        E     EOR &20
3FDF  11 75        .u    ORA (&75),Y
3FE1  E1 18        ..    SBC (&18,X)
3FE3  D2           .     ...
3FE4  80           .     ...
3FE5  B6 00        ..    LDX &00,Y
3FE7  49 05        I.    EOR #&05
3FE9  01 62        .b    ORA (&62,X)
3FEB  12           .     ...
3FEC  5E 38 92     ^8.   LSR &9238,Y
3FEF  A8           .     TAY
3FF0  22           "     ...
3FF1  64           d     ...
3FF2  04           .     ...
3FF3  78           x     SEI
3FF4  C6 C2        ..    DEC &C2
3FF6  36 57        6W    ROL &57,X
3FF8  61 18        a.    ADC (&18,X)
3FFA  68           h     PLA
3FFB  48           H     PHA
3FFC  01 2C        .,    ORA (&2C,X)
3FFE  3D 15 2B     =.+   ORA &2B15,X
4001  03           .     ...
4002  3C           <     ...
4003  BA           .     TXS
4004  09 44        .D    ORA #&44
4006  4F           O     ...
4007  7E 5B 78     ~[x   ROR &785B,X
400A  69 07        i.    ADC #&07
400C  72           r     ...
400D  7A           z     ...
400E  3B           ;     ...
400F  97           .     ...
4010  00           .     BRK
4011  2C 48 3F     ,H?   BIT &3F48
4014  9F           .     ...
4015  5B           [     ...
4016  C1 2B        .+    CMP (&2B,X)
4018  21 32        !2    AND (&32,X)
401A  5C           \     ...
401B  18           .     CLC
401C  46 1A        F.    LSR &1A
401E  4C 15 66     L.f   JMP &6615
4021  44           D     ...
4022  1F           .     ...
4023  C6 C3        ..    DEC &C3
4025  A7           .     ...
4026  CA           .     DEX
4027  34           4     ...
4028  DF           .     ...
4029  90 B0        ..    BCC &3FDB
402B  DE A1 D9     ...   DEC &D9A1,X
402E  3C           <     ...
402F  B1 9C        ..    LDA (&9C),Y
4031  F0 D4        ..    BEQ &4007
4033  75 01        u.    ADC &01,X
4035  99 8E C0     ...   STA &C08E,Y
4038  1F           .     ...
4039  03           .     ...
403A  22           "     ...
403B  59 34 83     Y4.   EOR &8334,Y
403E  82           .     ...
403F  80           .     ...
4040  76 68        vh    ROR &68,X
4042  52           R     ...
4043  20 55 26      U&   JSR &2655
4046  67           g     ...
4047  0D 35 64     .5d   ORA &6435
404A  6F           o     ...
404B  D0 0C        ..    BNE &4059
404D  3D 64 69     =di   ORA &6964,X
4050  F6 31        .1    INC &31,X
4052  48           H     PHA
4053  18           .     CLC
4054  49 F7        I.    EOR #&F7
4056  50 97        P.    BVC &3FEF
4058  47           G     ...
4059  92           .     ...
405A  00           .     BRK
405B  16 47        .G    ASL &47,X
405D  09 34        .4    ORA #&34
405F  83           .     ...
4060  82           .     ...
4061  80           .     ...
4062  76 68        vh    ROR &68,X
4064  52           R     ...
4065  20 31 42      1B   JSR &4231
4068  09 D3        ..    ORA #&D3
406A  6B           k     ...
406B  70 43        pC    BCS &40B0
406D  34           4     ...
406E  43           C     ...
406F  3C           <     ...
4070  75 72        ur    ADC &72,X
4072  15 3A        .:    ORA &3A,X
4074  C4 64        .d    CPY &64
4076  5E AE 68     ^.h   LSR &68AE,Y
4079  08           .     PHP
407A  32           2     ...
407B  79 74 64     ytd   ADC &6474,Y
407E  44           D     ...
407F  03           .     ...
4080  22           "     ...
4081  59 34 83     Y4.   EOR &8334,Y
4084  82           .     ...
4085  80           .     ...
4086  0A           .     ASL A
4087  F1 9A        ..    SBC (&9A),Y
4089  F4           .     ...
408A  2C F8 3A     ,.:   BIT &3AF8
408D  C1 36        .6    CMP (&36,X)
408F  D0 9B        ..    BNE &402C
4091  75 85        u.    ADC &85,X
4093  88           .     DEY
4094  79 85 38     y.8   ADC &3885,Y
4097  C9 87        ..    CMP #&87
4099  71 67        qg    ADC (&67),Y
409B  50 16        P.    BVC &40B3
409D  47           G     ...
409E  09 34        .4    ORA #&34
40A0  83           .     ...
40A1  82           .     ...
40A2  80           .     ...
40A3  76 68        vh    ROR &68,X
40A5  52           R     ...
40A6  20 55 26      U&   JSR &2655
40A9  CF           .     ...
40AA  E8           .     INX
40AB  83           .     ...
40AC  7D 4B 81     }K.   ADC &814B,X
40AF  A6 8E        ..    LDX &8E
40B1  9C           .     ...
40B2  5B           [     ...
40B3  8A           .     TXA
40B4  9E           .     ...
40B5  54           T     ...
40B6  86 40        .@    STX &40
40B8  F8           .     SED
40B9  EF           .     ...
40BA  B9 FC 78     ..x   LDA &78FC,Y
40BD  80           .     ...
40BE  76 68        vh    ROR &68,X
40C0  52           R     ...
40C1  20 55 26      U&   JSR &2655
40C4  67           g     ...
40C5  D0 16        ..    BNE &40DD
40C7  28           (     PLP
40C8  71 CF        q.    ADC (&CF),Y
40CA  9E           .     ...
40CB  12           .     ...
40CC  6F           o     ...
40CD  48           H     PHA
40CE  11 38        .8    ORA (&38),Y
40D0  91 90        ..    STA (&90),Y
40D2  0C           .     ...
40D3  3A           :     ...
40D4  8F           .     ...
40D5  68           h     PLA
40D6  72           r     ...
40D7  88           .     DEY
40D8  8C 87 8F     ...   STY &8F87
40DB  96 08        ..    STX &08,Y
40DD  97           .     ...
40DE  06 FF        ..    ASL &FF
40E0  A1 6D        .m    LDA (&6D,X)
40E2  F1 64        .d    SBC (&64),Y
40E4  98           .     TYA
40E5  E0 7A        .z    CPX #&7A
40E7  08           .     PHP
40E8  28           (     PLP
40E9  D3           .     ...
40EA  8C 17 66     ..f   STY &6617
40ED  BF           .     ...
40EE  BE 80 01     ...   LDX &0180,Y
40F1  45 01        E.    EOR &01
40F3  D2           .     ...
40F4  8F           .     ...
40F5  FA           .     ...
40F6  CC 48 46     .HF   CPY &4648
40F9  2E 79 0A     .y.   ROL &0A79
40FC  F9 ED 28     ..(   SBC &28ED,Y
40FF  76 22        v"    ROR &22,X
4101  28           (     PLP
4102  79 1B 80     y..   ADC &801B,Y
4105  53           S     ...
4106  BD 4C 02     .L.   LDA &024C,X
4109  33           3     ...
410A  B0 A3        ..    BCS &40AF
410C  3D B1 B5     =..   ORA &B5B1,X
410F  73           s     ...
4110  DC           .     ...
4111  A3           .     ...
4112  FF           .     ...
4113  18           .     CLC
4114  12           .     ...
4115  E6 12        ..    INC &12
4117  2C 15 EE     ,..   BIT &EE15
411A  8F           .     ...
411B  68           h     PLA
411C  BE 44 99     .D.   LDX &9944,Y
411F  37           7     ...
4120  01 56        .V    ORA (&56,X)
4122  75 04        u.    ADC &04,X
4124  12           .     ...
4125  CF           .     ...
4126  5B           [     ...
4127  64           d     ...
4128  98           .     TYA
4129  8A           .     TXA
412A  64           d     ...
412B  98           .     TYA


412C  60           `     RTS
412D  60           `     RTS
412E  46 29        F)    LSR &29
4130  A5 03        ..    LDA &03
4132  09 04        ..    ORA #&04
4134  4A           J     LSR A
4135  6A           j     ROR A
4136  6A           j     ROR A
4137  85 6D        .m    STA &6D
4139  4A           J     LSR A
413A  29 07        ).    AND #&07
413C  85 6C        .l    STA &6C
413E  A5 2F        ./    LDA &2F
4140  A6 31        .1    LDX &31
4142  18           .     CLC
4143  69 10        i.    ADC #&10
4145  95 36        .6    STA &36,X
4147  A5 28        .(    LDA &28
4149  69 00        i.    ADC #&00
414B  95 3A        .:    STA &3A,X
414D  A6 6C        .l    LDX &6C
414F  BD 5B 41     .[A   LDA &415B,X
4152  24 6D        $m    BIT &6D
4154  70 02        p.    BCS &4158
4156  29 0F        ).    AND #&0F
.
4158  85 5A        .Z    STA &5A
415A  60           `     RTS
415B  2B           +     ...
415C  2D 15 1C     -..   AND &1C15
415F  42           B     ...
4160  12           .     ...
4161  26 4E        &N    ROL &4E
4163  52           R     ...
4164  63           c     ...
4165  35 21        5!    AND &21,X
4167  4A           J     LSR A
4168  A9 B0        ..    LDA #&B0
416A  B0 02        ..    BCS &416E
416C  A9 80        ..    LDA #&80
.
416E  24 29        $)    BIT &29
4170  20 79 28      y(   JSR &2879
4173  85 38        .8    STA &38
4175  C6 38        .8    DEC &38
4177  A5 3A        .:    LDA &3A
4179  65 3C        e<    ADC &3C
417B  29 03        ).    AND #&03
417D  AA           .     TAX
417E  BD 63 41     .cA   LDA &4163,X
4181  85 5A        .Z    STA &5A
4183  60           `     RTS
4184  60           `     RTS
4185  60           `     RTS
4186  60           `     RTS
4187  2C D7 3A     ,.:   BIT &3AD7
418A  65 2C        e,    ADC &2C
418C  E5 3A        .:    SBC &3A
418E  C9 35        .5    CMP #&35
4190  C7           .     ...
4191  3A           :     ...
4192  E1 33        .3    SBC (&33,X)
4194  F3           .     ...
4195  3A           :     ...
4196  FF           .     ...
4197  FF           .     ...
4198  52           R     ...
4199  75 6E        un    ADC &6E,X
419B  20 47 61      Ga   JSR &6147
419E  6D 65 00     me.   ADC &0065
41A1  53           S     ...
41A2  74           t     ...
41A3  61 74        at    ADC (&74,X)
41A5  75 73        us    ADC &73,X
41A7  00           .     BRK
41A8  53           S     ...
41A9  63           c     ...
41AA  6F           o     ...
41AB  72           r     ...
41AC  65 20        e     ADC &20
41AE  42           B     ...
41AF  72           r     ...
41B0  65 61        ea    ADC &61
41B2  6B           k     ...
41B3  64           d     ...
41B4  6F           o     ...
41B5  77           w     ...
41B6  6E 00 4C     n.L   ROR &4C00
41B9  6F           o     ...
41BA  61 64        ad    ADC (&64,X)
41BC  20 70 6F      po   JSR &6F70
41BF  73           s     ...
41C0  69 74        it    ADC #&74
41C2  69 6F        io    ADC #&6F
41C4  6E 00 53     n.S   ROR &5300
41C7  61 76        av    ADC (&76,X)
41C9  65 20        e     ADC &20
41CB  70 6F        po    BCS &423C
41CD  73           s     ...
41CE  69 74        it    ADC #&74
41D0  69 6F        io    ADC #&6F
41D2  6E 00 44     n.D   ROR &4400
41D5  65 66        ef    ADC &66
41D7  61 75        au    ADC (&75,X)
41D9  6C 74 20     lt    JMP (&2074)
41DC  70 6F        po    BCS &424D
41DE  73           s     ...
41DF  69 95        i.    ADC #&95
41E1  B6 19        ..    LDX &19,Y
41E3  EF           .     ...
41E4  6F           o     ...
41E5  6E 70 5E     np^   ROR &5E70
41E8  D4           .     ...
41E9  A9 A9        ..    LDA #&A9
41EB  57           W     ...
41EC  6D 06 6E     m.n   ADC &6E06
41EF  ED 2D 6E     .-n   SBC &6E2D
41F2  6E 06 CA     n..   ROR &CA06
41F5  70 AD        p.    BCS &41A4
41F7  07           .     ...
41F8  5E 5E 53     ^^S   LSR &535E,Y
41FB  62           b     ...
41FC  53           S     ...
41FD  9B           .     ...
41FE  35 9E        5.    AND &9E,X
4200  15 16        ..    ORA &16,X
4202  E9 22        ."    SBC #&22
4204  57           W     ...
4205  97           .     ...
4206  0C           .     ...
4207  CC 8C 78     ..x   CPY &788C
420A  3F           ?     ...
420B  BD 05 ED     ...   LDA &ED05,X
420E  E2           .     ...
420F  0A           .     ASL A
4210  F0 05        ..    BEQ &4217
4212  2D 6E D3     -n.   AND &D36E
4215  07           .     ...
4216  E4 24        .$    CPX &24
4218  63           c     ...
4219  A1 A5        ..    LDA (&A5,X)
421B  64           d     ...
421C  53           S     ...
421D  07           .     ...
421E  A4 63        .c    LDY &63
4220  66 7E        f~    ROR &7E
4222  3E DC 8C     >..   ROL &8CDC,X
4225  72           r     ...
4226  E8           .     INX
4227  BC 06 19     ...   LDY &1906,X
422A  22           "     ...
422B  6D DE D3     m..   ADC &D3DE
422E  19 71 F1     .q.   ORA &F171,Y
.
4231  7E 29 F4     ~).   ROR &F429,X
4234  39 A9 D3     9..   AND &D3A9,Y
4237  06 53        .S    ASL &53
4239  A1 E4        ..    LDA (&E4,X)
423B  07           .     ...
.
423C  D4           .     ...
423D  A9 D3        ..    LDA #&D3
423F  1A           .     ...
4240  C1 77        .w    CMP (&77,X)
4242  D7           .     ...
4243  41 6F        Ao    EOR (&6F,X)
4245  A1 6D        .m    LDA (&6D,X)
4247  53           S     ...
4248  F5 D3        ..    SBC &D3,X
424A  21 19        !.    AND (&19,X)
424C  A1 53        .S    LDA (&53,X)
424E  06 E5        ..    ASL &E5
.
4250  EE 19 97     ...   INC &9719
4253  D3           .     ...
4254  13           .     ...
4255  EA           .     NOP
4256  75 02        u.    ADC &02,X
4258  D3           .     ...
4259  9B           .     ...
425A  53           S     ...
425B  EA           .     NOP
425C  5F           _     ...
425D  85 72        .r    STA &72
425F  21 6E        !n    AND (&6E,X)
4261  2C 2D 07     ,-.   BIT &072D
4264  AD ED B1     ...   LDA &B1ED
4267  25 19        %.    AND &19
4269  2F           /     ...
426A  53           S     ...
426B  3B           ;     ...
.
426C  9E           .     ...
426D  E2           .     ...
426E  D3           .     ...
426F  62           b     ...
4270  02           .     ...
4271  F0 2D        .-    BEQ &42A0
4273  06 A4        ..    ASL &A4
4275  D3           .     ...
4276  19 21 53     .!S   ORA &5321,Y
4279  21 ED        !.    AND (&ED,X)
427B  30 D3        0.    BMI &4250
427D  6A           j     ROR A
427E  59 A4 6D     Y.m   EOR &6DA4,Y
4281  70 6F        po    BCS &42F2
4283  04           .     ...
4284  A4 64        .d    LDY &64
4286  A2 A2        ..    LDX #&A2
4288  1E 04 D3     ...   ASL &D304,Y
428B  01 4A        .J    ORA (&4A,X)
428D  3B           ;     ...
428E  64           d     ...
428F  63           c     ...
4290  F0 2D        .-    BEQ &42BF
4292  17           .     ...
4293  ED F4 2F     ../   SBC &2FF4
4296  12           .     ...
4297  30 D3        0.    BMI &426C
4299  21 FA        !.    AND (&FA,X)
429B  A2 A1        ..    LDX #&A1
429D  E2           .     ...
429E  8D 2E 64     ..d   STA &642E
42A1  6E 02 EE     n..   ROR &EE02
42A4  04           .     ...
42A5  05 13        ..    ORA &13
42A7  EE 4A 6A     .Jj   INC &6A4A
42AA  2D 05 9B     -..   AND &9B05
42AD  2D 25 65     -%e   AND &6525
42B0  ED FE 31     ..1   SBC &31FE
42B3  6F           o     ...
42B4  F0 14        ..    BEQ &42CA
42B6  EE BF DF     ...   INC &DFBF
42B9  8D D3 6A     ..j   STA &6AD3
42BC  DE 53 8B     .S.   DEC &8B53,X
.
42BF  1E EE AD     ...   ASL &ADEE,Y
42C2  70 7A        pz    BCS &433E
42C4  24 A1        $.    BIT &A1
42C6  22           "     ...
42C7  6D 22 D3     m".   ADC &D322
.
42CA  21 93        !.    AND (&93,X)
42CC  DF           .     ...
42CD  01 02        ..    ORA (&02,X)
42CF  DC           .     ...
42D0  AE 7C 06     .|.   LDX &067C
42D3  AF           .     ...
42D4  DF           .     ...
42D5  B2           .     ...
42D6  07           .     ...
42D7  29 03        ).    AND #&03
42D9  5E CD EA     ^..   LSR &EACD,Y
42DC  53           S     ...
42DD  CD 07 8F     ...   CMP &8F07
42E0  FC           .     ...
42E1  94 66        .f    STY &66
42E3  69 30        i0    ADC #&30
42E5  07           .     ...
42E6  62           b     ...
42E7  35 D6        5.    AND &D6,X
42E9  9D BF 2F     ../   STA &2FBF,X
42EC  9D 62 62     .bb   STA &6262,X
42EF  1F           .     ...
42F0  53           S     ...
42F1  21 D3        !.    AND (&D3,X)
42F3  43           C     ...
42F4  FE 45 93     .E.   INC &9345,X
42F7  74           t     ...
42F8  9E           .     ...
42F9  F0 91        ..    BEQ &428C
42FB  AE A1 62     ..b   LDX &62A1
42FE  02           .     ...
42FF  07           .     ...
4300  6A           j     ROR A
4301  CC D9 3D     ..=   CPY &3DD9
4304  E2           .     ...
4305  ED ED B0     ...   SBC &B0ED
4308  B4 15        ..    LDY &15
430A  E6 19        ..    INC &19
430C  57           W     ...
430D  17           .     ...
430E  9D 4C ED     .L.   STA &ED4C,X
4311  A2 93        ..    LDX #&93
4313  65 03        e.    ADC &03
4315  21 9E        !.    AND (&9E,X)
4317  05 B4        ..    ORA &B4
4319  B0 06        ..    BCS &4321
431B  EE 5E A1     .^.   INC &A15E
431E  5E 25 49     ^%I   LSR &4925,Y
.
4321  F9 07 7C     ..|   SBC &7C07,Y
4324  DE DE EA     ...   DEC &EADE,X
4327  07           .     ...
4328  67           g     ...
4329  04           .     ...
432A  BD 68 53     .hS   LDA &5368,X
432D  CC 26 A8     .&.   CPY &A826
4330  7A           z     ...
4331  21 DE        !.    AND (&DE,X)
4333  E2           .     ...
4334  9E           .     ...
4335  06 53        .S    ASL &53
4337  A1 1E        ..    LDA (&1E,X)
4339  E2           .     ...
433A  04           .     ...
433B  E8           .     INX
433C  9E           .     ...
433D  04           .     ...
.
433E  64           d     ...
.
433F  06 B9        ..    ASL &B9
4341  06 DA        ..    ASL &DA
4343  13           .     ...
4344  E3           .     ...
4345  4A           J     LSR A
4346  21 F8        !.    AND (&F8,X)
4348  05 C2        ..    ORA &C2
434A  32           2     ...
434B  97           .     ...
434C  07           .     ...
434D  62           b     ...
434E  ED 70 EF     .p.   SBC &EF70
4351  EA           .     NOP
4352  D3           .     ...
4353  6A           j     ROR A
4354  E4 19        ..    CPX &19
4356  C6 F3        ..    DEC &F3
4358  03           .     ...
4359  19 A8 1E     ...   ORA &1EA8,Y
435C  28           (     PLP
435D  9E           .     ...
435E  F5 29        .)    SBC &29,X
4360  07           .     ...
4361  04           .     ...
4362  70 21        p!    BCS &4385
4364  1E 1E 06     ...   ASL &061E,Y
4367  FA           .     ...
4368  EE 2C 2D     .,-   INC &2D2C
436B  F0 13        ..    BEQ &4380
436D  53           S     ...
436E  BB           .     ...
436F  F0 56        .V    BEQ &43C7
4371  21 ED        !.    AND (&ED,X)
4373  A1 AA        ..    LDA (&AA,X)
4375  C0 C4        ..    CPY #&C4
4377  53           S     ...
4378  62           b     ...
4379  EF           .     ...
437A  2F           /     ...
437B  F0 70        .p    BEQ &43ED
437D  5E A1 19     ^..   LSR &19A1,Y
.
4380  6F           o     ...
4381  DE 1E A1     ...   DEC &A11E,X
4384  24 02        $.    BIT &02
4386  5F           _     ...
4387  62           b     ...
4388  6D 06 71     m.q   ADC &7106
438B  19 13 71     ..q   ORA &7113,Y
438E  B0 AF        ..    BCS &433F
4390  56 EA        V.    LSR &EA,X
4392  DE A5 21     ..!   DEC &21A5,X
4395  E5 4B        .K    SBC &4B
4397  8D 03 2F     ../   STA &2F03
439A  29 2D        )-    AND #&2D
439C  57           W     ...
439D  38           8     SEC
439E  6E 07 D3     n..   ROR &D307
43A1  19 2A E3     .*.   ORA &E32A,Y
43A4  B5 6E        .n    LDA &6E,X
43A6  49 E5        I.    EOR #&E5
43A8  70 62        pb    BCS &440C
43AA  B0 12        ..    BCS &43BE
43AC  53           S     ...
43AD  D3           .     ...
43AE  22           "     ...
43AF  6D DF 8D     m..   ADC &8DDF
43B2  53           S     ...
43B3  A1 D4        ..    LDA (&D4,X)
43B5  DF           .     ...
43B6  21 1E        !.    AND (&1E,X)
43B8  2D F0 22     -."   AND &22F0
43BB  70 6E        pn    BCS &442B
43BD  35 12        5.    AND &12,X
43BF  E2           .     ...
43C0  9A           .     TXS
43C1  23           #     ...
43C2  A1 61        .a    LDA (&61,X)
43C4  68           h     PLA
43C5  05 A5        ..    ORA &A5
.
43C7  D3           .     ...
43C8  04           .     ...
43C9  2E 06 19     ...   ROL &1906
43CC  07           .     ...
43CD  D3           .     ...
43CE  E1 2E        ..    SBC (&2E,X)
43D0  24 9B        $.    BIT &9B
43D2  53           S     ...
43D3  CD 07 CD     ...   CMP &CD07
43D6  CA           .     DEX
43D7  0F           .     ...
43D8  52           R     ...
43D9  ED E2 2E     ...   SBC &2EE2
43DC  05 34        .4    ORA &34
43DE  78           x     SEI
43DF  04           .     ...
43E0  3A           :     ...
43E1  7B           {     ...
43E2  04           .     ...
43E3  AD 53 E1     .S.   LDA &E153
43E6  B1 07        ..    LDA (&07),Y
43E8  DF           .     ...
43E9  21 13        !.    AND (&13,X)
43EB  FA           .     ...
43EC  7E 19 5E     ~.^   ROR &5E19,X
43EF  7B           {     ...
43F0  05 96        ..    ORA &96
43F2  3F           ?     ...
43F3  BD 54 DD     .T.   LDA &DD54,X
43F6  19 B1 32     ..2   ORA &32B1,Y
43F9  BC 69 2B     .i+   LDY &2B69,X
43FC  21 6F        !o    AND (&6F,X)
43FE  EE 19 B8     ...   INC &B819
4401  B2           .     ...
4402  2D 2D 64     --d   AND &642D
4405  20 53 03      S.   JSR &0353
4408  53           S     ...
4409  A1 3E        .>    LDA (&3E,X)
440B  FE D3 07     ...   INC &07D3,X
440E  53           S     ...
440F  FB           .     ...
4410  A8           .     TAY
4411  B7           .     ...
4412  29 2B        )+    AND #&2B
4414  E8           .     INX
4415  BC 68 DD     .h.   LDY &DD68,X
4418  19 39 A2     .9.   ORA &A239,Y
441B  B1 F0        ..    LDA (&F0),Y
441D  53           S     ...
441E  1E AD 70     ..p   ASL &70AD,Y
4421  3B           ;     ...
4422  03           .     ...
4423  D6 53        .S    DEC &53,X
4425  1E 7A A5     .z.   ASL &A57A,Y
4428  07           .     ...
4429  1B           .     ...
442A  53           S     ...
.
442B  DE 1E 9E     ...   DEC &9E1E,X
442E  D3           .     ...
442F  21 D6        !.    AND (&D6,X)
4431  19 68 FD     .h.   ORA &FD68,Y
4434  02           .     ...
4435  6A           j     ROR A
4436  34           4     ...
4437  66 B0        f.    ROR &B0
4439  9E           .     ...
443A  04           .     ...
443B  EF           .     ...
443C  04           .     ...
443D  DE ED F1     ...   DEC &F1ED,X
4440  ED 18 A4     ...   SBC &A418
4443  69 17        i.    ADC #&17
4445  53           S     ...
4446  53           S     ...
4447  E2           .     ...
4448  ED 30 DE     .0.   SBC &DE30
444B  EA           .     NOP
444C  9E           .     ...
444D  19 19 47     ..G   ORA &4719,Y
4450  EF           .     ...
4451  06 8C        ..    ASL &8C
.
4453  72           r     ...
4454  EF           .     ...
4455  19 2F F0     ./.   ORA &F02F,Y
4458  ED B9 99     ...   SBC &99B9
445B  B1 DE        ..    LDA (&DE),Y
445D  23           #     ...
445E  A3           .     ...
445F  78           x     SEI
4460  A2 2F        ./    LDX #&2F
4462  30 EF        0.    BMI &4453
4464  04           .     ...
4465  B5 E4        ..    LDA &E4,X
4467  A1 D3        ..    LDA (&D3,X)
4469  19 7A A1     .z.   ORA &A17A,Y
446C  CD DA 1B     ...   CMP &1BDA
446F  D3           .     ...
4470  6D 06 ED     m..   ADC &ED06
4473  71 B1        q.    ADC (&B1),Y
4475  6E 04 6D     n.m   ROR &6D04
4478  EE AF 4A     ..J   INC &4AAF
447B  D1 5E        .^    CMP (&5E),Y
447D  1E 53 7C     .S|   ASL &7C53,Y
4480  EF           .     ...
4481  18           .     CLC
4482  F0 2D        .-    BEQ &44B1
4484  02           .     ...
4485  B8           .     CLV
4486  7F                ...
4487  62           b     ...
4488  7C           |     ...
4489  8D 12 DE     ...   STA &DE12
448C  C6 E4        ..    DEC &E4
448E  8B           .     ...
448F  AE 0D ED     ...   LDX &ED0D
4492  AD 0F E2     ...   LDA &E20F
4495  DF           .     ...
4496  B1 6E        .n    LDA (&6E),Y
4498  E4 04        ..    CPX &04
449A  64           d     ...
449B  07           .     ...
449C  25 F0        %.    AND &F0
449E  E4 19        ..    CPX &19
44A0  2E EF 19     ...   ROL &19EF
44A3  B0 4F        .O    BCS &44F4
44A5  32           2     ...
44A6  75 07        u.    ADC &07,X
44A8  E4 8D        ..    CPX &8D
44AA  5F           _     ...
44AB  21 D4        !.    AND (&D4,X)
44AD  CD CB 53     ..S   CMP &53CB
44B0  8F           .     ...
.
44B1  AE AF ED     ...   LDX &EDAF
44B4  4A           J     LSR A
44B5  21 A1        !.    AND (&A1,X)
44B7  79 23 EA     y#.   ADC &EA23,Y
44BA  07           .     ...
44BB  13           .     ...
44BC  54           T     ...
44BD  F5 62        .b    SBC &62,X
44BF  24 6F        $o    BIT &6F
44C1  4A           J     LSR A
44C2  EE 11 13     ...   INC &1311
44C5  93           .     ...
44C6  1E A9 25     ..%   ASL &25A9,Y
44C9  5F           _     ...
44CA  A1 7A        .z    LDA (&7A,X)
44CC  24 A5        $.    BIT &A5
44CE  5E 0F A4     ^..   LSR &A40F,Y
44D1  1E EE 19     ...   ASL &19EE,Y
44D4  A0 53        .S    LDY #&53
44D6  E1 A1        ..    SBC (&A1,X)
44D8  93           .     ...
44D9  93           .     ...
44DA  D3           .     ...
44DB  E1 32        .2    SBC (&32,X)
44DD  97           .     ...
44DE  93           .     ...
44DF  53           S     ...
44E0  D3           .     ...
44E1  19 21 1E     .!.   ORA &1E21,Y
44E4  F9 19 A5     ...   SBC &A519,Y
44E7  03           .     ...
44E8  6B           k     ...
44E9  21 AE        !.    AND (&AE,X)
44EB  12           .     ...
44EC  7C           |     ...
44ED  6A           j     ROR A
44EE  FA           .     ...
44EF  2D 38 72     -8r   AND &7238
44F2  BF           .     ...
44F3  B0 21        .!    BCS &4516
44F5  EF           .     ...
44F6  11 B5        ..    ORA (&B5),Y
44F8  56 36        V6    LSR &36,X
44FA  02           .     ...
44FB  3D 68 01     =h.   ORA &0168,X
44FE  8C 30 D3     .0.   STY &D330
4501  21 64        !d    AND (&64,X)
4503  7E 64 A1     ~d.   ROR &A164,X
4506  7C           |     ...
4507  21 54        !T    AND (&54,X)
4509  FE F2 6E     ..n   INC &6EF2,X
450C  E4 29        .)    CPX &29
450E  5F           _     ...
450F  04           .     ...
4510  19 19 2A     ..*   ORA &2A19,Y
4513  AF           .     ...
4514  2D E2 6A     -.j   AND &6AE2
4517  6F           o     ...
4518  A7           .     ...
4519  69 F7        i.    ADC #&F7
451B  E9 32        .2    SBC #&32
451D  A8           .     TAY
451E  FC           .     ...
451F  28           (     PLP
4520  FA           .     ...
4521  07           .     ...
4522  D3           .     ...
4523  6A           j     ROR A
4524  64           d     ...
4525  32           2     ...
4526  53           S     ...
4527  05 4A        .J    ORA &4A
4529  62           b     ...
452A  04           .     ...
452B  56 D3        V.    LSR &D3,X
452D  6A           j     ROR A
.
452E  54           T     ...
452F  A4 6D        .m    LDY &6D
4531  53           S     ...
4532  E2           .     ...
4533  ED 69 14     .i.   SBC &1469
4536  1E EF 37     ..7   ASL &37EF,Y
4539  00           .     BRK
453A  40           @     RTI
453B  28           (     PLP
453C  D3           .     ...
453D  05 2D        .-    ORA &2D
453F  74           t     ...
4540  ED 05 EF     ...   SBC &EF05
4543  5E 53 E3     ^S.   LSR &E353,Y
4546  19 A5 30     ..0   ORA &30A5,Y
4549  05 17        ..    ORA &17
454B  A1 A8        ..    LDA (&A8,X)
454D  5F           _     ...
454E  21 05        !.    AND (&05,X)
4550  22           "     ...
4551  ED E2 B1     ...   SBC &B1E2
4554  62           b     ...
4555  02           .     ...
4556  64           d     ...
4557  65 6D        em    ADC &6D
4559  2C 12 CC     ,..   BIT &CC12
455C  6D E2 04     m..   ADC &04E2
455F  D3           .     ...
4560  53           S     ...
4561  A1 19        ..    LDA (&19,X)
4563  AB           .     ...
4564  A2 CD        ..    LDX #&CD
4566  8B           .     ...
4567  13           .     ...
4568  01 AF        ..    ORA (&AF,X)
456A  21 ED        !.    AND (&ED,X)
456C  51 94        Q.    EOR (&94),Y
456E  F5 29        .)    SBC &29,X
4570  39 2E F0     9..   AND &F02E,Y
4573  1A           .     ...
4574  5E 02 1E     ^..   LSR &1E02,Y
4577  7A           z     ...
4578  AD ED 39     ..9   LDA &39ED
457B  70 B1        p.    BCS &452E
457D  EE 03 B4     ...   INC &B403
4580  D6 8D        ..    DEC &8D,X
4582  53           S     ...
4583  21 C2        !.    AND (&C2,X)
4585  DE 8B 2D     ..-   DEC &2D8B,X
4588  ED 19 2F     ../   SBC &2F19
458B  2F           /     ...
458C  01 AF        ..    ORA (&AF,X)
458E  FF           .     ...
458F  3F           ?     ...
4590  53           S     ...
4591  00           .     BRK
4592  ED 25 06     .%.   SBC &0625
4595  EF           .     ...
4596  24 E2        $.    BIT &E2
4598  2D ED ED     -..   AND &EDED
459B  DE 5E 7B     .^{   DEC &7B5E,X
459E  31 07        1.    AND (&07),Y
45A0  13           .     ...
45A1  CD D3 1B     ...   CMP &1BD3
45A4  D4           .     ...
45A5  CD 07 06     ...   CMP &0607
45A8  A2 6F        .o    LDX #&6F
45AA  A2 31        .1    LDX #&31
45AC  F0 06        ..    BEQ &45B4
45AE  F8           .     SED
45AF  62           b     ...
45B0  A1 53        .S    LDA (&53,X)
45B2  AA           .     TAX
45B3  00           .     BRK
.
45B4  64           d     ...
45B5  05 00        ..    ORA &00
45B7  25 0F        %.    AND &0F
45B9  6D 53 ED     mS.   ADC &ED53
45BC  D3           .     ...
45BD  19 13 93     ...   ORA &9313,Y
45C0  22           "     ...
45C1  D3           .     ...
45C2  22           "     ...
45C3  E1 05        ..    SBC (&05,X)
45C5  64           d     ...
45C6  65 2D        e-    ADC &2D
45C8  70 19        p.    BCS &45E3
45CA  62           b     ...
45CB  06 22        ."    ASL &22
45CD  63           c     ...
45CE  63           c     ...
45CF  BB           .     ...
45D0  64           d     ...
45D1  63           c     ...
45D2  53           S     ...
45D3  04           .     ...
45D4  22           "     ...
45D5  72           r     ...
45D6  63           c     ...
45D7  7E 64 63     ~dc   ROR &6364,X
45DA  64           d     ...
45DB  05 22        ."    ORA &22
45DD  65 5B        e[    ADC &5B
45DF  A1 C0        ..    LDA (&C0,X)
45E1  00           .     BRK
45E2  00           .     BRK
.
45E3  00           .     BRK
45E4  32           2     ...
45E5  11 80        ..    ORA (&80),Y
45E7  10 00        ..    BPL &45E9
.
45E9  00           .     BRK
45EA  00           .     BRK
45EB  20 06 08      ..   JSR &0806
45EE  00           .     BRK
45EF  00           .     BRK
45F0  01 8C        ..    ORA (&8C,X)
45F2  00           .     BRK
45F3  66 80        f.    ROR &80
45F5  00           .     BRK
45F6  00           .     BRK
45F7  00           .     BRK
45F8  01 02        ..    ORA (&02,X)
45FA  08           .     PHP
45FB  64           d     ...
45FC  90 80        ..    BCC &457E
45FE  00           .     BRK
45FF  66 8C        f.    ROR &8C
4601  00           .     BRK
4602  00           .     BRK
4603  00           .     BRK
4604  56 A3        V.    LSR &A3,X
4606  C0 CA        ..    CPY #&CA
4608  00           .     BRK
4609  00           .     BRK
460A  00           .     BRK
460B  07           .     ...
460C  2D 66 00     -f.   AND &0066
460F  00           .     BRK
4610  00           .     BRK
4611  00           .     BRK
4612  00           .     BRK
4613  60           `     RTS
4614  C0 00        ..    CPY #&00
4616  00           .     BRK
4617  00           .     BRK
4618  01 0B        ..    ORA (&0B,X)
461A  88           .     DEY
461B  42           B     ...
461C  F0 3E        .>    BEQ &465C
461E  64           d     ...
461F  4C 3C 00     L<.   JMP &003C
4622  00           .     BRK
4623  00           .     BRK
4624  03           .     ...
4625  01 19        ..    ORA (&19,X)
4627  68           h     PLA
4628  00           .     BRK
4629  00           .     BRK
462A  13           .     ...
462B  21 2D        !-    AND (&2D,X)
462D  00           .     BRK
462E  00           .     BRK
462F  00           .     BRK
4630  0B           .     ...
4631  8D 00 40     ..@   STA &4000
4634  68           h     PLA
4635  00           .     BRK
4636  00           .     BRK
4637  00           .     BRK
4638  02           .     ...
4639  AB           .     ...
463A  00           .     BRK
463B  CB           .     ...
463C  F8           .     SED
463D  18           .     CLC
463E  90 4C        .L    BCC &468C
4640  DF           .     ...
4641  00           .     BRK
4642  00           .     BRK
4643  00           .     BRK
4644  46 23        F#    LSR &23
4646  00           .     BRK
4647  1C           .     ...
4648  00           .     BRK
4649  00           .     BRK
464A  37           7     ...
464B  07           .     ...
464C  06 00        ..    ASL &00
464E  00           .     BRK
464F  00           .     BRK
4650  CA           .     DEX
4651  35 04        5.    AND &04,X
4653  42           B     ...
4654  FC           .     ...
4655  80           .     ...
4656  00           .     BRK
4657  00           .     BRK
4658  13           .     ...
4659  19 0A E8     ...   ORA &E80A,Y
.
465C  74           t     ...
465D  99 83 1E     ...   STA &1E83,Y
4660  3C           <     ...
4661  C0 00        ..    CPY #&00
4663  00           .     BRK
4664  46 23        F#    LSR &23
4666  00           .     BRK
4667  0A           .     ASL A
4668  00           .     BRK
4669  00           .     BRK
466A  1F           .     ...
466B  21 00        !.    AND (&00,X)
466D  00           .     BRK
466E  00           .     BRK
466F  00           .     BRK
4670  CB           .     ...
4671  BD C5 63     ..c   LDA &63C5,X
4674  4F           O     ...
4675  C0 00        ..    CPY #&00
4677  00           .     BRK
4678  15 9F        ..    ORA &9F,X
467A  0B           .     ...
467B  E2           .     ...
467C  33           3     ...
467D  00           .     BRK
467E  87           .     ...
467F  78           x     SEI
4680  FF           .     ...
4681  0C           .     ...
4682  00           .     BRK
4683  00           .     BRK
4684  07           .     ...
4685  83           .     ...
4686  59 0E 00     Y..   EOR &000E,Y
4689  01 3F        .?    ORA (&3F,X)
468B  07           .     ...
.
468C  00           .     BRK
468D  00           .     BRK
468E  03           .     ...
468F  0F           .     ...
4690  4B           K     ...
4691  AD F5 7B     ..{   LDA &7BF5
4694  6F           o     ...
4695  E0 00        ..    CPX #&00
4697  00           .     BRK
4698  47           G     ...
4699  FF           .     ...
469A  26 C0        &.    ROL &C0
469C  65 01        e.    ADC &01
469E  96 C0        ..    STX &C0,Y
46A0  C7           .     ...
46A1  F4           .     ...
46A2  00           .     BRK
46A3  00           .     BRK
46A4  04           .     ...
46A5  02           .     ...
46A6  11 08        ..    ORA (&08),Y
46A8  00           .     BRK
46A9  03           .     ...
46AA  1F           .     ...
46AB  07           .     ...
46AC  00           .     BRK
46AD  00           .     BRK
46AE  0F           .     ...
46AF  0F           .     ...
46B0  4A           J     LSR A
46B1  25 B5        %.    AND &B5
46B3  DB           .     ...
46B4  FF           .     ...
46B5  AC 00 00     ...   LDY &0000
46B8  4F           O     ...
46B9  FF           .     ...
46BA  4E 80 61     N.a   LSR &6180
46BD  0B           .     ...
46BE  1E 00 FF     ...   ASL &FF00,Y
46C1  EF           .     ...
46C2  00           .     BRK
46C3  00           .     BRK
46C4  06 13        ..    ASL &13
46C6  11 5C        .\    ORA (&5C),Y
46C8  00           .     BRK
46C9  21 3F        !?    AND (&3F,X)
46CB  21 00        !.    AND (&00,X)
46CD  01 0F        ..    ORA (&0F,X)
46CF  0F           .     ...
46D0  4B           K     ...
46D1  AD A5 4B     ..K   LDA &4BA5
46D4  7A           z     ...
46D5  9E           .     ...
46D6  80           .     ...
46D7  00           .     BRK
46D8  37           7     ...
46D9  FB           .     ...
46DA  CE 80 F8     ...   DEC &F880
46DD  01 96        ..    ORA (&96,X)
46DF  E0 79        .y    CPX #&79
46E1  79 C0 00     y..   ADC &00C0,Y
46E4  06 13        ..    ASL &13
46E6  11 1E        ..    ORA (&1E),Y
46E8  00           .     BRK
46E9  07           .     ...
46EA  1F           .     ...
46EB  21 00        !.    AND (&00,X)
46ED  03           .     ...
46EE  1F           .     ...
46EF  2F           /     ...
46F0  4B           K     ...
46F1  AD 85 43     ..C   LDA &4385
46F4  6F           o     ...
46F5  7C           |     ...
46F6  C0 00        ..    CPY #&00
46F8  13           .     ...
46F9  F9 8C 40     ..@   SBC &408C,Y
46FC  E0 00        ..    CPX #&00
46FE  87           .     ...
46FF  3C           <     ...
4700  2F           /     ...
4701  3D CC 00     =..   ORA &00CC,X
4704  26 03        &.    ROL &03
4706  00           .     BRK
4707  8C 00 21     ..!   STY &2100
470A  3F           ?     ...
470B  07           .     ...
470C  00           .     BRK
470D  03           .     ...
470E  0E 0D 4A     ..J   ASL &4A0D
4711  25 04        %.    AND &04
4713  42           B     ...
4714  DF           .     ...
4715  4F           O     ...
4716  CA           .     DEX
4717  00           .     BRK
4718  13           .     ...
4719  F0 8C        ..    BEQ &46A7
471B  10 80        ..    BPL &469D
471D  11 87        ..    ORA (&87),Y
471F  1E FF FF     ...   ASL &FFFF,Y
4722  3C           <     ...
4723  00           .     BRK
4724  04           .     ...
4725  03           .     ...
4726  28           (     PLP
4727  24 00        $.    BIT &00
4729  07           .     ...
472A  3F           ?     ...
472B  07           .     ...
472C  00           .     BRK
472D  07           .     ...
472E  0F           .     ...
472F  0F           .     ...
4730  0B           .     ...
4731  8D 00 40     ..@   STA &4000
4734  BD EF 9E     ...   LDA &9EEF,X
4737  00           .     BRK
4738  0D F0 8F     ...   ORA &8FF0
473B  00           .     BRK
473C  0C           .     ...
473D  10 80        ..    BPL &46BF
473F  84 96        ..    STY &96
4741  C7           .     ...
4742  F7           .     ...
4743  00           .     BRK
4744  04           .     ...
4745  06 68        .h    ASL &68
4747  30 00        0.    BMI &4749
.
4749  21 1F        !.    AND (&1F,X)
474B  21 00        !.    AND (&00,X)
474D  06 0B        ..    ASL &0B
474F  0D 00 00     ...   ORA &0000
4752  00           .     BRK
4753  40           @     RTI
4754  9F           .     ...
4755  3E 5E 80     >^.   ROL &805E,X
4758  15 F1        ..    ORA &F1,X
475A  AE 00 CC     ...   LDX &CC00
475D  32           2     ...
475E  32           2     ...
475F  00           .     BRK
4760  FF           .     ...
4761  FF           .     ...
4762  DE 80 40     ..@   DEC &4080,X
4765  40           @     RTI
4766  40           @     RTI
4767  10 00        ..    BPL &4769
.
4769  07           .     ...
476A  3F           ?     ...
476B  21 00        !.    AND (&00,X)
476D  11 44        .D    ORA (&44),Y
476F  22           "     ...
4770  03           .     ...
4771  0E 00 42     ..B   ASL &4200
4774  FF           .     ...
4775  A7           .     ...
4776  FC           .     ...
4777  84 37        .7    STY &37
4779  EB           .     ...
477A  CC 01 0E     ...   CPY &0E01
477D  00           .     BRK
477E  12           .     ...
477F  08           .     PHP
4780  B6 1E        ..    LDX &1E,Y
4782  8F           .     ...
4783  68           h     PLA
4784  60           `     RTS
4785  60           `     RTS
4786  00           .     BRK
4787  03           .     ...
4788  00           .     BRK
4789  21 3F        !?    AND (&3F,X)
478B  07           .     ...
478C  01 0F        ..    ORA (&0F,X)
478E  0F           .     ...
478F  0F           .     ...
4790  0E 0B 08     ...   ASL &080B
4793  41 A7        A.    EOR (&A7,X)
4795  BF           .     ...
4796  9F           .     ...
4797  68           h     PLA
4798  6F           o     ...
4799  EF           .     ...
479A  0F           .     ...
479B  11 CA        ..    ORA (&CA),Y
479D  00           .     BRK
479E  25 0C        %.    AND &0C
47A0  FF           .     ...
47A1  FF           .     ...
47A2  FF           .     ...
47A3  8E 00 00     ...   STX &0000
47A6  00           .     BRK
47A7  CA           .     DEX
47A8  00           .     BRK
.
47A9  07           .     ...
47AA  1F           .     ...
47AB  07           .     ...
47AC  01 0F        ..    ORA (&0F,X)
47AE  0F           .     ...
47AF  0F           .     ...
47B0  88           .     DEY
47B1  88           .     DEY
47B2  88           .     DEY
47B3  62           b     ...
47B4  6F           o     ...
47B5  9F           .     ...
47B6  3F           ?     ...
47B7  F8           .     SED
47B8  07           .     ...
47B9  BF           .     ...
47BA  0D 03 2D     ..-   ORA &2D03
47BD  00           .     BRK
47BE  48           H     PHA
47BF  44           D     ...
47C0  69 C7        i.    ADC #&C7
47C2  78           x     SEI
47C3  BE 00 11     ...   LDX &1100,Y
47C6  91 06        ..    STA (&06),Y
47C8  00           .     BRK
47C9  21 3F        !?    AND (&3F,X)
47CB  07           .     ...
47CC  00           .     BRK
47CD  80           .     ...
47CE  00           .     BRK
47CF  90 00        ..    BCC &47D1
.
47D1  12           .     ...
47D2  C0 71        .q    CPY #&71
47D4  CF           .     ...
47D5  FF           .     ...
47D6  EF           .     ...
47D7  FE 11 9B     ...   INC &9B11,X
47DA  88           .     DEY
47DB  33           3     ...
47DC  ED 00 4B     ..K   SBC &4B00
47DF  0E 6D 6F     .mo   ASL &6F6D
47E2  3D 8F 00     =..   ORA &008F,X
47E5  23           #     ...
47E6  C0 0C        ..    CPY #&0C
47E8  00           .     BRK
47E9  21 3F        !?    AND (&3F,X)
47EB  21 30        !0    AND (&30,X)
47ED  E8           .     INX
47EE  30 B9        0.    BMI &47A9
47F0  0C           .     ...
47F1  25 E0        %.    AND &E0
47F3  50 6F        Po    BVC &4864
47F5  8F           .     ...
47F6  D6 AF        ..    DEC &AF,X
47F8  01 8A        ..    ORA (&8A,X)
47FA  08           .     PHP
47FB  07           .     ...
47FC  0F           .     ...
47FD  08           .     PHP
47FE  00           .     BRK
.
47FF  00           .     BRK
4800  FF           .     ...
4801  FF           .     ...
4802  FF           .     ...
4803  FF           .     ...
4804  00           .     BRK
4805  01 19        ..    ORA (&19,X)
4807  1A           .     ...
4808  11 07        ..    ORA (&07),Y
480A  1F           .     ...
480B  21 73        !s    AND (&73,X)
480D  FC           .     ...
480E  73           s     ...
480F  BB           .     ...
4810  CE 25 C0     .%.   DEC &C025
4813  66 ED        f.    ROR &ED
4815  AF           .     ...
4816  CF           .     ...
4817  CB           .     ...
4818  00           .     BRK
4819  0B           .     ...
481A  8C FF 8F     ...   STY &8FFF
481D  1D FF FF     ...   ORA &FFFF,X
4820  3C           <     ...
4821  9E           .     ...
4822  C7           .     ...
4823  3C           <     ...
4824  00           .     BRK
4825  23           #     ...
4826  11 2A        .*    ORA (&2A),Y
4828  13           .     ...
4829  07           .     ...
482A  3F           ?     ...
482B  07           .     ...
482C  74           t     ...
482D  F2           .     ...
482E  74           t     ...
482F  B0 CE        ..    BCS &47FF
4831  00           .     BRK
4832  31 06        1.    AND (&06),Y
4834  CF           .     ...
4835  FF           .     ...
4836  9F           .     ...
4837  DF           .     ...
4838  01 09        ..    ORA (&09,X)
483A  00           .     BRK
.
483B  07           .     ...
483C  0F           .     ...
483D  08           .     PHP
.
483E  DC           .     ...
483F  E0 FF        ..    CPX #&FF
4841  FF           .     ...
4842  FF           .     ...
4843  FF           .     ...
4844  00           .     BRK
4845  03           .     ...
4846  59 08 04     Y..   EOR &0408,Y
4849  21 3F        !?    AND (&3F,X)
484B  07           .     ...
484C  64           d     ...
484D  B2           .     ...
484E  64           d     ...
484F  90 ED        ..    BCC &483E
4851  FF           .     ...
4852  E2           .     ...
4853  FF           .     ...
4854  7F                ...
4855  BF           .     ...
4856  DF           .     ...
4857  7F                ...
4858  22           "     ...
4859  00           .     BRK
485A  88           .     DEY
485B  33           3     ...
485C  6F           o     ...
485D  11 DD        ..    ORA (&DD),Y
485F  FF           .     ...
4860  E3           .     ...
4861  3D 0F E3     =..   ORA &E30F,X
.
4864  00           .     BRK
4865  01 11        ..    ORA (&11,X)
4867  4C 17 21     L.!   JMP &2117
486A  1F           .     ...
486B  07           .     ...
486C  64           d     ...
486D  32           2     ...
486E  32           2     ...
486F  07           .     ...
4870  ED FF 80     ...   SBC &80FF
4873  06 7B        .{    ASL &7B
4875  3E 7F 1F     >.   ROL &1F7F,X
4878  74           t     ...
4879  11 C0        ..    ORA (&C0),Y
487B  03           .     ...
487C  07           .     ...
487D  00           .     BRK
487E  DC           .     ...
487F  E0 FF        ..    CPX #&FF
4881  FF           .     ...
4882  FF           .     ...
4883  FF           .     ...
4884  00           .     BRK
4885  02           .     ...
4886  11 7E        .~    ORA (&7E),Y
4888  0C           .     ...
4889  07           .     ...
488A  3F           ?     ...
488B  07           .     ...
488C  64           d     ...
488D  77           w     ...
488E  B0 27        .'    BCS &48B7
4890  EB           .     ...
4891  FF           .     ...
4892  EE FF 2F     ../   INC &2FFF
4895  E7           .     ...
4896  3F           ?     ...
4897  BF           .     ...
4898  40           @     RTI
4899  10 00        ..    BPL &489B
.
489B  11 46        .F    ORA (&46),Y
489D  11 DD        ..    ORA (&DD),Y
489F  FF           .     ...
48A0  3C           <     ...
48A1  8F           .     ...
48A2  79 2D 00     y-.   ADC &002D,Y
48A5  07           .     ...
48A6  00           .     BRK
48A7  3C           <     ...
48A8  97           .     ...
48A9  07           .     ...
48AA  3F           ?     ...
48AB  21 64        !d    AND (&64,X)
48AD  72           r     ...
48AE  80           .     ...
48AF  05 EB        ..    ORA &EB
48B1  00           .     BRK
48B2  33           3     ...
48B3  06 7F        .    ASL &7F
48B5  3F           ?     ...
48B6  7E EF 60     ~.`   ROR &60EF,X
48B9  10 80        ..    BPL &483B
48BB  01 0E        ..    ORA (&0E,X)
48BD  00           .     BRK
48BE  CC 00 FF     ...   CPY &FF00
48C1  FF           .     ...
48C2  FF           .     ...
48C3  FF           .     ...
48C4  00           .     BRK
48C5  27           '     ...
48C6  00           .     BRK
48C7  0C           .     ...
48C8  0C           .     ...
48C9  21 1F        !.    AND (&1F,X)
48CB  21 FE        !.    AND (&FE,X)
48CD  00           .     BRK
48CE  20 07 E7      ..   JSR &E707
48D1  25 C0        %.    AND &C0
48D3  66 DF        f.    ROR &DF
48D5  FF           .     ...
48D6  CF           .     ...
48D7  4F           O     ...
48D8  70 10        p.    BCS &48EA
48DA  C0 00        ..    CPY #&00
48DC  CC 00 11     ...   CPY &1100
48DF  CC CB 6B     ..k   CPY &6BCB
48E2  D6 C7        ..    DEC &C7,X
48E4  08           .     PHP
48E5  0D 00 40     ..@   ORA &4000
48E8  97           .     ...
48E9  21 1F        !.    AND (&1F,X)
48EB  07           .     ...
48EC  F4           .     ...
48ED  20 20 27       '   JSR &2720
48F0  6F           o     ...
48F1  25 E0        %.    AND &E0
48F3  05 9E        ..    ORA &9E
48F5  CF           .     ...
48F6  C7           .     ...
48F7  6D DC 33     m.3   ADC &33DC
48FA  40           @     RTI
48FB  11 00        ..    ORA (&00),Y
48FD  00           .     BRK
48FE  D1 88        ..    CMP (&88),Y
4900  87           .     ...
4901  E7           .     ...
4902  1E DE 18     ...   ASL &18DE,Y
4905  81 00        ..    STA (&00,X)
4907  60           `     RTS
4908  0C           .     ...
4909  07           .     ...
490A  3F           ?     ...
490B  07           .     ...
490C  00           .     BRK
490D  32           2     ...
490E  64           d     ...
490F  05 69        .i    ORA &69
4911  00           .     BRK
4912  00           .     BRK
4913  05 8F        ..    ORA &8F
4915  4F           O     ...
4916  5F           _     ...
4917  EF           .     ...
4918  8E 23 08     .#.   STX &0823
491B  C1 60        .`    CMP (&60,X)
491D  00           .     BRK
491E  00           .     BRK
491F  00           .     BRK
4920  FF           .     ...
4921  FF           .     ...
4922  FF           .     ...
4923  FF           .     ...
4924  98           .     TYA
4925  10 00        ..    BPL &4927
.
4927  00           .     BRK
4928  0C           .     ...
4929  07           .     ...
492A  3F           ?     ...
492B  07           .     ...
492C  64           d     ...
492D  32           2     ...
492E  32           2     ...
492F  06 6F        .o    ASL &6F
4931  88           .     DEY
4932  40           @     RTI
4933  20 DF FE      ..   JSR &FEDF
4936  FF           .     ...
4937  B7           .     ...
4938  0D 03 04     ...   ORA &0403
493B  61 C0        a.    ADC (&C0,X)
493D  8E 30 80     .0.   STX &8030
4940  A7           .     ...
4941  1E C7 4B     ..K   ASL &4BC7,Y
4944  90 10        ..    BCC &4956
4946  80           .     ...
4947  00           .     BRK
4948  97           .     ...
4949  07           .     ...
494A  1F           .     ...
494B  07           .     ...
494C  64           d     ...
494D  77           w     ...
494E  B0 00        ..    BCS &4950
.
4950  6F           o     ...
4951  08           .     PHP
4952  90 22        ."    BCC &4976
4954  F7           .     ...
4955  3F           ?     ...
.
4956  EF           .     ...
4957  3F           ?     ...
4958  8C 23 04     .#.   STY &0423
495B  01 11        ..    ORA (&11,X)
495D  4A           J     LSR A
495E  07           .     ...
495F  0C           .     ...
4960  FF           .     ...
4961  FF           .     ...
4962  FF           .     ...
4963  FF           .     ...
4964  88           .     DEY
4965  22           "     ...
4966  00           .     BRK
4967  00           .     BRK
4968  1F           .     ...
4969  21 1F        !.    AND (&1F,X)
496B  21 64        !d    AND (&64,X)
496D  72           r     ...
496E  80           .     ...
496F  20 6F 98      o.   JSR &986F
.
4972  B0 64        .d    BCS &49D8
4974  5F           _     ...
4975  B7           .     ...
.
4976  2F           /     ...
4977  EF           .     ...
4978  8F           .     ...
4979  AB           .     ...
497A  08           .     PHP
497B  11 11        ..    ORA (&11),Y
497D  ED F0 F7     ...   SBC &F7F0
4980  9E           .     ...
4981  C7           .     ...
4982  79 1E 08     y..   ADC &081E,Y
4985  74           t     ...
4986  00           .     BRK
4987  88           .     DEY
4988  0C           .     ...
4989  21 3F        !?    AND (&3F,X)
498B  21 E0        !.    AND (&E0,X)
498D  00           .     BRK
498E  30 E2        0.    BMI &4972
4990  6F           o     ...
4991  78           x     SEI
4992  70 BC        p.    BCS &4950
4994  5F           _     ...
4995  AF           .     ...
4996  7B           {     ...
4997  8F           .     ...
4998  8B           .     ...
4999  AB           .     ...
499A  2E 9F 01     ...   ROL &019F
499D  BD 00 00     ...   LDA &0000,X
49A0  FF           .     ...
49A1  FF           .     ...
49A2  FF           .     ...
49A3  FF           .     ...
49A4  88           .     DEY
49A5  40           @     RTI
49A6  11 C0        ..    ORA (&C0),Y
49A8  84 07        ..    STY &07
49AA  3F           ?     ...
49AB  07           .     ...
49AC  E8           .     INX
49AD  20 73 EE      s.   JSR &EE73
.
49B0  6F           o     ...
49B1  7C           |     ...
49B2  A0 06        ..    LDY #&06
49B4  CF           .     ...
49B5  FF           .     ...
49B6  6F           o     ...
49B7  ED CC 22     .."   SBC &22CC
49BA  3F           ?     ...
49BB  99 99 2F     ../   STA &2F99,Y
49BE  73           s     ...
49BF  EE 7B 5A     .{Z   INC &5A7B
49C2  8F           .     ...
49C3  C7           .     ...
49C4  80           .     ...
49C5  60           `     RTS
49C6  10 00        ..    BPL &49C8
.
49C8  1F           .     ...
49C9  07           .     ...
49CA  1F           .     ...
49CB  07           .     ...
49CC  C0 3A        .:    CPY #&3A
49CE  30 E0        0.    BMI &49B0
49D0  6F           o     ...
49D1  3C           <     ...
49D2  04           .     ...
49D3  9C           .     ...
49D4  8F           .     ...
49D5  7D CF F7     }..   ADC &F7CF,X
.
49D8  37           7     ...
49D9  11 11        ..    ORA (&11),Y
49DB  FF           .     ...
49DC  99 0F 30     ..0   STA &300F,Y
49DF  C4 E3        ..    CPY &E3
49E1  0F           .     ...
49E2  1E E7 08     ...   ASL &08E7,Y
49E5  70 10        p.    BCS &49F7
49E7  80           .     ...
49E8  00           .     BRK
49E9  11 EE        ..    ORA (&EE),Y
49EB  0F           .     ...
49EC  01 3A        .:    ORA (&3A,X)
49EE  04           .     ...
49EF  20 6F D8      o.   JSR &D86F
49F2  A0 0E        ..    LDY #&0E
49F4  FF           .     ...
49F5  C7           .     ...
49F6  EF           .     ...
.
49F7  5F           _     ...
49F8  07           .     ...
49F9  09 DD        ..    ORA #&DD
49FB  99 88 9F     ...   STA &9F88,Y
49FE  00           .     BRK
49FF  00           .     BRK
4A00  FF           .     ...
4A01  FF           .     ...
4A02  FF           .     ...
4A03  FF           .     ...
4A04  88           .     DEY
4A05  DC           .     ...
4A06  10 C0        ..    BPL &49C8
4A08  00           .     BRK
4A09  11 EE        ..    ORA (&EE),Y
4A0B  0F           .     ...
.
4A0C  1B           .     ...
4A0D  3A           :     ...
4A0E  06 0E        ..    ASL &0E
4A10  6F           o     ...
4A11  1C           .     ...
4A12  C0 04        ..    CPY #&04
4A14  D7           .     ...
4A15  6F           o     ...
4A16  7F                ...
4A17  4F           O     ...
4A18  07           .     ...
4A19  0D 0C 9F     ...   ORA &9F0C
4A1C  00           .     BRK
4A1D  EE 73 EE     .s.   INC &EE73
4A20  3C           <     ...
4A21  9E           .     ...
4A22  E3           .     ...
4A23  1E 0C 8E     ...   ASL &8E0C,Y
4A26  33           3     ...
4A27  40           @     RTI
4A28  00           .     BRK
4A29  01 0E        ..    ORA (&0E,X)
4A2B  44           D     ...
4A2C  0A           .     ASL A
4A2D  3A           :     ...
4A2E  04           .     ...
4A2F  0E 6F BC     .o.   ASL &BC6F
4A32  80           .     ...
4A33  2A           *     ROL A
4A34  1F           .     ...
4A35  FF           .     ...
4A36  FD CF 07     ...   SBC &07CF,X
4A39  0D 08 00     ...   ORA &0008
4A3C  00           .     BRK
4A3D  5C           \     ...
4A3E  30 CC        0.    BMI &4A0C
4A40  FF           .     ...
4A41  FF           .     ...
4A42  FF           .     ...
4A43  FF           .     ...
4A44  CC 0D 23     ..#   CPY &230D
4A47  08           .     PHP
4A48  00           .     BRK
4A49  11 EE        ..    ORA (&EE),Y
4A4B  0B           .     ...
4A4C  0B           .     ...
4A4D  3A           :     ...
4A4E  02           .     ...
4A4F  4E 6F E8     No.   LSR &E86F
4A52  80           .     ...
4A53  9F           .     ...
4A54  BF           .     ...
4A55  BD 9F FF     ...   LDA &FF9F,X
4A58  0E 81 08     ...   ASL &0881
4A5B  00           .     BRK
4A5C  00           .     BRK
4A5D  2C 30 C4     ,0.   BIT &C430
4A60  4F           O     ...
4A61  79 0F E3     y..   ADC &E30F,Y
4A64  C0 8D        ..    CPY #&8D
4A66  03           .     ...
4A67  04           .     ...
4A68  00           .     BRK
4A69  05 0E        ..    ORA &0E
4A6B  0F           .     ...
4A6C  1B           .     ...
4A6D  3A           :     ...
4A6E  06 0A        ..    ASL &0A
4A70  6F           o     ...
4A71  5F           _     ...
4A72  48           H     PHA
4A73  03           .     ...
4A74  EF           .     ...
4A75  0F           .     ...
4A76  9F           .     ...
4A77  7B           {     ...
4A78  0C           .     ...
4A79  C5 08        ..    CMP &08
.
4A7B  00           .     BRK
4A7C  00           .     BRK
4A7D  6E 30 CC     n0.   ROR &CC30
4A80  FF           .     ...
4A81  FF           .     ...
4A82  FF           .     ...
4A83  FF           .     ...
4A84  8C 8E 23     ..#   STY &238E
4A87  00           .     BRK
4A88  00           .     BRK
4A89  04           .     ...
4A8A  00           .     BRK
4A8B  0F           .     ...
4A8C  0A           .     ASL A
4A8D  2A           *     ROL A
4A8E  0E 0E 6F     ..o   ASL &6F0E
4A91  1F           .     ...
4A92  0C           .     ...
4A93  06 7B        .{    ASL &7B
4A95  2F           /     ...
4A96  FF           .     ...
4A97  2F           /     ...
4A98  80           .     ...
4A99  C1 00        ..    CMP (&00,X)
4A9B  00           .     BRK
4A9C  00           .     BRK
4A9D  2C 00 00     ,..   BIT &0000
4AA0  3D BC 79     =.y   ORA &79BC,X
4AA3  0F           .     ...
4AA4  88           .     DEY
4AA5  8F           .     ...
4AA6  AB           .     ...
4AA7  2E 00 1D     ...   ROL &1D00
4AAA  EE 78 09     .x.   INC &0978
4AAD  09 4E        .N    ORA #&4E
4AAF  4E 6F EF     No.   LSR &EF6F
4AB2  4E 40 1F     N@.   LSR &1F40
4AB5  FF           .     ...
4AB6  EB           .     ...
4AB7  2F           /     ...
4AB8  C4 10        ..    CPY &10
4ABA  00           .     BRK
4ABB  00           .     BRK
4ABC  00           .     BRK
4ABD  5C           \     ...
4ABE  33           3     ...
4ABF  CC 3C 8F     .<.   CPY &8F3C
4AC2  7D 3C C8     }<.   ADC &C83C,X
4AC5  8B           .     ...
4AC6  AA           .     TAX
4AC7  2E 00 0D     ...   ROL &0D00
4ACA  0E 08 0C     ...   ASL &0C08
4ACD  03           .     ...
4ACE  0A           .     ASL A
4ACF  0A           .     ASL A
4AD0  6F           o     ...
4AD1  8F           .     ...
4AD2  DF           .     ...
4AD3  60           `     RTS
4AD4  FF           .     ...
4AD5  BD 3F 6F     .?o   LDA &6F3F,X
4AD8  C0 10        ..    CPY #&10
4ADA  88           .     DEY
4ADB  00           .     BRK
4ADC  00           .     BRK
4ADD  00           .     BRK
4ADE  30 CC        0.    BMI &4AAC
4AE0  FF           .     ...
4AE1  FF           .     ...
4AE2  FF           .     ...
4AE3  FF           .     ...
4AE4  CC 44 33     .D3   CPY &3344
4AE7  00           .     BRK
4AE8  01 08        ..    ORA (&08,X)
4AEA  00           .     BRK
4AEB  0F           .     ...
.
4AEC  0E 07 0E     ...   ASL &0E07
4AEF  0E F0 F0     ...   ASL &F0F0
4AF2  F0 C0        ..    BEQ &4AB4
4AF4  BD 1F 1F     ...   LDA &1F1F,X
4AF7  FF           .     ...
4AF8  00           .     BRK
4AF9  10 80        ..    BPL &4A7B
4AFB  00           .     BRK
4AFC  00           .     BRK
4AFD  00           .     BRK
4AFE  30 CC        0.    BMI &4ACC
4B00  E3           .     ...
4B01  1E 8F E3     ...   ASL &E38F,Y
.
4B04  48           H     PHA
4B05  37           7     ...
4B06  01 CC        ..    ORA (&CC,X)
4B08  01 5D        .]    ORA (&5D,X)
4B0A  EE 78 2F     .x/   INC &2F78
4B0D  27           '     ...
4B0E  4E 4E 6F     NNo   LSR &6F4E
4B11  FF           .     ...
4B12  EF           .     ...
4B13  EC 9F 7F     ..   CPX &7F9F
4B16  DF           .     ...
4B17  3D 00 88     =..   ORA &8800,X
4B1A  00           .     BRK
4B1B  00           .     BRK
4B1C  00           .     BRK
4B1D  00           .     BRK
4B1E  30 CC        0.    BMI &4AEC
4B20  FF           .     ...
4B21  FF           .     ...
4B22  FF           .     ...
4B23  FF           .     ...
4B24  88           .     DEY
4B25  07           .     ...
4B26  01 0E        ..    ORA (&0E,X)
4B28  03           .     ...
4B29  01 0E        ..    ORA (&0E,X)
4B2B  08           .     PHP
.
4B2C  0D 05 0A     ...   ORA &0A05
4B2F  0A           .     ASL A
4B30  6F           o     ...
4B31  FF           .     ...
4B32  EF           .     ...
4B33  EC DF DE     ...   CPX &DEDF
4B36  FF           .     ...
4B37  8F           .     ...
4B38  22           "     ...
4B39  91 40        .@    STA (&40),Y
4B3B  40           @     RTI
4B3C  00           .     BRK
4B3D  00           .     BRK
4B3E  30 C4        0.    BMI &4B04
4B40  0F           .     ...
4B41  C7           .     ...
4B42  79 2D C4     y-.   ADC &C42D,Y
4B45  03           .     ...
4B46  01 0E        ..    ORA (&0E,X)
4B48  03           .     ...
4B49  C4 01        ..    CPY &01
4B4B  0F           .     ...
4B4C  0F           .     ...
4B4D  07           .     ...
4B4E  0E 0E 6F     ..o   ASL &6F0E
4B51  FF           .     ...
4B52  EF           .     ...
4B53  DE 7F 4F     .O   DEC &4F7F,X
4B56  CB           .     ...
4B57  EF           .     ...
4B58  20 54 40      T@   JSR &4054
4B5B  41 00        A.    EOR (&00,X)
4B5D  00           .     BRK
4B5E  30 CC        0.    BMI &4B2C
4B60  FF           .     ...
4B61  FF           .     ...
4B62  FF           .     ...
4B63  FF           .     ...
4B64  CE CB 63     ..c   DEC &63CB
4B67  0E 06 00     ...   ASL &0006
4B6A  03           .     ...
4B6B  F0 0A        ..    BEQ &4B77
4B6D  02           .     ...
4B6E  0A           .     ASL A
4B6F  0A           .     ASL A
4B70  6F           o     ...
4B71  FF           .     ...
4B72  EF           .     ...
4B73  DE 6F 6F     .oo   DEC &6F6F,X
4B76  8F           .     ...
.
4B77  BF           .     ...
4B78  45 42        EB    EOR &42
4B7A  61 C3        a.    ADC (&C3,X)
4B7C  AC 85 30     ..0   LDY &3085
4B7F  CC 6B 79     .ky   CPY &796B
4B82  0F           .     ...
4B83  C7           .     ...
4B84  4A           J     LSR A
4B85  C3           .     ...
4B86  61 20        a     ADC (&20,X)
4B88  16 D5        ..    ASL &D5,X
4B8A  8F           .     ...
4B8B  00           .     BRK
.
4B8C  55 55        UU    EOR &55,X
4B8E  55 55        UU    EOR &55,X
4B90  6F           o     ...
4B91  FF           .     ...
4B92  EF           .     ...
4B93  BE FF A7     ...   LDX &A7FF,Y
4B96  FF           .     ...
4B97  BD 61 00     .a.   LDA &0061,X
4B9A  A9 81        ..    LDA #&81
4B9C  7F                ...
4B9D  CE 30 CC     .0.   DEC &CC30
4BA0  7F                ...
4BA1  FF           .     ...
4BA2  FF           .     ...
4BA3  FF           .     ...
4BA4  CC 90 40     ..@   CPY &4090
4BA7  31 0E        1.    AND (&0E),Y
4BA9  01 0F        ..    ORA (&0F,X)
4BAB  0F           .     ...
4BAC  0F           .     ...
4BAD  0F           .     ...
4BAE  0F           .     ...
4BAF  0F           .     ...
4BB0  6F           o     ...
4BB1  FF           .     ...
4BB2  EF           .     ...
4BB3  BE 3D BF     .=.   LDX &BF3D,Y
4BB6  DF           .     ...
4BB7  9F           .     ...
4BB8  20 B8 01      ..   JSR &01B8
4BBB  03           .     ...
4BBC  88           .     DEY
4BBD  07           .     ...
4BBE  30 CC        0.    BMI &4B8C
4BC0  CF           .     ...
4BC1  C7           .     ...
.
4BC2  B5 3C        .<    LDA &3C,X
4BC4  C6 10        ..    DEC &10
4BC6  88           .     DEY
4BC7  30 0F        0.    BMI &4BD8
4BC9  0F           .     ...
4BCA  0F           .     ...
4BCB  0F           .     ...
4BCC  0F           .     ...
4BCD  0F           .     ...
4BCE  0F           .     ...
4BCF  0F           .     ...
4BD0  F0 F0        ..    BEQ &4BC2
4BD2  F0 7E        .~    BEQ &4C52
4BD4  8F           .     ...
4BD5  EF           .     ...
4BD6  4F           O     ...
4BD7  FF           .     ...
.
4BD8  89           .     ...
4BD9  A4 99        ..    LDY &99
4BDB  00           .     BRK
4BDC  CC CE 30     ..0   CPY &30CE
4BDF  C4 F7        ..    CPY &F7
4BE1  FF           .     ...
4BE2  FF           .     ...
4BE3  CE 00 10     ...   DEC &1000
4BE6  80           .     ...
4BE7  00           .     BRK
.
4BE8  0F           .     ...
4BE9  0F           .     ...
4BEA  0F           .     ...
4BEB  0F           .     ...
.
4BEC  0F           .     ...
4BED  07           .     ...
4BEE  0E 0F 00     ...   ASL &000F
4BF1  30 00        0.    BMI &4BF3
.
4BF3  02           .     ...
4BF4  F0 F2        ..    BEQ &4BE8
4BF6  F3           .     ...
4BF7  F4           .     ...
4BF8  A0 90        ..    LDY #&90
4BFA  80           .     ...
4BFB  00           .     BRK
4BFC  77           w     ...
4BFD  CD 30 CC     .0.   CMP &CC30
4C00  B5 0F        ..    LDA &0F,X
4C02  E3           .     ...
4C03  68           h     PLA
.
4C04  00           .     BRK
4C05  00           .     BRK
4C06  00           .     BRK
4C07  10 0F        ..    BPL &4C18
4C09  0F           .     ...
4C0A  0F           .     ...
4C0B  0F           .     ...
4C0C  0F           .     ...
4C0D  07           .     ...
4C0E  19 1E 00     ...   ORA &001E,Y
4C11  31 00        1.    AND (&00),Y
4C13  55 60        U`    EOR &60,X
4C15  F0 70        .p    BEQ &4C87
4C17  E0 51        .Q    CPX #&51
4C19  40           @     RTI
4C1A  11 22        ."    ORA (&22),Y
4C1C  0F           .     ...
4C1D  0F           .     ...
4C1E  30 CC        0.    BMI &4BEC
4C20  79 AD 7B     y.{   ADC &7BAD,Y
4C23  0C           .     ...
4C24  00           .     BRK
4C25  00           .     BRK
4C26  00           .     BRK
4C27  10 0C        ..    BPL &4C35
4C29  03           .     ...
4C2A  00           .     BRK
4C2B  00           .     BRK
.
4C2C  0E 02 47     ..G   ASL &4702
4C2F  69 00        i.    ADC #&00
4C31  20 11 20      .    JSR &2011
4C34  40           @     RTI
.
4C35  A0 20        .     LDY #&20
4C37  40           @     RTI
4C38  12           .     ...
4C39  39 32 31     921   AND &3132,Y
.
4C3C  F0 6F        .o    BEQ &4CAD
4C3E  30 C4        0.    BMI &4C04
.
4C40  FF           .     ...
4C41  FF           .     ...
4C42  8F           .     ...
4C43  C0 00        ..    CPY #&00
4C45  00           .     BRK
4C46  00           .     BRK
4C47  30 3C        0<    BMI &4C85
4C49  C3           .     ...
4C4A  F0 F0        ..    BEQ &4C3C
.
4C4C  19 55 1E     .U.   ORA &1E55,Y
4C4F  83           .     ...
4C50  00           .     BRK
4C51  02           .     ...
.
4C52  00           .     BRK
4C53  E0 00        ..    CPX #&00
4C55  2B           +     ...
4C56  04           .     ...
4C57  00           .     BRK
4C58  22           "     ...
4C59  C6 31        .1    DEC &31
4C5B  3E 00 F6     >..   ROL &F600,X
4C5E  30 CC        0.    BMI &4C2C
4C60  2F           /     ...
4C61  6B           k     ...
4C62  DF           .     ...
4C63  88           .     DEY
4C64  00           .     BRK
4C65  00           .     BRK
4C66  00           .     BRK
4C67  21 0F        !.    AND (&0F,X)
4C69  0F           .     ...
4C6A  0F           .     ...
4C6B  0F           .     ...
.
4C6C  47           G     ...
4C6D  0F           .     ...
4C6E  69 4F        iO    ADC #&4F
4C70  00           .     BRK
4C71  06 01        ..    ASL &01
4C73  51 00        Q.    EOR (&00),Y
4C75  22           "     ...
4C76  09 44        .D    ORA #&44
4C78  10 50        .P    BPL &4CCA
4C7A  33           3     ...
4C7B  3F           ?     ...
4C7C  06 6F        .o    ASL &6F
4C7E  30 CC        0.    BMI &4C4C
4C80  EF           .     ...
4C81  6B           k     ...
4C82  5A           Z     ...
4C83  80           .     ...
.
4C84  00           .     BRK
.
4C85  00           .     BRK
4C86  00           .     BRK
.
4C87  61 00        a.    ADC (&00,X)
4C89  06 00        ..    ASL &00
4C8B  00           .     BRK
4C8C  0F           .     ...
4C8D  1E 87 0F     ...   ASL &0F87,Y
4C90  00           .     BRK
4C91  0E C0 C0     ...   ASL &C0C0
.
4C94  11 7F        .    ORA (&7F),Y
4C96  26 44        &D    ROL &44
4C98  00           .     BRK
4C99  28           (     PLP
4C9A  33           3     ...
4C9B  33           3     ...
.
4C9C  60           `     RTS
4C9D  0F           .     ...
4C9E  30 CC        0.    BMI &4C6C
4CA0  7F                ...
4CA1  FF           .     ...
4CA2  CF           .     ...
4CA3  00           .     BRK
4CA4  00           .     BRK
4CA5  00           .     BRK
4CA6  00           .     BRK
4CA7  43           C     ...
4CA8  F0 96        ..    BEQ &4C40
4CAA  F0 F0        ..    BEQ &4C9C
4CAC  0F           .     ...
.
4CAD  69 0F        i.    ADC #&0F
4CAF  0E 01 0D     ...   ASL &0D01
4CB2  EA           .     NOP
4CB3  82           .     ...
4CB4  15 55        .U    ORA &55,X
4CB6  67           g     ...
4CB7  4C 10 0C     L..   JMP &0C10
4CBA  11 22        ."    ORA (&22),Y
4CBC  00           .     BRK
4CBD  44           D     ...
4CBE  30 C4        0.    BMI &4C84
4CC0  96 C7        ..    STX &C7,Y
4CC2  78           x     SEI
4CC3  00           .     BRK
.
4CC4  00           .     BRK
4CC5  00           .     BRK
4CC6  00           .     BRK
4CC7  43           C     ...
4CC8  0F           .     ...
4CC9  0F           .     ...
.
4CCA  0F           .     ...
4CCB  0F           .     ...
.
4CCC  1E 83 0F     ...   ASL &0F83,Y
.
4CCF  1B           .     ...
4CD0  67           g     ...
4CD1  0B           .     ...
4CD2  50 C0        P.    BVC &4C94
4CD4  33           3     ...
4CD5  DF           .     ...
4CD6  EF           .     ...
4CD7  EE 00 08     ...   INC &0800
4CDA  00           .     BRK
4CDB  00           .     BRK
4CDC  0F           .     ...
4CDD  CD 30 CC     .0.   CMP &CC30
4CE0  FF           .     ...
4CE1  FF           .     ...
4CE2  CA           .     DEX
4CE3  00           .     BRK
4CE4  00           .     BRK
4CE5  00           .     BRK
4CE6  00           .     BRK
4CE7  A5 00        ..    LDA &00
4CE9  0C           .     ...
4CEA  00           .     BRK
4CEB  03           .     ...
.
4CEC  69 4F        iO    ADC #&4F
4CEE  0E 4D 46     .MF   ASL &464D
4CF1  00           .     BRK
4CF2  49 22        I"    EOR #&22
4CF4  AA           .     TAX
4CF5  9D AA AA     ...   STA &AAAA,X
4CF8  00           .     BRK
4CF9  08           .     PHP
4CFA  55 00        U.    EOR &00,X
4CFC  09 F0        ..    ORA #&F0
4CFE  30 CC        0.    BMI &4CCC
4D00  2D 3C E8     -<.   AND &E83C
4D03  00           .     BRK
4D04  00           .     BRK
4D05  00           .     BRK
4D06  10 87        ..    BPL &4C8F
4D08  F0 3C        .<    BEQ &4D46
4D0A  F0 C3        ..    BEQ &4CCF
4D0C  87           .     ...
4D0D  0F           .     ...
4D0E  1B           .     ...
4D0F  07           .     ...
4D10  4D 2E 10     M..   EOR &102E
4D13  80           .     ...
4D14  EF           .     ...
4D15  17           .     ...
4D16  23           #     ...
4D17  BF           .     ...
4D18  65 11        e.    ADC &11
4D1A  60           `     RTS
4D1B  00           .     BRK
4D1C  69 49        iI    ADC #&49
4D1E  30 CC        0.    BMI &4CEC
4D20  EF           .     ...
4D21  1E 0C 00     ...   ASL &000C,Y
4D24  00           .     BRK
4D25  00           .     BRK
4D26  10 D7        ..    BPL &4CFF
4D28  0F           .     ...
4D29  0F           .     ...
4D2A  0F           .     ...
4D2B  0F           .     ...
4D2C  0F           .     ...
4D2D  0E 4D 0C     .M.   ASL &0C4D
4D30  8F           .     ...
4D31  2E 30 44     .0D   ROL &4430
4D34  46 0E        F.    LSR &0E
4D36  37           7     ...
4D37  99 33 8A     .3.   STA &8A33,Y
4D3A  B0 88        ..    BCS &4CC4
4D3C  69 6E        in    ADC #&6E
4D3E  00           .     BRK
4D3F  00           .     BRK
4D40  7B           {     ...
4D41  CF           .     ...
4D42  C0 00        ..    CPY #&00
4D44  00           .     BRK
4D45  00           .     BRK
.
4D46  30 7F        0    BMI &4DC7
4D48  0F           .     ...
4D49  0F           .     ...
4D4A  0F           .     ...
4D4B  0F           .     ...
4D4C  0F           .     ...
.
4D4D  1B           .     ...
.
4D4E  07           .     ...
4D4F  00           .     BRK
4D50  8F           .     ...
4D51  00           .     BRK
4D52  20 00 0F      ..   JSR &0F00
4D55  07           .     ...
4D56  1B           .     ...
4D57  06 55        .U    ASL &55
4D59  9D 55 02     .U.   STA &0255,X
4D5C  0F           .     ...
4D5D  08           .     PHP
4D5E  70 EE        p.    BCS &4D4E
4D60  EF           .     ...
4D61  6F           o     ...
4D62  88           .     DEY
4D63  00           .     BRK
4D64  00           .     BRK
4D65  00           .     BRK
4D66  30 7B        0{    BMI &4DE3
4D68  0A           .     ASL A
4D69  0D 0A 0D     ...   ORA &0D0A
4D6C  0E 4D 0C     .M.   ASL &0C4D
4D6F  00           .     BRK
4D70  CE 00 00     ...   DEC &0000
4D73  44           D     ...
4D74  0B           .     ...
4D75  06 1F        ..    ASL &1F
4D77  0B           .     ...
4D78  66 0A        f.    ROR &0A
4D7A  FA           .     ...
4D7B  27           '     ...
4D7C  09 01        ..    ORA #&01
4D7E  00           .     BRK
4D7F  AC 2D 5E     .-^   LDY &5E2D
4D82  80           .     ...
4D83  00           .     BRK
4D84  00           .     BRK
4D85  00           .     BRK
4D86  21 2F        !/    AND (&2F,X)
4D88  55 22        U"    EOR &22,X
4D8A  55 22        U"    EOR &22,X
4D8C  1B           .     ...
4D8D  07           .     ...
4D8E  00           .     BRK
4D8F  00           .     BRK
4D90  20 00 00      ..   JSR &0000
4D93  22           "     ...
4D94  30 01        0.    BMI &4D97
4D96  08           .     PHP
.
4D97  11 33        .3    ORA (&33),Y
.
4D99  8C A0 FD     ...   STY &FDA0
4D9C  09 21        .!    ORA #&21
4D9E  91 3D        .=    STA (&3D),Y
4DA0  F3           .     ...
4DA1  EF           .     ...
4DA2  00           .     BRK
4DA3  00           .     BRK
4DA4  00           .     BRK
4DA5  00           .     BRK
4DA6  53           S     ...
4DA7  A7           .     ...
4DA8  0F           .     ...
4DA9  0F           .     ...
4DAA  0F           .     ...
4DAB  0F           .     ...
.
4DAC  4D 0C 00     M..   EOR &000C
4DAF  00           .     BRK
4DB0  E0 00        ..    CPX #&00
4DB2  00           .     BRK
4DB3  22           "     ...
4DB4  43           C     ...
4DB5  0B           .     ...
4DB6  0C           .     ...
4DB7  32           2     ...
4DB8  80           .     ...
4DB9  19 50 27     .P'   ORA &2750,Y
4DBC  69 25        i%    ADC #&25
4DBE  91 0F        ..    STA (&0F),Y
4DC0  EF           .     ...
4DC1  3C           <     ...
4DC2  00           .     BRK
4DC3  00           .     BRK
4DC4  00           .     BRK
4DC5  00           .     BRK
4DC6  53           S     ...
.
4DC7  AF           .     ...
4DC8  0F           .     ...
4DC9  0F           .     ...
4DCA  0F           .     ...
4DCB  0F           .     ...
4DCC  07           .     ...
4DCD  00           .     BRK
4DCE  00           .     BRK
4DCF  00           .     BRK
4DD0  C0 00        ..    CPY #&00
4DD2  00           .     BRK
4DD3  01 04        ..    ORA (&04,X)
4DD5  82           .     ...
4DD6  44           D     ...
4DD7  20 00 04      ..   JSR &0400
4DDA  55 02        U.    EOR &02,X
4DDC  6F           o     ...
4DDD  3D 80 0E     =..   ORA &0E80,X
4DE0  B4 2E        ..    LDY &2E
4DE2  00           .     BRK
.
4DE3  00           .     BRK
4DE4  00           .     BRK
4DE5  00           .     BRK
4DE6  A7           .     ...
4DE7  EF           .     ...
4DE8  05 0F        ..    ORA &0F
4DEA  0F           .     ...
4DEB  0A           .     ASL A
4DEC  0C           .     ...
4DED  00           .     BRK
4DEE  00           .     BRK
4DEF  00           .     BRK
4DF0  80           .     ...
4DF1  00           .     BRK
4DF2  00           .     BRK
4DF3  88           .     DEY
4DF4  06 03        ..    ASL &03
4DF6  00           .     BRK
4DF7  30 00        0.    BMI &4DF9
.
4DF9  24 24        $$    BIT &24
4DFB  24 6F        $o    BIT &6F
4DFD  2C 91 8C     ,..   BIT &8C91
4E00  FF           .     ...
4E01  68           h     PLA
4E02  00           .     BRK
4E03  00           .     BRK
4E04  00           .     BRK
4E05  10 A5        ..    BPL &4DAC
4E07  7F                ...
4E08  84 AA        ..    STY &AA
4E0A  55 12        U.    EOR &12,X
4E0C  08           .     PHP
4E0D  10 4C        .L    BPL &4E5B
4E0F  00           .     BRK
4E10  E8           .     INX
4E11  00           .     BRK
4E12  11 C0        ..    ORA (&C0),Y
4E14  07           .     ...
4E15  0B           .     ...
4E16  0C           .     ...
4E17  30 80        0.    BMI &4D99
4E19  24 FF        $.    BIT &FF
4E1B  24 69        $i    BIT &69
4E1D  37           7     ...
4E1E  3A           :     ...
4E1F  0C           .     ...
4E20  6B           k     ...
4E21  4C 00 00     L..   JMP &0000
4E24  00           .     BRK
4E25  01 0F        ..    ORA (&0F,X)
4E27  FF           .     ...
4E28  84 00        ..    STY &00
4E2A  00           .     BRK
4E2B  12           .     ...
4E2C  08           .     PHP
4E2D  32           2     ...
4E2E  2E 00 44     ..D   ROL &4400
4E31  00           .     BRK
4E32  10 00        ..    BPL &4E34
.
4E34  00           .     BRK
4E35  00           .     BRK
4E36  00           .     BRK
4E37  66 80        f.    ROR &80
4E39  00           .     BRK
4E3A  F6 24        .$    INC &24,X
4E3C  09 33        .3    ORA #&33
4E3E  47           G     ...
4E3F  07           .     ...
4E40  FF           .     ...
4E41  C0 00        ..    CPY #&00
4E43  00           .     BRK
4E44  00           .     BRK
4E45  10 6F        .o    BPL &4EB6
4E47  8F           .     ...
4E48  85 0F        ..    STA &0F
4E4A  0F           .     ...
4E4B  1A           .     ...
4E4C  2E 03 2E     ...   ROL &2E03
4E4F  00           .     BRK
4E50  00           .     BRK
4E51  00           .     BRK
4E52  10 80        ..    BPL &4DD4
4E54  71 9A        q.    ADC (&9A),Y
4E56  0C           .     ...
4E57  47           G     ...
4E58  00           .     BRK
4E59  FB           .     ...
4E5A  64           d     ...
.
4E5B  99 09 22     .."   STA &2209,Y
4E5E  47           G     ...
4E5F  09 A5        ..    ORA #&A5
4E61  08           .     PHP
4E62  00           .     BRK
4E63  00           .     BRK
4E64  00           .     BRK
4E65  30 7F        0    BMI &4EE6
4E67  DF           .     ...
4E68  87           .     ...
4E69  0B           .     ...
4E6A  0D 1E 17     ...   ORA &171E
4E6D  01 0C        ..    ORA (&0C,X)
4E6F  00           .     BRK
4E70  00           .     BRK
4E71  00           .     BRK
4E72  10 C0        ..    BPL &4E34
4E74  A7           .     ...
4E75  12           .     ...
4E76  28           (     PLP
4E77  06 19        ..    ASL &19
4E79  FD 80 F6     ...   SBC &F680,X
4E7C  0F           .     ...
4E7D  02           .     ...
4E7E  47           G     ...
4E7F  2E 5E 80     .^.   ROL &805E
4E82  00           .     BRK
4E83  00           .     BRK
4E84  00           .     BRK
4E85  30 7B        0{    BMI &4F02
4E87  F5 83        ..    SBC &83,X
4E89  49 29        I)    EOR #&29
4E8B  1C           .     ...
4E8C  21 88        !.    AND (&88,X)
4E8E  6E C1 00     n..   ROR &00C1
4E91  00           .     BRK
4E92  33           3     ...
4E93  40           @     RTI
4E94  AA           .     TAX
4E95  52           R     ...
4E96  70 46        pF    BCS &4EDE
4E98  18           .     CLC
4E99  FF           .     ...
4E9A  88           .     DEY
4E9B  64           d     ...
4E9C  0F           .     ...
4E9D  22           "     ...
4E9E  23           #     ...
4E9F  A6 9F        ..    LDX &9F
4EA1  00           .     BRK
4EA2  00           .     BRK
4EA3  00           .     BRK
4EA4  00           .     BRK
4EA5  53           S     ...
4EA6  3F           ?     ...
4EA7  7F                ...
4EA8  C9 6C        .l    CMP #&6C
4EAA  63           c     ...
4EAB  39 47 88     9G.   AND &8847,Y
4EAE  6A           j     ROR A
4EAF  AC 08 00     ...   LDY &0008
4EB2  27           '     ...
4EB3  00           .     BRK
4EB4  FF           .     ...
4EB5  12           .     ...
.
4EB6  C0 47        .G    CPY #&47
4EB8  00           .     BRK
4EB9  FA           .     ...
4EBA  00           .     BRK
4EBB  00           .     BRK
4EBC  09 22        ."    ORA #&22
4EBE  11 0C        ..    ORA (&0C),Y
4EC0  78           x     SEI
4EC1  00           .     BRK
4EC2  00           .     BRK
4EC3  00           .     BRK
4EC4  00           .     BRK
4EC5  C3           .     ...
4EC6  2F           /     ...
4EC7  4F           O     ...
4EC8  64           d     ...
4EC9  3F           ?     ...
4ECA  CF           .     ...
4ECB  62           b     ...
4ECC  DF           .     ...
4ECD  03           .     ...
4ECE  1F           .     ...
4ECF  BA           .     TXS
4ED0  04           .     ...
4ED1  00           .     BRK
4ED2  CF           .     ...
4ED3  09 AF        ..    ORA #&AF
4ED5  9A           .     TXS
4ED6  D0 47        .G    BNE &4F1F
4ED8  4C 66 00     Lf.   JMP &0066
4EDB  00           .     BRK
4EDC  69 22        i"    ADC #&22
.
4EDE  00           .     BRK
4EDF  0A           .     ASL A
4EE0  CE 00 00     ...   DEC &0000
4EE3  00           .     BRK
4EE4  00           .     BRK
4EE5  D3           .     ...
.
4EE6  6F           o     ...
4EE7  E7           .     ...
4EE8  33           3     ...
4EE9  04           .     ...
4EEA  02           .     ...
4EEB  CC 8E 02     ...   CPY &028E
4EEE  1F           .     ...
4EEF  9F           .     ...
4EF0  82           .     ...
4EF1  00           .     BRK
4EF2  8F           .     ...
4EF3  09 AA        ..    ORA #&AA
4EF5  CE 60 45     .`E   DEC &4560
4EF8  4C 00 00     L..   JMP &0000
4EFB  44           D     ...
4EFC  69 33        i3    ADC #&33
4EFE  00           .     BRK
4EFF  0E 68 00     .h.   ASL &0068
.
4F02  00           .     BRK
4F03  00           .     BRK
4F04  00           .     BRK
4F05  97           .     ...
4F06  7F                ...
4F07  3F           ?     ...
4F08  F0 0F        ..    BEQ &4F19
4F0A  0F           .     ...
4F0B  0F           .     ...
4F0C  8F           .     ...
4F0D  04           .     ...
4F0E  17           .     ...
4F0F  99 C8 00     ...   STA &00C8,Y
4F12  4F           O     ...
4F13  19 FF CF     ...   ORA &CFFF,Y
4F16  08           .     PHP
4F17  22           "     ...
4F18  00           .     BRK
.
4F19  00           .     BRK
4F1A  00           .     BRK
4F1B  E8           .     INX
4F1C  0F           .     ...
4F1D  08           .     PHP
4F1E  01 0F        ..    ORA (&0F,X)
4F20  8C 00 00     ...   STY &0000
4F23  00           .     BRK
4F24  10 0F        ..    BPL &4F35
4F26  FF           .     ...
4F27  FF           .     ...
4F28  C3           .     ...
4F29  87           .     ...
4F2A  0F           .     ...
4F2B  0F           .     ...
4F2C  8F           .     ...
4F2D  1D 2E 8F     ...   ORA &8F2E,X
4F30  EC 01 4E     ..N   CPX &4E01
4F33  1D AF 8D     ...   ORA &8DAF,X
4F36  0C           .     ...
4F37  13           .     ...
4F38  88           .     DEY
4F39  00           .     BRK
4F3A  DF           .     ...
4F3B  80           .     ...
4F3C  F0 0F        ..    BEQ &4F4D
4F3E  0F           .     ...
4F3F  F0 48        .H    BEQ &4F89
4F41  00           .     BRK
4F42  00           .     BRK
4F43  00           .     BRK
4F44  10 7A        .z    BPL &4FC0
4F46  6D BF F0     m..   ADC &F0BF
4F49  0F           .     ...
4F4A  0F           .     ...
4F4B  0F           .     ...
4F4C  65 23        e#    ADC &23
4F4E  E6 88        ..    INC &88
4F50  EE CB 2E     ...   INC &2ECB
4F53  2E AA EE     ...   ROL &EEAA
4F56  00           .     BRK
4F57  03           .     ...
4F58  08           .     PHP
4F59  02           .     ...
4F5A  FF           .     ...
4F5B  C0 00        ..    CPY #&00
4F5D  1C           .     ...
4F5E  83           .     ...
4F5F  00           .     BRK
4F60  88           .     DEY
.
4F61  00           .     BRK
4F62  00           .     BRK
4F63  00           .     BRK
4F64  30 3F        0?    BMI &4FA5
4F66  4F           O     ...
4F67  AF           .     ...
4F68  77           w     ...
4F69  FF           .     ...
4F6A  FF           .     ...
4F6B  EE 23 23     .##   INC &2323
4F6E  08           .     PHP
4F6F  F0 F0        ..    BEQ &4F61
.
4F71  C3           .     ...
4F72  0C           .     ...
4F73  26 77        &w    ROL &77
4F75  BB           .     ...
4F76  CC C5 1D     ...   CPY &1DC5
4F79  85 4F        .O    STA &4F
4F7B  E0 06        ..    CPX #&06
4F7D  1D 8B 06     ...   ORA &068B,X
4F80  80           .     ...
4F81  00           .     BRK
4F82  00           .     BRK
4F83  00           .     BRK
4F84  61 FF        a.    ADC (&FF,X)
4F86  DF           .     ...
4F87  EF           .     ...
4F88  70 A5        p.    BCS &4F2F
4F8A  0F           .     ...
4F8B  0E 03 19     ...   ASL &1903
4F8E  0C           .     ...
4F8F  FF           .     ...
4F90  FF           .     ...
4F91  83           .     ...
4F92  00           .     BRK
4F93  01 00        ..    ORA (&00,X)
4F95  00           .     BRK
4F96  00           .     BRK
4F97  80           .     ...
4F98  0C           .     ...
4F99  03           .     ...
4F9A  4F           O     ...
4F9B  28           (     PLP
4F9C  60           `     RTS
4F9D  1D 8B 60     ..`   ORA &608B,X
4FA0  FF           .     ...
4FA1  FF           .     ...
4FA2  00           .     BRK
4FA3  04           .     ...
4FA4  52           R     ...
.
4FA5  CF           .     ...
4FA6  FF           .     ...
4FA7  3F           ?     ...
4FA8  70 C3        p.    BCS &4F6D
4FAA  0F           .     ...
4FAB  0E 47 0C     .G.   ASL &0C47
4FAE  04           .     ...
4FAF  00           .     BRK
4FB0  00           .     BRK
4FB1  44           D     ...
4FB2  08           .     PHP
4FB3  01 70        .p    ORA (&70,X)
4FB5  91 08        ..    STA (&08),Y
4FB7  E3           .     ...
4FB8  1D 87 4F     ..O   ORA &4F87,X
4FBB  0C           .     ...
4FBC  00           .     BRK
4FBD  1C           .     ...
4FBE  83           .     ...
4FBF  00           .     BRK
.
4FC0  FF           .     ...
4FC1  FF           .     ...
4FC2  2D 2A D3     -*.   AND &D32A
4FC5  EF           .     ...
4FC6  CF           .     ...
4FC7  F7           .     ...
4FC8  70 2D        p-    BCS &4FF7
4FCA  0F           .     ...
4FCB  0E 47 C4     .G.   ASL &C447
4FCE  0C           .     ...
4FCF  31 00        1.    AND (&00),Y
4FD1  61 08        a.    ADC (&08,X)
4FD3  00           .     BRK
4FD4  87           .     ...
4FD5  59 0C 61     Y.a   EOR &610C,Y
4FD8  18           .     CLC
4FD9  87           .     ...
4FDA  46 1F        F.    LSR &1F
4FDC  0F           .     ...
4FDD  0F           .     ...
4FDE  0F           .     ...
4FDF  0F           .     ...
4FE0  00           .     BRK
4FE1  00           .     BRK
4FE2  22           "     ...
4FE3  11 97        ..    ORA (&97),Y
4FE5  2F           /     ...
4FE6  6F           o     ...
4FE7  CF           .     ...
4FE8  70 87        p.    BCS &4F71
4FEA  0F           .     ...
4FEB  0E 23 80     .#.   ASL &8023
4FEE  0C           .     ...
4FEF  31 00        1.    AND (&00),Y
4FF1  41 00        A.    EOR (&00,X)
4FF3  00           .     BRK
4FF4  0F           .     ...
4FF5  1D CC 40     ..@   ORA &40CC,X
4FF8  10 06        ..    BPL &5000
4FFA  00           .     BRK
4FFB  17           .     ...
4FFC  F0 80        ..    BEQ &4F7E
4FFE  10 F0        ..    BPL &4FF0
.
5000  00           .     BRK
5001  00           .     BRK
5002  00           .     BRK
5003  00           .     BRK
5004  66 00        f.    ROR &00
5006  11 CC        ..    ORA (&CC),Y
5008  00           .     BRK
5009  00           .     BRK
500A  00           .     BRK
500B  00           .     BRK
500C  55 00        U.    EOR &00,X
500E  00           .     BRK
500F  FF           .     ...
5010  88           .     DEY
5011  77           w     ...
5012  77           w     ...
5013  22           "     ...
5014  00           .     BRK
5015  33           3     ...
5016  99 BB 33     ..3   STA &33BB,Y
5019  00           .     BRK
501A  EE 00 00     ...   INC &0000
501D  77           w     ...
501E  88           .     DEY
501F  44           D     ...
5020  77           w     ...
5021  77           w     ...
5022  77           w     ...
5023  DD EE EE     ...   CMP &EEEE,X
5026  CD 3F 66     .?f   CMP &663F
5029  77           w     ...
502A  DD FF DD     ...   CMP &DDFF,X
502D  33           3     ...
502E  DD 8F CC     ...   CMP &CC8F,X
5031  DF           .     ...
5032  BF           .     ...
5033  22           "     ...
5034  00           .     BRK
5035  67           g     ...
5036  FF           .     ...
5037  FF           .     ...
5038  33           3     ...
5039  11 BF        ..    ORA (&BF),Y
503B  00           .     BRK
503C  00           .     BRK
503D  57           W     ...
503E  88           .     DEY
503F  FF           .     ...
5040  DF           .     ...
5041  DF           .     ...
5042  DF           .     ...
5043  DD FF BF     ...   CMP &BFFF,X
5046  9D FF BF     ...   STA &BFFF,X
5049  CF           .     ...
504A  DD 9F DD     ...   CMP &DD9F,X
504D  33           3     ...
504E  7F                ...
504F  BB           .     ...
5050  CC 1D BB     ...   CPY &BB1D
5053  77           w     ...
5054  00           .     BRK
5055  66 3F        f?    ROR &3F
5057  6F           o     ...
5058  33           3     ...
5059  11 BB        ..    ORA (&BB),Y
505B  00           .     BRK
505C  00           .     BRK
505D  77           w     ...
505E  99 8F 1D     ...   STA &1D8F,Y
5061  FF           .     ...
5062  DD FF 7F     ..   CMP &7FFF,X
5065  1B           .     ...
5066  19 FF 0B     ...   ORA &0BFF,Y
5069  6E 5D 3B     n];   ROR &3B5D
506C  0D 33 77     .3w   ORA &7733
506F  AB           .     ...
5070  CC 77 3B     .w;   CPY &3B77
5073  77           w     ...
5074  00           .     BRK
5075  FF           .     ...
5076  03           .     ...
5077  06 FF        ..    ASL &FF
5079  EF           .     ...
507A  EF           .     ...
507B  33           3     ...
507C  CC 17 89     ...   CPY &8917
507F  EE DD CF     ...   INC &CFDD
5082  7F                ...
5083  CF           .     ...
5084  77           w     ...
5085  BB           .     ...
5086  99 FF 00     ...   STA &00FF,Y
5089  37           7     ...
508A  77           w     ...
508B  67           g     ...
508C  00           .     BRK
508D  33           3     ...
508E  77           w     ...
508F  BB           .     ...
5090  8C 67 33     .g3   STY &3367
5093  DF           .     ...
5094  88           .     DEY
5095  6F           o     ...
5096  00           .     BRK
5097  00           .     BRK
5098  3F           ?     ...
5099  1F           .     ...
509A  AE 03 0C     ...   LDX &0C03
509D  11 EE        ..    ORA (&EE),Y
509F  3F           ?     ...
50A0  7F                ...
50A1  7F                ...
50A2  17           .     ...
50A3  DD EF EF     ...   CMP &EFEF,X
50A6  DD FF 00     ...   CMP &00FF,X
50A9  EF           .     ...
50AA  27           '     ...
50AB  77           w     ...
50AC  88           .     DEY
50AD  FF           .     ...
50AE  DF           .     ...
50AF  8B           .     ...
50B0  08           .     PHP
50B1  06 33        .3    ASL &33
50B3  DD 88 66     ..f   CMP &6688,X
50B6  00           .     BRK
50B7  00           .     BRK
50B8  33           3     ...
50B9  11 BB        ..    ORA (&BB),Y
50BB  77           w     ...
50BC  FF           .     ...
50BD  99 BF EF     ...   STA &EFBF,Y
50C0  07           .     ...
50C1  07           .     ...
50C2  77           w     ...
50C3  7F                ...
50C4  0E 0E 3F     ..?   ASL &3F0E
50C7  0F           .     ...
50C8  00           .     BRK
50C9  0E 02 07     ...   ASL &0702
50CC  08           .     PHP
50CD  FF           .     ...
50CE  0D FF CC     ...   ORA &CCFF
50D1  66 77        fw    ROR &77
50D3  0D 7F FF     ..   ORA &FF7F
50D6  CC 00 33     ..3   CPY &3300
50D9  01 DF        ..    ORA (&DF,X)
50DB  88           .     DEY
50DC  00           .     BRK
50DD  11 EF        ..    ORA (&EF),Y
50DF  4E 00 00     N..   LSR &0000
50E2  07           .     ...
50E3  07           .     ...
50E4  00           .     BRK
50E5  00           .     BRK
50E6  03           .     ...
50E7  00           .     BRK
50E8  00           .     BRK
50E9  00           .     BRK
50EA  00           .     BRK
50EB  00           .     BRK
50EC  00           .     BRK
50ED  0F           .     ...
50EE  00           .     BRK
50EF  0F           .     ...
50F0  0C           .     ...
50F1  06 07        ..    ASL &07
50F3  00           .     BRK
50F4  07           .     ...
50F5  0F           .     ...
50F6  0C           .     ...
50F7  00           .     BRK
50F8  03           .     ...
50F9  00           .     BRK
50FA  0D 2F AF     ./.   ORA &AF2F
50FD  89           .     ...
50FE  0E 04 00     ...   ASL &0004
5101  03           .     ...
5102  00           .     BRK
5103  FF           .     ...
5104  BB           .     ...
5105  BB           .     ...
5106  00           .     BRK
5107  11 88        ..    ORA (&88),Y
5109  00           .     BRK
510A  00           .     BRK
510B  00           .     BRK
510C  22           "     ...
510D  00           .     BRK
510E  00           .     BRK
510F  00           .     BRK
5110  11 CC        ..    ORA (&CC),Y
5112  77           w     ...
5113  BB           .     ...
5114  66 22        f"    ROR &22
5116  33           3     ...
5117  00           .     BRK
5118  FF           .     ...
5119  00           .     BRK
511A  00           .     BRK
511B  00           .     BRK
511C  00           .     BRK
511D  00           .     BRK
511E  00           .     BRK
511F  00           .     BRK
5120  0D 3F 00     .?.   ORA &003F
5123  CF           .     ...
5124  6F           o     ...
5125  FF           .     ...
5126  77           w     ...
5127  77           w     ...
5128  EE FF BB     ...   INC &BBFF
512B  88           .     DEY
512C  EE 33 BB     .3.   INC &BB33
512F  66 11        f.    ROR &11
5131  CC 77 FF     .w.   CPY &FF77
5134  FF           .     ...
5135  AA           .     TAX
5136  DF           .     ...
5137  99 88 00     ...   STA &0088,Y
513A  00           .     BRK
513B  57           W     ...
513C  5F           _     ...
513D  08           .     PHP
513E  00           .     BRK
513F  00           .     BRK
5140  DD FF 00     ...   CMP &00FF,X
5143  FF           .     ...
5144  06 FF        ..    ASL &FF
5146  DF           .     ...
.
5147  DF           .     ...
5148  BF           .     ...
5149  BF           .     ...
514A  BB           .     ...
514B  88           .     DEY
514C  FF           .     ...
514D  8B           .     ...
514E  FF           .     ...
514F  FF           .     ...
5150  EF           .     ...
5151  0C           .     ...
5152  FF           .     ...
5153  BF           .     ...
5154  6F           o     ...
5155  FF           .     ...
5156  9D BB 6E     ..n   STA &6EBB,X
5159  00           .     BRK
515A  00           .     BRK
515B  00           .     BRK
515C  00           .     BRK
515D  00           .     BRK
515E  00           .     BRK
515F  00           .     BRK
5160  DF           .     ...
5161  BB           .     ...
5162  00           .     BRK
5163  1F           .     ...
5164  99 CF DD     ...   STA &DDCF,Y
5167  DD BB BB     ...   CMP &BBBB,X
516A  BB           .     ...
516B  AA           .     TAX
516C  EF           .     ...
516D  3B           ;     ...
516E  EF           .     ...
516F  BF           .     ...
5170  0E 00 DF     ...   ASL &DF00
5173  BB           .     ...
5174  66 7F        f    ROR &7F
5176  09 EF        ..    ORA #&EF
5178  00           .     BRK
5179  00           .     BRK
517A  00           .     BRK
517B  07           .     ...
517C  0F           .     ...
517D  08           .     PHP
517E  00           .     BRK
517F  00           .     BRK
5180  FF           .     ...
5181  BB           .     ...
5182  00           .     BRK
5183  11 89        ..    ORA (&89),Y
5185  FF           .     ...
5186  DD DD BB     ...   CMP &BBDD,X
5189  BB           .     ...
518A  BB           .     ...
518B  FF           .     ...
518C  EE EF EE     ...   INC &EEEF
518F  3B           ;     ...
5190  FF           .     ...
5191  FF           .     ...
5192  DD BB 66     ..f   CMP &66BB,X
5195  FF           .     ...
5196  99 BF 44     ..D   STA &44BF,Y
5199  00           .     BRK
519A  00           .     BRK
519B  77           w     ...
519C  8A           .     TXA
519D  FF           .     ...
519E  00           .     BRK
519F  00           .     BRK
51A0  DD 88 00     ...   CMP &0088,X
51A3  DD 88 FF     ...   CMP &FF88,X
51A6  7F                ...
51A7  7F                ...
51A8  BB           .     ...
51A9  BB           .     ...
51AA  EF           .     ...
51AB  DF           .     ...
51AC  BF           .     ...
51AD  BF           .     ...
51AE  EE 33 1F     .3.   INC &1F33
51B1  FF           .     ...
51B2  8D 7F FF     ..   STA &FF7F
51B5  AF           .     ...
51B6  DD 9B 88     ...   CMP &889B,X
51B9  00           .     BRK
51BA  00           .     BRK
51BB  F8           .     SED
51BC  07           .     ...
51BD  70 88        p.    BCS &5147
51BF  00           .     BRK
.
51C0  DD 88 00     ...   CMP &0088,X
51C3  7F                ...
51C4  08           .     PHP
51C5  FF           .     ...
51C6  07           .     ...
51C7  07           .     ...
51C8  0B           .     ...
51C9  0B           .     ...
51CA  0E 0D 0B     ...   ASL &0B0D
51CD  0B           .     ...
51CE  0E 03 01     ...   ASL &0103
51D1  5F           _     ...
51D2  99 BF 6F     ..o   STA &6FBF,Y
51D5  2A           *     ROL A
51D6  3F           ?     ...
51D7  09 88        ..    ORA #&88
51D9  00           .     BRK
51DA  11 80        ..    ORA (&80),Y
51DC  0D 08 C4     ...   ORA &C408
51DF  00           .     BRK
51E0  DF           .     ...
51E1  88           .     DEY
51E2  00           .     BRK
51E3  07           .     ...
51E4  00           .     BRK
51E5  0F           .     ...
51E6  00           .     BRK
51E7  00           .     BRK
51E8  00           .     BRK
51E9  00           .     BRK
51EA  00           .     BRK
51EB  00           .     BRK
51EC  00           .     BRK
51ED  00           .     BRK
51EE  00           .     BRK
51EF  00           .     BRK
51F0  00           .     BRK
51F1  05 09        ..    ORA &09
51F3  0B           .     ...
51F4  06 02        ..    ASL &02
51F6  03           .     ...
51F7  00           .     BRK
51F8  08           .     PHP
51F9  00           .     BRK
51FA  10 07        ..    BPL &5203
51FC  0A           .     ASL A
51FD  0F           .     ...
51FE  40           @     RTI
51FF  00           .     BRK
5200  77           w     ...
5201  77           w     ...
5202  77           w     ...
.
5203  33           3     ...
5204  33           3     ...
5205  11 BB        ..    ORA (&BB),Y
5207  77           w     ...
5208  EE CC FF     ...   INC &FFCC
520B  EE EE EE     ...   INC &EEEE
520E  EE FF 88     ...   INC &88FF
5211  00           .     BRK
5212  00           .     BRK
5213  00           .     BRK
5214  00           .     BRK
5215  88           .     DEY
5216  00           .     BRK
5217  00           .     BRK
5218  CC 00 FE     ...   CPY &FE00
521B  00           .     BRK
521C  07           .     ...
521D  00           .     BRK
521E  73           s     ...
521F  88           .     DEY
5220  DF           .     ...
5221  DF           .     ...
5222  DF           .     ...
5223  FF           .     ...
5224  33           3     ...
5225  11 BB        ..    ORA (&BB),Y
5227  DF           .     ...
5228  BF           .     ...
5229  CC DF BF     ...   CPY &BFDF
522C  BF           .     ...
522D  BF           .     ...
522E  BF           .     ...
522F  CF           .     ...
5230  88           .     DEY
5231  00           .     BRK
5232  00           .     BRK
5233  00           .     BRK
5234  33           3     ...
5235  BB           .     ...
5236  AA           .     TAX
5237  BB           .     ...
5238  CC 00 F0     ...   CPY &F000
523B  06 0D        ..    ASL &0D
523D  0B           .     ...
523E  70 80        p.    BCS &51C0
5240  CD 1D DD     ...   CMP &DD1D
5243  BF           .     ...
5244  33           3     ...
5245  11 EF        ..    ORA (&EF),Y
5247  DD BB 7F     ..   CMP &7FBB,X
524A  9D 8B 3B     ..;   STA &3B8B,X
524D  BB           .     ...
524E  8B           .     ...
524F  1D 88 00     ...   ORA &0088,X
5252  00           .     BRK
5253  00           .     BRK
5254  22           "     ...
5255  88           .     DEY
5256  AA           .     TAX
5257  AA           .     TAX
5258  CC 11 80     ...   CPY &8011
525B  00           .     BRK
525C  00           .     BRK
525D  00           .     BRK
525E  00           .     BRK
525F  C4 FF        ..    CPY &FF
5261  77           w     ...
5262  7F                ...
5263  BB           .     ...
5264  33           3     ...
5265  55 CE        U.    EOR &CE,X
5267  DD BB 37     ..7   CMP &37BB,X
526A  3B           ;     ...
526B  CC 33 BB     .3.   CPY &BB33
526E  88           .     DEY
526F  33           3     ...
5270  08           .     PHP
5271  00           .     BRK
5272  00           .     BRK
5273  00           .     BRK
5274  22           "     ...
5275  BB           .     ...
5276  BB           .     ...
5277  99 CC 10     ...   STA &10CC,Y
527A  B3           .     ...
527B  CC 55 55     .UU   CPY &5555
527E  EE C0 DF     ...   INC &DFC0
5281  CF           .     ...
5282  17           .     ...
5283  BB           .     ...
5284  33           3     ...
5285  FF           .     ...
5286  EE 7F EF     ..   INC &EF7F
5289  33           3     ...
528A  13           .     ...
528B  8C 33 BB     .3.   STY &BB33
528E  BB           .     ...
528F  67           g     ...
5290  00           .     BRK
5291  03           .     ...
5292  0F           .     ...
5293  0E 33 BB     .3.   ASL &BB33
5296  88           .     DEY
5297  BB           .     ...
5298  CC 32 23     .2#   CPY &2332
529B  6E DD 45     n.E   ROR &45DD
529E  8E 62 DD     .b.   STX &DD62
52A1  DD DD BB     ...   CMP &BBDD,X
52A4  33           3     ...
52A5  BF           .     ...
52A6  BF           .     ...
52A7  17           .     ...
52A8  BF           .     ...
52A9  33           3     ...
52AA  11 99        ..    ORA (&99),Y
52AC  BB           .     ...
52AD  BB           .     ...
52AE  9B           .     ...
52AF  66 00        f.    ROR &00
52B1  06 00        ..    ASL &00
52B3  00           .     BRK
52B4  00           .     BRK
52B5  00           .     BRK
52B6  11 88        ..    ORA (&88),Y
52B8  DD B8 77     ..w   CMP &77B8,X
52BB  37           7     ...
52BC  9D 44 EE     .D.   STA &EE44,X
52BF  60           `     RTS
52C0  7F                ...
52C1  7F                ...
52C2  7F                ...
52C3  7F                ...
52C4  BB           .     ...
52C5  1B           .     ...
52C6  BB           .     ...
52C7  11 BB        ..    ORA (&BB),Y
52C9  33           3     ...
52CA  11 EF        ..    ORA (&EF),Y
52CC  EF           .     ...
52CD  EF           .     ...
52CE  EF           .     ...
52CF  66 00        f.    ROR &00
52D1  1F           .     ...
52D2  FF           .     ...
52D3  EE 00 00     ...   INC &0000
52D6  88           .     DEY
52D7  00           .     BRK
52D8  FF           .     ...
52D9  EC 47 13     .G.   CPX &1347
52DC  19 44 4E     .DN   ORA &4E44,Y
52DF  31 07        1.    AND (&07),Y
52E1  07           .     ...
52E2  07           .     ...
52E3  07           .     ...
52E4  0B           .     ...
52E5  01 0B        ..    ORA (&0B,X)
52E7  01 0B        ..    ORA (&0B,X)
52E9  03           .     ...
52EA  01 0E        ..    ORA (&0E,X)
52EC  0E 0E 0E     ...   ASL &0E0E
52EF  06 00        ..    ASL &00
52F1  5F           _     ...
52F2  FF           .     ...
52F3  EE 11 44     ..D   INC &4411
52F6  33           3     ...
52F7  00           .     BRK
52F8  0F           .     ...
52F9  68           h     PLA
52FA  FF           .     ...
52FB  33           3     ...
52FC  99 77 77     .ww   STA &7777,Y
52FF  B8           .     CLV
5300  11 DD        ..    ORA (&DD),Y
5302  BB           .     ...
5303  CC 66 66     .ff   CPY &6666
5306  FF           .     ...
5307  77           w     ...
5308  33           3     ...
5309  BB           .     ...
530A  BB           .     ...
530B  FF           .     ...
530C  66 EE        f.    ROR &EE
530E  CC 77 FF     .w.   CPY &FF77
5311  1B           .     ...
5312  FF           .     ...
5313  EE 22 AA     .".   INC &AA22
5316  AA           .     TAX
5317  88           .     DEY
5318  00           .     BRK
5319  40           @     RTI
531A  0F           .     ...
531B  67           g     ...
531C  CD 07 07     ...   CMP &0707
531F  18           .     CLC
5320  11 DD        ..    ORA (&DD),Y
5322  EF           .     ...
5323  EE EE 66     ..f   INC &66EE
5326  DF           .     ...
5327  DF           .     ...
5328  EF           .     ...
5329  EF           .     ...
532A  DF           .     ...
532B  BF           .     ...
532C  77           w     ...
532D  BF           .     ...
532E  CC 77 3F     .w?   CPY &3F77
5331  1F           .     ...
5332  FF           .     ...
5333  EE 22 AA     .".   INC &AA22
5336  AA           .     TAX
5337  88           .     DEY
5338  00           .     BRK
5339  51 FF        Q.    EOR (&FF),Y
533B  CE 7F FF     ..   DEC &FF7F
533E  FF           .     ...
533F  DC           .     ...
5340  11 DD        ..    ORA (&DD),Y
5342  EE FF FF     ...   INC &FFFF
5345  66 DD        f.    ROR &DD
5347  DD EE EE     ...   CMP &EEEE,X
534A  1D BB 67     ..g   ORA &67BB,X
534D  3B           ;     ...
534E  6E CF 77     n.w   ROR &77CF
5351  1F           .     ...
5352  FF           .     ...
5353  EE 22 AA     .".   INC &AA22
5356  AA           .     TAX
5357  88           .     DEY
5358  00           .     BRK
5359  41 0F        A.    EOR (&0F,X)
535B  0C           .     ...
535C  07           .     ...
535D  0F           .     ...
535E  0F           .     ...
535F  1C           .     ...
5360  11 DD        ..    ORA (&DD),Y
5362  BF           .     ...
5363  DF           .     ...
5364  7F                ...
5365  FF           .     ...
5366  DD DD BF     ...   CMP &BFDD,X
5369  BF           .     ...
536A  11 BB        ..    ORA (&BB),Y
536C  66 EF        f.    ROR &EF
536E  37           7     ...
536F  8C EF 5F     .._   STY &5FEF
5372  FF           .     ...
5373  EE 22 00     .".   INC &0022
5376  00           .     BRK
5377  00           .     BRK
5378  00           .     BRK
5379  40           @     RTI
537A  00           .     BRK
.
537B  00           .     BRK
537C  00           .     BRK
537D  00           .     BRK
.
537E  00           .     BRK
.
537F  10 11        ..    BPL &5392
5381  DD EF CD     ...   CMP &CDEF,X
5384  67           g     ...
5385  EF           .     ...
5386  DD DD EF     ...   CMP &EFDD,X
5389  EF           .     ...
538A  11 9B        ..    ORA (&9B),Y
538C  57           W     ...
538D  8E 67 DD     .g.   STX &DD67
5390  CE 1B FF     ...   DEC &FF1B
5393  EE 33 BB     .3.   INC &BB33
5396  BB           .     ...
5397  66 DD        f.    ROR &DD
5399  F8           .     SED
539A  E0 08        ..    CPX #&08
539C  00           .     BRK
539D  00           .     BRK
539E  38           8     SEC
539F  F0 DD        ..    BEQ &537E
53A1  DD EE CC     ...   CMP &CCEE,X
53A4  66 6E        fn    ROR &6E
53A6  DD DD 6E     ..n   CMP &6EDD,X
53A9  EE DD 99     ...   INC &99DD
53AC  DD 88 CE     ...   CMP &CE88,X
53AF  7F                ...
53B0  8C 1F FF     ...   STY &FF1F
53B3  EE 22 AA     .".   INC &AA22
53B6  22           "     ...
53B7  66 99        f.    ROR &99
53B9  70 E0        p.    BCS &539B
53BB  0F           .     ...
.
53BC  0A           .     ASL A
53BD  0F           .     ...
53BE  38           8     SEC
53BF  F0 7F        .    BEQ &5440
53C1  7F                ...
53C2  3F           ?     ...
53C3  CC 66 66     .ff   CPY &6666
53C6  FF           .     ...
53C7  6F           o     ...
53C8  BF           .     ...
.
53C9  BF           .     ...
53CA  9D 89 9D     ...   STA &9D89,X
53CD  FF           .     ...
53CE  CC 77 FF     .w.   CPY &FF77
53D1  06 00        ..    ASL &00
53D3  00           .     BRK
53D4  22           "     ...
53D5  AA           .     TAX
53D6  11 44        .D    ORA (&44),Y
53D8  88           .     DEY
53D9  88           .     DEY
53DA  70 07        p.    BCS &53E3
53DC  0A           .     ASL A
53DD  0F           .     ...
53DE  70 00        p.    BCS &53E0
.
53E0  07           .     ...
53E1  07           .     ...
53E2  03           .     ...
.
53E3  0C           .     ...
53E4  06 06        ..    ASL &06
53E6  0F           .     ...
53E7  06 0B        ..    ASL &0B
53E9  0B           .     ...
53EA  09 08        ..    ORA #&08
53EC  09 0F        ..    ORA #&0F
53EE  0C           .     ...
53EF  07           .     ...
53F0  0F           .     ...
53F1  03           .     ...
53F2  0F           .     ...
53F3  0E 22 AA     .".   ASL &AA22
53F6  33           3     ...
53F7  66 DD        f.    ROR &DD
53F9  88           .     DEY
53FA  30 83        0.    BMI &537F
53FC  07           .     ...
53FD  06 E0        ..    ASL &E0
53FF  00           .     BRK

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.DataList4
5400  C0 A0        ..    CPY #&A0
5402  50 90        P.    BVC &5394
5404  40           @     RTI
5405  50 60        P`    BVC &5467
5407  40           @     RTI
5408  21 20        !     AND (&20,X)
540A  20 21 11      !.   JSR &1121
540D  11 50        .P    ORA (&50),Y
540F  30 60        0`    BMI &5471
5411  51 50        QP    EOR (&50),Y
5413  50 80        P.    BVC &5395
5415  50 50        PP    BVC &5467
5417  B0 B0        ..    BCS &53C9
5419  80           .     ...
.
541A  80           .     ...
541B  50 90        P.    BVC &53AD
.
541D  70 50        pP    BCS &546F
541F  30 40        0@    BMI &5461
.
5421  20 10 F1      ..   JSR &F110
5424  F1 71        .q    SBC (&71),Y
5426  30 F0        0.    BMI &5418
5428  F0 F0        ..    BEQ &541A
.
542A  F0 F1        ..    BEQ &541D
542C  F0 30        .0    BEQ &545E
542E  60           `     RTS
.
542F  30 30        00    BMI &5461
.
5431  F0 F0        ..    BEQ &5423
5433  F1 F0        ..    SBC (&F0),Y
.
5435  F0 F0        ..    BEQ &5427
5437  F0 F1        ..    BEQ &542A
.
5439  F0 F0        ..    BEQ &542B
.
543B  F0 F0        ..    BEQ &542D
543D  F0 F0        ..    BEQ &542F
543F  F0 F0        ..    BEQ &5431
5441  30 60        0`    BMI &54A3
5443  F0 F0        ..    BEQ &5435
5445  70 00        p.    BCS &5447
.
5447  F0 F0        ..    BEQ &5439
5449  F0 F0        ..    BEQ &543B
544B  30 31        01    BMI &547E
544D  41 F0        A.    EOR (&F0,X)
544F  20 40 20      @    JSR &2040
5452  50 50        PP    BVC &54A4
5454  30 70        0p    BMI &54C6
5456  C0 40        .@    CPY #&40
5458  40           @     RTI
5459  20 60 60      ``   JSR &6060
545C  40           @     RTI
545D  F0 70        .p    BEQ &54CF
545F  20 70 90      p.   JSR &9070
5462  C0 30        .0    CPY #&30
5464  40           @     RTI
5465  50 60        P`    BVC &54C7
.
5467  40           @     RTI
5468  40           @     RTI
5469  30 F0        0.    BMI &545B
546B  20 30 31      01   JSR &3130
546E  70 B1        p.    BCS &5421
5470  F0 70        .p    BEQ &54E2
5472  51 41        QA    EOR (&41),Y
5474  50 51        PQ    BVC &54C7
5476  30 80        0.    BMI &53F8
5478  30 30        00    BMI &54AA
547A  50 50        PP    BVC &54CC
547C  40           @     RTI
547D  00           .     BRK
.
547E  10 20        .     BPL &54A0
5480  60           `     RTS
5481  40           @     RTI
5482  50 50        PP    BVC &54D4
5484  00           .     BRK
5485  20 21 60      !`   JSR &6021
5488  50 10        P.    BVC &549A
548A  50 10        P.    BVC &549C
548C  30 40        0@    BMI &54CE
548E  30 40        0@    BMI &54D0
5490  41 40        A@    EOR (&40,X)
5492  40           @     RTI
5493  40           @     RTI
5494  40           @     RTI
5495  40           @     RTI
5496  40           @     RTI
5497  10 10        ..    BPL &54A9
5499  30 20        0     BMI &54BB
549B  31 40        1@    AND (&40),Y
.
549D  60           `     RTS
549E  40           @     RTI
549F  41 41        AA    EOR (&41,X)
54A1  40           @     RTI
54A2  30 31        01    BMI &54D5
.
54A4  40           @     RTI
54A5  40           @     RTI
54A6  10 40        .@    BPL &54E8
54A8  40           @     RTI
.
54A9  40           @     RTI
.
54AA  60           `     RTS
54AB  50 40        P@    BVC &54ED
54AD  41 40        A@    EOR (&40,X)
54AF  40           @     RTI
54B0  41 30        A0    EOR (&30,X)
54B2  40           @     RTI
54B3  40           @     RTI
54B4  60           `     RTS
54B5  60           `     RTS
54B6  50 50        PP    BVC &5508
54B8  21 31        !1    AND (&31,X)
54BA  20 40 20      @    JSR &2040
54BD  50 40        P@    BVC &54FF
54BF  41 41        AA    EOR (&41,X)
54C1  40           @     RTI
54C2  40           @     RTI
54C3  41 40        A@    EOR (&40,X)
54C5  40           @     RTI
.
54C6  10 20        .     BPL &54E8
54C8  40           @     RTI
54C9  10 60        .`    BPL &552B
54CB  41 40        A@    EOR (&40,X)
54CD  40           @     RTI
.
54CE  41 50        AP    EOR (&50,X)
.
54D0  30 40        0@    BMI &5512
54D2  41 40        A@    EOR (&40,X)
.
54D4  60           `     RTS
.
54D5  40           @     RTI
54D6  41 30        A0    EOR (&30,X)
54D8  31 10        1.    AND (&10),Y
54DA  30 50        0P    BMI &552C
54DC  30 A0        0.    BMI &547E
54DE  A0 90        ..    LDY #&90
54E0  D0 20        .     BNE &5502
.
54E2  21 00        !.    AND (&00,X)
54E4  10 30        .0    BPL &5516
54E6  70 70        pp    BCS &5558
.
54E8  21 20        !     AND (&20,X)
54EA  21 20        !     AND (&20,X)
54EC  B0 E0        ..    BCS &54CE

.DataList3
54EE  40           @     RTI
54EF  80           .     ...
54F0  98           .     TYA
54F1  91 A8        ..    STA (&A8),Y
54F3  A0 A0        ..    LDY #&A0
54F5  A0 09        ..    LDY #&09
54F7  08           .     PHP
54F8  10 19        ..    BPL &5513
54FA  19 18 58     ..X   ORA &5818,Y
54FD  18           .     CLC
54FE  60           `     RTS
.
54FF  78           x     SEI
5500  81 98        ..    STA (&98,X)
.
5502  78           x     SEI
5503  70 98        p.    BCS &549D
5505  90 28        .(    BCC &552F
5507  48           H     PHA
.
5508  78           x     SEI
5509  69 20        i     ADC #&20
550B  28           (     PLP
550C  38           8     SEC
550D  48           H     PHA
550E  38           8     SEC
550F  20 08 F8      ..   JSR &F808
.
5512  F8           .     SED
.
5513  68           h     PLA
5514  F9 F9 B9     ...   SBC &B9F9,Y
5517  79 39 F8     y9.   ADC &F839,Y
551A  78           x     SEI
551B  38           8     SEC
551C  38           8     SEC
551D  38           8     SEC
551E  F8           .     SED
551F  38           8     SEC
5520  78           x     SEI
5521  F8           .     SED
5522  F8           .     SED
5523  78           x     SEI
5524  F8           .     SED
5525  78           x     SEI
5526  F8           .     SED
5527  F8           .     SED
5528  C9 78        .x    CMP #&78
552A  38           8     SEC
.
552B  F8           .     SED
.
552C  89           .     ...
552D  09 49        .I    ORA #&49
.
552F  F8           .     SED
5530  F8           .     SED
5531  F9 F9 68     ..h   SBC &68F9,Y
5534  00           .     BRK
5535  F8           .     SED
5536  78           x     SEI
5537  38           8     SEC
5538  39 F9 F9     9..   AND &F9F9,Y
553B  28           (     PLP
553C  48           H     PHA
553D  18           .     CLC
553E  11 19        ..    ORA (&19),Y
5540  20 29 41      )A   JSR &4129
5543  F8           .     SED
5544  70 30        p0    BCS &5576
5546  20 20 19       .   JSR &1920
5549  18           .     CLC
554A  28           (     PLP
554B  60           `     RTS
554C  48           H     PHA
554D  80           .     ...
554E  58           X     CLI
554F  58           X     CLI
5550  39 19 68     9.h   AND &6819,Y
5553  68           h     PLA
5554  68           h     PLA
5555  58           X     CLI
5556  68           h     PLA
5557  58           X     CLI
.
5558  38           8     SEC
5559  38           8     SEC
555A  28           (     PLP
555B  48           H     PHA
555C  48           H     PHA
555D  48           H     PHA
555E  48           H     PHA
555F  08           .     PHP
5560  30 20        0     BMI &5582
5562  28           (     PLP
5563  39 70 38     9p8   AND &3870,Y
5566  30 20        0     BMI &5588
5568  20 20 20           JSR &2020
556B  38           8     SEC
556C  38           8     SEC
556D  38           8     SEC
556E  38           8     SEC
556F  38           8     SEC
5570  38           8     SEC
5571  38           8     SEC
5572  38           8     SEC
5573  38           8     SEC
5574  38           8     SEC
5575  38           8     SEC
.
5576  38           8     SEC
5577  38           8     SEC
5578  20 38 38      88   JSR &3838
557B  38           8     SEC
557C  38           8     SEC
557D  38           8     SEC
557E  38           8     SEC
557F  39 38 38     988   AND &3838,Y
.
5582  38           8     SEC
5583  38           8     SEC
5584  38           8     SEC
5585  38           8     SEC
5586  38           8     SEC
5587  38           8     SEC
.
5588  38           8     SEC
5589  38           8     SEC
558A  38           8     SEC
558B  38           8     SEC
558C  39 38 38     988   AND &3838,Y
558F  38           8     SEC
5590  38           8     SEC
5591  38           8     SEC
5592  38           8     SEC
5593  38           8     SEC
5594  38           8     SEC
5595  38           8     SEC
5596  38           8     SEC
5597  38           8     SEC
5598  38           8     SEC
5599  38           8     SEC
559A  38           8     SEC
559B  38           8     SEC
559C  38           8     SEC
559D  38           8     SEC
559E  38           8     SEC
559F  38           8     SEC
55A0  38           8     SEC
55A1  38           8     SEC
55A2  38           8     SEC
55A3  38           8     SEC
55A4  38           8     SEC
55A5  38           8     SEC
55A6  38           8     SEC
55A7  38           8     SEC
55A8  38           8     SEC
55A9  38           8     SEC
55AA  38           8     SEC
55AB  38           8     SEC
55AC  38           8     SEC
55AD  38           8     SEC
55AE  38           8     SEC
55AF  38           8     SEC
55B0  38           8     SEC
55B1  38           8     SEC
55B2  38           8     SEC
55B3  38           8     SEC
55B4  38           8     SEC
55B5  38           8     SEC
55B6  38           8     SEC
55B7  38           8     SEC
55B8  38           8     SEC
55B9  38           8     SEC
55BA  38           8     SEC
55BB  38           8     SEC
.
55BC  38           8     SEC
55BD  38           8     SEC
55BE  38           8     SEC
55BF  38           8     SEC
55C0  38           8     SEC
55C1  38           8     SEC
55C2  38           8     SEC
55C3  38           8     SEC
55C4  38           8     SEC
55C5  38           8     SEC
55C6  38           8     SEC
55C7  38           8     SEC
55C8  38           8     SEC
55C9  38           8     SEC
55CA  38           8     SEC
55CB  20 20 20           JSR &2020
55CE  28           (     PLP
55CF  58           X     CLI
55D0  58           X     CLI
55D1  58           X     CLI
55D2  58           X     CLI
55D3  58           X     CLI
55D4  58           X     CLI
55D5  30 31        01    BMI &5608
55D7  30 30        00    BMI &5609
55D9  31 98        1.    AND (&98),Y
55DB  98           .     TYA
55DC  36 44        6D    ROL &44,X
55DE  C5 04        ..    CMP &04
55E0  66 06        f.    ROR &06
55E2  91 41        .A    STA (&41),Y
55E4  60           `     RTS
55E5  43           C     ...
55E6  D0 D4        ..    BNE &55BC
55E8  E4 E4        ..    CPX &E4
55EA  A4 03        ..    LDY &03
55EC  97           .     ...
55ED  63           c     ...
55EE  03           .     ...
55EF  05 77        .w    ORA &77
55F1  97           .     ...
55F2  65 06        e.    ADC &06
55F4  06 06        ..    ASL &06
55F6  06 E6        ..    ASL &E6
55F8  C6 D6        ..    DEC &D6
55FA  E6 F6        ..    INC &F6
55FC  37           7     ...
55FD  D6 65        .e    DEC &65,X
55FF  02           .     ...
5600  03           .     ...
5601  12           .     ...
5602  C2           .     ...
5603  03           .     ...
5604  03           .     ...
5605  03           .     ...
5606  03           .     ...
5607  02           .     ...
.
5608  02           .     ...
.
5609  04           .     ...
560A  96 C4        ..    STX &C4,Y
560C  04           .     ...
560D  04           .     ...
560E  43           C     ...
560F  43           C     ...
5610  00           .     BRK
5611  00           .     BRK
5612  05 05        ..    ORA &05
5614  01 00        ..    ORA (&00,X)
5616  00           .     BRK
5617  00           .     BRK
5618  00           .     BRK
5619  05 05        ..    ORA &05
561B  05 05        ..    ORA &05
561D  00           .     BRK
561E  C0 00        ..    CPY #&00
5620  00           .     BRK
5621  44           D     ...
5622  C0 03        ..    CPY #&03
5624  03           .     ...
5625  03           .     ...
5626  07           .     ...
5627  07           .     ...
5628  53           S     ...
5629  17           .     ...
562A  02           .     ...
562B  D4           .     ...
562C  80           .     ...
562D  D4           .     ...
562E  07           .     ...
.
562F  F6 C6        ..    INC &C6,X
5631  87           .     ...
5632  04           .     ...
5633  84 47        .G    STY &47
5635  67           g     ...
5636  C6 C6        ..    DEC &C6
5638  96 02        ..    STX &02,Y
563A  44           D     ...
563B  D4           .     ...
563C  C3           .     ...
563D  67           g     ...
563E  36 86        6.    ROL &86,X
5640  01 51        .Q    ORA (&51,X)
5642  31 B1        1.    AND (&B1),Y
5644  B1 C4        ..    LDA (&C4),Y
5646  02           .     ...
5647  67           g     ...
5648  47           G     ...
5649  15 55        .U    ORA &55,X
564B  35 05        5.    AND &05,X
564D  00           .     BRK
564E  16 37        .7    ASL &37,X
5650  E6 76        .v    INC &76
5652  04           .     ...
5653  B6 C4        ..    LDX &C4,Y
5655  47           G     ...
5656  84 B6        ..    STY &B6
5658  A4 D5        ..    LDY &D5
565A  B4 13        ..    LDY &13
565C  D4           .     ...
565D  B7           .     ...
565E  57           W     ...
565F  76 33        v3    ROR &33,X
5661  B3           .     ...
5662  B3           .     ...
5663  35 06        5.    AND &06,X
5665  64           d     ...
5666  D6 43        .C    DEC &43,X
5668  74           t     ...
5669  33           3     ...
566A  D0 33        .3    BNE &569F
566C  52           R     ...
566D  30 C0        0.    BMI &562F
.
566F  00           .     BRK
5670  C3           .     ...
5671  12           .     ...
5672  80           .     ...
5673  34           4     ...
5674  44           D     ...
5675  D5 04        ..    CMP &04,X
5677  D5 44        .D    CMP &44,X
5679  B3           .     ...
567A  00           .     BRK
567B  90 F2        ..    BCC &566F
567D  81 B2        ..    STA (&B2,X)
567F  92           .     ...
5680  73           s     ...
5681  51 51        QQ    EOR (&51),Y
5683  00           .     BRK
5684  71 06        q.    ADC (&06),Y
5686  C0 11        ..    CPY #&11
5688  33           3     ...
5689  C1 C1        ..    CMP (&C1,X)
568B  F1 40        .@    SBC (&40),Y
568D  A2 40        .@    LDX #&40
568F  E2           .     ...
5690  21 83        !.    AND (&83,X)
5692  42           B     ...
5693  E3           .     ...
5694  94 74        .t    STY &74
5696  94 C4        ..    STY &C4
5698  15 45        .E    ORA &45,X
569A  53           S     ...
569B  C1 00        ..    CMP (&00,X)
569D  C1 40        .@    CMP (&40,X)
.
569F  11 80        ..    ORA (&80),Y
56A1  F1 C1        ..    SBC (&C1),Y
56A3  A1 11        ..    LDA (&11,X)
56A5  11 93        ..    ORA (&93),Y
56A7  32           2     ...
56A8  81 63        .c    STA (&63,X)
56AA  63           c     ...
56AB  E1 42        .B    SBC (&42,X)
56AD  13           .     ...
56AE  72           r     ...
56AF  82           .     ...
56B0  B2           .     ...
56B1  51 C0        Q.    EOR (&C0),Y
56B3  D2           .     ...
56B4  A5 61        .a    LDA &61
56B6  A5 A5        ..    LDA &A5
56B8  A4 A5        ..    LDY &A5
56BA  25 25        %%    AND &25
56BC  25 44        %D    AND &44
56BE  44           D     ...
56BF  74           t     ...
56C0  74           t     ...
56C1  74           t     ...
56C2  74           t     ...
56C3  D6 16        ..    DEC &16,X
56C5  16 16        ..    ASL &16,X
56C7  16 56        .V    ASL &56,X
56C9  17           .     ...
56CA  42           B     ...
56CB  02           .     ...
56CC  E9 81        ..    SBC #&81
56CE  98           .     TYA
56CF  98           .     TYA
56D0  E0 E0        ..    CPX #&E0
56D2  7A           z     ...
56D3  00           .     BRK
56D4  72           r     ...
56D5  E1 5A        .Z    SBC (&5A,X)
56D7  3A           :     ...
56D8  81 00        ..    STA (&00,X)
56DA  E1 0A        ..    SBC (&0A,X)
56DC  02           .     ...
56DD  E9 60        .`    SBC #&60
56DF  68           h     PLA
56E0  E9 00        ..    SBC #&00
56E2  00           .     BRK
56E3  49 49        II    EOR #&49
56E5  50 68        Ph    BVC &574F
56E7  68           h     PLA
56E8  58           X     CLI
56E9  50 D0        P.    BVC &56BB
56EB  D9 A0 00     ...   CMP &00A0,Y
56EE  28           (     PLP
56EF  01 01        ..    ORA (&01,X)
56F1  09 49        .I    ORA #&49
56F3  89           .     ...
56F4  C9 01        ..    CMP #&01
56F6  81 41        .A    STA (&41,X)
56F8  81 41        .A    STA (&41,X)
56FA  80           .     ...
56FB  41 80        A.    EOR (&80,X)
56FD  20 00 00      ..   JSR &0000
5700  00           .     BRK
5701  00           .     BRK
5702  89           .     ...
5703  80           .     ...
5704  80           .     ...
5705  80           .     ...
5706  31 80        1.    AND (&80),Y
5708  09 89        ..    ORA #&89
570A  49 80        I.    EOR #&80
570C  80           .     ...
570D  71 01        q.    ADC (&01),Y
570F  D0 00        ..    BNE &5711
.
5711  80           .     ...
5712  01 41        .A    ORA (&41,X)
5714  4A           J     LSR A
5715  89           .     ...
5716  A8           .     TAY
5717  E9 F9        ..    SBC #&F9
5719  C0 72        .r    CPY #&72
571B  C0 00        ..    CPY #&00
571D  20 00 E0      ..   JSR &E000
5720  00           .     BRK
5721  18           .     CLC
5722  11 E1        ..    ORA (&E1),Y
5724  C0 C8        ..    CPY #&C8
5726  51 B1        Q.    EOR (&B1),Y
5728  78           x     SEI
5729  00           .     BRK
572A  2A           *     ROL A
572B  00           .     BRK
572C  02           .     ...
572D  02           .     ...
.
572E  00           .     BRK
572F  00           .     BRK
5730  70 00        p.    BCS &5732
.
5732  60           `     RTS
5733  E0 4A        .J    CPX #&4A
5735  0A           .     ASL A
5736  B1 99        ..    LDA (&99),Y
5738  99 99 99     ...   STA &9999,Y
573B  72           r     ...
573C  C9 61        .a    CMP #&61
573E  59 C1 D0     Y..   EOR &D0C1,Y
5741  11 88        ..    ORA (&88),Y
5743  89           .     ...
5744  90 E8        ..    BCC &572E
5746  90 2B        .+    BCC &5773
5748  CA           .     DEX
5749  8A           .     TXA
574A  CA           .     DEX
574B  8A           .     TXA
574C  8A           .     TXA
574D  8A           .     TXA
574E  8A           .     TXA
.
574F  8A           .     TXA
5750  8A           .     TXA
5751  CA           .     DEX
5752  8A           .     TXA
5753  CA           .     DEX
5754  8A           .     TXA
5755  8A           .     TXA
5756  CA           .     DEX
5757  0B           .     ...
5758  0B           .     ...
5759  4B           K     ...
575A  4B           K     ...
575B  CA           .     DEX
575C  CA           .     DEX
575D  0B           .     ...
575E  0B           .     ...
575F  4B           K     ...
5760  0B           .     ...
5761  C2           .     ...
5762  CA           .     DEX
5763  CA           .     DEX
5764  CA           .     DEX
5765  CA           .     DEX
5766  8A           .     TXA
5767  8A           .     TXA
5768  D2           .     ...
5769  4B           K     ...
576A  0B           .     ...
576B  4B           K     ...
576C  0B           .     ...
576D  0B           .     ...
576E  0B           .     ...
576F  4B           K     ...
5770  4B           K     ...
5771  4B           K     ...
5772  0B           .     ...
.
5773  0B           .     ...
5774  4B           K     ...
5775  4B           K     ...
5776  0B           .     ...
5777  0B           .     ...
5778  4B           K     ...
5779  0B           .     ...
577A  0B           .     ...
577B  4B           K     ...
577C  4B           K     ...
577D  4B           K     ...
577E  0B           .     ...
577F  4B           K     ...
5780  0B           .     ...
5781  4B           K     ...
5782  8A           .     TXA
5783  CA           .     DEX
5784  8A           .     TXA
5785  8A           .     TXA
5786  8A           .     TXA
5787  8A           .     TXA
5788  CA           .     DEX
5789  CA           .     DEX
578A  8A           .     TXA
578B  CA           .     DEX
578C  8A           .     TXA
578D  CA           .     DEX
578E  8A           .     TXA
578F  CA           .     DEX
5790  8A           .     TXA
5791  8A           .     TXA
5792  8A           .     TXA
5793  8A           .     TXA
5794  CA           .     DEX
5795  CA           .     DEX
5796  CA           .     DEX
5797  8A           .     TXA
5798  8A           .     TXA
5799  8A           .     TXA
579A  8A           .     TXA
579B  CA           .     DEX
579C  CA           .     DEX
579D  8A           .     TXA
579E  CA           .     DEX
579F  8A           .     TXA
57A0  8A           .     TXA
57A1  8A           .     TXA
57A2  CA           .     DEX
57A3  CA           .     DEX
57A4  CA           .     DEX
57A5  8A           .     TXA
57A6  3B           ;     ...
57A7  63           c     ...
57A8  3B           ;     ...
57A9  63           c     ...
57AA  0B           .     ...
57AB  2B           +     ...
57AC  2B           +     ...
57AD  2B           +     ...
57AE  2B           +     ...
57AF  2B           +     ...
57B0  2B           +     ...
57B1  B2           .     ...
57B2  CA           .     DEX
57B3  CA           .     DEX
57B4  CA           .     DEX
57B5  CA           .     DEX
57B6  EA           .     NOP
57B7  EA           .     NOP
57B8  16 16        ..    ASL &16,X
57BA  16 16        ..    ASL &16,X
57BC  16 16        ..    ASL &16,X
57BE  16 16        ..    ASL &16,X
57C0  06 06        ..    ASL &06
57C2  06 06        ..    ASL &06
57C4  06 06        ..    ASL &06
57C6  06 17        ..    ASL &17
57C8  16 16        ..    ASL &16,X
57CA  16 19        ..    ASL &19,X
57CC  1E 23 16     .#.   ASL &1623,Y
57CF  17           .     ...
57D0  09 06        ..    ORA #&06
57D2  06 13        ..    ASL &13
57D4  17           .     ...
57D5  17           .     ...
57D6  17           .     ...
57D7  17           .     ...
57D8  06 13        ..    ASL &13
57DA  06 2D        .-    ASL &2D
57DC  16 16        ..    ASL &16,X
57DE  06 06        ..    ASL &06
57E0  06 06        ..    ASL &06
57E2  06 16        ..    ASL &16
57E4  16 1F        ..    ASL &1F,X
57E6  06 06        ..    ASL &06
57E8  06 06        ..    ASL &06
57EA  16 16        ..    ASL &16,X
57EC  07           .     ...
57ED  07           .     ...
57EE  06 06        ..    ASL &06
57F0  06 07        ..    ASL &07
57F2  07           .     ...
57F3  07           .     ...
57F4  13           .     ...
57F5  06 06        ..    ASL &06
57F7  0C           .     ...
57F8  06 06        ..    ASL &06
57FA  06 07        ..    ASL &07
57FC  13           .     ...
57FD  07           .     ...
57FE  03           .     ...
57FF  06 06        ..    ASL &06
5801  06 1E        ..    ASL &1E
5803  1E 37 2D     .7-   ASL &2D37,Y
5806  16 1F        ..    ASL &1F,X
5808  1F           .     ...
5809  1E 06 06     ...   ASL &0606,Y
580C  06 3F        .?    ASL &3F
580E  16 06        ..    ASL &06,X
5810  0D 1F 1F     ...   ORA &1F1F
5813  1F           .     ...
5814  1F           .     ...
5815  37           7     ...
5816  19 29 16     .).   ORA &1629,Y
5819  06 1F        ..    ASL &1F
581B  1F           .     ...
581C  06 06        ..    ASL &06
581E  06 06        ..    ASL &06
5820  06 06        ..    ASL &06
5822  1F           .     ...
5823  0E 06 06     ...   ASL &0606
5826  06 06        ..    ASL &06
5828  06 3C        .<    ASL &3C
582A  16 16        ..    ASL &16,X
582C  16 06        ..    ASL &06,X
582E  3D 06 06     =..   ORA &0606,X
5831  06 06        ..    ASL &06
5833  06 06        ..    ASL &06
5835  06 06        ..    ASL &06
5837  06 06        ..    ASL &06
5839  06 06        ..    ASL &06
583B  06 06        ..    ASL &06
583D  06 06        ..    ASL &06
583F  06 06        ..    ASL &06
5841  06 06        ..    ASL &06
5843  06 06        ..    ASL &06
5845  06 06        ..    ASL &06
5847  06 06        ..    ASL &06
5849  06 06        ..    ASL &06
584B  06 06        ..    ASL &06
584D  06 06        ..    ASL &06
584F  06 06        ..    ASL &06
5851  06 06        ..    ASL &06
5853  06 06        ..    ASL &06
5855  06 06        ..    ASL &06
5857  06 06        ..    ASL &06
5859  06 06        ..    ASL &06
585B  06 06        ..    ASL &06
585D  06 06        ..    ASL &06
585F  06 06        ..    ASL &06
5861  06 06        ..    ASL &06
5863  06 06        ..    ASL &06
5865  06 06        ..    ASL &06
5867  06 06        ..    ASL &06
5869  06 06        ..    ASL &06
586B  06 06        ..    ASL &06
586D  06 06        ..    ASL &06
586F  06 06        ..    ASL &06
5871  06 06        ..    ASL &06
5873  06 06        ..    ASL &06
5875  06 06        ..    ASL &06
5877  06 06        ..    ASL &06
5879  06 06        ..    ASL &06
587B  06 06        ..    ASL &06
587D  06 06        ..    ASL &06
587F  06 06        ..    ASL &06
5881  06 06        ..    ASL &06
5883  06 06        ..    ASL &06
5885  06 06        ..    ASL &06
5887  06 06        ..    ASL &06
5889  06 06        ..    ASL &06
588B  06 06        ..    ASL &06
588D  06 06        ..    ASL &06
588F  06 06        ..    ASL &06
5891  06 06        ..    ASL &06
5893  06 06        ..    ASL &06
5895  03           .     ...
5896  03           .     ...
5897  03           .     ...
5898  03           .     ...
5899  06 06        ..    ASL &06
589B  06 06        ..    ASL &06
589D  06 06        ..    ASL &06
589F  06 06        ..    ASL &06
58A1  06 06        ..    ASL &06
58A3  06 06        ..    ASL &06
58A5  06 05        ..    ASL &05
58A7  05 05        ..    ORA &05
58A9  05 05        ..    ORA &05
58AB  05 05        ..    ORA &05
58AD  05 05        ..    ORA &05
58AF  05 05        ..    ORA &05
58B1  05 05        ..    ORA &05
58B3  05 05        ..    ORA &05
58B5  01 11        ..    ORA (&11,X)
58B7  11 11        ..    ORA (&11),Y
58B9  05 01        ..    ORA &01
58BB  15 05        ..    ORA &05,X
58BD  05 01        ..    ORA &01
58BF  00           .     BRK
58C0  00           .     BRK
58C1  05 01        ..    ORA &01
58C3  01 01        ..    ORA (&01,X)
58C5  01 05        ..    ORA (&05,X)
58C7  11 05        ..    ORA (&05),Y
58C9  10 05        ..    BPL &58D0
58CB  05 05        ..    ORA &05
58CD  05 05        ..    ORA &05
58CF  05 05        ..    ORA &05
58D1  05 05        ..    ORA &05
58D3  11 05        ..    ORA (&05),Y
58D5  05 05        ..    ORA &05
58D7  05 05        ..    ORA &05
58D9  05 15        ..    ORA &15
58DB  15 05        ..    ORA &05,X
58DD  05 11        ..    ORA &11
58DF  00           .     BRK
58E0  00           .     BRK
58E1  00           .     BRK
58E2  00           .     BRK
58E3  05 05        ..    ORA &05
58E5  04           .     ...
58E6  05 05        ..    ORA &05
58E8  05 00        ..    ORA &00
58EA  00           .     BRK
58EB  00           .     BRK
58EC  01 05        ..    ORA (&05,X)
58EE  05 05        ..    ORA &05
58F0  14           .     ...
58F1  14           .     ...
58F2  14           .     ...
58F3  01 05        ..    ORA (&05,X)
58F5  14           .     ...
58F6  14           .     ...
58F7  15 05        ..    ORA &05,X
58F9  05 05        ..    ORA &05
58FB  05 05        ..    ORA &05
58FD  05 14        ..    ORA &14
58FF  04           .     ...
5900  04           .     ...
5901  04           .     ...
5902  04           .     ...
5903  04           .     ...
5904  05 05        ..    ORA &05
5906  05 05        ..    ORA &05
5908  01 01        ..    ORA (&01,X)
590A  11 11        ..    ORA (&11),Y
590C  11 11        ..    ORA (&11),Y
590E  05 05        ..    ORA &05
5910  00           .     BRK
5911  01 05        ..    ORA (&05,X)
5913  05 05        ..    ORA &05
5915  05 05        ..    ORA &05
5917  14           .     ...
5918  11 11        ..    ORA (&11),Y
591A  11 05        ..    ORA (&05),Y
591C  10 05        ..    BPL &5923
591E  05 05        ..    ORA &05
5920  05 05        ..    ORA &05
5922  05 05        ..    ORA &05
5924  05 05        ..    ORA &05
5926  05 05        ..    ORA &05
5928  05 05        ..    ORA &05
592A  05 05        ..    ORA &05
592C  05 05        ..    ORA &05
592E  05 05        ..    ORA &05
5930  05 05        ..    ORA &05
5932  05 05        ..    ORA &05
5934  05 05        ..    ORA &05
5936  05 05        ..    ORA &05
5938  05 05        ..    ORA &05
593A  05 05        ..    ORA &05
593C  05 05        ..    ORA &05
593E  05 05        ..    ORA &05
5940  05 05        ..    ORA &05
5942  05 05        ..    ORA &05
5944  05 05        ..    ORA &05
5946  05 05        ..    ORA &05
5948  05 05        ..    ORA &05
594A  05 05        ..    ORA &05
594C  05 05        ..    ORA &05
594E  05 05        ..    ORA &05
5950  05 05        ..    ORA &05
5952  05 05        ..    ORA &05
5954  05 05        ..    ORA &05
5956  05 05        ..    ORA &05
5958  05 05        ..    ORA &05
595A  05 05        ..    ORA &05
595C  05 05        ..    ORA &05
595E  05 05        ..    ORA &05
5960  05 05        ..    ORA &05
5962  05 05        ..    ORA &05
5964  05 05        ..    ORA &05
5966  05 05        ..    ORA &05
5968  05 05        ..    ORA &05
596A  05 05        ..    ORA &05
596C  05 05        ..    ORA &05
596E  05 05        ..    ORA &05
5970  05 05        ..    ORA &05
5972  05 05        ..    ORA &05
5974  05 05        ..    ORA &05
5976  05 05        ..    ORA &05
5978  05 05        ..    ORA &05
597A  05 05        ..    ORA &05
597C  05 05        ..    ORA &05
597E  05 05        ..    ORA &05
5980  05 05        ..    ORA &05
5982  05 01        ..    ORA &01
5984  01 01        ..    ORA (&01,X)
5986  01 05        ..    ORA (&05,X)
5988  05 05        ..    ORA &05
598A  05 05        ..    ORA &05
598C  05 05        ..    ORA &05
598E  05 05        ..    ORA &05
5990  05 05        ..    ORA &05
5992  05 05        ..    ORA &05
5994  6D 61 6E     man   ADC &6E61
5997  4C 49 0D     LI.   JMP &0D49
599A  6D 61 6E     man   ADC &6E61
599D  4C 46 0D     LF.   JMP &0D46
59A0  6D 61 6E     man   ADC &6E61
59A3  4B           K     ...
59A4  4E 0D 6D     N.m   LSR &6D0D
59A7  61 6E        an    ADC (&6E,X)
59A9  4C 42 0D     LB.   JMP &0D42
59AC  6D 61 6E     man   ADC &6E61
59AF  53           S     ...
59B0  54           T     ...
59B1  0D 6D 61     .ma   ORA &616D
59B4  6E 52 55     nRU   ROR &5552
59B7  31 0D        1.    AND (&0D),Y
59B9  6D 61 6E     man   ADC &6E61
59BC  52           R     ...
59BD  55 32        U2    EOR &32,X
59BF  0D 6D 61     .ma   ORA &616D
59C2  6E 52 55     nRU   ROR &5552
59C5  33           3     ...
59C6  0D 6C 69     .li   ORA &696C
59C9  6E 65 31     ne1   ROR &3165
59CC  0D 6C 69     .li   ORA &696C
59CF  6E 65 32     ne2   ROR &3265
59D2  0D 6C 69     .li   ORA &696C
59D5  6E 65 33     ne3   ROR &3365
59D8  0D 6C 69     .li   ORA &696C
59DB  6E 65 34     ne4   ROR &3465
59DE  0D 6C A1     .l.   ORA &A16C

; -----------------------------------------------------------------------------
; 
; -----------------------------------------------------------------------------
.
72E1  78           x     SEI                     ; No interrupts please
72E2  AD B7 FF     ...   LDA &FFB7
72E5  85 1B        ..    STA &1B
72E7  AD B8 FF     ...   LDA &FFB8
72EA  85 1C        ..    STA &1C
72EC  A0 00        ..    LDY #&00
72EE  B1 1B        ..    LDA (&1B),Y
72F0  99 00 02     ...   STA &0200,Y
72F3  C8           .     INY
72F4  C0 12        ..    CPY #&12
72F6  D0 F6        ..    BNE &72EE
72F8  58           X     CLI                     ; Interrupts are allowed
72F9  A9 C8        ..    LDA #&C8
72FB  A2 03        ..    LDX #&03                ; Memory cleared on BREAK, ESCAPE disabled unless caused by OSBYTE &7D
72FD  A0 00        ..    LDY #&00
72FF  20 F4 FF      ..   JSR &FFF4               ; Set new ESCAPE and BREAK effect
7302  A9 8F        ..    LDA #&8F
7304  A2 0C        ..    LDX #&0C                ; NMI claim
7306  A0 FF        ..    LDY #&FF
7308  20 F4 FF      ..   JSR &FFF4               ; Issue paged ROM service request
730B  A9 EA        ..    LDA #&EA
730D  A2 00        ..    LDX #&00                ; No TUBE presence
730F  A0 00        ..    LDY #&00
7311  20 F4 FF      ..   JSR &FFF4               ; Set TUBE presence flag
7314  A9 14        ..    LDA #&14
7316  A2 00        ..    LDX #&00
7318  20 F4 FF      ..   JSR &FFF4               ; Implode soft character RAM allocation
731B  AD 12 02     ...   LDA &0212               ; Save original FILEV pointer
731E  8D 2B 4E     .+N   STA &4E2B               ; &352B
7321  AD 13 02     ...   LDA &0213
7324  8D 2C 4E     .,N   STA &4E2C               ; &352C
7327  AD 1E 02     ...   LDA &021E               ; Save original FSCV pointer
732A  8D 2D 4E     .-N   STA &4E2D               ; &352D
732D  AD 1F 02     ...   LDA &021F
7330  8D 2E 4E     ..N   STA &4E2E               ; &352E
7333  A2 B3        ..    LDX #&B3
7335  A0 73        .s    LDY #&73
7337  20 F7 FF      ..   JSR &FFF7               ; *TAPE
733A  A2 B8        ..    LDX #&B8
733C  A0 73        .s    LDY #&73
733E  20 F7 FF      ..   JSR &FFF7               ; *DISC
7341  A9 00        ..    LDA #&00
7343  85 1B        ..    STA &1B
7345  A9 2C        .,    LDA #&2C
7347  85 1C        ..    STA &1C
7349  20 BD 73      .s   JSR &73BD
734C  A9 01        ..    LDA #&01
734E  8D 1F 4E     ..N   STA &4E1F               ; &351F
7351  A9 82        ..    LDA #&82
7353  85 1B        ..    STA &1B
7355  A9 FC        ..    LDA #&FC
7357  85 1C        ..    STA &1C
7359  A0 00        ..    LDY #&00
735B  A9 6E        .n    LDA #&6E
735D  85 00        ..    STA &00
735F  A9 92        ..    LDA #&92
7361  38           8     SEC
7362  F8           .     SED
7363  65 00        e.    ADC &00
7365  69 15        i.    ADC #&15
7367  85 00        ..    STA &00
7369  59 00 2C     Y.,   EOR &2C00,Y
736C  99 00 2C     ..,   STA &2C00,Y
736F  45 00        E.    EOR &00
7371  C8           .     INY
7372  D0 06        ..    BNE &737A
7374  EE 6B 73     .ks   INC &736B
7377  EE 6E 73     .ns   INC &736E
737A  E6 1B        ..    INC &1B
737C  D0 E5        ..    BNE &7363
737E  E6 1C        ..    INC &1C
7380  D0 E1        ..    BNE &7363
7382  D8           .     CLD
7383  AD 00 30     ..0   LDA &3000
7386  8D 00 17     ...   STA DataList1
7389  EE 84 73     ..s   INC &7384
738C  D0 03        ..    BNE &7391
738E  EE 85 73     ..s   INC &7385
7391  EE 87 73     ..s   INC &7387
7394  D0 03        ..    BNE &7399
7396  EE 88 73     ..s   INC &7388
7399  AD 84 73     ..s   LDA &7384
739C  C9 E0        ..    CMP #&E0
739E  D0 E3        ..    BNE &7383
73A0  AD 85 73     ..s   LDA &7385
73A3  C9 72        .r    CMP #&72
73A5  D0 DC        ..    BNE &7383
73A7  A9 00        ..    LDA #&00
73A9  A2 8F        ..    LDX #&8F
73AB  95 00        ..    STA &00,X
73AD  CA           .     DEX
73AE  D0 FB        ..    BNE &73AB
73B0  4C 2F 35     L/5   JMP &352F
.
73B3  54 41 50 45  TAPE  EQUS "TAPE"
73B7  0D           .     EQUD &0D
.
73B8  44 49 53 43  DISC  EQUS "DISC"
73BC  0D           .     EQUD &0D
.
73BD  A9 04        ..    LDA #&04
73BF  8D CA 73     ..s   STA &73CA
73C2  A0 00        ..    LDY #&00
73C4  A2 04        ..    LDX #&04
73C6  B1 1B        ..    LDA (&1B),Y
73C8  99 00 04     ...   STA &0400,Y
73CB  C8           .     INY
73CC  D0 F8        ..    BNE &73C6
73CE  E6 1C        ..    INC &1C
73D0  EE CA 73     ..s   INC &73CA
73D3  CA           .     DEX
73D4  D0 F0        ..    BNE &73C6
73D6  60           `     RTS
73D7  4C 00 30     L.0   JMP &3000
73DA  2C 68 AA     ,h.   BIT &AA68
73DD  68           h     PLA
73DE  49 06        I.    EOR #&06
73E0  48           H     PHA
73E1  8A           .     TXA
73E2  49 C7        I.    EOR #&C7
73E4  48           H     PHA
73E5  60           `     RTS
73E6  97           .     ...
73E7  8D F2 65     ..e   STA &65F2
73EA  70 6D        pm    BCS &7459
73EC  F2           .     ...
73ED  73           s     ...
73EE  85 70        .p    STA &70
73F0  59 D5 73     Y.s   EOR &73D5,Y
73F3  99 00 73     ..s   STA &7300,Y
73F6  45 70        Ep    EOR &70
73F8  C8           .     INY
73F9  D0 1B        ..    BNE &7416
73FB  EE F2 73     ..s   INC &73F2
73FE  EE F5 73     ..s   INC &73F5
7401  90 13        ..    BCC &7416
7403  60           `     RTS
7404  6D A9 23     m.#   ADC &23A9
7407  85 70        .p    STA &70
7409  A9 4D        .M    LDA #&4D
740B  48           H     PHA
740C  A0 00        ..    LDY #&00
740E  28           (     PLP
740F  F0 DF        ..    BEQ &73F0
7411  70 E6        p.    BCS &73F9
7413  4C 00 30     L.0   JMP &3000
7416  20 E7 73      .s   JSR &73E7
7419  B0 DE        ..    BCS &73F9
741B  4C 04 74     L.t   JMP &7404
