Home » Personal collection » Acorn tapes » Own_Work » box01_tape08a_d90_acorn_acorn_eater.wav » ACORN7

ACORN7

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

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

Tape/disk: Home » Personal collection » Acorn tapes » Own_Work » box01_tape08a_d90_acorn_acorn_eater.wav
Filename: ACORN7
Read OK:
File size: 1E22 bytes
Load address: FFFF0E00
Exec address: FFFF8023
File contents
   10REM Slippery Sam
   20REM by A.Houghton
   30REM (c) Electron User
   40ENVELOPE1,1,50,-50,5,4,4,20,126,0,0,-126,126,126:ENVELOPE3,1,20,-20,1,5,5,100,126,0,0,-126,126,126:ENVELOPE4,1,-20,20,-1,5,5,100,126,0,0,-126,126,126
   50*FX16
   60IFPAGE<&1200GOTO110
   70*K.0*T.|MDEL.10,90|MFORI%=0TO(TOP-PA.)S.4:I%!&E00=I%!PA.:N.|MPA.=&E00|MO.|MRUN|MRUN|F|M
   80VDU21:*FX21
   90*FX138,0,128
  100END
  110PROCinit:REPEAT:MODE5:VDU23;8202;0;0;0;19,1,4;0;19,3,2;0;17,2:PRINTTAB(4,4)"SLIPPERY SAM":COLOUR1:PRINTTAB(3,7)"by A. Houghton":*FX21
  120COLOUR3:PRINTTAB(0,20)"Press SPACE to play":REPEATUNTILGET=32
  130lives=3:?score=0:score?1=0:level=1:?acorns=1:PROCscreen:REPEAT:PROCmaze:CALLmain:IF?dead=&E0 PROCbonus ELSEPROCdead
  140UNTILlives=0:PROCd(100):PROCwindow(4,16,7,15):COLOUR3:PRINTTAB(4,15)"GAME"TAB(4,16)"OVER":PROCd(200):UNTILFALSE
  150DEFPROCdead:lives=lives-1:!dat=&A00:FORN%=150TO100STEP-10:SOUND1,4,N%,5:?scr=&20:scr?1=&6B:IF!dat>&A60 !dat=&A00
  160CALLprint:PROCd(25):NEXT:ENDPROC
  170DEFPROCbonus:PROCd(20):FORN%=100TO200STEP10:SOUND1,1,N%,3:NEXT:REPEAT:SOUND&10,0,0,0:CALLdeccals:CALLinsc:CALLpsc:SOUND0,-15,4,1:PROCd(2):UNTIL?dead=&7C
  180IF?vist>0REPEAT:SOUND&10,0,0,0:CALLdvist:CALLinsc:CALLpsc:SOUND0,-15,4,1:PROCd(2):UNTIL?vist=0ANDvist?1=0
  190FORn%=1TO5*level:SOUND&10,0,0,0:CALLinsc:CALLpsc:SOUND0,-15,4,1:PROCd(2):NEXT:level=level+1:IFlives<7 lives=lives+1
  200?acorns=(level+1)DIV2:IF?acorns>9 ?acorns=9:ENDPROC ELSEENDPROC
  210DEFPROCd(D%):TIME=0:REPEATUNTILTIME>D%:ENDPROC
  220DEFPROCmaze:sheet=(level-1)MOD6:RESTORE(380+10*sheet):FORN%=0TO63STEP8:READA$:FORM%=0TO7:M%?(mazdat+N%)=EVAL("&"+MID$(A$,M%+1,1)):NEXT,
  230CALLmazgen:FORN%=1TO20+level
  240A%=RND(1024)-1:IFA%?maze=0ORA%?maze=&20 A%?maze=&60 ELSEGOTO240
  250A%=RND(1024)-1:IFA%?maze=0ORA%?maze=&20 A%?maze=&80 ELSEGOTO250
  260 NEXT:PRINTTAB(13,2)SPC6TAB(1,29)SPC18:VDU31,16,9,31,8,10,32,31,16,13,32,8,10,32
  270?samx=14:?samy=13:?hdpt=2:?tailpt=0:!tail=maze+&1AE:?tlen=0:?vist=0:vist?!=0:?dead=0:IFsheet=4 ?samdir=&40 ELSE?samdir=&20
  280CALLwindow:!cals=&7C48:?caltm=15:FORN%=1TO30:CALLinccals:NEXT:?accon=150-10*level:IF?accon<50 ?accon=50
  290?actim=?accon:?acflag=0:COLOUR3:PRINTTAB(15,6);?acorns:CALLpvist:?mocon=15-level DIV2:IF?mocon<1 ?mocon=1:?motim=?mocon
  300CALLpsc:COLOUR3:PRINTTAB(9,2);level:IFlives>1FORN%=1TOlives-1:!scr=&5B40+16*N%:!dat=&A90:CALLlivp:NEXT
  310ENDPROC
  320DEFPROCscreen:CLS:CALLdither:PROCwindow(1,2,5,1):PROCwindow(7,2,11,1):PROCwindow(13,2,18,2):PROCwindow(13,6,18,5):PROCwindow(16,10,16,9):PROCwindow(16,14,16,13)
  330PROCwindow(1,26,11,5):PROCwindow(1,29,18,28):PROCwindow(14,19,17,18):COLOUR1:PRINTTAB(1,1)"SCORE"TAB(7,1)"LEVEL"TAB(13,5)"ACORNS"TAB(6,28)"CALORIES"TAB(14,18)"TAIL":ENDPROC
  340DEFPROCwindow(l%,b%,r%,t%):le%=(l%-1)*64:bo%=(31-b%)*32-1:ri%=(ri%+1)*64:to%=(33-t%)*32-1
  350VDU5:GCOL0,2:MOVEle%,to%:VDU224:FORN%=le%+64TOri%-64STEP64:VDU225:NEXT:VDU226:FORN%=to%-32TObo%+32STEP-32:MOVEle%,N%:VDU227:MOVEri%,N%:VDU228:NEXT
  360MOVEle%,bo%:VDU229:FORN%=le%+64TOri%-64STEP64:VDU230:NEXT:VDU231:VDU24,le%+56;bo%;ri%;to%-28;18;128,16,26,4:ENDPROC
  370REM Maze Data
  380DATA11000011,110800B1,00051000,08676921,0015F521,000C6D21,1A011111,11033300
  390DATA00000069,06669005,0866D005,0C666905,00866D05,50C66905,50000005,C666666D
  400DATAF0002030,08691903,01050530,08676D03,05050130,0C1C6D03,0030F0F0,F00F0F0E
  410DATA00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000
  420DATA76666669,76666695,76666955,76669555,76695555,76955555,79555555,77777777
  430DATA00666600,25000000,27676705,25050505,27676705,25050500,27676760,B3333330
  440DEFFNhinib(U$):B%=EVAL("&"+U$):=(B%DIV4)AND3
  450DEFFNlonib(U$):B%=EVAL("&"+U$):=B%AND3
  460DEFPROCinit:IFINKEY-256=1timer=&29F ELSEtimer=&2A0
  470VDU23,224,0,0,0,0,0,3,7,6,23,225,0,0,0,0,0,255,255,0,23,226,0,0,0,0,0,192,224,96,23,227,6,6,6,6,6,6,6,6,23,228,96,96,96,96,96,96,96,96
  480VDU23,229,6,7,3,0,0,0,0,0,23,230,0,255,255,0,0,0,0,0,23,231,96,224,192,0,0,0,0,0
  490RESTORE1310:FORN%=&900TO&A9FSTEP4:READA$:!N%=EVAL("&"+A$):NEXT:DIMtokdat 256
  500RESTORE1260:FORN%=0TO255STEP16:READA$:FORM%=0TO15STEP2:U$=MID$(A$,M%DIV2+1,1):tokdat?(N%+M%)=FNhinib(U$):tokdat?(N%+M%+1)=FNlonib(U$):NEXT,
  510scr=&70:dat=&72:cal=&74:mazpt=cal:cals=&7E:DIMQ%2000,maze 1030,shadow 1030,mazdat 64,tail 256:FORP=0TO2STEP2:P%=Q%:[OPTP
  520.gul1 EQUW&11:EQUW1:EQUW70:EQUW5:.gul2 EQUW&11:EQUW1:EQUW30:EQUW8:.muso EQUW&11:EQUW2:EQUW100:EQUW7
  530.acso EQUW2:EQUW3:EQUW50:EQUW10:.moso EQUW2:EQUW4:EQUW100:EQUW10
  540.dither LDA#0:STAscr:LDA#&58:STAscr+1:LDY#0:.dilp LDA#5:STA(scr),Y:INY:LDA#10:STA(scr),Y:DEY
  550LDAscr:CLC:ADC#2:STAscr:LDAscr+1:ADC#0:STAscr+1:BPLdilp:RTS
  560.print LDX#2:.prlp1 LDY#15:.prlp2 LDA(dat),Y:STA(scr),Y:DEY:BPLprlp2
  570LDAscr:CLC:ADC#&40:STAscr:LDAscr+1:ADC#1:STAscr+1:LDAdat:CLC:ADC#16:STAdat:DEX:BNEprlp1:RTS
  580.livp LDY#15:.lvpl LDA(dat),Y:STA(scr),Y:DEY:BPLlvpl:RTS
  590.calc LDA#0:STAcal+1:TYA:LDY#5:.rolp ASLA:ROLcal+1:DEY:BNErolp:STAcal:TXA:CLC:ADCcal:STAcal:LDAcal+1:ADC#0:STAcal+1:LDAcal:CLC:ADC#maze MOD256:STAcal:LDAcal+1:ADC#maze DIV256:STAcal+1:RTS
  600.window LDA#19:JSR&FFF4:LDAsamx:SEC:SBC#5:STAmazex:LDA#&50:STAwindad:LDA#&5E:STAwindad+1
  610LDA#11:STAwncnx:.winxlp LDA#11:STAwncny:LDAwindad:STAscr:LDAwindad+1:STAscr+1:LDAsamy:SEC:SBC#5:STAmazey
  620.winylp LDA#9:STAdat+1:LDAmazex:CMP#32:BCCchkylm:.block LDA#&40:STAdat:JSRprint:JMPnxtblk
  630.chkylm LDAmazey:CMP#32:BCCchksam:JMPblock:.chksam LDAwncnx:CMP#6:BNEprwom:LDAwncny:CMP#6:BNEprwom:LDAsamdir:STAdat:LDA#&A:STAdat+1:JSRprint:JMPnxtblk
  640.prwom LDXmazex:LDYmazey:JSRcalc:LDY#0:LDA(cal),Y:STAdat:JSRprint
  650.nxtblk INCmazey:DECwncny:BNEwinYlp:LDAwindad:CLC:ADC#16:STAwindad:LDAwindad+1:ADC#0:STAwindad+1:INCmazex:DECwncnx:BNEwinXlp:RTS:.winYlp JMPwinylp:.winXlp:JMPwinxlp
  660.mazex EQUB0:.mazey EQUB0:.wncnx EQUB0:.wncny EQUB0:.windad EQUW0
  670.samx EQUB0:.samy EQUB0:.samdir EQUB0:.dead EQUB0
  680.mvsam LDXsamx:LDYsamy:JSRcalc:LDY#0:LDA#&C0:STA(cal),Y
  690LDA#&81:LDX#&9E:LDY#&FF:JSR&FFF4:TYA:BEQntlft:LDA#0:STAsamdir:JMPmove
  700.ntlft LDA#&81:LDX#&BD:LDY#&FF:JSR&FFF4:TYA:BEQntrt:LDA#&20:STAsamdir:JMPmove
  710.ntrt LDA#&81:LDX#&B7:LDY#&FF:JSR&FFF4:TYA:BEQntup:LDA#&40:STAsamdir:JMPmove
  720.ntup LDA#&81:LDX#&97:LDY#&FF:JSR&FFF4:TYA:BEQmove:LDA#&60:STAsamdir
  730.move LDAsamdir:BNEntl:DECsamx:JMPchk:.ntl CMP#&20:BNEntr:INCsamx:JMPchk:.ntr CMP#&40:BNEntu:DECsamy:JMPchk:.ntu INCsamy
  740.chk LDAsamx:CMP#32:BCShit:LDAsamy:CMP#32:BCShit
  750LDXsamx:LDYsamy:JSRcalc:LDXhdpt:LDAcal:STAtail,X:LDAcal+1:STAtail+1,X:INX:INX:STXhdpt
  760LDY#0:LDA(cal),Y:CMP#&C0:BEQhit:CMP#&40:BEQhit:CMP#&A0:BEQhit:CMP#&E0:BEQgtacn
  770CMP#&80:BEQmush:CMP#&60:BNEdeldail:JSRinsc:JSRpsc:JSRinccals:LDAtlen:CMP#254:BCSdeltail:INCtlen:LDX#gul1 MOD256:LDY#gul1 DIV256:LDA#7:JSR&FFF1:JMPivist
  780.mush LDX#muso MOD256:LDY#muso DIV256:LDA#7:JSR&FFF1:JSRdeccals:LDAtlen:BEQdeltail:DECtlen:JSRdeltail:JSRdeltail:JMPdvist
  790.hit LDA#&FF:STAdead:RTS
  800.hdpt EQUB0:.tailpt EQUB0:.deltail LDXtailpt:LDAtail,X:STA&90:LDAtail+1,X:STA&91:LDA#0:TAY:STA(&90),Y:INX:INX:STXtailpt:RTS
  810.gtacn JSRinsc:JSRinsc:DECacorns:LDA#31:JSR&FFEE:LDA#15:JSR&FFEE:LDA#6:JSR&FFEE:LDA#17:JSR&FFEE:LDA#3:JSR&FFEE:LDAacorns:CLC:ADC#48:JSR&FFEE
  820LDA#0:STAacflag:LDAaccon:STAactim:LDA#&40:STAscr:LDA#&64:STAscr+1:LDA#0:STAdat:LDA#9:STAdat+1:JSRprint
  830LDX#gul2 MOD256:LDY#gul2 DIV256:LDA#7:JSR&FFF1:LDAacorns:BNEntcy:LDA#&E0:STAdead:.ntcy RTS
  840.tlen EQUB0:.score EQUW0:.vist EQUW0:.sccol EQUB1
  850.insc SED:LDAscore:CLC:ADC#2:STAscore:LDAscore+1:ADC#0:STAscore+1:CLD:RTS
  860.psc LDA#17:JSR&FFEE:LDAsccol:JSR&FFEE:LDA#31:JSR&FFEE:LDA#1:JSR&FFEE:LDA#2:JSR&FFEE:INCsccol:LDAsccol:CMP#4:BNEdigs:LDA#1:STAsccol
  870.digs LDAscore+1:JSRpbyt:LDAscore:JSRpbyt:LDA#48:JMP&FFEE
  880.pbyt TAX:LSRA:LSRA:LSRA:LSRA:JSRpnib:TXA:AND#&F:.pnib CLC:ADC#48:JMP&FFEE
  890.ivist SED:LDAvist:CLC:ADC#1:STAvist:LDAvist+1:ADC#0:STAvist+1:CLD:JMPpvist
  900.dvist SED:LDAvist:SEC:SBC#1:STAvist:LDAvist+1:SBC#0:STAvist+1:CLD
  910.pvist LDA#31:JSR&FFEE:LDA#14:JSR&FFEE:LDA#19:JSR&FFEE:LDA#17:JSR&FFEE:LDA#3:JSR&FFEE:LDAvist+1:JSRpbyt:LDAvist:JMPpbyt
  920.deccals LDY#7:LDA#0:.dclp STA(cals),Y:DEY:BPLdclp:LDAcals:SEC:SBC#8:STAcals:LDAcals+1:SBC#0:STAcals+1
  930LDAcals:CMP#&48:BNEcok:LDAcals+1:CMP#&7C:BNEcok:STAdead:RTS:.cok RTS
  940.inccals LDAcals:CMP#&68:BNEicok:LDAcals+1:CMP#&7D:BEQcok
  950.icok LDAcals:CLC:ADC#8:STAcals:LDAcals+1:ADC#0:STAcals+1:LDY#7:.iclp LDA&A80,Y:STA(cals),Y:DEY:BPLiclp:RTS
  960.caltm EQUB15:.calor DECcaltm:BEQttdc:RTS:.ttdc LDA#15:STAcaltm:JMPdeccals
  970.acorns EQUB0:.actim EQUB0:.accon EQUB0:.acflag EQUB0:.acx EQUB0:.acy EQUB0

� Slippery Sam
� by A.Houghton
� (c) Electron User
(��1,1,50,-50,5,4,4,20,126,0,0,-126,126,126:�3,1,20,-20,1,5,5,100,126,0,0,-126,126,126:�4,1,-20,20,-1,5,5,100,126,0,0,-126,126,126
2	*FX16
<�<&1200�Dn@
F[*K.0*T.|MDEL.10,90|MFORI%=0TO(TOP-PA.)S.4:I%!&E00=I%!PA.:N.|MPA.=&E00|MO.|MRUN|MRUN|F|M
P
�21:*FX21
Z*FX138,0,128
d�
ni�init:�:�5:�23;8202;0;0;0;19,1,4;0;19,3,2;0;17,2:�4,4)"SLIPPERY SAM":�1:�3,7)"by A. Houghton":*FX21
x*�3:�0,20)"Press SPACE to play":���=32
�_lives=3:?score=0:score?1=0:level=1:?acorns=1:�screen:�:�maze:�main:�?dead=&E0 �bonus ��dead
�O�lives=0:�d(100):�window(4,16,7,15):�3:�4,15)"GAME"�4,16)"OVER":�d(200):��
�d��dead:lives=lives-1:!dat=&A00:�N%=150�100�-10:�1,4,N%,5:?scr=&20:scr?1=&6B:�!dat>&A60 !dat=&A00
��print:�d(25):�:�
�j��bonus:�d(20):�N%=100�200�10:�1,1,N%,3:�:�:�&10,0,0,0:�deccals:�insc:�psc:�0,-15,4,1:�d(2):�?dead=&7C
�M�?vist>0�:�&10,0,0,0:�dvist:�insc:�psc:�0,-15,4,1:�d(2):�?vist=0�vist?1=0
�_�n%=1�5*level:�&10,0,0,0:�insc:�psc:�0,-15,4,1:�d(2):�:level=level+1:�lives<7 lives=lives+1
�1?acorns=(level+1)�2:�?acorns>9 ?acorns=9:� ��
���d(D%):�=0:���>D%:�
�h��maze:sheet=(level-1)�6:�(380+10*sheet):�N%=0�63�8:�A$:�M%=0�7:M%?(mazdat+N%)=�("&"+�A$,M%+1,1)):�,
��mazgen:�N%=1�20+level
�:A%=�(1024)-1:�A%?maze=0�A%?maze=&20 A%?maze=&60 ��dp@
�:A%=�(1024)-1:�A%?maze=0�A%?maze=&20 A%?maze=&80 ��dz@
A �:�13,2)�6�1,29)�18:�31,16,9,31,8,10,32,31,16,13,32,8,10,32
z?samx=14:?samy=13:?hdpt=2:?tailpt=0:!tail=maze+&1AE:?tlen=0:?vist=0:vist?!=0:?dead=0:�sheet=4 ?samdir=&40 �?samdir=&20
^�window:!cals=&7C48:?caltm=15:�N%=1�30:�inccals:�:?accon=150-10*level:�?accon<50 ?accon=50
"i?actim=?accon:?acflag=0:�3:�15,6);?acorns:�pvist:?mocon=15-level �2:�?mocon<1 ?mocon=1:?motim=?mocon
,Q�psc:�3:�9,2);level:�lives>1�N%=1�lives-1:!scr=&5B40+16*N%:!dat=&A90:�livp:�
6�
@���screen:�:�dither:�window(1,2,5,1):�window(7,2,11,1):�window(13,2,18,2):�window(13,6,18,5):�window(16,10,16,9):�window(16,14,16,13)
J��window(1,26,11,5):�window(1,29,18,28):�window(14,19,17,18):�1:�1,1)"SCORE"�7,1)"LEVEL"�13,5)"ACORNS"�6,28)"CALORIES"�14,18)"TAIL":�
TX��window(l%,b%,r%,t%):le%=(l%-1)*64:bo%=(31-b%)*32-1:ri%=(ri%+1)*64:to%=(33-t%)*32-1
^l�5:�0,2:�le%,to%:�224:�N%=le%+64�ri%-64�64:�225:�:�226:�N%=to%-32�bo%+32�-32:�le%,N%:�227:�ri%,N%:�228:�
h]�le%,bo%:�229:�N%=le%+64�ri%-64�64:�230:�:�231:�24,le%+56;bo%;ri%;to%-28;18;128,16,26,4:�
r� Maze Data
|L�11000011,110800B1,00051000,08676921,0015F521,000C6D21,1A011111,11033300
�L�00000069,06669005,0866D005,0C666905,00866D05,50C66905,50000005,C666666D
�L�F0002030,08691903,01050530,08676D03,05050130,0C1C6D03,0030F0F0,F00F0F0E
�L�00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000
�L�76666669,76666695,76666955,76669555,76695555,76955555,79555555,77777777
�L�00666600,25000000,27676705,25050505,27676705,25050500,27676760,B3333330
�&ݤhinib(U$):B%=�("&"+U$):=(B%�4)�3
�"ݤlonib(U$):B%=�("&"+U$):=B%�3
�)��init:�-256=1timer=&29F �timer=&2A0
ֈ�23,224,0,0,0,0,0,3,7,6,23,225,0,0,0,0,0,255,255,0,23,226,0,0,0,0,0,192,224,96,23,227,6,6,6,6,6,6,6,6,23,228,96,96,96,96,96,96,96,96
�R�23,229,6,7,3,0,0,0,0,0,23,230,0,255,255,0,0,0,0,0,23,231,96,224,192,0,0,0,0,0
�9��T^E:�N%=&900�&A9F�4:�A$:!N%=�("&"+A$):�:�tokdat 256
�o��dlD:�N%=0�255�16:�A$:�M%=0�15�2:U$=�A$,M%�2+1,1):tokdat?(N%+M%)=�hinib(U$):tokdat?(N%+M%+1)=�lonib(U$):�,
�tscr=&70:dat=&72:cal=&74:mazpt=cal:cals=&7E:�Q%2000,maze 1030,shadow 1030,mazdat 64,tail 256:�P=0�2�2:P%=Q%:[OPTP
g.gul1 EQUW&11:EQUW1:EQUW70:EQUW5:.gul2 EQUW&11:EQUW1:EQUW30:EQUW8:.muso EQUW&11:EQUW2:EQUW100:EQUW7
D.acso EQUW2:EQUW3:EQUW50:EQUW10:.moso EQUW2:EQUW4:EQUW100:EQUW10
`.dither LDA#0:STAscr:LDA#&58:STAscr+1:LDY#0:.dilp LDA#5:STA(scr),Y:INY:LDA#10:STA(scr),Y:DEY
&?LDAscr:CLC:ADC#2:STAscr:LDAscr+1:ADC#0:STAscr+1:BPLdilp:RTS
0H.print LDX#2:.prlp1 LDY#15:.prlp2 LDA(dat),Y:STA(scr),Y:DEY:BPLprlp2
:_LDAscr:CLC:ADC#&40:STAscr:LDAscr+1:ADC#1:STAscr+1:LDAdat:CLC:ADC#16:STAdat:DEX:BNEprlp1:RTS
D<.livp LDY#15:.lvpl LDA(dat),Y:STA(scr),Y:DEY:BPLlvpl:RTS
N�.calc LDA#0:STAcal+1:TYA:LDY#5:.rolp ASLA:ROLcal+1:DEY:BNErolp:STAcal:TXA:CLC:ADCcal:STAcal:LDAcal+1:ADC#0:STAcal+1:LDAcal:CLC:ADC#maze �256:STAcal:LDAcal+1:ADC#maze �256:STAcal+1:RTS
X\.window LDA#19:JSR&FFF4:LDAsamx:SEC:SBC#5:STAmazex:LDA#&50:STAwindad:LDA#&5E:STAwindad+1
blLDA#11:STAwncnx:.winxlp LDA#11:STAwncny:LDAwindad:STAscr:LDAwindad+1:STAscr+1:LDAsamy:SEC:SBC#5:STAmazey
l].winylp LDA#9:STAdat+1:LDAmazex:CMP#32:BCCchkylm:.block LDA#&40:STAdat:JSRprint:JMPnxtblk
v�.chkylm LDAmazey:CMP#32:BCCchksam:JMPblock:.chksam LDAwncnx:CMP#6:BNEprwom:LDAwncny:CMP#6:BNEprwom:LDAsamdir:STAdat:LDA#&A:STAdat+1:JSRprint:JMPnxtblk
�E.prwom LDXmazex:LDYmazey:JSRcalc:LDY#0:LDA(cal),Y:STAdat:JSRprint
��.nxtblk INCmazey:DECwncny:BNEwinYlp:LDAwindad:CLC:ADC#16:STAwindad:LDAwindad+1:ADC#0:STAwindad+1:INCmazex:DECwncnx:BNEwinXlp:RTS:.winYlp JMPwinylp:.winXlp:JMPwinxlp
�E.mazex EQUB0:.mazey EQUB0:.wncnx EQUB0:.wncny EQUB0:.windad EQUW0
�5.samx EQUB0:.samy EQUB0:.samdir EQUB0:.dead EQUB0
�;.mvsam LDXsamx:LDYsamy:JSRcalc:LDY#0:LDA#&C0:STA(cal),Y
�ILDA#&81:LDX#&9E:LDY#&FF:JSR&FFF4:TYA:BEQntlft:LDA#0:STAsamdir:JMPmove
�Q.ntlft LDA#&81:LDX#&BD:LDY#&FF:JSR&FFF4:TYA:BEQntrt:LDA#&20:STAsamdir:JMPmove
�P.ntrt LDA#&81:LDX#&B7:LDY#&FF:JSR&FFF4:TYA:BEQntup:LDA#&40:STAsamdir:JMPmove
�H.ntup LDA#&81:LDX#&97:LDY#&FF:JSR&FFF4:TYA:BEQmove:LDA#&60:STAsamdir
�|.move LDAsamdir:BNEntl:DECsamx:JMPchk:.ntl CMP#&20:BNEntr:INCsamx:JMPchk:.ntr CMP#&40:BNEntu:DECsamy:JMPchk:.ntu INCsamy
�4.chk LDAsamx:CMP#32:BCShit:LDAsamy:CMP#32:BCShit
�YLDXsamx:LDYsamy:JSRcalc:LDXhdpt:LDAcal:STAtail,X:LDAcal+1:STAtail+1,X:INX:INX:STXhdpt
�RLDY#0:LDA(cal),Y:CMP#&C0:BEQhit:CMP#&40:BEQhit:CMP#&A0:BEQhit:CMP#&E0:BEQgtacn
�CMP#&80:BEQmush:CMP#&60:BNEdeldail:JSRinsc:JSRpsc:JSRinccals:LDAtlen:CMP#254:BCSdeltail:INCtlen:LDX#gul1 �256:LDY#gul1 �256:LDA#7:JSR&FFF1:JMPivist
y.mush LDX#muso �256:LDY#muso �256:LDA#7:JSR&FFF1:JSRdeccals:LDAtlen:BEQdeltail:DECtlen:JSRdeltail:JSRdeltail:JMPdvist
.hit LDA#&FF:STAdead:RTS
 .hdpt EQUB0:.tailpt EQUB0:.deltail LDXtailpt:LDAtail,X:STA&90:LDAtail+1,X:STA&91:LDA#0:TAY:STA(&90),Y:INX:INX:STXtailpt:RTS
*�.gtacn JSRinsc:JSRinsc:DECacorns:LDA#31:JSR&FFEE:LDA#15:JSR&FFEE:LDA#6:JSR&FFEE:LDA#17:JSR&FFEE:LDA#3:JSR&FFEE:LDAacorns:CLC:ADC#48:JSR&FFEE
4jLDA#0:STAacflag:LDAaccon:STAactim:LDA#&40:STAscr:LDA#&64:STAscr+1:LDA#0:STAdat:LDA#9:STAdat+1:JSRprint
>ZLDX#gul2 �256:LDY#gul2 �256:LDA#7:JSR&FFF1:LDAacorns:BNEntcy:LDA#&E0:STAdead:.ntcy RTS
H5.tlen EQUB0:.score EQUW0:.vist EQUW0:.sccol EQUB1
RM.insc SED:LDAscore:CLC:ADC#2:STAscore:LDAscore+1:ADC#0:STAscore+1:CLD:RTS
\�.psc LDA#17:JSR&FFEE:LDAsccol:JSR&FFEE:LDA#31:JSR&FFEE:LDA#1:JSR&FFEE:LDA#2:JSR&FFEE:INCsccol:LDAsccol:CMP#4:BNEdigs:LDA#1:STAsccol
f=.digs LDAscore+1:JSRpbyt:LDAscore:JSRpbyt:LDA#48:JMP&FFEE
pL.pbyt TAX:LSRA:LSRA:LSRA:LSRA:JSRpnib:TXA:�#&F:.pnib CLC:ADC#48:JMP&FFEE
zO.ivist SED:LDAvist:CLC:ADC#1:STAvist:LDAvist+1:ADC#0:STAvist+1:CLD:JMPpvist
�F.dvist SED:LDAvist:SEC:SBC#1:STAvist:LDAvist+1:SBC#0:STAvist+1:CLD
�{.pvist LDA#31:JSR&FFEE:LDA#14:JSR&FFEE:LDA#19:JSR&FFEE:LDA#17:JSR&FFEE:LDA#3:JSR&FFEE:LDAvist+1:JSRpbyt:LDAvist:JMPpbyt
�j.deccals LDY#7:LDA#0:.dclp STA(cals),Y:DEY:BPLdclp:LDAcals:SEC:SBC#8:STAcals:LDAcals+1:SBC#0:STAcals+1
�HLDAcals:CMP#&48:BNEcok:LDAcals+1:CMP#&7C:BNEcok:STAdead:RTS:.cok RTS
�=.inccals LDAcals:CMP#&68:BNEicok:LDAcals+1:CMP#&7D:BEQcok
�o.icok LDAcals:CLC:ADC#8:STAcals:LDAcals+1:ADC#0:STAcals+1:LDY#7:.iclp LDA&A80,Y:STA(cals),Y:DEY:BPLiclp:RTS
�N.caltm EQUB15:.calor DECcaltm:BEQttdc:RTS:.ttdc LDA#15:STAcaltm:JMPdeccals
�O.acorns EQUB0:.actim EQUB0:.accon EQUB0:.acflag EQUB0:.acx EQUB0:.acy EQUB0
�
00000000  0d 00 0a 12 f4 20 53 6c  69 70 70 65 72 79 20 53  |..... Slippery S|
00000010  61 6d 0d 00 14 13 f4 20  62 79 20 41 2e 48 6f 75  |am..... by A.Hou|
00000020  67 68 74 6f 6e 0d 00 1e  17 f4 20 28 63 29 20 45  |ghton..... (c) E|
00000030  6c 65 63 74 72 6f 6e 20  55 73 65 72 0d 00 28 84  |lectron User..(.|
00000040  e2 31 2c 31 2c 35 30 2c  2d 35 30 2c 35 2c 34 2c  |.1,1,50,-50,5,4,|
00000050  34 2c 32 30 2c 31 32 36  2c 30 2c 30 2c 2d 31 32  |4,20,126,0,0,-12|
00000060  36 2c 31 32 36 2c 31 32  36 3a e2 33 2c 31 2c 32  |6,126,126:.3,1,2|
00000070  30 2c 2d 32 30 2c 31 2c  35 2c 35 2c 31 30 30 2c  |0,-20,1,5,5,100,|
00000080  31 32 36 2c 30 2c 30 2c  2d 31 32 36 2c 31 32 36  |126,0,0,-126,126|
00000090  2c 31 32 36 3a e2 34 2c  31 2c 2d 32 30 2c 32 30  |,126:.4,1,-20,20|
000000a0  2c 2d 31 2c 35 2c 35 2c  31 30 30 2c 31 32 36 2c  |,-1,5,5,100,126,|
000000b0  30 2c 30 2c 2d 31 32 36  2c 31 32 36 2c 31 32 36  |0,0,-126,126,126|
000000c0  0d 00 32 09 2a 46 58 31  36 0d 00 3c 11 e7 90 3c  |..2.*FX16..<...<|
000000d0  26 31 32 30 30 e5 8d 44  6e 40 0d 00 46 5b 2a 4b  |&1200..Dn@..F[*K|
000000e0  2e 30 2a 54 2e 7c 4d 44  45 4c 2e 31 30 2c 39 30  |.0*T.|MDEL.10,90|
000000f0  7c 4d 46 4f 52 49 25 3d  30 54 4f 28 54 4f 50 2d  ||MFORI%=0TO(TOP-|
00000100  50 41 2e 29 53 2e 34 3a  49 25 21 26 45 30 30 3d  |PA.)S.4:I%!&E00=|
00000110  49 25 21 50 41 2e 3a 4e  2e 7c 4d 50 41 2e 3d 26  |I%!PA.:N.|MPA.=&|
00000120  45 30 30 7c 4d 4f 2e 7c  4d 52 55 4e 7c 4d 52 55  |E00|MO.|MRUN|MRU|
00000130  4e 7c 46 7c 4d 0d 00 50  0d ef 32 31 3a 2a 46 58  |N|F|M..P..21:*FX|
00000140  32 31 0d 00 5a 10 2a 46  58 31 33 38 2c 30 2c 31  |21..Z.*FX138,0,1|
00000150  32 38 0d 00 64 05 e0 0d  00 6e 69 f2 69 6e 69 74  |28..d....ni.init|
00000160  3a f5 3a eb 35 3a ef 32  33 3b 38 32 30 32 3b 30  |:.:.5:.23;8202;0|
00000170  3b 30 3b 30 3b 31 39 2c  31 2c 34 3b 30 3b 31 39  |;0;0;19,1,4;0;19|
00000180  2c 33 2c 32 3b 30 3b 31  37 2c 32 3a f1 8a 34 2c  |,3,2;0;17,2:..4,|
00000190  34 29 22 53 4c 49 50 50  45 52 59 20 53 41 4d 22  |4)"SLIPPERY SAM"|
000001a0  3a fb 31 3a f1 8a 33 2c  37 29 22 62 79 20 41 2e  |:.1:..3,7)"by A.|
000001b0  20 48 6f 75 67 68 74 6f  6e 22 3a 2a 46 58 32 31  | Houghton":*FX21|
000001c0  0d 00 78 2a fb 33 3a f1  8a 30 2c 32 30 29 22 50  |..x*.3:..0,20)"P|
000001d0  72 65 73 73 20 53 50 41  43 45 20 74 6f 20 70 6c  |ress SPACE to pl|
000001e0  61 79 22 3a f5 fd a5 3d  33 32 0d 00 82 5f 6c 69  |ay":...=32..._li|
000001f0  76 65 73 3d 33 3a 3f 73  63 6f 72 65 3d 30 3a 73  |ves=3:?score=0:s|
00000200  63 6f 72 65 3f 31 3d 30  3a 6c 65 76 65 6c 3d 31  |core?1=0:level=1|
00000210  3a 3f 61 63 6f 72 6e 73  3d 31 3a f2 73 63 72 65  |:?acorns=1:.scre|
00000220  65 6e 3a f5 3a f2 6d 61  7a 65 3a d6 6d 61 69 6e  |en:.:.maze:.main|
00000230  3a e7 3f 64 65 61 64 3d  26 45 30 20 f2 62 6f 6e  |:.?dead=&E0 .bon|
00000240  75 73 20 8b f2 64 65 61  64 0d 00 8c 4f fd 6c 69  |us ..dead...O.li|
00000250  76 65 73 3d 30 3a f2 64  28 31 30 30 29 3a f2 77  |ves=0:.d(100):.w|
00000260  69 6e 64 6f 77 28 34 2c  31 36 2c 37 2c 31 35 29  |indow(4,16,7,15)|
00000270  3a fb 33 3a f1 8a 34 2c  31 35 29 22 47 41 4d 45  |:.3:..4,15)"GAME|
00000280  22 8a 34 2c 31 36 29 22  4f 56 45 52 22 3a f2 64  |".4,16)"OVER":.d|
00000290  28 32 30 30 29 3a fd a3  0d 00 96 64 dd f2 64 65  |(200):.....d..de|
000002a0  61 64 3a 6c 69 76 65 73  3d 6c 69 76 65 73 2d 31  |ad:lives=lives-1|
000002b0  3a 21 64 61 74 3d 26 41  30 30 3a e3 4e 25 3d 31  |:!dat=&A00:.N%=1|
000002c0  35 30 b8 31 30 30 88 2d  31 30 3a d4 31 2c 34 2c  |50.100.-10:.1,4,|
000002d0  4e 25 2c 35 3a 3f 73 63  72 3d 26 32 30 3a 73 63  |N%,5:?scr=&20:sc|
000002e0  72 3f 31 3d 26 36 42 3a  e7 21 64 61 74 3e 26 41  |r?1=&6B:.!dat>&A|
000002f0  36 30 20 21 64 61 74 3d  26 41 30 30 0d 00 a0 15  |60 !dat=&A00....|
00000300  d6 70 72 69 6e 74 3a f2  64 28 32 35 29 3a ed 3a  |.print:.d(25):.:|
00000310  e1 0d 00 aa 6a dd f2 62  6f 6e 75 73 3a f2 64 28  |....j..bonus:.d(|
00000320  32 30 29 3a e3 4e 25 3d  31 30 30 b8 32 30 30 88  |20):.N%=100.200.|
00000330  31 30 3a d4 31 2c 31 2c  4e 25 2c 33 3a ed 3a f5  |10:.1,1,N%,3:.:.|
00000340  3a d4 26 31 30 2c 30 2c  30 2c 30 3a d6 64 65 63  |:.&10,0,0,0:.dec|
00000350  63 61 6c 73 3a d6 69 6e  73 63 3a d6 70 73 63 3a  |cals:.insc:.psc:|
00000360  d4 30 2c 2d 31 35 2c 34  2c 31 3a f2 64 28 32 29  |.0,-15,4,1:.d(2)|
00000370  3a fd 3f 64 65 61 64 3d  26 37 43 0d 00 b4 4d e7  |:.?dead=&7C...M.|
00000380  3f 76 69 73 74 3e 30 f5  3a d4 26 31 30 2c 30 2c  |?vist>0.:.&10,0,|
00000390  30 2c 30 3a d6 64 76 69  73 74 3a d6 69 6e 73 63  |0,0:.dvist:.insc|
000003a0  3a d6 70 73 63 3a d4 30  2c 2d 31 35 2c 34 2c 31  |:.psc:.0,-15,4,1|
000003b0  3a f2 64 28 32 29 3a fd  3f 76 69 73 74 3d 30 80  |:.d(2):.?vist=0.|
000003c0  76 69 73 74 3f 31 3d 30  0d 00 be 5f e3 6e 25 3d  |vist?1=0..._.n%=|
000003d0  31 b8 35 2a 6c 65 76 65  6c 3a d4 26 31 30 2c 30  |1.5*level:.&10,0|
000003e0  2c 30 2c 30 3a d6 69 6e  73 63 3a d6 70 73 63 3a  |,0,0:.insc:.psc:|
000003f0  d4 30 2c 2d 31 35 2c 34  2c 31 3a f2 64 28 32 29  |.0,-15,4,1:.d(2)|
00000400  3a ed 3a 6c 65 76 65 6c  3d 6c 65 76 65 6c 2b 31  |:.:level=level+1|
00000410  3a e7 6c 69 76 65 73 3c  37 20 6c 69 76 65 73 3d  |:.lives<7 lives=|
00000420  6c 69 76 65 73 2b 31 0d  00 c8 31 3f 61 63 6f 72  |lives+1...1?acor|
00000430  6e 73 3d 28 6c 65 76 65  6c 2b 31 29 81 32 3a e7  |ns=(level+1).2:.|
00000440  3f 61 63 6f 72 6e 73 3e  39 20 3f 61 63 6f 72 6e  |?acorns>9 ?acorn|
00000450  73 3d 39 3a e1 20 8b e1  0d 00 d2 18 dd f2 64 28  |s=9:. ........d(|
00000460  44 25 29 3a d1 3d 30 3a  f5 fd 91 3e 44 25 3a e1  |D%):.=0:...>D%:.|
00000470  0d 00 dc 68 dd f2 6d 61  7a 65 3a 73 68 65 65 74  |...h..maze:sheet|
00000480  3d 28 6c 65 76 65 6c 2d  31 29 83 36 3a f7 28 33  |=(level-1).6:.(3|
00000490  38 30 2b 31 30 2a 73 68  65 65 74 29 3a e3 4e 25  |80+10*sheet):.N%|
000004a0  3d 30 b8 36 33 88 38 3a  f3 41 24 3a e3 4d 25 3d  |=0.63.8:.A$:.M%=|
000004b0  30 b8 37 3a 4d 25 3f 28  6d 61 7a 64 61 74 2b 4e  |0.7:M%?(mazdat+N|
000004c0  25 29 3d a0 28 22 26 22  2b c1 41 24 2c 4d 25 2b  |%)=.("&"+.A$,M%+|
000004d0  31 2c 31 29 29 3a ed 2c  0d 00 e6 1a d6 6d 61 7a  |1,1)):.,.....maz|
000004e0  67 65 6e 3a e3 4e 25 3d  31 b8 32 30 2b 6c 65 76  |gen:.N%=1.20+lev|
000004f0  65 6c 0d 00 f0 3a 41 25  3d b3 28 31 30 32 34 29  |el...:A%=.(1024)|
00000500  2d 31 3a e7 41 25 3f 6d  61 7a 65 3d 30 84 41 25  |-1:.A%?maze=0.A%|
00000510  3f 6d 61 7a 65 3d 26 32  30 20 41 25 3f 6d 61 7a  |?maze=&20 A%?maz|
00000520  65 3d 26 36 30 20 8b e5  8d 64 70 40 0d 00 fa 3a  |e=&60 ...dp@...:|
00000530  41 25 3d b3 28 31 30 32  34 29 2d 31 3a e7 41 25  |A%=.(1024)-1:.A%|
00000540  3f 6d 61 7a 65 3d 30 84  41 25 3f 6d 61 7a 65 3d  |?maze=0.A%?maze=|
00000550  26 32 30 20 41 25 3f 6d  61 7a 65 3d 26 38 30 20  |&20 A%?maze=&80 |
00000560  8b e5 8d 64 7a 40 0d 01  04 41 20 ed 3a f1 8a 31  |...dz@...A .:..1|
00000570  33 2c 32 29 89 36 8a 31  2c 32 39 29 89 31 38 3a  |3,2).6.1,29).18:|
00000580  ef 33 31 2c 31 36 2c 39  2c 33 31 2c 38 2c 31 30  |.31,16,9,31,8,10|
00000590  2c 33 32 2c 33 31 2c 31  36 2c 31 33 2c 33 32 2c  |,32,31,16,13,32,|
000005a0  38 2c 31 30 2c 33 32 0d  01 0e 7a 3f 73 61 6d 78  |8,10,32...z?samx|
000005b0  3d 31 34 3a 3f 73 61 6d  79 3d 31 33 3a 3f 68 64  |=14:?samy=13:?hd|
000005c0  70 74 3d 32 3a 3f 74 61  69 6c 70 74 3d 30 3a 21  |pt=2:?tailpt=0:!|
000005d0  74 61 69 6c 3d 6d 61 7a  65 2b 26 31 41 45 3a 3f  |tail=maze+&1AE:?|
000005e0  74 6c 65 6e 3d 30 3a 3f  76 69 73 74 3d 30 3a 76  |tlen=0:?vist=0:v|
000005f0  69 73 74 3f 21 3d 30 3a  3f 64 65 61 64 3d 30 3a  |ist?!=0:?dead=0:|
00000600  e7 73 68 65 65 74 3d 34  20 3f 73 61 6d 64 69 72  |.sheet=4 ?samdir|
00000610  3d 26 34 30 20 8b 3f 73  61 6d 64 69 72 3d 26 32  |=&40 .?samdir=&2|
00000620  30 0d 01 18 5e d6 77 69  6e 64 6f 77 3a 21 63 61  |0...^.window:!ca|
00000630  6c 73 3d 26 37 43 34 38  3a 3f 63 61 6c 74 6d 3d  |ls=&7C48:?caltm=|
00000640  31 35 3a e3 4e 25 3d 31  b8 33 30 3a d6 69 6e 63  |15:.N%=1.30:.inc|
00000650  63 61 6c 73 3a ed 3a 3f  61 63 63 6f 6e 3d 31 35  |cals:.:?accon=15|
00000660  30 2d 31 30 2a 6c 65 76  65 6c 3a e7 3f 61 63 63  |0-10*level:.?acc|
00000670  6f 6e 3c 35 30 20 3f 61  63 63 6f 6e 3d 35 30 0d  |on<50 ?accon=50.|
00000680  01 22 69 3f 61 63 74 69  6d 3d 3f 61 63 63 6f 6e  |."i?actim=?accon|
00000690  3a 3f 61 63 66 6c 61 67  3d 30 3a fb 33 3a f1 8a  |:?acflag=0:.3:..|
000006a0  31 35 2c 36 29 3b 3f 61  63 6f 72 6e 73 3a d6 70  |15,6);?acorns:.p|
000006b0  76 69 73 74 3a 3f 6d 6f  63 6f 6e 3d 31 35 2d 6c  |vist:?mocon=15-l|
000006c0  65 76 65 6c 20 81 32 3a  e7 3f 6d 6f 63 6f 6e 3c  |evel .2:.?mocon<|
000006d0  31 20 3f 6d 6f 63 6f 6e  3d 31 3a 3f 6d 6f 74 69  |1 ?mocon=1:?moti|
000006e0  6d 3d 3f 6d 6f 63 6f 6e  0d 01 2c 51 d6 70 73 63  |m=?mocon..,Q.psc|
000006f0  3a fb 33 3a f1 8a 39 2c  32 29 3b 6c 65 76 65 6c  |:.3:..9,2);level|
00000700  3a e7 6c 69 76 65 73 3e  31 e3 4e 25 3d 31 b8 6c  |:.lives>1.N%=1.l|
00000710  69 76 65 73 2d 31 3a 21  73 63 72 3d 26 35 42 34  |ives-1:!scr=&5B4|
00000720  30 2b 31 36 2a 4e 25 3a  21 64 61 74 3d 26 41 39  |0+16*N%:!dat=&A9|
00000730  30 3a d6 6c 69 76 70 3a  ed 0d 01 36 05 e1 0d 01  |0:.livp:...6....|
00000740  40 88 dd f2 73 63 72 65  65 6e 3a db 3a d6 64 69  |@...screen:.:.di|
00000750  74 68 65 72 3a f2 77 69  6e 64 6f 77 28 31 2c 32  |ther:.window(1,2|
00000760  2c 35 2c 31 29 3a f2 77  69 6e 64 6f 77 28 37 2c  |,5,1):.window(7,|
00000770  32 2c 31 31 2c 31 29 3a  f2 77 69 6e 64 6f 77 28  |2,11,1):.window(|
00000780  31 33 2c 32 2c 31 38 2c  32 29 3a f2 77 69 6e 64  |13,2,18,2):.wind|
00000790  6f 77 28 31 33 2c 36 2c  31 38 2c 35 29 3a f2 77  |ow(13,6,18,5):.w|
000007a0  69 6e 64 6f 77 28 31 36  2c 31 30 2c 31 36 2c 39  |indow(16,10,16,9|
000007b0  29 3a f2 77 69 6e 64 6f  77 28 31 36 2c 31 34 2c  |):.window(16,14,|
000007c0  31 36 2c 31 33 29 0d 01  4a 89 f2 77 69 6e 64 6f  |16,13)..J..windo|
000007d0  77 28 31 2c 32 36 2c 31  31 2c 35 29 3a f2 77 69  |w(1,26,11,5):.wi|
000007e0  6e 64 6f 77 28 31 2c 32  39 2c 31 38 2c 32 38 29  |ndow(1,29,18,28)|
000007f0  3a f2 77 69 6e 64 6f 77  28 31 34 2c 31 39 2c 31  |:.window(14,19,1|
00000800  37 2c 31 38 29 3a fb 31  3a f1 8a 31 2c 31 29 22  |7,18):.1:..1,1)"|
00000810  53 43 4f 52 45 22 8a 37  2c 31 29 22 4c 45 56 45  |SCORE".7,1)"LEVE|
00000820  4c 22 8a 31 33 2c 35 29  22 41 43 4f 52 4e 53 22  |L".13,5)"ACORNS"|
00000830  8a 36 2c 32 38 29 22 43  41 4c 4f 52 49 45 53 22  |.6,28)"CALORIES"|
00000840  8a 31 34 2c 31 38 29 22  54 41 49 4c 22 3a e1 0d  |.14,18)"TAIL":..|
00000850  01 54 58 dd f2 77 69 6e  64 6f 77 28 6c 25 2c 62  |.TX..window(l%,b|
00000860  25 2c 72 25 2c 74 25 29  3a 6c 65 25 3d 28 6c 25  |%,r%,t%):le%=(l%|
00000870  2d 31 29 2a 36 34 3a 62  6f 25 3d 28 33 31 2d 62  |-1)*64:bo%=(31-b|
00000880  25 29 2a 33 32 2d 31 3a  72 69 25 3d 28 72 69 25  |%)*32-1:ri%=(ri%|
00000890  2b 31 29 2a 36 34 3a 74  6f 25 3d 28 33 33 2d 74  |+1)*64:to%=(33-t|
000008a0  25 29 2a 33 32 2d 31 0d  01 5e 6c ef 35 3a e6 30  |%)*32-1..^l.5:.0|
000008b0  2c 32 3a ec 6c 65 25 2c  74 6f 25 3a ef 32 32 34  |,2:.le%,to%:.224|
000008c0  3a e3 4e 25 3d 6c 65 25  2b 36 34 b8 72 69 25 2d  |:.N%=le%+64.ri%-|
000008d0  36 34 88 36 34 3a ef 32  32 35 3a ed 3a ef 32 32  |64.64:.225:.:.22|
000008e0  36 3a e3 4e 25 3d 74 6f  25 2d 33 32 b8 62 6f 25  |6:.N%=to%-32.bo%|
000008f0  2b 33 32 88 2d 33 32 3a  ec 6c 65 25 2c 4e 25 3a  |+32.-32:.le%,N%:|
00000900  ef 32 32 37 3a ec 72 69  25 2c 4e 25 3a ef 32 32  |.227:.ri%,N%:.22|
00000910  38 3a ed 0d 01 68 5d ec  6c 65 25 2c 62 6f 25 3a  |8:...h].le%,bo%:|
00000920  ef 32 32 39 3a e3 4e 25  3d 6c 65 25 2b 36 34 b8  |.229:.N%=le%+64.|
00000930  72 69 25 2d 36 34 88 36  34 3a ef 32 33 30 3a ed  |ri%-64.64:.230:.|
00000940  3a ef 32 33 31 3a ef 32  34 2c 6c 65 25 2b 35 36  |:.231:.24,le%+56|
00000950  3b 62 6f 25 3b 72 69 25  3b 74 6f 25 2d 32 38 3b  |;bo%;ri%;to%-28;|
00000960  31 38 3b 31 32 38 2c 31  36 2c 32 36 2c 34 3a e1  |18;128,16,26,4:.|
00000970  0d 01 72 0f f4 20 4d 61  7a 65 20 44 61 74 61 0d  |..r.. Maze Data.|
00000980  01 7c 4c dc 31 31 30 30  30 30 31 31 2c 31 31 30  |.|L.11000011,110|
00000990  38 30 30 42 31 2c 30 30  30 35 31 30 30 30 2c 30  |800B1,00051000,0|
000009a0  38 36 37 36 39 32 31 2c  30 30 31 35 46 35 32 31  |8676921,0015F521|
000009b0  2c 30 30 30 43 36 44 32  31 2c 31 41 30 31 31 31  |,000C6D21,1A0111|
000009c0  31 31 2c 31 31 30 33 33  33 30 30 0d 01 86 4c dc  |11,11033300...L.|
000009d0  30 30 30 30 30 30 36 39  2c 30 36 36 36 39 30 30  |00000069,0666900|
000009e0  35 2c 30 38 36 36 44 30  30 35 2c 30 43 36 36 36  |5,0866D005,0C666|
000009f0  39 30 35 2c 30 30 38 36  36 44 30 35 2c 35 30 43  |905,00866D05,50C|
00000a00  36 36 39 30 35 2c 35 30  30 30 30 30 30 35 2c 43  |66905,50000005,C|
00000a10  36 36 36 36 36 36 44 0d  01 90 4c dc 46 30 30 30  |666666D...L.F000|
00000a20  32 30 33 30 2c 30 38 36  39 31 39 30 33 2c 30 31  |2030,08691903,01|
00000a30  30 35 30 35 33 30 2c 30  38 36 37 36 44 30 33 2c  |050530,08676D03,|
00000a40  30 35 30 35 30 31 33 30  2c 30 43 31 43 36 44 30  |05050130,0C1C6D0|
00000a50  33 2c 30 30 33 30 46 30  46 30 2c 46 30 30 46 30  |3,0030F0F0,F00F0|
00000a60  46 30 45 0d 01 9a 4c dc  30 30 30 30 30 30 30 30  |F0E...L.00000000|
00000a70  2c 30 30 30 30 30 30 30  30 2c 30 30 30 30 30 30  |,00000000,000000|
00000a80  30 30 2c 30 30 30 30 30  30 30 30 2c 30 30 30 30  |00,00000000,0000|
00000a90  30 30 30 30 2c 30 30 30  30 30 30 30 30 2c 30 30  |0000,00000000,00|
00000aa0  30 30 30 30 30 30 2c 30  30 30 30 30 30 30 30 0d  |000000,00000000.|
00000ab0  01 a4 4c dc 37 36 36 36  36 36 36 39 2c 37 36 36  |..L.76666669,766|
00000ac0  36 36 36 39 35 2c 37 36  36 36 36 39 35 35 2c 37  |66695,76666955,7|
00000ad0  36 36 36 39 35 35 35 2c  37 36 36 39 35 35 35 35  |6669555,76695555|
00000ae0  2c 37 36 39 35 35 35 35  35 2c 37 39 35 35 35 35  |,76955555,795555|
00000af0  35 35 2c 37 37 37 37 37  37 37 37 0d 01 ae 4c dc  |55,77777777...L.|
00000b00  30 30 36 36 36 36 30 30  2c 32 35 30 30 30 30 30  |00666600,2500000|
00000b10  30 2c 32 37 36 37 36 37  30 35 2c 32 35 30 35 30  |0,27676705,25050|
00000b20  35 30 35 2c 32 37 36 37  36 37 30 35 2c 32 35 30  |505,27676705,250|
00000b30  35 30 35 30 30 2c 32 37  36 37 36 37 36 30 2c 42  |50500,27676760,B|
00000b40  33 33 33 33 33 33 30 0d  01 b8 26 dd a4 68 69 6e  |3333330...&..hin|
00000b50  69 62 28 55 24 29 3a 42  25 3d a0 28 22 26 22 2b  |ib(U$):B%=.("&"+|
00000b60  55 24 29 3a 3d 28 42 25  81 34 29 80 33 0d 01 c2  |U$):=(B%.4).3...|
00000b70  22 dd a4 6c 6f 6e 69 62  28 55 24 29 3a 42 25 3d  |"..lonib(U$):B%=|
00000b80  a0 28 22 26 22 2b 55 24  29 3a 3d 42 25 80 33 0d  |.("&"+U$):=B%.3.|
00000b90  01 cc 29 dd f2 69 6e 69  74 3a e7 a6 2d 32 35 36  |..)..init:..-256|
00000ba0  3d 31 74 69 6d 65 72 3d  26 32 39 46 20 8b 74 69  |=1timer=&29F .ti|
00000bb0  6d 65 72 3d 26 32 41 30  0d 01 d6 88 ef 32 33 2c  |mer=&2A0.....23,|
00000bc0  32 32 34 2c 30 2c 30 2c  30 2c 30 2c 30 2c 33 2c  |224,0,0,0,0,0,3,|
00000bd0  37 2c 36 2c 32 33 2c 32  32 35 2c 30 2c 30 2c 30  |7,6,23,225,0,0,0|
00000be0  2c 30 2c 30 2c 32 35 35  2c 32 35 35 2c 30 2c 32  |,0,0,255,255,0,2|
00000bf0  33 2c 32 32 36 2c 30 2c  30 2c 30 2c 30 2c 30 2c  |3,226,0,0,0,0,0,|
00000c00  31 39 32 2c 32 32 34 2c  39 36 2c 32 33 2c 32 32  |192,224,96,23,22|
00000c10  37 2c 36 2c 36 2c 36 2c  36 2c 36 2c 36 2c 36 2c  |7,6,6,6,6,6,6,6,|
00000c20  36 2c 32 33 2c 32 32 38  2c 39 36 2c 39 36 2c 39  |6,23,228,96,96,9|
00000c30  36 2c 39 36 2c 39 36 2c  39 36 2c 39 36 2c 39 36  |6,96,96,96,96,96|
00000c40  0d 01 e0 52 ef 32 33 2c  32 32 39 2c 36 2c 37 2c  |...R.23,229,6,7,|
00000c50  33 2c 30 2c 30 2c 30 2c  30 2c 30 2c 32 33 2c 32  |3,0,0,0,0,0,23,2|
00000c60  33 30 2c 30 2c 32 35 35  2c 32 35 35 2c 30 2c 30  |30,0,255,255,0,0|
00000c70  2c 30 2c 30 2c 30 2c 32  33 2c 32 33 31 2c 39 36  |,0,0,0,23,231,96|
00000c80  2c 32 32 34 2c 31 39 32  2c 30 2c 30 2c 30 2c 30  |,224,192,0,0,0,0|
00000c90  2c 30 0d 01 ea 39 f7 8d  54 5e 45 3a e3 4e 25 3d  |,0...9..T^E:.N%=|
00000ca0  26 39 30 30 b8 26 41 39  46 88 34 3a f3 41 24 3a  |&900.&A9F.4:.A$:|
00000cb0  21 4e 25 3d a0 28 22 26  22 2b 41 24 29 3a ed 3a  |!N%=.("&"+A$):.:|
00000cc0  de 74 6f 6b 64 61 74 20  32 35 36 0d 01 f4 6f f7  |.tokdat 256...o.|
00000cd0  8d 64 6c 44 3a e3 4e 25  3d 30 b8 32 35 35 88 31  |.dlD:.N%=0.255.1|
00000ce0  36 3a f3 41 24 3a e3 4d  25 3d 30 b8 31 35 88 32  |6:.A$:.M%=0.15.2|
00000cf0  3a 55 24 3d c1 41 24 2c  4d 25 81 32 2b 31 2c 31  |:U$=.A$,M%.2+1,1|
00000d00  29 3a 74 6f 6b 64 61 74  3f 28 4e 25 2b 4d 25 29  |):tokdat?(N%+M%)|
00000d10  3d a4 68 69 6e 69 62 28  55 24 29 3a 74 6f 6b 64  |=.hinib(U$):tokd|
00000d20  61 74 3f 28 4e 25 2b 4d  25 2b 31 29 3d a4 6c 6f  |at?(N%+M%+1)=.lo|
00000d30  6e 69 62 28 55 24 29 3a  ed 2c 0d 01 fe 74 73 63  |nib(U$):.,...tsc|
00000d40  72 3d 26 37 30 3a 64 61  74 3d 26 37 32 3a 63 61  |r=&70:dat=&72:ca|
00000d50  6c 3d 26 37 34 3a 6d 61  7a 70 74 3d 63 61 6c 3a  |l=&74:mazpt=cal:|
00000d60  63 61 6c 73 3d 26 37 45  3a de 51 25 32 30 30 30  |cals=&7E:.Q%2000|
00000d70  2c 6d 61 7a 65 20 31 30  33 30 2c 73 68 61 64 6f  |,maze 1030,shado|
00000d80  77 20 31 30 33 30 2c 6d  61 7a 64 61 74 20 36 34  |w 1030,mazdat 64|
00000d90  2c 74 61 69 6c 20 32 35  36 3a e3 50 3d 30 b8 32  |,tail 256:.P=0.2|
00000da0  88 32 3a 50 25 3d 51 25  3a 5b 4f 50 54 50 0d 02  |.2:P%=Q%:[OPTP..|
00000db0  08 67 2e 67 75 6c 31 20  45 51 55 57 26 31 31 3a  |.g.gul1 EQUW&11:|
00000dc0  45 51 55 57 31 3a 45 51  55 57 37 30 3a 45 51 55  |EQUW1:EQUW70:EQU|
00000dd0  57 35 3a 2e 67 75 6c 32  20 45 51 55 57 26 31 31  |W5:.gul2 EQUW&11|
00000de0  3a 45 51 55 57 31 3a 45  51 55 57 33 30 3a 45 51  |:EQUW1:EQUW30:EQ|
00000df0  55 57 38 3a 2e 6d 75 73  6f 20 45 51 55 57 26 31  |UW8:.muso EQUW&1|
00000e00  31 3a 45 51 55 57 32 3a  45 51 55 57 31 30 30 3a  |1:EQUW2:EQUW100:|
00000e10  45 51 55 57 37 0d 02 12  44 2e 61 63 73 6f 20 45  |EQUW7...D.acso E|
00000e20  51 55 57 32 3a 45 51 55  57 33 3a 45 51 55 57 35  |QUW2:EQUW3:EQUW5|
00000e30  30 3a 45 51 55 57 31 30  3a 2e 6d 6f 73 6f 20 45  |0:EQUW10:.moso E|
00000e40  51 55 57 32 3a 45 51 55  57 34 3a 45 51 55 57 31  |QUW2:EQUW4:EQUW1|
00000e50  30 30 3a 45 51 55 57 31  30 0d 02 1c 60 2e 64 69  |00:EQUW10...`.di|
00000e60  74 68 65 72 20 4c 44 41  23 30 3a 53 54 41 73 63  |ther LDA#0:STAsc|
00000e70  72 3a 4c 44 41 23 26 35  38 3a 53 54 41 73 63 72  |r:LDA#&58:STAscr|
00000e80  2b 31 3a 4c 44 59 23 30  3a 2e 64 69 6c 70 20 4c  |+1:LDY#0:.dilp L|
00000e90  44 41 23 35 3a 53 54 41  28 73 63 72 29 2c 59 3a  |DA#5:STA(scr),Y:|
00000ea0  49 4e 59 3a 4c 44 41 23  31 30 3a 53 54 41 28 73  |INY:LDA#10:STA(s|
00000eb0  63 72 29 2c 59 3a 44 45  59 0d 02 26 3f 4c 44 41  |cr),Y:DEY..&?LDA|
00000ec0  73 63 72 3a 43 4c 43 3a  41 44 43 23 32 3a 53 54  |scr:CLC:ADC#2:ST|
00000ed0  41 73 63 72 3a 4c 44 41  73 63 72 2b 31 3a 41 44  |Ascr:LDAscr+1:AD|
00000ee0  43 23 30 3a 53 54 41 73  63 72 2b 31 3a 42 50 4c  |C#0:STAscr+1:BPL|
00000ef0  64 69 6c 70 3a 52 54 53  0d 02 30 48 2e 70 72 69  |dilp:RTS..0H.pri|
00000f00  6e 74 20 4c 44 58 23 32  3a 2e 70 72 6c 70 31 20  |nt LDX#2:.prlp1 |
00000f10  4c 44 59 23 31 35 3a 2e  70 72 6c 70 32 20 4c 44  |LDY#15:.prlp2 LD|
00000f20  41 28 64 61 74 29 2c 59  3a 53 54 41 28 73 63 72  |A(dat),Y:STA(scr|
00000f30  29 2c 59 3a 44 45 59 3a  42 50 4c 70 72 6c 70 32  |),Y:DEY:BPLprlp2|
00000f40  0d 02 3a 5f 4c 44 41 73  63 72 3a 43 4c 43 3a 41  |..:_LDAscr:CLC:A|
00000f50  44 43 23 26 34 30 3a 53  54 41 73 63 72 3a 4c 44  |DC#&40:STAscr:LD|
00000f60  41 73 63 72 2b 31 3a 41  44 43 23 31 3a 53 54 41  |Ascr+1:ADC#1:STA|
00000f70  73 63 72 2b 31 3a 4c 44  41 64 61 74 3a 43 4c 43  |scr+1:LDAdat:CLC|
00000f80  3a 41 44 43 23 31 36 3a  53 54 41 64 61 74 3a 44  |:ADC#16:STAdat:D|
00000f90  45 58 3a 42 4e 45 70 72  6c 70 31 3a 52 54 53 0d  |EX:BNEprlp1:RTS.|
00000fa0  02 44 3c 2e 6c 69 76 70  20 4c 44 59 23 31 35 3a  |.D<.livp LDY#15:|
00000fb0  2e 6c 76 70 6c 20 4c 44  41 28 64 61 74 29 2c 59  |.lvpl LDA(dat),Y|
00000fc0  3a 53 54 41 28 73 63 72  29 2c 59 3a 44 45 59 3a  |:STA(scr),Y:DEY:|
00000fd0  42 50 4c 6c 76 70 6c 3a  52 54 53 0d 02 4e bb 2e  |BPLlvpl:RTS..N..|
00000fe0  63 61 6c 63 20 4c 44 41  23 30 3a 53 54 41 63 61  |calc LDA#0:STAca|
00000ff0  6c 2b 31 3a 54 59 41 3a  4c 44 59 23 35 3a 2e 72  |l+1:TYA:LDY#5:.r|
00001000  6f 6c 70 20 41 53 4c 41  3a 52 4f 4c 63 61 6c 2b  |olp ASLA:ROLcal+|
00001010  31 3a 44 45 59 3a 42 4e  45 72 6f 6c 70 3a 53 54  |1:DEY:BNErolp:ST|
00001020  41 63 61 6c 3a 54 58 41  3a 43 4c 43 3a 41 44 43  |Acal:TXA:CLC:ADC|
00001030  63 61 6c 3a 53 54 41 63  61 6c 3a 4c 44 41 63 61  |cal:STAcal:LDAca|
00001040  6c 2b 31 3a 41 44 43 23  30 3a 53 54 41 63 61 6c  |l+1:ADC#0:STAcal|
00001050  2b 31 3a 4c 44 41 63 61  6c 3a 43 4c 43 3a 41 44  |+1:LDAcal:CLC:AD|
00001060  43 23 6d 61 7a 65 20 83  32 35 36 3a 53 54 41 63  |C#maze .256:STAc|
00001070  61 6c 3a 4c 44 41 63 61  6c 2b 31 3a 41 44 43 23  |al:LDAcal+1:ADC#|
00001080  6d 61 7a 65 20 81 32 35  36 3a 53 54 41 63 61 6c  |maze .256:STAcal|
00001090  2b 31 3a 52 54 53 0d 02  58 5c 2e 77 69 6e 64 6f  |+1:RTS..X\.windo|
000010a0  77 20 4c 44 41 23 31 39  3a 4a 53 52 26 46 46 46  |w LDA#19:JSR&FFF|
000010b0  34 3a 4c 44 41 73 61 6d  78 3a 53 45 43 3a 53 42  |4:LDAsamx:SEC:SB|
000010c0  43 23 35 3a 53 54 41 6d  61 7a 65 78 3a 4c 44 41  |C#5:STAmazex:LDA|
000010d0  23 26 35 30 3a 53 54 41  77 69 6e 64 61 64 3a 4c  |#&50:STAwindad:L|
000010e0  44 41 23 26 35 45 3a 53  54 41 77 69 6e 64 61 64  |DA#&5E:STAwindad|
000010f0  2b 31 0d 02 62 6c 4c 44  41 23 31 31 3a 53 54 41  |+1..blLDA#11:STA|
00001100  77 6e 63 6e 78 3a 2e 77  69 6e 78 6c 70 20 4c 44  |wncnx:.winxlp LD|
00001110  41 23 31 31 3a 53 54 41  77 6e 63 6e 79 3a 4c 44  |A#11:STAwncny:LD|
00001120  41 77 69 6e 64 61 64 3a  53 54 41 73 63 72 3a 4c  |Awindad:STAscr:L|
00001130  44 41 77 69 6e 64 61 64  2b 31 3a 53 54 41 73 63  |DAwindad+1:STAsc|
00001140  72 2b 31 3a 4c 44 41 73  61 6d 79 3a 53 45 43 3a  |r+1:LDAsamy:SEC:|
00001150  53 42 43 23 35 3a 53 54  41 6d 61 7a 65 79 0d 02  |SBC#5:STAmazey..|
00001160  6c 5d 2e 77 69 6e 79 6c  70 20 4c 44 41 23 39 3a  |l].winylp LDA#9:|
00001170  53 54 41 64 61 74 2b 31  3a 4c 44 41 6d 61 7a 65  |STAdat+1:LDAmaze|
00001180  78 3a 43 4d 50 23 33 32  3a 42 43 43 63 68 6b 79  |x:CMP#32:BCCchky|
00001190  6c 6d 3a 2e 62 6c 6f 63  6b 20 4c 44 41 23 26 34  |lm:.block LDA#&4|
000011a0  30 3a 53 54 41 64 61 74  3a 4a 53 52 70 72 69 6e  |0:STAdat:JSRprin|
000011b0  74 3a 4a 4d 50 6e 78 74  62 6c 6b 0d 02 76 9a 2e  |t:JMPnxtblk..v..|
000011c0  63 68 6b 79 6c 6d 20 4c  44 41 6d 61 7a 65 79 3a  |chkylm LDAmazey:|
000011d0  43 4d 50 23 33 32 3a 42  43 43 63 68 6b 73 61 6d  |CMP#32:BCCchksam|
000011e0  3a 4a 4d 50 62 6c 6f 63  6b 3a 2e 63 68 6b 73 61  |:JMPblock:.chksa|
000011f0  6d 20 4c 44 41 77 6e 63  6e 78 3a 43 4d 50 23 36  |m LDAwncnx:CMP#6|
00001200  3a 42 4e 45 70 72 77 6f  6d 3a 4c 44 41 77 6e 63  |:BNEprwom:LDAwnc|
00001210  6e 79 3a 43 4d 50 23 36  3a 42 4e 45 70 72 77 6f  |ny:CMP#6:BNEprwo|
00001220  6d 3a 4c 44 41 73 61 6d  64 69 72 3a 53 54 41 64  |m:LDAsamdir:STAd|
00001230  61 74 3a 4c 44 41 23 26  41 3a 53 54 41 64 61 74  |at:LDA#&A:STAdat|
00001240  2b 31 3a 4a 53 52 70 72  69 6e 74 3a 4a 4d 50 6e  |+1:JSRprint:JMPn|
00001250  78 74 62 6c 6b 0d 02 80  45 2e 70 72 77 6f 6d 20  |xtblk...E.prwom |
00001260  4c 44 58 6d 61 7a 65 78  3a 4c 44 59 6d 61 7a 65  |LDXmazex:LDYmaze|
00001270  79 3a 4a 53 52 63 61 6c  63 3a 4c 44 59 23 30 3a  |y:JSRcalc:LDY#0:|
00001280  4c 44 41 28 63 61 6c 29  2c 59 3a 53 54 41 64 61  |LDA(cal),Y:STAda|
00001290  74 3a 4a 53 52 70 72 69  6e 74 0d 02 8a a8 2e 6e  |t:JSRprint.....n|
000012a0  78 74 62 6c 6b 20 49 4e  43 6d 61 7a 65 79 3a 44  |xtblk INCmazey:D|
000012b0  45 43 77 6e 63 6e 79 3a  42 4e 45 77 69 6e 59 6c  |ECwncny:BNEwinYl|
000012c0  70 3a 4c 44 41 77 69 6e  64 61 64 3a 43 4c 43 3a  |p:LDAwindad:CLC:|
000012d0  41 44 43 23 31 36 3a 53  54 41 77 69 6e 64 61 64  |ADC#16:STAwindad|
000012e0  3a 4c 44 41 77 69 6e 64  61 64 2b 31 3a 41 44 43  |:LDAwindad+1:ADC|
000012f0  23 30 3a 53 54 41 77 69  6e 64 61 64 2b 31 3a 49  |#0:STAwindad+1:I|
00001300  4e 43 6d 61 7a 65 78 3a  44 45 43 77 6e 63 6e 78  |NCmazex:DECwncnx|
00001310  3a 42 4e 45 77 69 6e 58  6c 70 3a 52 54 53 3a 2e  |:BNEwinXlp:RTS:.|
00001320  77 69 6e 59 6c 70 20 4a  4d 50 77 69 6e 79 6c 70  |winYlp JMPwinylp|
00001330  3a 2e 77 69 6e 58 6c 70  3a 4a 4d 50 77 69 6e 78  |:.winXlp:JMPwinx|
00001340  6c 70 0d 02 94 45 2e 6d  61 7a 65 78 20 45 51 55  |lp...E.mazex EQU|
00001350  42 30 3a 2e 6d 61 7a 65  79 20 45 51 55 42 30 3a  |B0:.mazey EQUB0:|
00001360  2e 77 6e 63 6e 78 20 45  51 55 42 30 3a 2e 77 6e  |.wncnx EQUB0:.wn|
00001370  63 6e 79 20 45 51 55 42  30 3a 2e 77 69 6e 64 61  |cny EQUB0:.winda|
00001380  64 20 45 51 55 57 30 0d  02 9e 35 2e 73 61 6d 78  |d EQUW0...5.samx|
00001390  20 45 51 55 42 30 3a 2e  73 61 6d 79 20 45 51 55  | EQUB0:.samy EQU|
000013a0  42 30 3a 2e 73 61 6d 64  69 72 20 45 51 55 42 30  |B0:.samdir EQUB0|
000013b0  3a 2e 64 65 61 64 20 45  51 55 42 30 0d 02 a8 3b  |:.dead EQUB0...;|
000013c0  2e 6d 76 73 61 6d 20 4c  44 58 73 61 6d 78 3a 4c  |.mvsam LDXsamx:L|
000013d0  44 59 73 61 6d 79 3a 4a  53 52 63 61 6c 63 3a 4c  |DYsamy:JSRcalc:L|
000013e0  44 59 23 30 3a 4c 44 41  23 26 43 30 3a 53 54 41  |DY#0:LDA#&C0:STA|
000013f0  28 63 61 6c 29 2c 59 0d  02 b2 49 4c 44 41 23 26  |(cal),Y...ILDA#&|
00001400  38 31 3a 4c 44 58 23 26  39 45 3a 4c 44 59 23 26  |81:LDX#&9E:LDY#&|
00001410  46 46 3a 4a 53 52 26 46  46 46 34 3a 54 59 41 3a  |FF:JSR&FFF4:TYA:|
00001420  42 45 51 6e 74 6c 66 74  3a 4c 44 41 23 30 3a 53  |BEQntlft:LDA#0:S|
00001430  54 41 73 61 6d 64 69 72  3a 4a 4d 50 6d 6f 76 65  |TAsamdir:JMPmove|
00001440  0d 02 bc 51 2e 6e 74 6c  66 74 20 4c 44 41 23 26  |...Q.ntlft LDA#&|
00001450  38 31 3a 4c 44 58 23 26  42 44 3a 4c 44 59 23 26  |81:LDX#&BD:LDY#&|
00001460  46 46 3a 4a 53 52 26 46  46 46 34 3a 54 59 41 3a  |FF:JSR&FFF4:TYA:|
00001470  42 45 51 6e 74 72 74 3a  4c 44 41 23 26 32 30 3a  |BEQntrt:LDA#&20:|
00001480  53 54 41 73 61 6d 64 69  72 3a 4a 4d 50 6d 6f 76  |STAsamdir:JMPmov|
00001490  65 0d 02 c6 50 2e 6e 74  72 74 20 4c 44 41 23 26  |e...P.ntrt LDA#&|
000014a0  38 31 3a 4c 44 58 23 26  42 37 3a 4c 44 59 23 26  |81:LDX#&B7:LDY#&|
000014b0  46 46 3a 4a 53 52 26 46  46 46 34 3a 54 59 41 3a  |FF:JSR&FFF4:TYA:|
000014c0  42 45 51 6e 74 75 70 3a  4c 44 41 23 26 34 30 3a  |BEQntup:LDA#&40:|
000014d0  53 54 41 73 61 6d 64 69  72 3a 4a 4d 50 6d 6f 76  |STAsamdir:JMPmov|
000014e0  65 0d 02 d0 48 2e 6e 74  75 70 20 4c 44 41 23 26  |e...H.ntup LDA#&|
000014f0  38 31 3a 4c 44 58 23 26  39 37 3a 4c 44 59 23 26  |81:LDX#&97:LDY#&|
00001500  46 46 3a 4a 53 52 26 46  46 46 34 3a 54 59 41 3a  |FF:JSR&FFF4:TYA:|
00001510  42 45 51 6d 6f 76 65 3a  4c 44 41 23 26 36 30 3a  |BEQmove:LDA#&60:|
00001520  53 54 41 73 61 6d 64 69  72 0d 02 da 7c 2e 6d 6f  |STAsamdir...|.mo|
00001530  76 65 20 4c 44 41 73 61  6d 64 69 72 3a 42 4e 45  |ve LDAsamdir:BNE|
00001540  6e 74 6c 3a 44 45 43 73  61 6d 78 3a 4a 4d 50 63  |ntl:DECsamx:JMPc|
00001550  68 6b 3a 2e 6e 74 6c 20  43 4d 50 23 26 32 30 3a  |hk:.ntl CMP#&20:|
00001560  42 4e 45 6e 74 72 3a 49  4e 43 73 61 6d 78 3a 4a  |BNEntr:INCsamx:J|
00001570  4d 50 63 68 6b 3a 2e 6e  74 72 20 43 4d 50 23 26  |MPchk:.ntr CMP#&|
00001580  34 30 3a 42 4e 45 6e 74  75 3a 44 45 43 73 61 6d  |40:BNEntu:DECsam|
00001590  79 3a 4a 4d 50 63 68 6b  3a 2e 6e 74 75 20 49 4e  |y:JMPchk:.ntu IN|
000015a0  43 73 61 6d 79 0d 02 e4  34 2e 63 68 6b 20 4c 44  |Csamy...4.chk LD|
000015b0  41 73 61 6d 78 3a 43 4d  50 23 33 32 3a 42 43 53  |Asamx:CMP#32:BCS|
000015c0  68 69 74 3a 4c 44 41 73  61 6d 79 3a 43 4d 50 23  |hit:LDAsamy:CMP#|
000015d0  33 32 3a 42 43 53 68 69  74 0d 02 ee 59 4c 44 58  |32:BCShit...YLDX|
000015e0  73 61 6d 78 3a 4c 44 59  73 61 6d 79 3a 4a 53 52  |samx:LDYsamy:JSR|
000015f0  63 61 6c 63 3a 4c 44 58  68 64 70 74 3a 4c 44 41  |calc:LDXhdpt:LDA|
00001600  63 61 6c 3a 53 54 41 74  61 69 6c 2c 58 3a 4c 44  |cal:STAtail,X:LD|
00001610  41 63 61 6c 2b 31 3a 53  54 41 74 61 69 6c 2b 31  |Acal+1:STAtail+1|
00001620  2c 58 3a 49 4e 58 3a 49  4e 58 3a 53 54 58 68 64  |,X:INX:INX:STXhd|
00001630  70 74 0d 02 f8 52 4c 44  59 23 30 3a 4c 44 41 28  |pt...RLDY#0:LDA(|
00001640  63 61 6c 29 2c 59 3a 43  4d 50 23 26 43 30 3a 42  |cal),Y:CMP#&C0:B|
00001650  45 51 68 69 74 3a 43 4d  50 23 26 34 30 3a 42 45  |EQhit:CMP#&40:BE|
00001660  51 68 69 74 3a 43 4d 50  23 26 41 30 3a 42 45 51  |Qhit:CMP#&A0:BEQ|
00001670  68 69 74 3a 43 4d 50 23  26 45 30 3a 42 45 51 67  |hit:CMP#&E0:BEQg|
00001680  74 61 63 6e 0d 03 02 97  43 4d 50 23 26 38 30 3a  |tacn....CMP#&80:|
00001690  42 45 51 6d 75 73 68 3a  43 4d 50 23 26 36 30 3a  |BEQmush:CMP#&60:|
000016a0  42 4e 45 64 65 6c 64 61  69 6c 3a 4a 53 52 69 6e  |BNEdeldail:JSRin|
000016b0  73 63 3a 4a 53 52 70 73  63 3a 4a 53 52 69 6e 63  |sc:JSRpsc:JSRinc|
000016c0  63 61 6c 73 3a 4c 44 41  74 6c 65 6e 3a 43 4d 50  |cals:LDAtlen:CMP|
000016d0  23 32 35 34 3a 42 43 53  64 65 6c 74 61 69 6c 3a  |#254:BCSdeltail:|
000016e0  49 4e 43 74 6c 65 6e 3a  4c 44 58 23 67 75 6c 31  |INCtlen:LDX#gul1|
000016f0  20 83 32 35 36 3a 4c 44  59 23 67 75 6c 31 20 81  | .256:LDY#gul1 .|
00001700  32 35 36 3a 4c 44 41 23  37 3a 4a 53 52 26 46 46  |256:LDA#7:JSR&FF|
00001710  46 31 3a 4a 4d 50 69 76  69 73 74 0d 03 0c 79 2e  |F1:JMPivist...y.|
00001720  6d 75 73 68 20 4c 44 58  23 6d 75 73 6f 20 83 32  |mush LDX#muso .2|
00001730  35 36 3a 4c 44 59 23 6d  75 73 6f 20 81 32 35 36  |56:LDY#muso .256|
00001740  3a 4c 44 41 23 37 3a 4a  53 52 26 46 46 46 31 3a  |:LDA#7:JSR&FFF1:|
00001750  4a 53 52 64 65 63 63 61  6c 73 3a 4c 44 41 74 6c  |JSRdeccals:LDAtl|
00001760  65 6e 3a 42 45 51 64 65  6c 74 61 69 6c 3a 44 45  |en:BEQdeltail:DE|
00001770  43 74 6c 65 6e 3a 4a 53  52 64 65 6c 74 61 69 6c  |Ctlen:JSRdeltail|
00001780  3a 4a 53 52 64 65 6c 74  61 69 6c 3a 4a 4d 50 64  |:JSRdeltail:JMPd|
00001790  76 69 73 74 0d 03 16 1c  2e 68 69 74 20 4c 44 41  |vist.....hit LDA|
000017a0  23 26 46 46 3a 53 54 41  64 65 61 64 3a 52 54 53  |#&FF:STAdead:RTS|
000017b0  0d 03 20 7f 2e 68 64 70  74 20 45 51 55 42 30 3a  |.. ..hdpt EQUB0:|
000017c0  2e 74 61 69 6c 70 74 20  45 51 55 42 30 3a 2e 64  |.tailpt EQUB0:.d|
000017d0  65 6c 74 61 69 6c 20 4c  44 58 74 61 69 6c 70 74  |eltail LDXtailpt|
000017e0  3a 4c 44 41 74 61 69 6c  2c 58 3a 53 54 41 26 39  |:LDAtail,X:STA&9|
000017f0  30 3a 4c 44 41 74 61 69  6c 2b 31 2c 58 3a 53 54  |0:LDAtail+1,X:ST|
00001800  41 26 39 31 3a 4c 44 41  23 30 3a 54 41 59 3a 53  |A&91:LDA#0:TAY:S|
00001810  54 41 28 26 39 30 29 2c  59 3a 49 4e 58 3a 49 4e  |TA(&90),Y:INX:IN|
00001820  58 3a 53 54 58 74 61 69  6c 70 74 3a 52 54 53 0d  |X:STXtailpt:RTS.|
00001830  03 2a 90 2e 67 74 61 63  6e 20 4a 53 52 69 6e 73  |.*..gtacn JSRins|
00001840  63 3a 4a 53 52 69 6e 73  63 3a 44 45 43 61 63 6f  |c:JSRinsc:DECaco|
00001850  72 6e 73 3a 4c 44 41 23  33 31 3a 4a 53 52 26 46  |rns:LDA#31:JSR&F|
00001860  46 45 45 3a 4c 44 41 23  31 35 3a 4a 53 52 26 46  |FEE:LDA#15:JSR&F|
00001870  46 45 45 3a 4c 44 41 23  36 3a 4a 53 52 26 46 46  |FEE:LDA#6:JSR&FF|
00001880  45 45 3a 4c 44 41 23 31  37 3a 4a 53 52 26 46 46  |EE:LDA#17:JSR&FF|
00001890  45 45 3a 4c 44 41 23 33  3a 4a 53 52 26 46 46 45  |EE:LDA#3:JSR&FFE|
000018a0  45 3a 4c 44 41 61 63 6f  72 6e 73 3a 43 4c 43 3a  |E:LDAacorns:CLC:|
000018b0  41 44 43 23 34 38 3a 4a  53 52 26 46 46 45 45 0d  |ADC#48:JSR&FFEE.|
000018c0  03 34 6a 4c 44 41 23 30  3a 53 54 41 61 63 66 6c  |.4jLDA#0:STAacfl|
000018d0  61 67 3a 4c 44 41 61 63  63 6f 6e 3a 53 54 41 61  |ag:LDAaccon:STAa|
000018e0  63 74 69 6d 3a 4c 44 41  23 26 34 30 3a 53 54 41  |ctim:LDA#&40:STA|
000018f0  73 63 72 3a 4c 44 41 23  26 36 34 3a 53 54 41 73  |scr:LDA#&64:STAs|
00001900  63 72 2b 31 3a 4c 44 41  23 30 3a 53 54 41 64 61  |cr+1:LDA#0:STAda|
00001910  74 3a 4c 44 41 23 39 3a  53 54 41 64 61 74 2b 31  |t:LDA#9:STAdat+1|
00001920  3a 4a 53 52 70 72 69 6e  74 0d 03 3e 5a 4c 44 58  |:JSRprint..>ZLDX|
00001930  23 67 75 6c 32 20 83 32  35 36 3a 4c 44 59 23 67  |#gul2 .256:LDY#g|
00001940  75 6c 32 20 81 32 35 36  3a 4c 44 41 23 37 3a 4a  |ul2 .256:LDA#7:J|
00001950  53 52 26 46 46 46 31 3a  4c 44 41 61 63 6f 72 6e  |SR&FFF1:LDAacorn|
00001960  73 3a 42 4e 45 6e 74 63  79 3a 4c 44 41 23 26 45  |s:BNEntcy:LDA#&E|
00001970  30 3a 53 54 41 64 65 61  64 3a 2e 6e 74 63 79 20  |0:STAdead:.ntcy |
00001980  52 54 53 0d 03 48 35 2e  74 6c 65 6e 20 45 51 55  |RTS..H5.tlen EQU|
00001990  42 30 3a 2e 73 63 6f 72  65 20 45 51 55 57 30 3a  |B0:.score EQUW0:|
000019a0  2e 76 69 73 74 20 45 51  55 57 30 3a 2e 73 63 63  |.vist EQUW0:.scc|
000019b0  6f 6c 20 45 51 55 42 31  0d 03 52 4d 2e 69 6e 73  |ol EQUB1..RM.ins|
000019c0  63 20 53 45 44 3a 4c 44  41 73 63 6f 72 65 3a 43  |c SED:LDAscore:C|
000019d0  4c 43 3a 41 44 43 23 32  3a 53 54 41 73 63 6f 72  |LC:ADC#2:STAscor|
000019e0  65 3a 4c 44 41 73 63 6f  72 65 2b 31 3a 41 44 43  |e:LDAscore+1:ADC|
000019f0  23 30 3a 53 54 41 73 63  6f 72 65 2b 31 3a 43 4c  |#0:STAscore+1:CL|
00001a00  44 3a 52 54 53 0d 03 5c  87 2e 70 73 63 20 4c 44  |D:RTS..\..psc LD|
00001a10  41 23 31 37 3a 4a 53 52  26 46 46 45 45 3a 4c 44  |A#17:JSR&FFEE:LD|
00001a20  41 73 63 63 6f 6c 3a 4a  53 52 26 46 46 45 45 3a  |Asccol:JSR&FFEE:|
00001a30  4c 44 41 23 33 31 3a 4a  53 52 26 46 46 45 45 3a  |LDA#31:JSR&FFEE:|
00001a40  4c 44 41 23 31 3a 4a 53  52 26 46 46 45 45 3a 4c  |LDA#1:JSR&FFEE:L|
00001a50  44 41 23 32 3a 4a 53 52  26 46 46 45 45 3a 49 4e  |DA#2:JSR&FFEE:IN|
00001a60  43 73 63 63 6f 6c 3a 4c  44 41 73 63 63 6f 6c 3a  |Csccol:LDAsccol:|
00001a70  43 4d 50 23 34 3a 42 4e  45 64 69 67 73 3a 4c 44  |CMP#4:BNEdigs:LD|
00001a80  41 23 31 3a 53 54 41 73  63 63 6f 6c 0d 03 66 3d  |A#1:STAsccol..f=|
00001a90  2e 64 69 67 73 20 4c 44  41 73 63 6f 72 65 2b 31  |.digs LDAscore+1|
00001aa0  3a 4a 53 52 70 62 79 74  3a 4c 44 41 73 63 6f 72  |:JSRpbyt:LDAscor|
00001ab0  65 3a 4a 53 52 70 62 79  74 3a 4c 44 41 23 34 38  |e:JSRpbyt:LDA#48|
00001ac0  3a 4a 4d 50 26 46 46 45  45 0d 03 70 4c 2e 70 62  |:JMP&FFEE..pL.pb|
00001ad0  79 74 20 54 41 58 3a 4c  53 52 41 3a 4c 53 52 41  |yt TAX:LSRA:LSRA|
00001ae0  3a 4c 53 52 41 3a 4c 53  52 41 3a 4a 53 52 70 6e  |:LSRA:LSRA:JSRpn|
00001af0  69 62 3a 54 58 41 3a 80  23 26 46 3a 2e 70 6e 69  |ib:TXA:.#&F:.pni|
00001b00  62 20 43 4c 43 3a 41 44  43 23 34 38 3a 4a 4d 50  |b CLC:ADC#48:JMP|
00001b10  26 46 46 45 45 0d 03 7a  4f 2e 69 76 69 73 74 20  |&FFEE..zO.ivist |
00001b20  53 45 44 3a 4c 44 41 76  69 73 74 3a 43 4c 43 3a  |SED:LDAvist:CLC:|
00001b30  41 44 43 23 31 3a 53 54  41 76 69 73 74 3a 4c 44  |ADC#1:STAvist:LD|
00001b40  41 76 69 73 74 2b 31 3a  41 44 43 23 30 3a 53 54  |Avist+1:ADC#0:ST|
00001b50  41 76 69 73 74 2b 31 3a  43 4c 44 3a 4a 4d 50 70  |Avist+1:CLD:JMPp|
00001b60  76 69 73 74 0d 03 84 46  2e 64 76 69 73 74 20 53  |vist...F.dvist S|
00001b70  45 44 3a 4c 44 41 76 69  73 74 3a 53 45 43 3a 53  |ED:LDAvist:SEC:S|
00001b80  42 43 23 31 3a 53 54 41  76 69 73 74 3a 4c 44 41  |BC#1:STAvist:LDA|
00001b90  76 69 73 74 2b 31 3a 53  42 43 23 30 3a 53 54 41  |vist+1:SBC#0:STA|
00001ba0  76 69 73 74 2b 31 3a 43  4c 44 0d 03 8e 7b 2e 70  |vist+1:CLD...{.p|
00001bb0  76 69 73 74 20 4c 44 41  23 33 31 3a 4a 53 52 26  |vist LDA#31:JSR&|
00001bc0  46 46 45 45 3a 4c 44 41  23 31 34 3a 4a 53 52 26  |FFEE:LDA#14:JSR&|
00001bd0  46 46 45 45 3a 4c 44 41  23 31 39 3a 4a 53 52 26  |FFEE:LDA#19:JSR&|
00001be0  46 46 45 45 3a 4c 44 41  23 31 37 3a 4a 53 52 26  |FFEE:LDA#17:JSR&|
00001bf0  46 46 45 45 3a 4c 44 41  23 33 3a 4a 53 52 26 46  |FFEE:LDA#3:JSR&F|
00001c00  46 45 45 3a 4c 44 41 76  69 73 74 2b 31 3a 4a 53  |FEE:LDAvist+1:JS|
00001c10  52 70 62 79 74 3a 4c 44  41 76 69 73 74 3a 4a 4d  |Rpbyt:LDAvist:JM|
00001c20  50 70 62 79 74 0d 03 98  6a 2e 64 65 63 63 61 6c  |Ppbyt...j.deccal|
00001c30  73 20 4c 44 59 23 37 3a  4c 44 41 23 30 3a 2e 64  |s LDY#7:LDA#0:.d|
00001c40  63 6c 70 20 53 54 41 28  63 61 6c 73 29 2c 59 3a  |clp STA(cals),Y:|
00001c50  44 45 59 3a 42 50 4c 64  63 6c 70 3a 4c 44 41 63  |DEY:BPLdclp:LDAc|
00001c60  61 6c 73 3a 53 45 43 3a  53 42 43 23 38 3a 53 54  |als:SEC:SBC#8:ST|
00001c70  41 63 61 6c 73 3a 4c 44  41 63 61 6c 73 2b 31 3a  |Acals:LDAcals+1:|
00001c80  53 42 43 23 30 3a 53 54  41 63 61 6c 73 2b 31 0d  |SBC#0:STAcals+1.|
00001c90  03 a2 48 4c 44 41 63 61  6c 73 3a 43 4d 50 23 26  |..HLDAcals:CMP#&|
00001ca0  34 38 3a 42 4e 45 63 6f  6b 3a 4c 44 41 63 61 6c  |48:BNEcok:LDAcal|
00001cb0  73 2b 31 3a 43 4d 50 23  26 37 43 3a 42 4e 45 63  |s+1:CMP#&7C:BNEc|
00001cc0  6f 6b 3a 53 54 41 64 65  61 64 3a 52 54 53 3a 2e  |ok:STAdead:RTS:.|
00001cd0  63 6f 6b 20 52 54 53 0d  03 ac 3d 2e 69 6e 63 63  |cok RTS...=.incc|
00001ce0  61 6c 73 20 4c 44 41 63  61 6c 73 3a 43 4d 50 23  |als LDAcals:CMP#|
00001cf0  26 36 38 3a 42 4e 45 69  63 6f 6b 3a 4c 44 41 63  |&68:BNEicok:LDAc|
00001d00  61 6c 73 2b 31 3a 43 4d  50 23 26 37 44 3a 42 45  |als+1:CMP#&7D:BE|
00001d10  51 63 6f 6b 0d 03 b6 6f  2e 69 63 6f 6b 20 4c 44  |Qcok...o.icok LD|
00001d20  41 63 61 6c 73 3a 43 4c  43 3a 41 44 43 23 38 3a  |Acals:CLC:ADC#8:|
00001d30  53 54 41 63 61 6c 73 3a  4c 44 41 63 61 6c 73 2b  |STAcals:LDAcals+|
00001d40  31 3a 41 44 43 23 30 3a  53 54 41 63 61 6c 73 2b  |1:ADC#0:STAcals+|
00001d50  31 3a 4c 44 59 23 37 3a  2e 69 63 6c 70 20 4c 44  |1:LDY#7:.iclp LD|
00001d60  41 26 41 38 30 2c 59 3a  53 54 41 28 63 61 6c 73  |A&A80,Y:STA(cals|
00001d70  29 2c 59 3a 44 45 59 3a  42 50 4c 69 63 6c 70 3a  |),Y:DEY:BPLiclp:|
00001d80  52 54 53 0d 03 c0 4e 2e  63 61 6c 74 6d 20 45 51  |RTS...N.caltm EQ|
00001d90  55 42 31 35 3a 2e 63 61  6c 6f 72 20 44 45 43 63  |UB15:.calor DECc|
00001da0  61 6c 74 6d 3a 42 45 51  74 74 64 63 3a 52 54 53  |altm:BEQttdc:RTS|
00001db0  3a 2e 74 74 64 63 20 4c  44 41 23 31 35 3a 53 54  |:.ttdc LDA#15:ST|
00001dc0  41 63 61 6c 74 6d 3a 4a  4d 50 64 65 63 63 61 6c  |Acaltm:JMPdeccal|
00001dd0  73 0d 03 ca 4f 2e 61 63  6f 72 6e 73 20 45 51 55  |s...O.acorns EQU|
00001de0  42 30 3a 2e 61 63 74 69  6d 20 45 51 55 42 30 3a  |B0:.actim EQUB0:|
00001df0  2e 61 63 63 6f 6e 20 45  51 55 42 30 3a 2e 61 63  |.accon EQUB0:.ac|
00001e00  66 6c 61 67 20 45 51 55  42 30 3a 2e 61 63 78 20  |flag EQUB0:.acx |
00001e10  45 51 55 42 30 3a 2e 61  63 79 20 45 51 55 42 30  |EQUB0:.acy EQUB0|
00001e20  0d ff                                             |..|
00001e22
ACORN7.m0
ACORN7.m1
ACORN7.m2
ACORN7.m4
ACORN7.m5