Home » Personal collection » Acorn ADFS disks » Electron » EUG_submission_2.ADF » PixMap/PMsrc

PixMap/PMsrc

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron » EUG_submission_2.ADF
Filename: PixMap/PMsrc
Read OK:
File size: 13E3 bytes
Load address: FFFF1D00
Exec address: FFFF8023
Duplicates

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

File contents
   10REM       Electron Pixel Mapper
   15REM            Source code
   20REM Original BBC version (c) Martin Dawe 1992
   30REM Adapted by M.Ford for EUG, 1994
   40:
   50MODE7
   60HIMEM=&4000
   70ratxl=&70:ratxh=&71:sect=&72:strt=&73:stop=&74:mainy=&75:num=&76
   80dotm=&77:dotd=&78:pos=&79:ylen=&7A:colour=&7C:bytel=&80:byteh=&81
   90dvdl=&82:dvdh=&83:temp1=&84:temp2=&85:temp3=&8E:temp4=&8F
  100befl=&86:befh=&87:buff=&88:size=&89:dotl=&8A:doth=&8B:ratyl=&8C:ratyh=&8D
  110OSFIND=&FFCE:OSGBPB=&FFD1
  120Scrl=&C36D:Scrh=&C36E
  130mode=&A00:file=&A0B:strtl=&A20:strth=&A58:endl=&A90:endh=&AC8
  140PRINT"Assembling code..."
  150PROCass
  160OSCLI("SAVE mapcode 4000 "+STR$~O%)
  170PRINT"Finished and saved code."
  180END
  190:
  200DEFPROCass
  210FORPASS=4TO6STEP2
  220P%=&2C00
  230O%=&4000
  240[OPTPASS
  250.mapper
  260JSRlines
  270LDA#0:STAdvdh
  280LDAstop:SEC:SBCstrt:STAdvdl
  290LDX#8:JSRsl
  300LDXylen:LDY#0:JSRdiv
  310STXratyl:STYratyh
  320LDA#64
  330LDX#file MOD256:LDY#file DIV256
  340JSROSFIND
  350STAfdata
  360LDAstrt:STAmainy
  370.main
  380LDA#0:STAnum:STAratxh
  390.sub
  400LDXratxh:CPXmode+2:BCSeol
  410LDYmainy:JSRaddr
  420LDY#0
  430LDA(bytel),Y:BNEfnd
  440INCratxh:BNEsub
  450.fnd
  460LDX#0:LDAmode+4
  470.exct
  480PHA:AND(bytel),Y:BNEret
  490PLA:LSRA:INX:BNEexct
  500.ret
  510PLA
  520LDAratxh:STAtemp3
  530JSRproc
  540STAstrtl,X
  550LDAtemp4:STAstrth,X
  560.fblk
  570LDXratxh:LDYmainy:JSRaddr
  580LDY#0
  590LDA(bytel),Y:BEQfnd2
  600STAtemp4
  610INCratxh
  620LDAratxh:CMPmode+2:BCCfblk
  630.fnd2
  640LDXmode+7:LDAmode+6
  650.exct2
  660PHA:ANDtemp4:BNEret2
  670PLA:ASLA:DEX:BPLexct2
  680.ret2
  690PLA
  700LDYratxh:DEY:STYtemp3
  710JSRproc
  720STAendl,X
  730LDAtemp4:STAendh,X
  740INCnum
  750LDAnum:CMP#&38:BCCsub
  760.eol
  770LDXnum:DECnum
  780LDA#0:STAdvdh
  790STXdvdl
  800DEX
  810.tot LDAdvdl:CLC:ADCendl,X:PHA
  820LDAdvdh:ADCendh,X:TAY
  830PLA:SEC:SBCstrtl,X:STAdvdl
  840TYA:SBCstrth,X:STAdvdh
  850DEX:BPLtot
  860LDX#&E:JSRsl
  870LDXmode+8:LDYmode+9:JSRdiv
  880STXratxl:STYratxh
  890LDA#0:STAbefl:STAbefh:STAsect
  900.sec
  910LDYsect
  920LDAstrtl,Y:STAdotl
  930LDAstrth,Y:STAdoth
  940.dot
  950LDAbefl:CLC:ADCdotl:PHA
  960LDAbefh:ADCdoth:TAX
  970LDYsect
  980PLA:SEC:SBCstrtl,Y:STAdvdl
  990TXA:SBCstrth,Y:STAdvdh
 1000LDA#&E:SBCmode+10
 1010TAX:JSRsl
 1020LDXratxl:LDYratxh:JSRdiv
 1030TXA:ANDmode+7:STAcolour
 1040TXA
 1050LDYmode+5
 1060.rep
 1070LSRdvdh:RORA
 1080DEY:BNErep
 1090PHA
 1100LDAmainy:SEC:SBCstrt:STAdvdl
 1110LDA#0:STAdvdh
 1120LDX#8:JSRsl
 1130LDXratyl:LDYratyh:JSRdiv
 1140STXtemp3
 1150LDAdotl:ANDmode+7:STAdotm
 1160LDAdotl:STAdotd
 1170LDAdoth
 1180LDYmode+5
 1190.rep2 LSRA:RORdotd
 1200DEY:BNErep2
 1210LDAmode+10:BEQncm
 1220STAmode
 1230LSRmode+2:LSRmode+3
 1240.ncm
 1250PLA:TAX:CPXmode+2:BCCnoc
 1260LDXmode+3
 1270LDAmode+7:STAcolour
 1280.noc
 1290LDYtemp3:JSRaddr
 1300LDAmode+10:BEQncm2
 1310LDA#0:STAmode
 1320ASLmode+2
 1330LDA#&4F:STAmode+3
 1340.ncm2
 1350JSRread
 1360JSRplot
 1370LDAdotl:CLC:ADC#1:STAdotl
 1380LDAdoth:ADC#0:STAdoth
 1390LDYsect:CMPendh,Y:BCCdot2:BNEuh
 1400LDAdotl:CMPendl,Y:BEQdot2:BCCdot2
 1410.uh
 1420LDAbefl:CLC:ADCendl,Y:PHA
 1430LDAbefh:ADCendh,Y:TAX
 1440PLA:SEC:SBCstrtl,Y:PHA
 1450TXA:SBCstrth,Y:TAX
 1460PLA:CLC:ADC#1:STAbefl
 1470TXA:ADC#0:STAbefh
 1480LDAsect:CMPnum:BEQjmp2
 1490INCsect:JMPsec
 1500.jmp2
 1510LDAmainy:CMPstop:BCSend
 1520INCmainy:JMPmain
 1530.end
 1540LDA#0:LDY#0:JSROSFIND
 1550RTS
 1560.dot2
 1570JMPdot
 1580.proc
 1590LDA#0:STAtemp4
 1600LDYmode+5
 1610.mult
 1620ASLtemp3:ROLtemp4
 1630DEY:BNEmult
 1640TXA:ADCtemp3
 1650LDXnum
 1660RTS
 1670.sl
 1680LDA#0:STAtemp3:STAtemp4
 1690.sl2
 1700ASLdvdl:ROLdvdh:ROLtemp3
 1710DEX:BNEsl2
 1720RTS
 1730.read
 1740LDAbyteh:CMPpos:BCSmore
 1750ADCsize:ADCbuff
 1760SEC:SBCpos:STAbyteh
 1770LDY#0
 1780LDA(bytel),Y:STAtemp3
 1790RTS
 1800.more
 1810LDA#0:STAfdata+1:STAfdata+5
 1820LDAbuff:STAfdata+2
 1830LDAsize:STAfdata+6
 1840LDApos:CLC:ADCsize:STApos
 1850LDA#4
 1860LDX#fdata MOD 256:LDY#fdata DIV 256:JSROSGBPB
 1870JMPread
 1880.addr
 1890LDAmode+1:STAbyteh
 1900LDA#0:STAdvdl
 1910TYA:AND#7:STAbytel
 1920TYA:LSRA:LSRA:LSRA:ASLA:TAY
 1930LDAScrl,Y:STAtemp1
 1940LDAScrh,Y:STAtemp2
 1950LDAmode:BEQnodiv
 1960LSRtemp1:RORtemp2
 1970.nodiv
 1980TXA
 1990ASLA:ROLdvdl
 2000ASLA:ROLdvdl
 2010ASLA:ROLdvdl
 2020ADCbytel:ADCtemp2:STAbytel
 2030LDAdvdl:ADCbyteh:ADCtemp1:STAbyteh
 2040RTS
 2050.lines
 2060LDA#0:STAratxh:STAstop
 2070.lp3
 2080LDAmode+3:STAbefh
 2090.lp6
 2100LDXbefh:LDYstop:JSRaddr
 2110LDY#0
 2120LDA(bytel),Y:BNEfpix
 2130DECbefh:BPLlp6
 2140LDAratxh:BEQnxtl
 2150DECstop
 2160RTS
 2170.fpix
 2180LDAratxh:BNEnxtl
 2190LDAstop:STAstrt
 2200LDA#1:STAratxh
 2210.nxtl
 2220INCstop:BNElp3
 2230DECstop
 2240RTS
 2250.plot
 2260LDAmode+4
 2270LDXcolour:BEQskip
 2280.lp
 2290LSR A:DEX:BNElp
 2300.skip
 2310ANDtemp3
 2320LDXcolour:BEQskip2
 2330.lp2
 2340ASL A
 2350DEX:BNElp2
 2360.skip2
 2370PHA
 2380LDXdotd:LDYmainy:JSRaddr
 2390LDAmode+4
 2400LDXdotm:BEQskip3
 2410.lp4
 2420LSR A
 2430DEX:BNElp4
 2440.skip3
 2450EOR#&FF
 2460LDY#0
 2470AND(bytel),Y:STAtemp3
 2480PLA
 2490LDXdotm:BEQskip4
 2500.lp5
 2510LSR A
 2520DEX:BNElp5
 2530.skip4
 2540ORAtemp3:STA(bytel),Y
 2550RTS
 2560.div
 2570STXtemp1:STYtemp2
 2580LDX#16
 2590.lop
 2600ASLdvdl:ROLdvdh
 2610ROLtemp3:ROLtemp4
 2620LDAtemp4:CMPtemp2:BCCnosub:BEQcheck
 2630.ok
 2640LDAtemp3:SBCtemp1:STAtemp3
 2650LDAtemp4:SBCtemp2:STAtemp4
 2660LDAdvdl:CLC:ADC#1:STAdvdl
 2670LDAdvdh:ADC#0:STAdvdh
 2680.nosub
 2690DEX:BNElop
 2700LDXdvdl:LDYdvdh
 2710RTS
 2720.check
 2730LDAtemp3:CMPtemp1:BCCnosub:BCSok
 2740.fdata
 2750EQUD&005800FF
 2760EQUD&00050000
 2770EQUD&00580000
 2780EQUB&0
 2790]
 2800NEXT
 2810ENDPROC

!�       Electron Pixel Mapper
�            Source code
/� Original BBC version (c) Martin Dawe 1992
%� Adapted by M.Ford for EUG, 1994
(:
2�7
<�=&4000
FDratxl=&70:ratxh=&71:sect=&72:strt=&73:stop=&74:mainy=&75:num=&76
PEdotm=&77:dotd=&78:pos=&79:ylen=&7A:colour=&7C:bytel=&80:byteh=&81
Z=dvdl=&82:dvdh=&83:temp1=&84:temp2=&85:temp3=&8E:temp4=&8F
dMbefl=&86:befh=&87:buff=&88:size=&89:dotl=&8A:doth=&8B:ratyl=&8C:ratyh=&8D
nOSFIND=&FFCE:OSGBPB=&FFD1
xScrl=&C36D:Scrh=&C36E
�Amode=&A00:file=&A0B:strtl=&A20:strth=&A58:endl=&A90:endh=&AC8
��"Assembling code..."
��ass
� �("SAVE mapcode 4000 "+�~O%)
��"Finished and saved code."
��
�:
�	��ass
��PASS=4�6�2
�P%=&2C00
�O%=&4000
�[OPTPASS
�.mapper
JSRlines
LDA#0:STAdvdh
LDAstop:SEC:SBCstrt:STAdvdl
"LDX#8:JSRsl
,LDXylen:LDY#0:JSRdiv
6STXratyl:STYratyh
@
LDA#64
JLDX#file �256:LDY#file �256
T
JSROSFIND
^STAfdata
hLDAstrt:STAmainy
r	.main
|LDA#0:STAnum:STAratxh
�.sub
�LDXratxh:CPXmode+2:BCSeol
�LDYmainy:JSRaddr
�	LDY#0
�LDA(bytel),Y:BNEfnd
�INCratxh:BNEsub
�.fnd
�LDX#0:LDAmode+4
�	.exct
�PHA:�(bytel),Y:BNEret
�PLA:LSRA:INX:BNEexct
�.ret
�PLA
LDAratxh:STAtemp3
JSRproc
STAstrtl,X
&LDAtemp4:STAstrth,X
0	.fblk
:LDXratxh:LDYmainy:JSRaddr
D	LDY#0
NLDA(bytel),Y:BEQfnd2
XSTAtemp4
bINCratxh
lLDAratxh:CMPmode+2:BCCfblk
v	.fnd2
�LDXmode+7:LDAmode+6
�
.exct2
�PHA:�temp4:BNEret2
�PLA:ASLA:DEX:BPLexct2
�	.ret2
�PLA
�LDYratxh:DEY:STYtemp3
�JSRproc
�
STAendl,X
�LDAtemp4:STAendh,X
�
INCnum
�LDAnum:CMP#&38:BCCsub
�.eol
LDXnum:DECnum
LDA#0:STAdvdh
STXdvdl
 DEX
*".tot LDAdvdl:CLC:ADCendl,X:PHA
4LDAdvdh:ADCendh,X:TAY
>PLA:SEC:SBCstrtl,X:STAdvdl
HTYA:SBCstrth,X:STAdvdh
RDEX:BPLtot
\LDX#&E:JSRsl
fLDXmode+8:LDYmode+9:JSRdiv
pSTXratxl:STYratxh
z!LDA#0:STAbefl:STAbefh:STAsect
�.sec
�LDYsect
�LDAstrtl,Y:STAdotl
�LDAstrth,Y:STAdoth
�.dot
�LDAbefl:CLC:ADCdotl:PHA
�LDAbefh:ADCdoth:TAX
�LDYsect
�PLA:SEC:SBCstrtl,Y:STAdvdl
�TXA:SBCstrth,Y:STAdvdh
�LDA#&E:SBCmode+10
�
TAX:JSRsl
�LDXratxl:LDYratxh:JSRdiv
TXA:�mode+7:STAcolour
TXA

LDYmode+5
$.rep
.LSRdvdh:RORA
8DEY:BNErep
BPHA
L LDAmainy:SEC:SBCstrt:STAdvdl
VLDA#0:STAdvdh
`LDX#8:JSRsl
jLDXratyl:LDYratyh:JSRdiv
tSTXtemp3
~LDAdotl:�mode+7:STAdotm
�LDAdotl:STAdotd
�LDAdoth
�
LDYmode+5
�.rep2 LSRA:RORdotd
�DEY:BNErep2
�LDAmode+10:BEQncm
�STAmode
�LSRmode+2:LSRmode+3
�.ncm
�PLA:TAX:CPXmode+2:BCCnoc
�
LDXmode+3
�LDAmode+7:STAcolour
.noc

LDYtemp3:JSRaddr
LDAmode+10:BEQncm2
LDA#0:STAmode
(
ASLmode+2
2LDA#&4F:STAmode+3
<	.ncm2
FJSRread
PJSRplot
ZLDAdotl:CLC:ADC#1:STAdotl
dLDAdoth:ADC#0:STAdoth
n#LDYsect:CMPendh,Y:BCCdot2:BNEuh
x%LDAdotl:CMPendl,Y:BEQdot2:BCCdot2
�.uh
�LDAbefl:CLC:ADCendl,Y:PHA
�LDAbefh:ADCendh,Y:TAX
�PLA:SEC:SBCstrtl,Y:PHA
�TXA:SBCstrth,Y:TAX
�PLA:CLC:ADC#1:STAbefl
�TXA:ADC#0:STAbefh
�LDAsect:CMPnum:BEQjmp2
�INCsect:JMPsec
�	.jmp2
�LDAmainy:CMPstop:BCSend
�INCmainy:JMPmain
�.end
LDA#0:LDY#0:JSROSFIND
RTS
	.dot2
"
JMPdot
,	.proc
6LDA#0:STAtemp4
@
LDYmode+5
J	.mult
TASLtemp3:ROLtemp4
^DEY:BNEmult
hTXA:ADCtemp3
r
LDXnum
|RTS
�.sl
�LDA#0:STAtemp3:STAtemp4
�.sl2
�ASLdvdl:ROLdvdh:ROLtemp3
�DEX:BNEsl2
�RTS
�	.read
�LDAbyteh:CMPpos:BCSmore
�ADCsize:ADCbuff
�SEC:SBCpos:STAbyteh
�	LDY#0
�LDA(bytel),Y:STAtemp3
�RTS
	.more
LDA#0:STAfdata+1:STAfdata+5
LDAbuff:STAfdata+2
&LDAsize:STAfdata+6
0LDApos:CLC:ADCsize:STApos
:	LDA#4
D-LDX#fdata � 256:LDY#fdata � 256:JSROSGBPB
NJMPread
X	.addr
bLDAmode+1:STAbyteh
lLDA#0:STAdvdl
vTYA:�#7:STAbytel
�TYA:LSRA:LSRA:LSRA:ASLA:TAY
�LDAScrl,Y:STAtemp1
�LDAScrh,Y:STAtemp2
�LDAmode:BEQnodiv
�LSRtemp1:RORtemp2
�
.nodiv
�TXA
�ASLA:ROLdvdl
�ASLA:ROLdvdl
�ASLA:ROLdvdl
�ADCbytel:ADCtemp2:STAbytel
�&LDAdvdl:ADCbyteh:ADCtemp1:STAbyteh
�RTS

.lines
LDA#0:STAratxh:STAstop
.lp3
 LDAmode+3:STAbefh
*.lp6
4LDXbefh:LDYstop:JSRaddr
>	LDY#0
HLDA(bytel),Y:BNEfpix
RDECbefh:BPLlp6
\LDAratxh:BEQnxtl
fDECstop
pRTS
z	.fpix
�LDAratxh:BNEnxtl
�LDAstop:STAstrt
�LDA#1:STAratxh
�	.nxtl
�INCstop:BNElp3
�DECstop
�RTS
�	.plot
�
LDAmode+4
�LDXcolour:BEQskip
�.lp
�LSR A:DEX:BNElp
�	.skip
	
�temp3
	LDXcolour:BEQskip2
	.lp2
	$	ASL A
	.DEX:BNElp2
	8
.skip2
	BPHA
	LLDXdotd:LDYmainy:JSRaddr
	V
LDAmode+4
	`LDXdotm:BEQskip3
	j.lp4
	t	LSR A
	~DEX:BNElp4
	�
.skip3
	�	�#&FF
	�	LDY#0
	��(bytel),Y:STAtemp3
	�PLA
	�LDXdotm:BEQskip4
	�.lp5
	�	LSR A
	�DEX:BNElp5
	�
.skip4
	��Atemp3:STA(bytel),Y
	�RTS
.div

STXtemp1:STYtemp2

LDX#16
.lop
(ASLdvdl:ROLdvdh
2ROLtemp3:ROLtemp4
<'LDAtemp4:CMPtemp2:BCCnosub:BEQcheck
F.ok
PLDAtemp3:SBCtemp1:STAtemp3
ZLDAtemp4:SBCtemp2:STAtemp4
dLDAdvdl:CLC:ADC#1:STAdvdl
nLDAdvdh:ADC#0:STAdvdh
x
.nosub
�DEX:BNElop
�LDXdvdl:LDYdvdh
�RTS
�
.check
�$LDAtemp3:CMPtemp1:BCCnosub:BCSok
�
.fdata
�EQUD&005800FF
�EQUD&00050000
�EQUD&00580000
�
EQUB&0
�]
��
��
�
00000000  0d 00 0a 21 f4 20 20 20  20 20 20 20 45 6c 65 63  |...!.       Elec|
00000010  74 72 6f 6e 20 50 69 78  65 6c 20 4d 61 70 70 65  |tron Pixel Mappe|
00000020  72 0d 00 0f 1c f4 20 20  20 20 20 20 20 20 20 20  |r.....          |
00000030  20 20 53 6f 75 72 63 65  20 63 6f 64 65 0d 00 14  |  Source code...|
00000040  2f f4 20 4f 72 69 67 69  6e 61 6c 20 42 42 43 20  |/. Original BBC |
00000050  76 65 72 73 69 6f 6e 20  28 63 29 20 4d 61 72 74  |version (c) Mart|
00000060  69 6e 20 44 61 77 65 20  31 39 39 32 0d 00 1e 25  |in Dawe 1992...%|
00000070  f4 20 41 64 61 70 74 65  64 20 62 79 20 4d 2e 46  |. Adapted by M.F|
00000080  6f 72 64 20 66 6f 72 20  45 55 47 2c 20 31 39 39  |ord for EUG, 199|
00000090  34 0d 00 28 05 3a 0d 00  32 06 eb 37 0d 00 3c 0b  |4..(.:..2..7..<.|
000000a0  d3 3d 26 34 30 30 30 0d  00 46 44 72 61 74 78 6c  |.=&4000..FDratxl|
000000b0  3d 26 37 30 3a 72 61 74  78 68 3d 26 37 31 3a 73  |=&70:ratxh=&71:s|
000000c0  65 63 74 3d 26 37 32 3a  73 74 72 74 3d 26 37 33  |ect=&72:strt=&73|
000000d0  3a 73 74 6f 70 3d 26 37  34 3a 6d 61 69 6e 79 3d  |:stop=&74:mainy=|
000000e0  26 37 35 3a 6e 75 6d 3d  26 37 36 0d 00 50 45 64  |&75:num=&76..PEd|
000000f0  6f 74 6d 3d 26 37 37 3a  64 6f 74 64 3d 26 37 38  |otm=&77:dotd=&78|
00000100  3a 70 6f 73 3d 26 37 39  3a 79 6c 65 6e 3d 26 37  |:pos=&79:ylen=&7|
00000110  41 3a 63 6f 6c 6f 75 72  3d 26 37 43 3a 62 79 74  |A:colour=&7C:byt|
00000120  65 6c 3d 26 38 30 3a 62  79 74 65 68 3d 26 38 31  |el=&80:byteh=&81|
00000130  0d 00 5a 3d 64 76 64 6c  3d 26 38 32 3a 64 76 64  |..Z=dvdl=&82:dvd|
00000140  68 3d 26 38 33 3a 74 65  6d 70 31 3d 26 38 34 3a  |h=&83:temp1=&84:|
00000150  74 65 6d 70 32 3d 26 38  35 3a 74 65 6d 70 33 3d  |temp2=&85:temp3=|
00000160  26 38 45 3a 74 65 6d 70  34 3d 26 38 46 0d 00 64  |&8E:temp4=&8F..d|
00000170  4d 62 65 66 6c 3d 26 38  36 3a 62 65 66 68 3d 26  |Mbefl=&86:befh=&|
00000180  38 37 3a 62 75 66 66 3d  26 38 38 3a 73 69 7a 65  |87:buff=&88:size|
00000190  3d 26 38 39 3a 64 6f 74  6c 3d 26 38 41 3a 64 6f  |=&89:dotl=&8A:do|
000001a0  74 68 3d 26 38 42 3a 72  61 74 79 6c 3d 26 38 43  |th=&8B:ratyl=&8C|
000001b0  3a 72 61 74 79 68 3d 26  38 44 0d 00 6e 1d 4f 53  |:ratyh=&8D..n.OS|
000001c0  46 49 4e 44 3d 26 46 46  43 45 3a 4f 53 47 42 50  |FIND=&FFCE:OSGBP|
000001d0  42 3d 26 46 46 44 31 0d  00 78 19 53 63 72 6c 3d  |B=&FFD1..x.Scrl=|
000001e0  26 43 33 36 44 3a 53 63  72 68 3d 26 43 33 36 45  |&C36D:Scrh=&C36E|
000001f0  0d 00 82 41 6d 6f 64 65  3d 26 41 30 30 3a 66 69  |...Amode=&A00:fi|
00000200  6c 65 3d 26 41 30 42 3a  73 74 72 74 6c 3d 26 41  |le=&A0B:strtl=&A|
00000210  32 30 3a 73 74 72 74 68  3d 26 41 35 38 3a 65 6e  |20:strth=&A58:en|
00000220  64 6c 3d 26 41 39 30 3a  65 6e 64 68 3d 26 41 43  |dl=&A90:endh=&AC|
00000230  38 0d 00 8c 19 f1 22 41  73 73 65 6d 62 6c 69 6e  |8....."Assemblin|
00000240  67 20 63 6f 64 65 2e 2e  2e 22 0d 00 96 08 f2 61  |g code...".....a|
00000250  73 73 0d 00 a0 20 ff 28  22 53 41 56 45 20 6d 61  |ss... .("SAVE ma|
00000260  70 63 6f 64 65 20 34 30  30 30 20 22 2b c3 7e 4f  |pcode 4000 "+.~O|
00000270  25 29 0d 00 aa 1f f1 22  46 69 6e 69 73 68 65 64  |%)....."Finished|
00000280  20 61 6e 64 20 73 61 76  65 64 20 63 6f 64 65 2e  | and saved code.|
00000290  22 0d 00 b4 05 e0 0d 00  be 05 3a 0d 00 c8 09 dd  |".........:.....|
000002a0  f2 61 73 73 0d 00 d2 0f  e3 50 41 53 53 3d 34 b8  |.ass.....PASS=4.|
000002b0  36 88 32 0d 00 dc 0c 50  25 3d 26 32 43 30 30 0d  |6.2....P%=&2C00.|
000002c0  00 e6 0c 4f 25 3d 26 34  30 30 30 0d 00 f0 0c 5b  |...O%=&4000....[|
000002d0  4f 50 54 50 41 53 53 0d  00 fa 0b 2e 6d 61 70 70  |OPTPASS.....mapp|
000002e0  65 72 0d 01 04 0c 4a 53  52 6c 69 6e 65 73 0d 01  |er....JSRlines..|
000002f0  0e 11 4c 44 41 23 30 3a  53 54 41 64 76 64 68 0d  |..LDA#0:STAdvdh.|
00000300  01 18 1f 4c 44 41 73 74  6f 70 3a 53 45 43 3a 53  |...LDAstop:SEC:S|
00000310  42 43 73 74 72 74 3a 53  54 41 64 76 64 6c 0d 01  |BCstrt:STAdvdl..|
00000320  22 0f 4c 44 58 23 38 3a  4a 53 52 73 6c 0d 01 2c  |".LDX#8:JSRsl..,|
00000330  18 4c 44 58 79 6c 65 6e  3a 4c 44 59 23 30 3a 4a  |.LDXylen:LDY#0:J|
00000340  53 52 64 69 76 0d 01 36  15 53 54 58 72 61 74 79  |SRdiv..6.STXraty|
00000350  6c 3a 53 54 59 72 61 74  79 68 0d 01 40 0a 4c 44  |l:STYratyh..@.LD|
00000360  41 23 36 34 0d 01 4a 1f  4c 44 58 23 66 69 6c 65  |A#64..J.LDX#file|
00000370  20 83 32 35 36 3a 4c 44  59 23 66 69 6c 65 20 81  | .256:LDY#file .|
00000380  32 35 36 0d 01 54 0d 4a  53 52 4f 53 46 49 4e 44  |256..T.JSROSFIND|
00000390  0d 01 5e 0c 53 54 41 66  64 61 74 61 0d 01 68 14  |..^.STAfdata..h.|
000003a0  4c 44 41 73 74 72 74 3a  53 54 41 6d 61 69 6e 79  |LDAstrt:STAmainy|
000003b0  0d 01 72 09 2e 6d 61 69  6e 0d 01 7c 19 4c 44 41  |..r..main..|.LDA|
000003c0  23 30 3a 53 54 41 6e 75  6d 3a 53 54 41 72 61 74  |#0:STAnum:STArat|
000003d0  78 68 0d 01 86 08 2e 73  75 62 0d 01 90 1d 4c 44  |xh.....sub....LD|
000003e0  58 72 61 74 78 68 3a 43  50 58 6d 6f 64 65 2b 32  |Xratxh:CPXmode+2|
000003f0  3a 42 43 53 65 6f 6c 0d  01 9a 14 4c 44 59 6d 61  |:BCSeol....LDYma|
00000400  69 6e 79 3a 4a 53 52 61  64 64 72 0d 01 a4 09 4c  |iny:JSRaddr....L|
00000410  44 59 23 30 0d 01 ae 17  4c 44 41 28 62 79 74 65  |DY#0....LDA(byte|
00000420  6c 29 2c 59 3a 42 4e 45  66 6e 64 0d 01 b8 13 49  |l),Y:BNEfnd....I|
00000430  4e 43 72 61 74 78 68 3a  42 4e 45 73 75 62 0d 01  |NCratxh:BNEsub..|
00000440  c2 08 2e 66 6e 64 0d 01  cc 13 4c 44 58 23 30 3a  |...fnd....LDX#0:|
00000450  4c 44 41 6d 6f 64 65 2b  34 0d 01 d6 09 2e 65 78  |LDAmode+4.....ex|
00000460  63 74 0d 01 e0 19 50 48  41 3a 80 28 62 79 74 65  |ct....PHA:.(byte|
00000470  6c 29 2c 59 3a 42 4e 45  72 65 74 0d 01 ea 18 50  |l),Y:BNEret....P|
00000480  4c 41 3a 4c 53 52 41 3a  49 4e 58 3a 42 4e 45 65  |LA:LSRA:INX:BNEe|
00000490  78 63 74 0d 01 f4 08 2e  72 65 74 0d 01 fe 07 50  |xct.....ret....P|
000004a0  4c 41 0d 02 08 15 4c 44  41 72 61 74 78 68 3a 53  |LA....LDAratxh:S|
000004b0  54 41 74 65 6d 70 33 0d  02 12 0b 4a 53 52 70 72  |TAtemp3....JSRpr|
000004c0  6f 63 0d 02 1c 0e 53 54  41 73 74 72 74 6c 2c 58  |oc....STAstrtl,X|
000004d0  0d 02 26 17 4c 44 41 74  65 6d 70 34 3a 53 54 41  |..&.LDAtemp4:STA|
000004e0  73 74 72 74 68 2c 58 0d  02 30 09 2e 66 62 6c 6b  |strth,X..0..fblk|
000004f0  0d 02 3a 1d 4c 44 58 72  61 74 78 68 3a 4c 44 59  |..:.LDXratxh:LDY|
00000500  6d 61 69 6e 79 3a 4a 53  52 61 64 64 72 0d 02 44  |mainy:JSRaddr..D|
00000510  09 4c 44 59 23 30 0d 02  4e 18 4c 44 41 28 62 79  |.LDY#0..N.LDA(by|
00000520  74 65 6c 29 2c 59 3a 42  45 51 66 6e 64 32 0d 02  |tel),Y:BEQfnd2..|
00000530  58 0c 53 54 41 74 65 6d  70 34 0d 02 62 0c 49 4e  |X.STAtemp4..b.IN|
00000540  43 72 61 74 78 68 0d 02  6c 1e 4c 44 41 72 61 74  |Cratxh..l.LDArat|
00000550  78 68 3a 43 4d 50 6d 6f  64 65 2b 32 3a 42 43 43  |xh:CMPmode+2:BCC|
00000560  66 62 6c 6b 0d 02 76 09  2e 66 6e 64 32 0d 02 80  |fblk..v..fnd2...|
00000570  17 4c 44 58 6d 6f 64 65  2b 37 3a 4c 44 41 6d 6f  |.LDXmode+7:LDAmo|
00000580  64 65 2b 36 0d 02 8a 0a  2e 65 78 63 74 32 0d 02  |de+6.....exct2..|
00000590  94 16 50 48 41 3a 80 74  65 6d 70 34 3a 42 4e 45  |..PHA:.temp4:BNE|
000005a0  72 65 74 32 0d 02 9e 19  50 4c 41 3a 41 53 4c 41  |ret2....PLA:ASLA|
000005b0  3a 44 45 58 3a 42 50 4c  65 78 63 74 32 0d 02 a8  |:DEX:BPLexct2...|
000005c0  09 2e 72 65 74 32 0d 02  b2 07 50 4c 41 0d 02 bc  |..ret2....PLA...|
000005d0  19 4c 44 59 72 61 74 78  68 3a 44 45 59 3a 53 54  |.LDYratxh:DEY:ST|
000005e0  59 74 65 6d 70 33 0d 02  c6 0b 4a 53 52 70 72 6f  |Ytemp3....JSRpro|
000005f0  63 0d 02 d0 0d 53 54 41  65 6e 64 6c 2c 58 0d 02  |c....STAendl,X..|
00000600  da 16 4c 44 41 74 65 6d  70 34 3a 53 54 41 65 6e  |..LDAtemp4:STAen|
00000610  64 68 2c 58 0d 02 e4 0a  49 4e 43 6e 75 6d 0d 02  |dh,X....INCnum..|
00000620  ee 19 4c 44 41 6e 75 6d  3a 43 4d 50 23 26 33 38  |..LDAnum:CMP#&38|
00000630  3a 42 43 43 73 75 62 0d  02 f8 08 2e 65 6f 6c 0d  |:BCCsub.....eol.|
00000640  03 02 11 4c 44 58 6e 75  6d 3a 44 45 43 6e 75 6d  |...LDXnum:DECnum|
00000650  0d 03 0c 11 4c 44 41 23  30 3a 53 54 41 64 76 64  |....LDA#0:STAdvd|
00000660  68 0d 03 16 0b 53 54 58  64 76 64 6c 0d 03 20 07  |h....STXdvdl.. .|
00000670  44 45 58 0d 03 2a 22 2e  74 6f 74 20 4c 44 41 64  |DEX..*".tot LDAd|
00000680  76 64 6c 3a 43 4c 43 3a  41 44 43 65 6e 64 6c 2c  |vdl:CLC:ADCendl,|
00000690  58 3a 50 48 41 0d 03 34  19 4c 44 41 64 76 64 68  |X:PHA..4.LDAdvdh|
000006a0  3a 41 44 43 65 6e 64 68  2c 58 3a 54 41 59 0d 03  |:ADCendh,X:TAY..|
000006b0  3e 1e 50 4c 41 3a 53 45  43 3a 53 42 43 73 74 72  |>.PLA:SEC:SBCstr|
000006c0  74 6c 2c 58 3a 53 54 41  64 76 64 6c 0d 03 48 1a  |tl,X:STAdvdl..H.|
000006d0  54 59 41 3a 53 42 43 73  74 72 74 68 2c 58 3a 53  |TYA:SBCstrth,X:S|
000006e0  54 41 64 76 64 68 0d 03  52 0e 44 45 58 3a 42 50  |TAdvdh..R.DEX:BP|
000006f0  4c 74 6f 74 0d 03 5c 10  4c 44 58 23 26 45 3a 4a  |Ltot..\.LDX#&E:J|
00000700  53 52 73 6c 0d 03 66 1e  4c 44 58 6d 6f 64 65 2b  |SRsl..f.LDXmode+|
00000710  38 3a 4c 44 59 6d 6f 64  65 2b 39 3a 4a 53 52 64  |8:LDYmode+9:JSRd|
00000720  69 76 0d 03 70 15 53 54  58 72 61 74 78 6c 3a 53  |iv..p.STXratxl:S|
00000730  54 59 72 61 74 78 68 0d  03 7a 21 4c 44 41 23 30  |TYratxh..z!LDA#0|
00000740  3a 53 54 41 62 65 66 6c  3a 53 54 41 62 65 66 68  |:STAbefl:STAbefh|
00000750  3a 53 54 41 73 65 63 74  0d 03 84 08 2e 73 65 63  |:STAsect.....sec|
00000760  0d 03 8e 0b 4c 44 59 73  65 63 74 0d 03 98 16 4c  |....LDYsect....L|
00000770  44 41 73 74 72 74 6c 2c  59 3a 53 54 41 64 6f 74  |DAstrtl,Y:STAdot|
00000780  6c 0d 03 a2 16 4c 44 41  73 74 72 74 68 2c 59 3a  |l....LDAstrth,Y:|
00000790  53 54 41 64 6f 74 68 0d  03 ac 08 2e 64 6f 74 0d  |STAdoth.....dot.|
000007a0  03 b6 1b 4c 44 41 62 65  66 6c 3a 43 4c 43 3a 41  |...LDAbefl:CLC:A|
000007b0  44 43 64 6f 74 6c 3a 50  48 41 0d 03 c0 17 4c 44  |DCdotl:PHA....LD|
000007c0  41 62 65 66 68 3a 41 44  43 64 6f 74 68 3a 54 41  |Abefh:ADCdoth:TA|
000007d0  58 0d 03 ca 0b 4c 44 59  73 65 63 74 0d 03 d4 1e  |X....LDYsect....|
000007e0  50 4c 41 3a 53 45 43 3a  53 42 43 73 74 72 74 6c  |PLA:SEC:SBCstrtl|
000007f0  2c 59 3a 53 54 41 64 76  64 6c 0d 03 de 1a 54 58  |,Y:STAdvdl....TX|
00000800  41 3a 53 42 43 73 74 72  74 68 2c 59 3a 53 54 41  |A:SBCstrth,Y:STA|
00000810  64 76 64 68 0d 03 e8 15  4c 44 41 23 26 45 3a 53  |dvdh....LDA#&E:S|
00000820  42 43 6d 6f 64 65 2b 31  30 0d 03 f2 0d 54 41 58  |BCmode+10....TAX|
00000830  3a 4a 53 52 73 6c 0d 03  fc 1c 4c 44 58 72 61 74  |:JSRsl....LDXrat|
00000840  78 6c 3a 4c 44 59 72 61  74 78 68 3a 4a 53 52 64  |xl:LDYratxh:JSRd|
00000850  69 76 0d 04 06 19 54 58  41 3a 80 6d 6f 64 65 2b  |iv....TXA:.mode+|
00000860  37 3a 53 54 41 63 6f 6c  6f 75 72 0d 04 10 07 54  |7:STAcolour....T|
00000870  58 41 0d 04 1a 0d 4c 44  59 6d 6f 64 65 2b 35 0d  |XA....LDYmode+5.|
00000880  04 24 08 2e 72 65 70 0d  04 2e 10 4c 53 52 64 76  |.$..rep....LSRdv|
00000890  64 68 3a 52 4f 52 41 0d  04 38 0e 44 45 59 3a 42  |dh:RORA..8.DEY:B|
000008a0  4e 45 72 65 70 0d 04 42  07 50 48 41 0d 04 4c 20  |NErep..B.PHA..L |
000008b0  4c 44 41 6d 61 69 6e 79  3a 53 45 43 3a 53 42 43  |LDAmainy:SEC:SBC|
000008c0  73 74 72 74 3a 53 54 41  64 76 64 6c 0d 04 56 11  |strt:STAdvdl..V.|
000008d0  4c 44 41 23 30 3a 53 54  41 64 76 64 68 0d 04 60  |LDA#0:STAdvdh..`|
000008e0  0f 4c 44 58 23 38 3a 4a  53 52 73 6c 0d 04 6a 1c  |.LDX#8:JSRsl..j.|
000008f0  4c 44 58 72 61 74 79 6c  3a 4c 44 59 72 61 74 79  |LDXratyl:LDYraty|
00000900  68 3a 4a 53 52 64 69 76  0d 04 74 0c 53 54 58 74  |h:JSRdiv..t.STXt|
00000910  65 6d 70 33 0d 04 7e 1b  4c 44 41 64 6f 74 6c 3a  |emp3..~.LDAdotl:|
00000920  80 6d 6f 64 65 2b 37 3a  53 54 41 64 6f 74 6d 0d  |.mode+7:STAdotm.|
00000930  04 88 13 4c 44 41 64 6f  74 6c 3a 53 54 41 64 6f  |...LDAdotl:STAdo|
00000940  74 64 0d 04 92 0b 4c 44  41 64 6f 74 68 0d 04 9c  |td....LDAdoth...|
00000950  0d 4c 44 59 6d 6f 64 65  2b 35 0d 04 a6 16 2e 72  |.LDYmode+5.....r|
00000960  65 70 32 20 4c 53 52 41  3a 52 4f 52 64 6f 74 64  |ep2 LSRA:RORdotd|
00000970  0d 04 b0 0f 44 45 59 3a  42 4e 45 72 65 70 32 0d  |....DEY:BNErep2.|
00000980  04 ba 15 4c 44 41 6d 6f  64 65 2b 31 30 3a 42 45  |...LDAmode+10:BE|
00000990  51 6e 63 6d 0d 04 c4 0b  53 54 41 6d 6f 64 65 0d  |Qncm....STAmode.|
000009a0  04 ce 17 4c 53 52 6d 6f  64 65 2b 32 3a 4c 53 52  |...LSRmode+2:LSR|
000009b0  6d 6f 64 65 2b 33 0d 04  d8 08 2e 6e 63 6d 0d 04  |mode+3.....ncm..|
000009c0  e2 1c 50 4c 41 3a 54 41  58 3a 43 50 58 6d 6f 64  |..PLA:TAX:CPXmod|
000009d0  65 2b 32 3a 42 43 43 6e  6f 63 0d 04 ec 0d 4c 44  |e+2:BCCnoc....LD|
000009e0  58 6d 6f 64 65 2b 33 0d  04 f6 17 4c 44 41 6d 6f  |Xmode+3....LDAmo|
000009f0  64 65 2b 37 3a 53 54 41  63 6f 6c 6f 75 72 0d 05  |de+7:STAcolour..|
00000a00  00 08 2e 6e 6f 63 0d 05  0a 14 4c 44 59 74 65 6d  |...noc....LDYtem|
00000a10  70 33 3a 4a 53 52 61 64  64 72 0d 05 14 16 4c 44  |p3:JSRaddr....LD|
00000a20  41 6d 6f 64 65 2b 31 30  3a 42 45 51 6e 63 6d 32  |Amode+10:BEQncm2|
00000a30  0d 05 1e 11 4c 44 41 23  30 3a 53 54 41 6d 6f 64  |....LDA#0:STAmod|
00000a40  65 0d 05 28 0d 41 53 4c  6d 6f 64 65 2b 32 0d 05  |e..(.ASLmode+2..|
00000a50  32 15 4c 44 41 23 26 34  46 3a 53 54 41 6d 6f 64  |2.LDA#&4F:STAmod|
00000a60  65 2b 33 0d 05 3c 09 2e  6e 63 6d 32 0d 05 46 0b  |e+3..<..ncm2..F.|
00000a70  4a 53 52 72 65 61 64 0d  05 50 0b 4a 53 52 70 6c  |JSRread..P.JSRpl|
00000a80  6f 74 0d 05 5a 1d 4c 44  41 64 6f 74 6c 3a 43 4c  |ot..Z.LDAdotl:CL|
00000a90  43 3a 41 44 43 23 31 3a  53 54 41 64 6f 74 6c 0d  |C:ADC#1:STAdotl.|
00000aa0  05 64 19 4c 44 41 64 6f  74 68 3a 41 44 43 23 30  |.d.LDAdoth:ADC#0|
00000ab0  3a 53 54 41 64 6f 74 68  0d 05 6e 23 4c 44 59 73  |:STAdoth..n#LDYs|
00000ac0  65 63 74 3a 43 4d 50 65  6e 64 68 2c 59 3a 42 43  |ect:CMPendh,Y:BC|
00000ad0  43 64 6f 74 32 3a 42 4e  45 75 68 0d 05 78 25 4c  |Cdot2:BNEuh..x%L|
00000ae0  44 41 64 6f 74 6c 3a 43  4d 50 65 6e 64 6c 2c 59  |DAdotl:CMPendl,Y|
00000af0  3a 42 45 51 64 6f 74 32  3a 42 43 43 64 6f 74 32  |:BEQdot2:BCCdot2|
00000b00  0d 05 82 07 2e 75 68 0d  05 8c 1d 4c 44 41 62 65  |.....uh....LDAbe|
00000b10  66 6c 3a 43 4c 43 3a 41  44 43 65 6e 64 6c 2c 59  |fl:CLC:ADCendl,Y|
00000b20  3a 50 48 41 0d 05 96 19  4c 44 41 62 65 66 68 3a  |:PHA....LDAbefh:|
00000b30  41 44 43 65 6e 64 68 2c  59 3a 54 41 58 0d 05 a0  |ADCendh,Y:TAX...|
00000b40  1a 50 4c 41 3a 53 45 43  3a 53 42 43 73 74 72 74  |.PLA:SEC:SBCstrt|
00000b50  6c 2c 59 3a 50 48 41 0d  05 aa 16 54 58 41 3a 53  |l,Y:PHA....TXA:S|
00000b60  42 43 73 74 72 74 68 2c  59 3a 54 41 58 0d 05 b4  |BCstrth,Y:TAX...|
00000b70  19 50 4c 41 3a 43 4c 43  3a 41 44 43 23 31 3a 53  |.PLA:CLC:ADC#1:S|
00000b80  54 41 62 65 66 6c 0d 05  be 15 54 58 41 3a 41 44  |TAbefl....TXA:AD|
00000b90  43 23 30 3a 53 54 41 62  65 66 68 0d 05 c8 1a 4c  |C#0:STAbefh....L|
00000ba0  44 41 73 65 63 74 3a 43  4d 50 6e 75 6d 3a 42 45  |DAsect:CMPnum:BE|
00000bb0  51 6a 6d 70 32 0d 05 d2  12 49 4e 43 73 65 63 74  |Qjmp2....INCsect|
00000bc0  3a 4a 4d 50 73 65 63 0d  05 dc 09 2e 6a 6d 70 32  |:JMPsec.....jmp2|
00000bd0  0d 05 e6 1b 4c 44 41 6d  61 69 6e 79 3a 43 4d 50  |....LDAmainy:CMP|
00000be0  73 74 6f 70 3a 42 43 53  65 6e 64 0d 05 f0 14 49  |stop:BCSend....I|
00000bf0  4e 43 6d 61 69 6e 79 3a  4a 4d 50 6d 61 69 6e 0d  |NCmainy:JMPmain.|
00000c00  05 fa 08 2e 65 6e 64 0d  06 04 19 4c 44 41 23 30  |....end....LDA#0|
00000c10  3a 4c 44 59 23 30 3a 4a  53 52 4f 53 46 49 4e 44  |:LDY#0:JSROSFIND|
00000c20  0d 06 0e 07 52 54 53 0d  06 18 09 2e 64 6f 74 32  |....RTS.....dot2|
00000c30  0d 06 22 0a 4a 4d 50 64  6f 74 0d 06 2c 09 2e 70  |..".JMPdot..,..p|
00000c40  72 6f 63 0d 06 36 12 4c  44 41 23 30 3a 53 54 41  |roc..6.LDA#0:STA|
00000c50  74 65 6d 70 34 0d 06 40  0d 4c 44 59 6d 6f 64 65  |temp4..@.LDYmode|
00000c60  2b 35 0d 06 4a 09 2e 6d  75 6c 74 0d 06 54 15 41  |+5..J..mult..T.A|
00000c70  53 4c 74 65 6d 70 33 3a  52 4f 4c 74 65 6d 70 34  |SLtemp3:ROLtemp4|
00000c80  0d 06 5e 0f 44 45 59 3a  42 4e 45 6d 75 6c 74 0d  |..^.DEY:BNEmult.|
00000c90  06 68 10 54 58 41 3a 41  44 43 74 65 6d 70 33 0d  |.h.TXA:ADCtemp3.|
00000ca0  06 72 0a 4c 44 58 6e 75  6d 0d 06 7c 07 52 54 53  |.r.LDXnum..|.RTS|
00000cb0  0d 06 86 07 2e 73 6c 0d  06 90 1b 4c 44 41 23 30  |.....sl....LDA#0|
00000cc0  3a 53 54 41 74 65 6d 70  33 3a 53 54 41 74 65 6d  |:STAtemp3:STAtem|
00000cd0  70 34 0d 06 9a 08 2e 73  6c 32 0d 06 a4 1c 41 53  |p4.....sl2....AS|
00000ce0  4c 64 76 64 6c 3a 52 4f  4c 64 76 64 68 3a 52 4f  |Ldvdl:ROLdvdh:RO|
00000cf0  4c 74 65 6d 70 33 0d 06  ae 0e 44 45 58 3a 42 4e  |Ltemp3....DEX:BN|
00000d00  45 73 6c 32 0d 06 b8 07  52 54 53 0d 06 c2 09 2e  |Esl2....RTS.....|
00000d10  72 65 61 64 0d 06 cc 1b  4c 44 41 62 79 74 65 68  |read....LDAbyteh|
00000d20  3a 43 4d 50 70 6f 73 3a  42 43 53 6d 6f 72 65 0d  |:CMPpos:BCSmore.|
00000d30  06 d6 13 41 44 43 73 69  7a 65 3a 41 44 43 62 75  |...ADCsize:ADCbu|
00000d40  66 66 0d 06 e0 17 53 45  43 3a 53 42 43 70 6f 73  |ff....SEC:SBCpos|
00000d50  3a 53 54 41 62 79 74 65  68 0d 06 ea 09 4c 44 59  |:STAbyteh....LDY|
00000d60  23 30 0d 06 f4 19 4c 44  41 28 62 79 74 65 6c 29  |#0....LDA(bytel)|
00000d70  2c 59 3a 53 54 41 74 65  6d 70 33 0d 06 fe 07 52  |,Y:STAtemp3....R|
00000d80  54 53 0d 07 08 09 2e 6d  6f 72 65 0d 07 12 1f 4c  |TS.....more....L|
00000d90  44 41 23 30 3a 53 54 41  66 64 61 74 61 2b 31 3a  |DA#0:STAfdata+1:|
00000da0  53 54 41 66 64 61 74 61  2b 35 0d 07 1c 16 4c 44  |STAfdata+5....LD|
00000db0  41 62 75 66 66 3a 53 54  41 66 64 61 74 61 2b 32  |Abuff:STAfdata+2|
00000dc0  0d 07 26 16 4c 44 41 73  69 7a 65 3a 53 54 41 66  |..&.LDAsize:STAf|
00000dd0  64 61 74 61 2b 36 0d 07  30 1d 4c 44 41 70 6f 73  |data+6..0.LDApos|
00000de0  3a 43 4c 43 3a 41 44 43  73 69 7a 65 3a 53 54 41  |:CLC:ADCsize:STA|
00000df0  70 6f 73 0d 07 3a 09 4c  44 41 23 34 0d 07 44 2d  |pos..:.LDA#4..D-|
00000e00  4c 44 58 23 66 64 61 74  61 20 83 20 32 35 36 3a  |LDX#fdata . 256:|
00000e10  4c 44 59 23 66 64 61 74  61 20 81 20 32 35 36 3a  |LDY#fdata . 256:|
00000e20  4a 53 52 4f 53 47 42 50  42 0d 07 4e 0b 4a 4d 50  |JSROSGBPB..N.JMP|
00000e30  72 65 61 64 0d 07 58 09  2e 61 64 64 72 0d 07 62  |read..X..addr..b|
00000e40  16 4c 44 41 6d 6f 64 65  2b 31 3a 53 54 41 62 79  |.LDAmode+1:STAby|
00000e50  74 65 68 0d 07 6c 11 4c  44 41 23 30 3a 53 54 41  |teh..l.LDA#0:STA|
00000e60  64 76 64 6c 0d 07 76 14  54 59 41 3a 80 23 37 3a  |dvdl..v.TYA:.#7:|
00000e70  53 54 41 62 79 74 65 6c  0d 07 80 1f 54 59 41 3a  |STAbytel....TYA:|
00000e80  4c 53 52 41 3a 4c 53 52  41 3a 4c 53 52 41 3a 41  |LSRA:LSRA:LSRA:A|
00000e90  53 4c 41 3a 54 41 59 0d  07 8a 16 4c 44 41 53 63  |SLA:TAY....LDASc|
00000ea0  72 6c 2c 59 3a 53 54 41  74 65 6d 70 31 0d 07 94  |rl,Y:STAtemp1...|
00000eb0  16 4c 44 41 53 63 72 68  2c 59 3a 53 54 41 74 65  |.LDAScrh,Y:STAte|
00000ec0  6d 70 32 0d 07 9e 14 4c  44 41 6d 6f 64 65 3a 42  |mp2....LDAmode:B|
00000ed0  45 51 6e 6f 64 69 76 0d  07 a8 15 4c 53 52 74 65  |EQnodiv....LSRte|
00000ee0  6d 70 31 3a 52 4f 52 74  65 6d 70 32 0d 07 b2 0a  |mp1:RORtemp2....|
00000ef0  2e 6e 6f 64 69 76 0d 07  bc 07 54 58 41 0d 07 c6  |.nodiv....TXA...|
00000f00  10 41 53 4c 41 3a 52 4f  4c 64 76 64 6c 0d 07 d0  |.ASLA:ROLdvdl...|
00000f10  10 41 53 4c 41 3a 52 4f  4c 64 76 64 6c 0d 07 da  |.ASLA:ROLdvdl...|
00000f20  10 41 53 4c 41 3a 52 4f  4c 64 76 64 6c 0d 07 e4  |.ASLA:ROLdvdl...|
00000f30  1e 41 44 43 62 79 74 65  6c 3a 41 44 43 74 65 6d  |.ADCbytel:ADCtem|
00000f40  70 32 3a 53 54 41 62 79  74 65 6c 0d 07 ee 26 4c  |p2:STAbytel...&L|
00000f50  44 41 64 76 64 6c 3a 41  44 43 62 79 74 65 68 3a  |DAdvdl:ADCbyteh:|
00000f60  41 44 43 74 65 6d 70 31  3a 53 54 41 62 79 74 65  |ADCtemp1:STAbyte|
00000f70  68 0d 07 f8 07 52 54 53  0d 08 02 0a 2e 6c 69 6e  |h....RTS.....lin|
00000f80  65 73 0d 08 0c 1a 4c 44  41 23 30 3a 53 54 41 72  |es....LDA#0:STAr|
00000f90  61 74 78 68 3a 53 54 41  73 74 6f 70 0d 08 16 08  |atxh:STAstop....|
00000fa0  2e 6c 70 33 0d 08 20 15  4c 44 41 6d 6f 64 65 2b  |.lp3.. .LDAmode+|
00000fb0  33 3a 53 54 41 62 65 66  68 0d 08 2a 08 2e 6c 70  |3:STAbefh..*..lp|
00000fc0  36 0d 08 34 1b 4c 44 58  62 65 66 68 3a 4c 44 59  |6..4.LDXbefh:LDY|
00000fd0  73 74 6f 70 3a 4a 53 52  61 64 64 72 0d 08 3e 09  |stop:JSRaddr..>.|
00000fe0  4c 44 59 23 30 0d 08 48  18 4c 44 41 28 62 79 74  |LDY#0..H.LDA(byt|
00000ff0  65 6c 29 2c 59 3a 42 4e  45 66 70 69 78 0d 08 52  |el),Y:BNEfpix..R|
00001000  12 44 45 43 62 65 66 68  3a 42 50 4c 6c 70 36 0d  |.DECbefh:BPLlp6.|
00001010  08 5c 14 4c 44 41 72 61  74 78 68 3a 42 45 51 6e  |.\.LDAratxh:BEQn|
00001020  78 74 6c 0d 08 66 0b 44  45 43 73 74 6f 70 0d 08  |xtl..f.DECstop..|
00001030  70 07 52 54 53 0d 08 7a  09 2e 66 70 69 78 0d 08  |p.RTS..z..fpix..|
00001040  84 14 4c 44 41 72 61 74  78 68 3a 42 4e 45 6e 78  |..LDAratxh:BNEnx|
00001050  74 6c 0d 08 8e 13 4c 44  41 73 74 6f 70 3a 53 54  |tl....LDAstop:ST|
00001060  41 73 74 72 74 0d 08 98  12 4c 44 41 23 31 3a 53  |Astrt....LDA#1:S|
00001070  54 41 72 61 74 78 68 0d  08 a2 09 2e 6e 78 74 6c  |TAratxh.....nxtl|
00001080  0d 08 ac 12 49 4e 43 73  74 6f 70 3a 42 4e 45 6c  |....INCstop:BNEl|
00001090  70 33 0d 08 b6 0b 44 45  43 73 74 6f 70 0d 08 c0  |p3....DECstop...|
000010a0  07 52 54 53 0d 08 ca 09  2e 70 6c 6f 74 0d 08 d4  |.RTS.....plot...|
000010b0  0d 4c 44 41 6d 6f 64 65  2b 34 0d 08 de 15 4c 44  |.LDAmode+4....LD|
000010c0  58 63 6f 6c 6f 75 72 3a  42 45 51 73 6b 69 70 0d  |Xcolour:BEQskip.|
000010d0  08 e8 07 2e 6c 70 0d 08  f2 13 4c 53 52 20 41 3a  |....lp....LSR A:|
000010e0  44 45 58 3a 42 4e 45 6c  70 0d 08 fc 09 2e 73 6b  |DEX:BNElp.....sk|
000010f0  69 70 0d 09 06 0a 80 74  65 6d 70 33 0d 09 10 16  |ip.....temp3....|
00001100  4c 44 58 63 6f 6c 6f 75  72 3a 42 45 51 73 6b 69  |LDXcolour:BEQski|
00001110  70 32 0d 09 1a 08 2e 6c  70 32 0d 09 24 09 41 53  |p2.....lp2..$.AS|
00001120  4c 20 41 0d 09 2e 0e 44  45 58 3a 42 4e 45 6c 70  |L A....DEX:BNElp|
00001130  32 0d 09 38 0a 2e 73 6b  69 70 32 0d 09 42 07 50  |2..8..skip2..B.P|
00001140  48 41 0d 09 4c 1c 4c 44  58 64 6f 74 64 3a 4c 44  |HA..L.LDXdotd:LD|
00001150  59 6d 61 69 6e 79 3a 4a  53 52 61 64 64 72 0d 09  |Ymainy:JSRaddr..|
00001160  56 0d 4c 44 41 6d 6f 64  65 2b 34 0d 09 60 14 4c  |V.LDAmode+4..`.L|
00001170  44 58 64 6f 74 6d 3a 42  45 51 73 6b 69 70 33 0d  |DXdotm:BEQskip3.|
00001180  09 6a 08 2e 6c 70 34 0d  09 74 09 4c 53 52 20 41  |.j..lp4..t.LSR A|
00001190  0d 09 7e 0e 44 45 58 3a  42 4e 45 6c 70 34 0d 09  |..~.DEX:BNElp4..|
000011a0  88 0a 2e 73 6b 69 70 33  0d 09 92 09 82 23 26 46  |...skip3.....#&F|
000011b0  46 0d 09 9c 09 4c 44 59  23 30 0d 09 a6 17 80 28  |F....LDY#0.....(|
000011c0  62 79 74 65 6c 29 2c 59  3a 53 54 41 74 65 6d 70  |bytel),Y:STAtemp|
000011d0  33 0d 09 b0 07 50 4c 41  0d 09 ba 14 4c 44 58 64  |3....PLA....LDXd|
000011e0  6f 74 6d 3a 42 45 51 73  6b 69 70 34 0d 09 c4 08  |otm:BEQskip4....|
000011f0  2e 6c 70 35 0d 09 ce 09  4c 53 52 20 41 0d 09 d8  |.lp5....LSR A...|
00001200  0e 44 45 58 3a 42 4e 45  6c 70 35 0d 09 e2 0a 2e  |.DEX:BNElp5.....|
00001210  73 6b 69 70 34 0d 09 ec  18 84 41 74 65 6d 70 33  |skip4.....Atemp3|
00001220  3a 53 54 41 28 62 79 74  65 6c 29 2c 59 0d 09 f6  |:STA(bytel),Y...|
00001230  07 52 54 53 0d 0a 00 08  2e 64 69 76 0d 0a 0a 15  |.RTS.....div....|
00001240  53 54 58 74 65 6d 70 31  3a 53 54 59 74 65 6d 70  |STXtemp1:STYtemp|
00001250  32 0d 0a 14 0a 4c 44 58  23 31 36 0d 0a 1e 08 2e  |2....LDX#16.....|
00001260  6c 6f 70 0d 0a 28 13 41  53 4c 64 76 64 6c 3a 52  |lop..(.ASLdvdl:R|
00001270  4f 4c 64 76 64 68 0d 0a  32 15 52 4f 4c 74 65 6d  |OLdvdh..2.ROLtem|
00001280  70 33 3a 52 4f 4c 74 65  6d 70 34 0d 0a 3c 27 4c  |p3:ROLtemp4..<'L|
00001290  44 41 74 65 6d 70 34 3a  43 4d 50 74 65 6d 70 32  |DAtemp4:CMPtemp2|
000012a0  3a 42 43 43 6e 6f 73 75  62 3a 42 45 51 63 68 65  |:BCCnosub:BEQche|
000012b0  63 6b 0d 0a 46 07 2e 6f  6b 0d 0a 50 1e 4c 44 41  |ck..F..ok..P.LDA|
000012c0  74 65 6d 70 33 3a 53 42  43 74 65 6d 70 31 3a 53  |temp3:SBCtemp1:S|
000012d0  54 41 74 65 6d 70 33 0d  0a 5a 1e 4c 44 41 74 65  |TAtemp3..Z.LDAte|
000012e0  6d 70 34 3a 53 42 43 74  65 6d 70 32 3a 53 54 41  |mp4:SBCtemp2:STA|
000012f0  74 65 6d 70 34 0d 0a 64  1d 4c 44 41 64 76 64 6c  |temp4..d.LDAdvdl|
00001300  3a 43 4c 43 3a 41 44 43  23 31 3a 53 54 41 64 76  |:CLC:ADC#1:STAdv|
00001310  64 6c 0d 0a 6e 19 4c 44  41 64 76 64 68 3a 41 44  |dl..n.LDAdvdh:AD|
00001320  43 23 30 3a 53 54 41 64  76 64 68 0d 0a 78 0a 2e  |C#0:STAdvdh..x..|
00001330  6e 6f 73 75 62 0d 0a 82  0e 44 45 58 3a 42 4e 45  |nosub....DEX:BNE|
00001340  6c 6f 70 0d 0a 8c 13 4c  44 58 64 76 64 6c 3a 4c  |lop....LDXdvdl:L|
00001350  44 59 64 76 64 68 0d 0a  96 07 52 54 53 0d 0a a0  |DYdvdh....RTS...|
00001360  0a 2e 63 68 65 63 6b 0d  0a aa 24 4c 44 41 74 65  |..check...$LDAte|
00001370  6d 70 33 3a 43 4d 50 74  65 6d 70 31 3a 42 43 43  |mp3:CMPtemp1:BCC|
00001380  6e 6f 73 75 62 3a 42 43  53 6f 6b 0d 0a b4 0a 2e  |nosub:BCSok.....|
00001390  66 64 61 74 61 0d 0a be  11 45 51 55 44 26 30 30  |fdata....EQUD&00|
000013a0  35 38 30 30 46 46 0d 0a  c8 11 45 51 55 44 26 30  |5800FF....EQUD&0|
000013b0  30 30 35 30 30 30 30 0d  0a d2 11 45 51 55 44 26  |0050000....EQUD&|
000013c0  30 30 35 38 30 30 30 30  0d 0a dc 0a 45 51 55 42  |00580000....EQUB|
000013d0  26 30 0d 0a e6 05 5d 0d  0a f0 05 ed 0d 0a fa 05  |&0....].........|
000013e0  e1 0d ff                                          |...|
000013e3
PixMap/PMsrc.m0
PixMap/PMsrc.m1
PixMap/PMsrc.m2
PixMap/PMsrc.m4
PixMap/PMsrc.m5