Home » Personal collection » Acorn ADFS disks » Electron » EUG_submission_2.ADF » ASG/Auto
ASG/Auto
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: | ASG/Auto |
Read OK: | ✔ |
File size: | 1911 bytes |
Load address: | FFFF1D00 |
Exec address: | FFFF8023 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_18.ADF » P/Auto
- Personal collection » Acorn ADFS disks » Electron » EUG_submission_2.ADF » ASG/Auto
File contents
10 REM Autostereogram Generator by M. Ford, Dec 1994 (version 2) 20 MODE 6:HIMEM=&5FC3 30 IF PAGE<>&2200 THEN GOTO 590 40 PRINT TAB(8,1)"Autostereogram Generator"'TAB(14)"by M. Ford" 50 VDU 28,0,24,39,5 60 INPUT"Filename of source picture? " sf$ 70 INPUT"Mode of source picture (0,1,2,4,5) ? " smode 80 PRINT:REPEAT INPUT"Filename to save image under? " df$:UNTIL LEN(df$)<=10 90 REPEAT INPUT"Mode of image (0,4) ? " mode:UNTIL mode=0 OR mode=4 100 PRINT'"Enter eye separation"'" (in mm for printout of width 135mm : this should usually be about 20) ";:INPUT""eyesep 110 IF smode=0 THEN colours=2 ELSE IF smode=1 THEN colours=4 ELSE IF smode=2 THEN colours=16 ELSE IF smode=4 THEN colours=2 ELSE IF smode=5 THEN colours=4 120 IF mode=0 THEN width=640:add$=" 3000 ":memtop=&7D:pixels=2 ELSE width=320:add$=" 5800 ":memtop=&55:pixels=4 130 height=256 140 code=&1D00 150 FORpass=0 TO 2 STEP 2:P%=code:[OPTpass 160 LDAheightLO:STAyLO:LDAheightHI:STAyHI:LDAyLO:SEC:SBC#1:STAyLO:BCScont:DECyHI:.cont LDA#&80:STA&88:LDA#&2D:STA&89:LDA#&26:STA&71:LDY#0:STY&70:LDA#0:.clearloop STA(&70),Y:INY:BNEclearloop:INC&71:LDX&71:CPX#&30:BNEclearloop 170 .newline LDA#0:STAxLO:STAxHI:STAsameLO:STAsameHI 180 LDX#0:LDY#0:.sameloop JSRwritesame:INX:INCsameLO:BNEsameloop:INY:INCsameHI:CPYwidthHI:BCCsameloop:BEQsameloop 190 .newdot JSRshape 200 CLC:LDAsepLO:ANDyLO:AND#1:ADCsepLO:STA&70:LDAsepHI:ADC#0:LSR A:STA&71:ROR&70:LDAxLO:SEC:SBC&70:STAiLO:LDAxHI:SBC&71:BPLiOK:JMPnextdot:.iOK STAiHI 210 LDAiLO:CLC:ADCsepLO:STAjLO:LDAiHI:ADCsepHI:STAjHI:CMPwidthHI:BCCjOK:BNEnextdotB:LDAjLO:CMPwidthLO:BCCjOK:.nextdotB JMPnextdot:.jOK 220 .sameloop2 LDAiLO:STAsameLO:LDAiHI:STAsameHI:JSRreadsame:CPYjHI:BCCifA:BNEifB:CPXjLO:BCCifA:BEQequal:.ifB STXsLO:STYsHI:LDXjLO:LDYjHI:JSRwritesame:STXsameLO:STYsameHI:LDXsLO:LDYsHI:JSRwritesame:JMPnextdot 230 .ifA STXiLO:STYiHI:STXsameLO:STYsameHI:JSRreadsame:CPXiLO:BNEsameloop2:CPYiHI:BNEsameloop2:.equal LDXjLO:LDYjHI:JSRwritesame 240 .nextdot INCxLO:BNEcheck:INCxHI:.check LDAxHI:CMPwidthHI:BCCloopend:LDAxLO:CMPwidthLO:BEQdisploop:.loopend JMPnewdot 250 .disploop LDAxLO:SEC:SBC#1:STAxLO:BCScheck2:DECxHI:.check2 LDAxHI:BPLcolour:JMPnextline 260 .colour STAsameHI:LDAxLO:STAsameLO:JSRreadsame:CPXxLO:BNEsame:CPYxHI:BNEsame:LDA#0:STA&70:RTS:.random LDX&71:JSRwritecol:JMPdisp:.same LDAxLO:STAsameLO:LDAxHI:STAsameHI:JSRreadsame:STXcolLO:STYcolHI:JSRreadcol:JSRwritecol 270 .disp TXA:CLC:BEQstore:SEC:.store ROLbyte:INCcounter:LDAcounter:CMP#8:BNEdisploop:LDY#0:STYcounter:INC&88:BNEsave:INC&89:.save LDAbyte:STA(&88),Y:JMPdisploop 280 .nextline LDAyLO:SEC:SBC#1:STAyLO:BCSagain:DECyHI:BPLagain:LDA#1:STA&70:RTS:.again JMPnewline 290 .writesame LDAsameLO:STA&80:LDAsameHI:ASL&80:ROL A:CLC:ADC#&26:STA&81:TYA:PHA:LDY#1:STA(&80),Y:DEY:TXA:STA(&80),Y:PLA:TAY:RTS 300 .readsame LDAsameLO:STA&80:LDAsameHI:ASL&80:ROL A:CLC:ADC#&26:STA&81:LDY#0:LDA(&80),Y:TAX:INY:LDA(&80),Y:TAY:RTS 310 .writecol LDAxLO:STA&80:LDAxHI:CLC:ADC#&2B:STA&81:STY&83:TXA:LDY#0:STA(&80),Y:LDY&83:RTS 320 .readcol LDAcolLO:STA&80:LDAcolHI:CLC:ADC#&2B:STA&81:STY&83:LDY#0:LDA(&80),Y:TAX:LDY&83:RTS 330 .show ASLwidthLO:ROLwidthHI:LDA#mode:CMP#4:BNEdheight:ASLwidthLO:ROLwidthHI:.dheight LDXheightLO:DEX:STXheightLO:CPX#&FF:BNEcont2:DECheightHI:.cont2 ASLheightLO:ROLheightHI:ASLheightLO:ROLheightHI 340 LDY#0:STYyHI:STYyLO:LDA#&80:STA&88:LDA#memtop:STA&89:.plotline LDA#0:STAxLO:STAxHI 350 .plotloop LDA(&88),Y:LSR A:STA(&88),Y:BCCnextplot:LDX#4:.draw LDA#25:JSR&FFEE:TXA:JSR&FFEE:LDAxLO:JSR&FFEE:LDAxHI:JSR&FFEE:LDAyLO:JSR&FFEE:LDAyHI:JSR&FFEE:CPX#5:BEQnextplot:LDX#5:JMPdraw 360 .nextplot INCcounter:LDAcounter:CMP#8:BNEnextx:LDA#0:STAcounter:DEC&88:LDA&88:CMP#&FF:BNEnextx:DEC&89:.nextx LDAxLO:CLC:ADC#pixels:STAxLO:BCCcheckw:INCxHI:.checkw LDAxHI:CMPwidthHI:BCCplotloop:LDAxLO:BCCplotloop 370 LDAyLO:CLC:ADC#4:STAyLO:BCCcheckend:INCyHI:.checkend CMPheightLO:BNEplotline2:LDAyHI:CMPheightHI:BNEplotline2:RTS:.plotline2 JMPplotline 380 .xLO EQUB0:.xHI EQUB0:.yLO EQUB0:.yHI EQUB0:.sameLO EQUB0:.sameHI EQUB0:.colLO EQUB0:.colHI EQUB0:.widthLO EQUB0:.widthHI EQUB0:.heightLO EQUB0:.heightHI EQUB0:.sepLO EQUB0:.sepHI EQUB0:.iLO EQUB0:.iHI EQUB0 390 .jLO EQUB0:.jHI EQUB0:.sLO EQUB0:.sHI EQUB0:.byte EQUB0:.counter EQUB0 400 .shape LDAxLO:STA&70:LDAxHI:STA&71:ASL&70:ROL&71:LDA#mode:CMP#4:BNEymult:ASL&70:ROL&71 410 .ymult LDAyLO:STA&72:LDAyHI:STA&73:ASL&72:ROL&73:ASL&72:ROL&73:LDA#9:LDX#&70:LDY#0:JSR&FFF1 420 LDA&74:ASL A:TAY:LDA#(groundLO MOD256):STA&8B:LDA#(groundLO DIV256):STA&8C:LDA(&8B),Y:STAsepLO:INY:LDA(&8B),Y:STAsepHI:RTS 430 .groundLO EQUB0:.groundHI EQUB0:EQUD0:EQUD0:EQUD0:EQUD0:EQUD0:EQUD0:EQUD0:EQUW0 440 ] 450 NEXT 460 !widthLO=width+height*65536 470 eyegap=INT(eyesep/135.47*width+.5) 480 PRINT'"Enter elevation number for each logical colour."'" (N.B. - For the background colour,"'SPC(10)"use elevation 0." 490 PRINT SPC(7)"- For most objects, suitable"'SPC(10)"values are 4 (for Mode 4"'SPC(10)"images), or 8 (for Mode 0"'SPC(10)"images."'SPC(7)"- Use only integer values. )"' 500 FORobject=0 TO colours-1:PRINT" Colour "+STR$(object)+": ";:INPUT""elev:?(groundLO+object*2)=(eyegap-elev) MOD256:?(groundLO+object*2+1)=(eyegap-elev) DIV256:NEXT 510 PRINT'"Do you want a printed copy (Y/N)? ";:REPEAT key$=GET$:A=INSTR("YyNn",key$):UNTIL A<>0 520 IF A>2 THEN PRINT"N":pr%=0:GOTO550 530 PRINT"Y"'"(L)arge or (S)mall? ";:REPEAT key$=GET$:A=INSTR("LlSs",key$):UNTIL A<>0 540 IF A<3 THEN PRINT"L":pr%=2 ELSE PRINT"S":pr%=1 550 !&5FFC=random:!&5FF8=show:?&5FF7=smode:?&5FF6=mode:$&5FE0=sf$:$&5FD0=df$:$&5FC8=add$:!&5FC4=code:?&5FC3=pr% 560 a$="DELETE 10,660"+CHR$13+"RUN"+CHR$6+CHR$13 570 VDU 21:FOR char=1 TO LEN(a$):OSCLI"FX 138,0,"+STR$(ASC(MID$(a$,char,1))):NEXT 580 END 590 REM Relocation code 600 HIMEM=&5800:FORpass=0 TO 2 STEP 2:P%=&5800:[OPTpass 610 LDY#0:STY&70:STY&72:LDA#&22:SEC:SBC&18:STA&74:LDA&18:CMP#&22:BCCadd:.sub STA&71:LDA#&22:STA&73:.moveloop1 LDA(&70),Y:STA(&72),Y:INY:BNEmoveloop1:INC&71:INC&73:LDX&71:DEX:CPX&03:BCCmoveloop1:BCSendmove 620 .add LDA&03:STA&71:CLC:ADC&74:STA&73:LDA#0:LDY&02:.moveloop2 LDA(&70),Y:STA(&72),Y:DEY:CPY#&FF:BNEmoveloop2:DEC&71:DEC&73:LDA&73:CMP#&21:BCSmoveloop2 630 .endmove LDA&13:CLC:ADC&74:STA&13:STA&01:LDA#&22:STA&18:RTS 640 ]:NEXT 650 OSCLI"KEY 0""CALL&5800|MRUN|F|M""":VDU21:OSCLI"FX 153,0,128" 660 END 670 random=!&5FFC:show=!&5FF8:smode=?&5FF7:mode=?&5FF6:sf$=$&5FE0:df$=$&5FD0:add$=$&5FC8:code=!&5FC4:pr%=?&5FC3 680 MODEsmode:HIMEM=&2600:VDU 23,1,0;0;0;0;:OSCLI"LO. "+sf$ 690 CALLcode 700 IF?&70=1 THEN GOTO710 ELSE ?&71=RND(2)-1:CALLrandom:GOTO700 710 IF mode=0 THEN OSCLI"SA. TEMP 2D80 7D80":MODE0:OSCLI"LO. TEMP":OSCLI"DEL. TEMP" ELSE MODE4 720 VDU 23,1,0;0;0;0; 730 CALLshow 740 OSCLI"SA. "+df$+add$+"8000" 750 IF pr%=1 THEN CHAIN"ScrDump" ELSE IF pr%=2 THEN OSCLI"UCODE" ELSE GOTO 750
l � Autostereogram Generator by M. Ford, Dec 1994 (version 2) � 6:�=&5FC3 � �<>&2200 � � �DNB (8 � �8,1)"Autostereogram Generator"'�14)"by M. Ford" 2 � 28,0,24,39,5 <( �"Filename of source picture? " sf$ F3 �"Mode of source picture (0,1,2,4,5) ? " smode P; �:� �"Filename to save image under? " df$:� �(df$)<=10 Z7 � �"Mode of image (0,4) ? " mode:� mode=0 � mode=4 dx �'"Enter eye separation"'" (in mm for printout of width 135mm : this should usually be about 20) ";:�""eyesep n{ � smode=0 � colours=2 � � smode=1 � colours=4 � � smode=2 � colours=16 � � smode=4 � colours=2 � � smode=5 � colours=4 xi � mode=0 � width=640:add$=" 3000 ":memtop=&7D:pixels=2 � width=320:add$=" 5800 ":memtop=&55:pixels=4 � height=256 � code=&1D00 �% �pass=0 � 2 � 2:P%=code:[OPTpass �� LDAheightLO:STAyLO:LDAheightHI:STAyHI:LDAyLO:SEC:SBC#1:STAyLO:BCScont:DECyHI:.cont LDA#&80:STA&88:LDA#&2D:STA&89:LDA#&26:STA&71:LDY#0:STY&70:LDA#0:.clearloop STA(&70),Y:INY:BNEclearloop:INC&71:LDX&71:CPX#&30:BNEclearloop �5 .newline LDA#0:STAxLO:STAxHI:STAsameLO:STAsameHI �r LDX#0:LDY#0:.sameloop JSRwritesame:INX:INCsameLO:BNEsameloop:INY:INCsameHI:CPYwidthHI:BCCsameloop:BEQsameloop � .newdot JSRshape Ȓ CLC:LDAsepLO:�yLO:�#1:ADCsepLO:STA&70:LDAsepHI:ADC#0:LSR A:STA&71:ROR&70:LDAxLO:SEC:SBC&70:STAiLO:LDAxHI:SBC&71:BPLiOK:JMPnextdot:.iOK STAiHI ҇ LDAiLO:CLC:ADCsepLO:STAjLO:LDAiHI:ADCsepHI:STAjHI:CMPwidthHI:BCCjOK:BNEnextdotB:LDAjLO:CMPwidthLO:BCCjOK:.nextdotB JMPnextdot:.jOK �� .sameloop2 LDAiLO:STAsameLO:LDAiHI:STAsameHI:JSRreadsame:CPYjHI:BCCifA:BNEifB:CPXjLO:BCCifA:BEQequal:.ifB STXsLO:STYsHI:LDXjLO:LDYjHI:JSRwritesame:STXsameLO:STYsameHI:LDXsLO:LDYsHI:JSRwritesame:JMPnextdot � .ifA STXiLO:STYiHI:STXsameLO:STYsameHI:JSRreadsame:CPXiLO:BNEsameloop2:CPYiHI:BNEsameloop2:.equal LDXjLO:LDYjHI:JSRwritesame �y .nextdot INCxLO:BNEcheck:INCxHI:.check LDAxHI:CMPwidthHI:BCCloopend:LDAxLO:CMPwidthLO:BEQdisploop:.loopend JMPnewdot �\ .disploop LDAxLO:SEC:SBC#1:STAxLO:BCScheck2:DECxHI:.check2 LDAxHI:BPLcolour:JMPnextline � .colour STAsameHI:LDAxLO:STAsameLO:JSRreadsame:CPXxLO:BNEsame:CPYxHI:BNEsame:LDA#0:STA&70:RTS:.random LDX&71:JSRwritecol:JMPdisp:.same LDAxLO:STAsameLO:LDAxHI:STAsameHI:JSRreadsame:STXcolLO:STYcolHI:JSRreadcol:JSRwritecol � .disp TXA:CLC:BEQstore:SEC:.store ROLbyte:INCcounter:LDAcounter:CMP#8:BNEdisploop:LDY#0:STYcounter:INC&88:BNEsave:INC&89:.save LDAbyte:STA(&88),Y:JMPdisploop b .nextline LDAyLO:SEC:SBC#1:STAyLO:BCSagain:DECyHI:BPLagain:LDA#1:STA&70:RTS:.again JMPnewline "� .writesame LDAsameLO:STA&80:LDAsameHI:ASL&80:ROL A:CLC:ADC#&26:STA&81:TYA:PHA:LDY#1:STA(&80),Y:DEY:TXA:STA(&80),Y:PLA:TAY:RTS ,u .readsame LDAsameLO:STA&80:LDAsameHI:ASL&80:ROL A:CLC:ADC#&26:STA&81:LDY#0:LDA(&80),Y:TAX:INY:LDA(&80),Y:TAY:RTS 6] .writecol LDAxLO:STA&80:LDAxHI:CLC:ADC#&2B:STA&81:STY&83:TXA:LDY#0:STA(&80),Y:LDY&83:RTS @` .readcol LDAcolLO:STA&80:LDAcolHI:CLC:ADC#&2B:STA&81:STY&83:LDY#0:LDA(&80),Y:TAX:LDY&83:RTS J� .show ASLwidthLO:ROLwidthHI:LDA#mode:CMP#4:BNEdheight:ASLwidthLO:ROLwidthHI:.dheight LDXheightLO:DEX:STXheightLO:CPX#&FF:BNEcont2:DECheightHI:.cont2 ASLheightLO:ROLheightHI:ASLheightLO:ROLheightHI TW LDY#0:STYyHI:STYyLO:LDA#&80:STA&88:LDA#memtop:STA&89:.plotline LDA#0:STAxLO:STAxHI ^� .plotloop LDA(&88),Y:LSR A:STA(&88),Y:BCCnextplot:LDX#4:.draw LDA#25:JSR&FFEE:TXA:JSR&FFEE:LDAxLO:JSR&FFEE:LDAxHI:JSR&FFEE:LDAyLO:JSR&FFEE:LDAyHI:JSR&FFEE:CPX#5:BEQnextplot:LDX#5:JMPdraw h� .nextplot INCcounter:LDAcounter:CMP#8:BNEnextx:LDA#0:STAcounter:DEC&88:LDA&88:CMP#&FF:BNEnextx:DEC&89:.nextx LDAxLO:CLC:ADC#pixels:STAxLO:BCCcheckw:INCxHI:.checkw LDAxHI:CMPwidthHI:BCCplotloop:LDAxLO:BCCplotloop r� LDAyLO:CLC:ADC#4:STAyLO:BCCcheckend:INCyHI:.checkend CMPheightLO:BNEplotline2:LDAyHI:CMPheightHI:BNEplotline2:RTS:.plotline2 JMPplotline |� .xLO EQUB0:.xHI EQUB0:.yLO EQUB0:.yHI EQUB0:.sameLO EQUB0:.sameHI EQUB0:.colLO EQUB0:.colHI EQUB0:.widthLO EQUB0:.widthHI EQUB0:.heightLO EQUB0:.heightHI EQUB0:.sepLO EQUB0:.sepHI EQUB0:.iLO EQUB0:.iHI EQUB0 �K .jLO EQUB0:.jHI EQUB0:.sLO EQUB0:.sHI EQUB0:.byte EQUB0:.counter EQUB0 �[ .shape LDAxLO:STA&70:LDAxHI:STA&71:ASL&70:ROL&71:LDA#mode:CMP#4:BNEymult:ASL&70:ROL&71 �` .ymult LDAyLO:STA&72:LDAyHI:STA&73:ASL&72:ROL&73:ASL&72:ROL&73:LDA#9:LDX#&70:LDY#0:JSR&FFF1 �{ LDA&74:ASL A:TAY:LDA#(groundLO �256):STA&8B:LDA#(groundLO �256):STA&8C:LDA(&8B),Y:STAsepLO:INY:LDA(&8B),Y:STAsepHI:RTS �T .groundLO EQUB0:.groundHI EQUB0:EQUD0:EQUD0:EQUD0:EQUD0:EQUD0:EQUD0:EQUD0:EQUW0 � ] � � � !widthLO=width+height*65536 �% eyegap=�(eyesep/135.47*width+.5) �w �'"Enter elevation number for each logical colour."'" (N.B. - For the background colour,"'�(10)"use elevation 0." � � �(7)"- For most objects, suitable"'�(10)"values are 4 (for Mode 4"'�(10)"images), or 8 (for Mode 0"'�(10)"images."'�(7)"- Use only integer values. )"' � �object=0 � colours-1:�" Colour "+�(object)+": ";:�""elev:?(groundLO+object*2)=(eyegap-elev) �256:?(groundLO+object*2+1)=(eyegap-elev) �256:� �L �'"Do you want a printed copy (Y/N)? ";:� key$=�:A=�"YyNn",key$):� A<>0 � A>2 � �"N":pr%=0:�TfB A �"Y"'"(L)arge or (S)mall? ";:� key$=�:A=�"LlSs",key$):� A<>0 $ � A<3 � �"L":pr%=2 � �"S":pr%=1 &p !&5FFC=random:!&5FF8=show:?&5FF7=smode:?&5FF6=mode:$&5FE0=sf$:$&5FD0=df$:$&5FC8=add$:!&5FC4=code:?&5FC3=pr% 0( a$="DELETE 10,660"+�13+"RUN"+�6+�13 :; � 21:� char=1 � �(a$):�"FX 138,0,"+�(�(�a$,char,1))):� D � N � Relocation code X. �=&5800:�pass=0 � 2 � 2:P%=&5800:[OPTpass b� LDY#0:STY&70:STY&72:LDA#&22:SEC:SBC&18:STA&74:LDA&18:CMP#&22:BCCadd:.sub STA&71:LDA#&22:STA&73:.moveloop1 LDA(&70),Y:STA(&72),Y:INY:BNEmoveloop1:INC&71:INC&73:LDX&71:DEX:CPX&03:BCCmoveloop1:BCSendmove l� .add LDA&03:STA&71:CLC:ADC&74:STA&73:LDA#0:LDY&02:.moveloop2 LDA(&70),Y:STA(&72),Y:DEY:CPY#&FF:BNEmoveloop2:DEC&71:DEC&73:LDA&73:CMP#&21:BCSmoveloop2 v@ .endmove LDA&13:CLC:ADC&74:STA&13:STA&01:LDA#&22:STA&18:RTS � ]:� �7 �"KEY 0""CALL&5800|MRUN|F|M""":�21:�"FX 153,0,128" � � �p random=!&5FFC:show=!&5FF8:smode=?&5FF7:mode=?&5FF6:sf$=$&5FE0:df$=$&5FD0:add$=$&5FC8:code=!&5FC4:pr%=?&5FC3 �/ �smode:�=&2600:� 23,1,0;0;0;0;:�"LO. "+sf$ � �code �0 �?&70=1 � �dFB � ?&71=�(2)-1:�random:�t|B �F � mode=0 � �"SA. TEMP 2D80 7D80":�0:�"LO. TEMP":�"DEL. TEMP" � �4 � � 23,1,0;0;0;0; � �show � �"SA. "+df$+add$+"8000" �7 � pr%=1 � �"ScrDump" � � pr%=2 � �"UCODE" � � �dnB �
00000000 0d 00 0a 6c 20 f4 20 20 20 20 20 41 75 74 6f 73 |...l . Autos| 00000010 74 65 72 65 6f 67 72 61 6d 20 47 65 6e 65 72 61 |tereogram Genera| 00000020 74 6f 72 20 20 20 20 20 20 20 20 20 20 20 20 20 |tor | 00000030 20 20 20 20 20 62 79 20 4d 2e 20 46 6f 72 64 2c | by M. Ford,| 00000040 20 44 65 63 20 31 39 39 34 20 20 20 20 20 20 20 | Dec 1994 | 00000050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000060 20 28 76 65 72 73 69 6f 6e 20 32 29 0d 00 14 10 | (version 2)....| 00000070 20 eb 20 36 3a d3 3d 26 35 46 43 33 0d 00 1e 18 | . 6:.=&5FC3....| 00000080 20 e7 20 90 3c 3e 26 32 32 30 30 20 8c 20 e5 20 | . .<>&2200 . . | 00000090 8d 44 4e 42 0d 00 28 38 20 f1 20 8a 38 2c 31 29 |.DNB..(8 . .8,1)| 000000a0 22 41 75 74 6f 73 74 65 72 65 6f 67 72 61 6d 20 |"Autostereogram | 000000b0 47 65 6e 65 72 61 74 6f 72 22 27 8a 31 34 29 22 |Generator"'.14)"| 000000c0 62 79 20 20 4d 2e 20 46 6f 72 64 22 0d 00 32 13 |by M. Ford"..2.| 000000d0 20 ef 20 32 38 2c 30 2c 32 34 2c 33 39 2c 35 0d | . 28,0,24,39,5.| 000000e0 00 3c 28 20 e8 22 46 69 6c 65 6e 61 6d 65 20 6f |.<( ."Filename o| 000000f0 66 20 73 6f 75 72 63 65 20 70 69 63 74 75 72 65 |f source picture| 00000100 3f 20 22 20 73 66 24 0d 00 46 33 20 e8 22 4d 6f |? " sf$..F3 ."Mo| 00000110 64 65 20 6f 66 20 73 6f 75 72 63 65 20 70 69 63 |de of source pic| 00000120 74 75 72 65 20 28 30 2c 31 2c 32 2c 34 2c 35 29 |ture (0,1,2,4,5)| 00000130 20 3f 20 22 20 73 6d 6f 64 65 0d 00 50 3b 20 f1 | ? " smode..P; .| 00000140 3a f5 20 e8 22 46 69 6c 65 6e 61 6d 65 20 74 6f |:. ."Filename to| 00000150 20 73 61 76 65 20 69 6d 61 67 65 20 75 6e 64 65 | save image unde| 00000160 72 3f 20 22 20 64 66 24 3a fd 20 a9 28 64 66 24 |r? " df$:. .(df$| 00000170 29 3c 3d 31 30 0d 00 5a 37 20 f5 20 e8 22 4d 6f |)<=10..Z7 . ."Mo| 00000180 64 65 20 6f 66 20 69 6d 61 67 65 20 28 30 2c 34 |de of image (0,4| 00000190 29 20 3f 20 22 20 6d 6f 64 65 3a fd 20 6d 6f 64 |) ? " mode:. mod| 000001a0 65 3d 30 20 84 20 6d 6f 64 65 3d 34 0d 00 64 78 |e=0 . mode=4..dx| 000001b0 20 f1 27 22 45 6e 74 65 72 20 65 79 65 20 73 65 | .'"Enter eye se| 000001c0 70 61 72 61 74 69 6f 6e 22 27 22 20 28 69 6e 20 |paration"'" (in | 000001d0 6d 6d 20 66 6f 72 20 70 72 69 6e 74 6f 75 74 20 |mm for printout | 000001e0 6f 66 20 77 69 64 74 68 20 31 33 35 6d 6d 20 3a |of width 135mm :| 000001f0 20 20 20 20 20 20 20 74 68 69 73 20 73 68 6f 75 | this shou| 00000200 6c 64 20 75 73 75 61 6c 6c 79 20 62 65 20 61 62 |ld usually be ab| 00000210 6f 75 74 20 32 30 29 20 22 3b 3a e8 22 22 65 79 |out 20) ";:.""ey| 00000220 65 73 65 70 0d 00 6e 7b 20 e7 20 73 6d 6f 64 65 |esep..n{ . smode| 00000230 3d 30 20 8c 20 63 6f 6c 6f 75 72 73 3d 32 20 8b |=0 . colours=2 .| 00000240 20 e7 20 73 6d 6f 64 65 3d 31 20 8c 20 63 6f 6c | . smode=1 . col| 00000250 6f 75 72 73 3d 34 20 8b 20 e7 20 73 6d 6f 64 65 |ours=4 . . smode| 00000260 3d 32 20 8c 20 63 6f 6c 6f 75 72 73 3d 31 36 20 |=2 . colours=16 | 00000270 8b 20 e7 20 73 6d 6f 64 65 3d 34 20 8c 20 63 6f |. . smode=4 . co| 00000280 6c 6f 75 72 73 3d 32 20 8b 20 e7 20 73 6d 6f 64 |lours=2 . . smod| 00000290 65 3d 35 20 8c 20 63 6f 6c 6f 75 72 73 3d 34 0d |e=5 . colours=4.| 000002a0 00 78 69 20 e7 20 6d 6f 64 65 3d 30 20 8c 20 77 |.xi . mode=0 . w| 000002b0 69 64 74 68 3d 36 34 30 3a 61 64 64 24 3d 22 20 |idth=640:add$=" | 000002c0 33 30 30 30 20 22 3a 6d 65 6d 74 6f 70 3d 26 37 |3000 ":memtop=&7| 000002d0 44 3a 70 69 78 65 6c 73 3d 32 20 8b 20 77 69 64 |D:pixels=2 . wid| 000002e0 74 68 3d 33 32 30 3a 61 64 64 24 3d 22 20 35 38 |th=320:add$=" 58| 000002f0 30 30 20 22 3a 6d 65 6d 74 6f 70 3d 26 35 35 3a |00 ":memtop=&55:| 00000300 70 69 78 65 6c 73 3d 34 0d 00 82 0f 20 68 65 69 |pixels=4.... hei| 00000310 67 68 74 3d 32 35 36 0d 00 8c 0f 20 63 6f 64 65 |ght=256.... code| 00000320 3d 26 31 44 30 30 0d 00 96 25 20 e3 70 61 73 73 |=&1D00...% .pass| 00000330 3d 30 20 b8 20 32 20 88 20 32 3a 50 25 3d 63 6f |=0 . 2 . 2:P%=co| 00000340 64 65 3a 5b 4f 50 54 70 61 73 73 0d 00 a0 e1 20 |de:[OPTpass.... | 00000350 4c 44 41 68 65 69 67 68 74 4c 4f 3a 53 54 41 79 |LDAheightLO:STAy| 00000360 4c 4f 3a 4c 44 41 68 65 69 67 68 74 48 49 3a 53 |LO:LDAheightHI:S| 00000370 54 41 79 48 49 3a 4c 44 41 79 4c 4f 3a 53 45 43 |TAyHI:LDAyLO:SEC| 00000380 3a 53 42 43 23 31 3a 53 54 41 79 4c 4f 3a 42 43 |:SBC#1:STAyLO:BC| 00000390 53 63 6f 6e 74 3a 44 45 43 79 48 49 3a 2e 63 6f |Scont:DECyHI:.co| 000003a0 6e 74 20 4c 44 41 23 26 38 30 3a 53 54 41 26 38 |nt LDA#&80:STA&8| 000003b0 38 3a 4c 44 41 23 26 32 44 3a 53 54 41 26 38 39 |8:LDA#&2D:STA&89| 000003c0 3a 4c 44 41 23 26 32 36 3a 53 54 41 26 37 31 3a |:LDA#&26:STA&71:| 000003d0 4c 44 59 23 30 3a 53 54 59 26 37 30 3a 4c 44 41 |LDY#0:STY&70:LDA| 000003e0 23 30 3a 2e 63 6c 65 61 72 6c 6f 6f 70 20 53 54 |#0:.clearloop ST| 000003f0 41 28 26 37 30 29 2c 59 3a 49 4e 59 3a 42 4e 45 |A(&70),Y:INY:BNE| 00000400 63 6c 65 61 72 6c 6f 6f 70 3a 49 4e 43 26 37 31 |clearloop:INC&71| 00000410 3a 4c 44 58 26 37 31 3a 43 50 58 23 26 33 30 3a |:LDX&71:CPX#&30:| 00000420 42 4e 45 63 6c 65 61 72 6c 6f 6f 70 0d 00 aa 35 |BNEclearloop...5| 00000430 20 2e 6e 65 77 6c 69 6e 65 20 4c 44 41 23 30 3a | .newline LDA#0:| 00000440 53 54 41 78 4c 4f 3a 53 54 41 78 48 49 3a 53 54 |STAxLO:STAxHI:ST| 00000450 41 73 61 6d 65 4c 4f 3a 53 54 41 73 61 6d 65 48 |AsameLO:STAsameH| 00000460 49 0d 00 b4 72 20 4c 44 58 23 30 3a 4c 44 59 23 |I...r LDX#0:LDY#| 00000470 30 3a 2e 73 61 6d 65 6c 6f 6f 70 20 4a 53 52 77 |0:.sameloop JSRw| 00000480 72 69 74 65 73 61 6d 65 3a 49 4e 58 3a 49 4e 43 |ritesame:INX:INC| 00000490 73 61 6d 65 4c 4f 3a 42 4e 45 73 61 6d 65 6c 6f |sameLO:BNEsamelo| 000004a0 6f 70 3a 49 4e 59 3a 49 4e 43 73 61 6d 65 48 49 |op:INY:INCsameHI| 000004b0 3a 43 50 59 77 69 64 74 68 48 49 3a 42 43 43 73 |:CPYwidthHI:BCCs| 000004c0 61 6d 65 6c 6f 6f 70 3a 42 45 51 73 61 6d 65 6c |ameloop:BEQsamel| 000004d0 6f 6f 70 0d 00 be 15 20 2e 6e 65 77 64 6f 74 20 |oop.... .newdot | 000004e0 4a 53 52 73 68 61 70 65 0d 00 c8 92 20 43 4c 43 |JSRshape.... CLC| 000004f0 3a 4c 44 41 73 65 70 4c 4f 3a 80 79 4c 4f 3a 80 |:LDAsepLO:.yLO:.| 00000500 23 31 3a 41 44 43 73 65 70 4c 4f 3a 53 54 41 26 |#1:ADCsepLO:STA&| 00000510 37 30 3a 4c 44 41 73 65 70 48 49 3a 41 44 43 23 |70:LDAsepHI:ADC#| 00000520 30 3a 4c 53 52 20 41 3a 53 54 41 26 37 31 3a 52 |0:LSR A:STA&71:R| 00000530 4f 52 26 37 30 3a 4c 44 41 78 4c 4f 3a 53 45 43 |OR&70:LDAxLO:SEC| 00000540 3a 53 42 43 26 37 30 3a 53 54 41 69 4c 4f 3a 4c |:SBC&70:STAiLO:L| 00000550 44 41 78 48 49 3a 53 42 43 26 37 31 3a 42 50 4c |DAxHI:SBC&71:BPL| 00000560 69 4f 4b 3a 4a 4d 50 6e 65 78 74 64 6f 74 3a 2e |iOK:JMPnextdot:.| 00000570 69 4f 4b 20 53 54 41 69 48 49 0d 00 d2 87 20 4c |iOK STAiHI.... L| 00000580 44 41 69 4c 4f 3a 43 4c 43 3a 41 44 43 73 65 70 |DAiLO:CLC:ADCsep| 00000590 4c 4f 3a 53 54 41 6a 4c 4f 3a 4c 44 41 69 48 49 |LO:STAjLO:LDAiHI| 000005a0 3a 41 44 43 73 65 70 48 49 3a 53 54 41 6a 48 49 |:ADCsepHI:STAjHI| 000005b0 3a 43 4d 50 77 69 64 74 68 48 49 3a 42 43 43 6a |:CMPwidthHI:BCCj| 000005c0 4f 4b 3a 42 4e 45 6e 65 78 74 64 6f 74 42 3a 4c |OK:BNEnextdotB:L| 000005d0 44 41 6a 4c 4f 3a 43 4d 50 77 69 64 74 68 4c 4f |DAjLO:CMPwidthLO| 000005e0 3a 42 43 43 6a 4f 4b 3a 2e 6e 65 78 74 64 6f 74 |:BCCjOK:.nextdot| 000005f0 42 20 4a 4d 50 6e 65 78 74 64 6f 74 3a 2e 6a 4f |B JMPnextdot:.jO| 00000600 4b 0d 00 dc d1 20 2e 73 61 6d 65 6c 6f 6f 70 32 |K.... .sameloop2| 00000610 20 4c 44 41 69 4c 4f 3a 53 54 41 73 61 6d 65 4c | LDAiLO:STAsameL| 00000620 4f 3a 4c 44 41 69 48 49 3a 53 54 41 73 61 6d 65 |O:LDAiHI:STAsame| 00000630 48 49 3a 4a 53 52 72 65 61 64 73 61 6d 65 3a 43 |HI:JSRreadsame:C| 00000640 50 59 6a 48 49 3a 42 43 43 69 66 41 3a 42 4e 45 |PYjHI:BCCifA:BNE| 00000650 69 66 42 3a 43 50 58 6a 4c 4f 3a 42 43 43 69 66 |ifB:CPXjLO:BCCif| 00000660 41 3a 42 45 51 65 71 75 61 6c 3a 2e 69 66 42 20 |A:BEQequal:.ifB | 00000670 53 54 58 73 4c 4f 3a 53 54 59 73 48 49 3a 4c 44 |STXsLO:STYsHI:LD| 00000680 58 6a 4c 4f 3a 4c 44 59 6a 48 49 3a 4a 53 52 77 |XjLO:LDYjHI:JSRw| 00000690 72 69 74 65 73 61 6d 65 3a 53 54 58 73 61 6d 65 |ritesame:STXsame| 000006a0 4c 4f 3a 53 54 59 73 61 6d 65 48 49 3a 4c 44 58 |LO:STYsameHI:LDX| 000006b0 73 4c 4f 3a 4c 44 59 73 48 49 3a 4a 53 52 77 72 |sLO:LDYsHI:JSRwr| 000006c0 69 74 65 73 61 6d 65 3a 4a 4d 50 6e 65 78 74 64 |itesame:JMPnextd| 000006d0 6f 74 0d 00 e6 81 20 2e 69 66 41 20 53 54 58 69 |ot.... .ifA STXi| 000006e0 4c 4f 3a 53 54 59 69 48 49 3a 53 54 58 73 61 6d |LO:STYiHI:STXsam| 000006f0 65 4c 4f 3a 53 54 59 73 61 6d 65 48 49 3a 4a 53 |eLO:STYsameHI:JS| 00000700 52 72 65 61 64 73 61 6d 65 3a 43 50 58 69 4c 4f |Rreadsame:CPXiLO| 00000710 3a 42 4e 45 73 61 6d 65 6c 6f 6f 70 32 3a 43 50 |:BNEsameloop2:CP| 00000720 59 69 48 49 3a 42 4e 45 73 61 6d 65 6c 6f 6f 70 |YiHI:BNEsameloop| 00000730 32 3a 2e 65 71 75 61 6c 20 4c 44 58 6a 4c 4f 3a |2:.equal LDXjLO:| 00000740 4c 44 59 6a 48 49 3a 4a 53 52 77 72 69 74 65 73 |LDYjHI:JSRwrites| 00000750 61 6d 65 0d 00 f0 79 20 2e 6e 65 78 74 64 6f 74 |ame...y .nextdot| 00000760 20 49 4e 43 78 4c 4f 3a 42 4e 45 63 68 65 63 6b | INCxLO:BNEcheck| 00000770 3a 49 4e 43 78 48 49 3a 2e 63 68 65 63 6b 20 4c |:INCxHI:.check L| 00000780 44 41 78 48 49 3a 43 4d 50 77 69 64 74 68 48 49 |DAxHI:CMPwidthHI| 00000790 3a 42 43 43 6c 6f 6f 70 65 6e 64 3a 4c 44 41 78 |:BCCloopend:LDAx| 000007a0 4c 4f 3a 43 4d 50 77 69 64 74 68 4c 4f 3a 42 45 |LO:CMPwidthLO:BE| 000007b0 51 64 69 73 70 6c 6f 6f 70 3a 2e 6c 6f 6f 70 65 |Qdisploop:.loope| 000007c0 6e 64 20 4a 4d 50 6e 65 77 64 6f 74 0d 00 fa 5c |nd JMPnewdot...\| 000007d0 20 2e 64 69 73 70 6c 6f 6f 70 20 4c 44 41 78 4c | .disploop LDAxL| 000007e0 4f 3a 53 45 43 3a 53 42 43 23 31 3a 53 54 41 78 |O:SEC:SBC#1:STAx| 000007f0 4c 4f 3a 42 43 53 63 68 65 63 6b 32 3a 44 45 43 |LO:BCScheck2:DEC| 00000800 78 48 49 3a 2e 63 68 65 63 6b 32 20 4c 44 41 78 |xHI:.check2 LDAx| 00000810 48 49 3a 42 50 4c 63 6f 6c 6f 75 72 3a 4a 4d 50 |HI:BPLcolour:JMP| 00000820 6e 65 78 74 6c 69 6e 65 0d 01 04 e2 20 2e 63 6f |nextline.... .co| 00000830 6c 6f 75 72 20 53 54 41 73 61 6d 65 48 49 3a 4c |lour STAsameHI:L| 00000840 44 41 78 4c 4f 3a 53 54 41 73 61 6d 65 4c 4f 3a |DAxLO:STAsameLO:| 00000850 4a 53 52 72 65 61 64 73 61 6d 65 3a 43 50 58 78 |JSRreadsame:CPXx| 00000860 4c 4f 3a 42 4e 45 73 61 6d 65 3a 43 50 59 78 48 |LO:BNEsame:CPYxH| 00000870 49 3a 42 4e 45 73 61 6d 65 3a 4c 44 41 23 30 3a |I:BNEsame:LDA#0:| 00000880 53 54 41 26 37 30 3a 52 54 53 3a 2e 72 61 6e 64 |STA&70:RTS:.rand| 00000890 6f 6d 20 4c 44 58 26 37 31 3a 4a 53 52 77 72 69 |om LDX&71:JSRwri| 000008a0 74 65 63 6f 6c 3a 4a 4d 50 64 69 73 70 3a 2e 73 |tecol:JMPdisp:.s| 000008b0 61 6d 65 20 4c 44 41 78 4c 4f 3a 53 54 41 73 61 |ame LDAxLO:STAsa| 000008c0 6d 65 4c 4f 3a 4c 44 41 78 48 49 3a 53 54 41 73 |meLO:LDAxHI:STAs| 000008d0 61 6d 65 48 49 3a 4a 53 52 72 65 61 64 73 61 6d |ameHI:JSRreadsam| 000008e0 65 3a 53 54 58 63 6f 6c 4c 4f 3a 53 54 59 63 6f |e:STXcolLO:STYco| 000008f0 6c 48 49 3a 4a 53 52 72 65 61 64 63 6f 6c 3a 4a |lHI:JSRreadcol:J| 00000900 53 52 77 72 69 74 65 63 6f 6c 0d 01 0e a2 20 2e |SRwritecol.... .| 00000910 64 69 73 70 20 54 58 41 3a 43 4c 43 3a 42 45 51 |disp TXA:CLC:BEQ| 00000920 73 74 6f 72 65 3a 53 45 43 3a 2e 73 74 6f 72 65 |store:SEC:.store| 00000930 20 52 4f 4c 62 79 74 65 3a 49 4e 43 63 6f 75 6e | ROLbyte:INCcoun| 00000940 74 65 72 3a 4c 44 41 63 6f 75 6e 74 65 72 3a 43 |ter:LDAcounter:C| 00000950 4d 50 23 38 3a 42 4e 45 64 69 73 70 6c 6f 6f 70 |MP#8:BNEdisploop| 00000960 3a 4c 44 59 23 30 3a 53 54 59 63 6f 75 6e 74 65 |:LDY#0:STYcounte| 00000970 72 3a 49 4e 43 26 38 38 3a 42 4e 45 73 61 76 65 |r:INC&88:BNEsave| 00000980 3a 49 4e 43 26 38 39 3a 2e 73 61 76 65 20 4c 44 |:INC&89:.save LD| 00000990 41 62 79 74 65 3a 53 54 41 28 26 38 38 29 2c 59 |Abyte:STA(&88),Y| 000009a0 3a 4a 4d 50 64 69 73 70 6c 6f 6f 70 0d 01 18 62 |:JMPdisploop...b| 000009b0 20 2e 6e 65 78 74 6c 69 6e 65 20 4c 44 41 79 4c | .nextline LDAyL| 000009c0 4f 3a 53 45 43 3a 53 42 43 23 31 3a 53 54 41 79 |O:SEC:SBC#1:STAy| 000009d0 4c 4f 3a 42 43 53 61 67 61 69 6e 3a 44 45 43 79 |LO:BCSagain:DECy| 000009e0 48 49 3a 42 50 4c 61 67 61 69 6e 3a 4c 44 41 23 |HI:BPLagain:LDA#| 000009f0 31 3a 53 54 41 26 37 30 3a 52 54 53 3a 2e 61 67 |1:STA&70:RTS:.ag| 00000a00 61 69 6e 20 4a 4d 50 6e 65 77 6c 69 6e 65 0d 01 |ain JMPnewline..| 00000a10 22 82 20 2e 77 72 69 74 65 73 61 6d 65 20 4c 44 |". .writesame LD| 00000a20 41 73 61 6d 65 4c 4f 3a 53 54 41 26 38 30 3a 4c |AsameLO:STA&80:L| 00000a30 44 41 73 61 6d 65 48 49 3a 41 53 4c 26 38 30 3a |DAsameHI:ASL&80:| 00000a40 52 4f 4c 20 41 3a 43 4c 43 3a 41 44 43 23 26 32 |ROL A:CLC:ADC#&2| 00000a50 36 3a 53 54 41 26 38 31 3a 54 59 41 3a 50 48 41 |6:STA&81:TYA:PHA| 00000a60 3a 4c 44 59 23 31 3a 53 54 41 28 26 38 30 29 2c |:LDY#1:STA(&80),| 00000a70 59 3a 44 45 59 3a 54 58 41 3a 53 54 41 28 26 38 |Y:DEY:TXA:STA(&8| 00000a80 30 29 2c 59 3a 50 4c 41 3a 54 41 59 3a 52 54 53 |0),Y:PLA:TAY:RTS| 00000a90 0d 01 2c 75 20 2e 72 65 61 64 73 61 6d 65 20 4c |..,u .readsame L| 00000aa0 44 41 73 61 6d 65 4c 4f 3a 53 54 41 26 38 30 3a |DAsameLO:STA&80:| 00000ab0 4c 44 41 73 61 6d 65 48 49 3a 41 53 4c 26 38 30 |LDAsameHI:ASL&80| 00000ac0 3a 52 4f 4c 20 41 3a 43 4c 43 3a 41 44 43 23 26 |:ROL A:CLC:ADC#&| 00000ad0 32 36 3a 53 54 41 26 38 31 3a 4c 44 59 23 30 3a |26:STA&81:LDY#0:| 00000ae0 4c 44 41 28 26 38 30 29 2c 59 3a 54 41 58 3a 49 |LDA(&80),Y:TAX:I| 00000af0 4e 59 3a 4c 44 41 28 26 38 30 29 2c 59 3a 54 41 |NY:LDA(&80),Y:TA| 00000b00 59 3a 52 54 53 0d 01 36 5d 20 2e 77 72 69 74 65 |Y:RTS..6] .write| 00000b10 63 6f 6c 20 4c 44 41 78 4c 4f 3a 53 54 41 26 38 |col LDAxLO:STA&8| 00000b20 30 3a 4c 44 41 78 48 49 3a 43 4c 43 3a 41 44 43 |0:LDAxHI:CLC:ADC| 00000b30 23 26 32 42 3a 53 54 41 26 38 31 3a 53 54 59 26 |#&2B:STA&81:STY&| 00000b40 38 33 3a 54 58 41 3a 4c 44 59 23 30 3a 53 54 41 |83:TXA:LDY#0:STA| 00000b50 28 26 38 30 29 2c 59 3a 4c 44 59 26 38 33 3a 52 |(&80),Y:LDY&83:R| 00000b60 54 53 0d 01 40 60 20 2e 72 65 61 64 63 6f 6c 20 |TS..@` .readcol | 00000b70 4c 44 41 63 6f 6c 4c 4f 3a 53 54 41 26 38 30 3a |LDAcolLO:STA&80:| 00000b80 4c 44 41 63 6f 6c 48 49 3a 43 4c 43 3a 41 44 43 |LDAcolHI:CLC:ADC| 00000b90 23 26 32 42 3a 53 54 41 26 38 31 3a 53 54 59 26 |#&2B:STA&81:STY&| 00000ba0 38 33 3a 4c 44 59 23 30 3a 4c 44 41 28 26 38 30 |83:LDY#0:LDA(&80| 00000bb0 29 2c 59 3a 54 41 58 3a 4c 44 59 26 38 33 3a 52 |),Y:TAX:LDY&83:R| 00000bc0 54 53 0d 01 4a c9 20 2e 73 68 6f 77 20 41 53 4c |TS..J. .show ASL| 00000bd0 77 69 64 74 68 4c 4f 3a 52 4f 4c 77 69 64 74 68 |widthLO:ROLwidth| 00000be0 48 49 3a 4c 44 41 23 6d 6f 64 65 3a 43 4d 50 23 |HI:LDA#mode:CMP#| 00000bf0 34 3a 42 4e 45 64 68 65 69 67 68 74 3a 41 53 4c |4:BNEdheight:ASL| 00000c00 77 69 64 74 68 4c 4f 3a 52 4f 4c 77 69 64 74 68 |widthLO:ROLwidth| 00000c10 48 49 3a 2e 64 68 65 69 67 68 74 20 4c 44 58 68 |HI:.dheight LDXh| 00000c20 65 69 67 68 74 4c 4f 3a 44 45 58 3a 53 54 58 68 |eightLO:DEX:STXh| 00000c30 65 69 67 68 74 4c 4f 3a 43 50 58 23 26 46 46 3a |eightLO:CPX#&FF:| 00000c40 42 4e 45 63 6f 6e 74 32 3a 44 45 43 68 65 69 67 |BNEcont2:DECheig| 00000c50 68 74 48 49 3a 2e 63 6f 6e 74 32 20 41 53 4c 68 |htHI:.cont2 ASLh| 00000c60 65 69 67 68 74 4c 4f 3a 52 4f 4c 68 65 69 67 68 |eightLO:ROLheigh| 00000c70 74 48 49 3a 41 53 4c 68 65 69 67 68 74 4c 4f 3a |tHI:ASLheightLO:| 00000c80 52 4f 4c 68 65 69 67 68 74 48 49 0d 01 54 57 20 |ROLheightHI..TW | 00000c90 4c 44 59 23 30 3a 53 54 59 79 48 49 3a 53 54 59 |LDY#0:STYyHI:STY| 00000ca0 79 4c 4f 3a 4c 44 41 23 26 38 30 3a 53 54 41 26 |yLO:LDA#&80:STA&| 00000cb0 38 38 3a 4c 44 41 23 6d 65 6d 74 6f 70 3a 53 54 |88:LDA#memtop:ST| 00000cc0 41 26 38 39 3a 2e 70 6c 6f 74 6c 69 6e 65 20 4c |A&89:.plotline L| 00000cd0 44 41 23 30 3a 53 54 41 78 4c 4f 3a 53 54 41 78 |DA#0:STAxLO:STAx| 00000ce0 48 49 0d 01 5e bf 20 2e 70 6c 6f 74 6c 6f 6f 70 |HI..^. .plotloop| 00000cf0 20 4c 44 41 28 26 38 38 29 2c 59 3a 4c 53 52 20 | LDA(&88),Y:LSR | 00000d00 41 3a 53 54 41 28 26 38 38 29 2c 59 3a 42 43 43 |A:STA(&88),Y:BCC| 00000d10 6e 65 78 74 70 6c 6f 74 3a 4c 44 58 23 34 3a 2e |nextplot:LDX#4:.| 00000d20 64 72 61 77 20 4c 44 41 23 32 35 3a 4a 53 52 26 |draw LDA#25:JSR&| 00000d30 46 46 45 45 3a 54 58 41 3a 4a 53 52 26 46 46 45 |FFEE:TXA:JSR&FFE| 00000d40 45 3a 4c 44 41 78 4c 4f 3a 4a 53 52 26 46 46 45 |E:LDAxLO:JSR&FFE| 00000d50 45 3a 4c 44 41 78 48 49 3a 4a 53 52 26 46 46 45 |E:LDAxHI:JSR&FFE| 00000d60 45 3a 4c 44 41 79 4c 4f 3a 4a 53 52 26 46 46 45 |E:LDAyLO:JSR&FFE| 00000d70 45 3a 4c 44 41 79 48 49 3a 4a 53 52 26 46 46 45 |E:LDAyHI:JSR&FFE| 00000d80 45 3a 43 50 58 23 35 3a 42 45 51 6e 65 78 74 70 |E:CPX#5:BEQnextp| 00000d90 6c 6f 74 3a 4c 44 58 23 35 3a 4a 4d 50 64 72 61 |lot:LDX#5:JMPdra| 00000da0 77 0d 01 68 d8 20 2e 6e 65 78 74 70 6c 6f 74 20 |w..h. .nextplot | 00000db0 49 4e 43 63 6f 75 6e 74 65 72 3a 4c 44 41 63 6f |INCcounter:LDAco| 00000dc0 75 6e 74 65 72 3a 43 4d 50 23 38 3a 42 4e 45 6e |unter:CMP#8:BNEn| 00000dd0 65 78 74 78 3a 4c 44 41 23 30 3a 53 54 41 63 6f |extx:LDA#0:STAco| 00000de0 75 6e 74 65 72 3a 44 45 43 26 38 38 3a 4c 44 41 |unter:DEC&88:LDA| 00000df0 26 38 38 3a 43 4d 50 23 26 46 46 3a 42 4e 45 6e |&88:CMP#&FF:BNEn| 00000e00 65 78 74 78 3a 44 45 43 26 38 39 3a 2e 6e 65 78 |extx:DEC&89:.nex| 00000e10 74 78 20 4c 44 41 78 4c 4f 3a 43 4c 43 3a 41 44 |tx LDAxLO:CLC:AD| 00000e20 43 23 70 69 78 65 6c 73 3a 53 54 41 78 4c 4f 3a |C#pixels:STAxLO:| 00000e30 42 43 43 63 68 65 63 6b 77 3a 49 4e 43 78 48 49 |BCCcheckw:INCxHI| 00000e40 3a 2e 63 68 65 63 6b 77 20 4c 44 41 78 48 49 3a |:.checkw LDAxHI:| 00000e50 43 4d 50 77 69 64 74 68 48 49 3a 42 43 43 70 6c |CMPwidthHI:BCCpl| 00000e60 6f 74 6c 6f 6f 70 3a 4c 44 41 78 4c 4f 3a 42 43 |otloop:LDAxLO:BC| 00000e70 43 70 6c 6f 74 6c 6f 6f 70 0d 01 72 8d 20 4c 44 |Cplotloop..r. LD| 00000e80 41 79 4c 4f 3a 43 4c 43 3a 41 44 43 23 34 3a 53 |AyLO:CLC:ADC#4:S| 00000e90 54 41 79 4c 4f 3a 42 43 43 63 68 65 63 6b 65 6e |TAyLO:BCCchecken| 00000ea0 64 3a 49 4e 43 79 48 49 3a 2e 63 68 65 63 6b 65 |d:INCyHI:.checke| 00000eb0 6e 64 20 43 4d 50 68 65 69 67 68 74 4c 4f 3a 42 |nd CMPheightLO:B| 00000ec0 4e 45 70 6c 6f 74 6c 69 6e 65 32 3a 4c 44 41 79 |NEplotline2:LDAy| 00000ed0 48 49 3a 43 4d 50 68 65 69 67 68 74 48 49 3a 42 |HI:CMPheightHI:B| 00000ee0 4e 45 70 6c 6f 74 6c 69 6e 65 32 3a 52 54 53 3a |NEplotline2:RTS:| 00000ef0 2e 70 6c 6f 74 6c 69 6e 65 32 20 4a 4d 50 70 6c |.plotline2 JMPpl| 00000f00 6f 74 6c 69 6e 65 0d 01 7c d4 20 2e 78 4c 4f 20 |otline..|. .xLO | 00000f10 45 51 55 42 30 3a 2e 78 48 49 20 45 51 55 42 30 |EQUB0:.xHI EQUB0| 00000f20 3a 2e 79 4c 4f 20 45 51 55 42 30 3a 2e 79 48 49 |:.yLO EQUB0:.yHI| 00000f30 20 45 51 55 42 30 3a 2e 73 61 6d 65 4c 4f 20 45 | EQUB0:.sameLO E| 00000f40 51 55 42 30 3a 2e 73 61 6d 65 48 49 20 45 51 55 |QUB0:.sameHI EQU| 00000f50 42 30 3a 2e 63 6f 6c 4c 4f 20 45 51 55 42 30 3a |B0:.colLO EQUB0:| 00000f60 2e 63 6f 6c 48 49 20 45 51 55 42 30 3a 2e 77 69 |.colHI EQUB0:.wi| 00000f70 64 74 68 4c 4f 20 45 51 55 42 30 3a 2e 77 69 64 |dthLO EQUB0:.wid| 00000f80 74 68 48 49 20 45 51 55 42 30 3a 2e 68 65 69 67 |thHI EQUB0:.heig| 00000f90 68 74 4c 4f 20 45 51 55 42 30 3a 2e 68 65 69 67 |htLO EQUB0:.heig| 00000fa0 68 74 48 49 20 45 51 55 42 30 3a 2e 73 65 70 4c |htHI EQUB0:.sepL| 00000fb0 4f 20 45 51 55 42 30 3a 2e 73 65 70 48 49 20 45 |O EQUB0:.sepHI E| 00000fc0 51 55 42 30 3a 2e 69 4c 4f 20 45 51 55 42 30 3a |QUB0:.iLO EQUB0:| 00000fd0 2e 69 48 49 20 45 51 55 42 30 0d 01 86 4b 20 2e |.iHI EQUB0...K .| 00000fe0 6a 4c 4f 20 45 51 55 42 30 3a 2e 6a 48 49 20 45 |jLO EQUB0:.jHI E| 00000ff0 51 55 42 30 3a 2e 73 4c 4f 20 45 51 55 42 30 3a |QUB0:.sLO EQUB0:| 00001000 2e 73 48 49 20 45 51 55 42 30 3a 2e 62 79 74 65 |.sHI EQUB0:.byte| 00001010 20 45 51 55 42 30 3a 2e 63 6f 75 6e 74 65 72 20 | EQUB0:.counter | 00001020 45 51 55 42 30 0d 01 90 5b 20 2e 73 68 61 70 65 |EQUB0...[ .shape| 00001030 20 4c 44 41 78 4c 4f 3a 53 54 41 26 37 30 3a 4c | LDAxLO:STA&70:L| 00001040 44 41 78 48 49 3a 53 54 41 26 37 31 3a 41 53 4c |DAxHI:STA&71:ASL| 00001050 26 37 30 3a 52 4f 4c 26 37 31 3a 4c 44 41 23 6d |&70:ROL&71:LDA#m| 00001060 6f 64 65 3a 43 4d 50 23 34 3a 42 4e 45 79 6d 75 |ode:CMP#4:BNEymu| 00001070 6c 74 3a 41 53 4c 26 37 30 3a 52 4f 4c 26 37 31 |lt:ASL&70:ROL&71| 00001080 0d 01 9a 60 20 2e 79 6d 75 6c 74 20 4c 44 41 79 |...` .ymult LDAy| 00001090 4c 4f 3a 53 54 41 26 37 32 3a 4c 44 41 79 48 49 |LO:STA&72:LDAyHI| 000010a0 3a 53 54 41 26 37 33 3a 41 53 4c 26 37 32 3a 52 |:STA&73:ASL&72:R| 000010b0 4f 4c 26 37 33 3a 41 53 4c 26 37 32 3a 52 4f 4c |OL&73:ASL&72:ROL| 000010c0 26 37 33 3a 4c 44 41 23 39 3a 4c 44 58 23 26 37 |&73:LDA#9:LDX#&7| 000010d0 30 3a 4c 44 59 23 30 3a 4a 53 52 26 46 46 46 31 |0:LDY#0:JSR&FFF1| 000010e0 0d 01 a4 7b 20 4c 44 41 26 37 34 3a 41 53 4c 20 |...{ LDA&74:ASL | 000010f0 41 3a 54 41 59 3a 4c 44 41 23 28 67 72 6f 75 6e |A:TAY:LDA#(groun| 00001100 64 4c 4f 20 83 32 35 36 29 3a 53 54 41 26 38 42 |dLO .256):STA&8B| 00001110 3a 4c 44 41 23 28 67 72 6f 75 6e 64 4c 4f 20 81 |:LDA#(groundLO .| 00001120 32 35 36 29 3a 53 54 41 26 38 43 3a 4c 44 41 28 |256):STA&8C:LDA(| 00001130 26 38 42 29 2c 59 3a 53 54 41 73 65 70 4c 4f 3a |&8B),Y:STAsepLO:| 00001140 49 4e 59 3a 4c 44 41 28 26 38 42 29 2c 59 3a 53 |INY:LDA(&8B),Y:S| 00001150 54 41 73 65 70 48 49 3a 52 54 53 0d 01 ae 54 20 |TAsepHI:RTS...T | 00001160 2e 67 72 6f 75 6e 64 4c 4f 20 45 51 55 42 30 3a |.groundLO EQUB0:| 00001170 2e 67 72 6f 75 6e 64 48 49 20 45 51 55 42 30 3a |.groundHI EQUB0:| 00001180 45 51 55 44 30 3a 45 51 55 44 30 3a 45 51 55 44 |EQUD0:EQUD0:EQUD| 00001190 30 3a 45 51 55 44 30 3a 45 51 55 44 30 3a 45 51 |0:EQUD0:EQUD0:EQ| 000011a0 55 44 30 3a 45 51 55 44 30 3a 45 51 55 57 30 0d |UD0:EQUD0:EQUW0.| 000011b0 01 b8 06 20 5d 0d 01 c2 06 20 ed 0d 01 cc 20 20 |... ].... .... | 000011c0 21 77 69 64 74 68 4c 4f 3d 77 69 64 74 68 2b 68 |!widthLO=width+h| 000011d0 65 69 67 68 74 2a 36 35 35 33 36 0d 01 d6 25 20 |eight*65536...% | 000011e0 65 79 65 67 61 70 3d a8 28 65 79 65 73 65 70 2f |eyegap=.(eyesep/| 000011f0 31 33 35 2e 34 37 2a 77 69 64 74 68 2b 2e 35 29 |135.47*width+.5)| 00001200 0d 01 e0 77 20 f1 27 22 45 6e 74 65 72 20 65 6c |...w .'"Enter el| 00001210 65 76 61 74 69 6f 6e 20 6e 75 6d 62 65 72 20 66 |evation number f| 00001220 6f 72 20 65 61 63 68 20 6c 6f 67 69 63 61 6c 20 |or each logical | 00001230 20 63 6f 6c 6f 75 72 2e 22 27 22 20 28 4e 2e 42 | colour."'" (N.B| 00001240 2e 20 2d 20 46 6f 72 20 74 68 65 20 62 61 63 6b |. - For the back| 00001250 67 72 6f 75 6e 64 20 63 6f 6c 6f 75 72 2c 22 27 |ground colour,"'| 00001260 89 28 31 30 29 22 75 73 65 20 65 6c 65 76 61 74 |.(10)"use elevat| 00001270 69 6f 6e 20 30 2e 22 0d 01 ea 9d 20 f1 20 89 28 |ion 0.".... . .(| 00001280 37 29 22 2d 20 46 6f 72 20 6d 6f 73 74 20 6f 62 |7)"- For most ob| 00001290 6a 65 63 74 73 2c 20 73 75 69 74 61 62 6c 65 22 |jects, suitable"| 000012a0 27 89 28 31 30 29 22 76 61 6c 75 65 73 20 61 72 |'.(10)"values ar| 000012b0 65 20 34 20 28 66 6f 72 20 4d 6f 64 65 20 34 22 |e 4 (for Mode 4"| 000012c0 27 89 28 31 30 29 22 69 6d 61 67 65 73 29 2c 20 |'.(10)"images), | 000012d0 6f 72 20 38 20 28 66 6f 72 20 4d 6f 64 65 20 30 |or 8 (for Mode 0| 000012e0 22 27 89 28 31 30 29 22 69 6d 61 67 65 73 2e 22 |"'.(10)"images."| 000012f0 27 89 28 37 29 22 2d 20 55 73 65 20 6f 6e 6c 79 |'.(7)"- Use only| 00001300 20 69 6e 74 65 67 65 72 20 76 61 6c 75 65 73 2e | integer values.| 00001310 20 29 22 27 0d 01 f4 94 20 e3 6f 62 6a 65 63 74 | )"'.... .object| 00001320 3d 30 20 b8 20 63 6f 6c 6f 75 72 73 2d 31 3a f1 |=0 . colours-1:.| 00001330 22 20 20 20 43 6f 6c 6f 75 72 20 22 2b c3 28 6f |" Colour "+.(o| 00001340 62 6a 65 63 74 29 2b 22 3a 20 22 3b 3a e8 22 22 |bject)+": ";:.""| 00001350 65 6c 65 76 3a 3f 28 67 72 6f 75 6e 64 4c 4f 2b |elev:?(groundLO+| 00001360 6f 62 6a 65 63 74 2a 32 29 3d 28 65 79 65 67 61 |object*2)=(eyega| 00001370 70 2d 65 6c 65 76 29 20 83 32 35 36 3a 3f 28 67 |p-elev) .256:?(g| 00001380 72 6f 75 6e 64 4c 4f 2b 6f 62 6a 65 63 74 2a 32 |roundLO+object*2| 00001390 2b 31 29 3d 28 65 79 65 67 61 70 2d 65 6c 65 76 |+1)=(eyegap-elev| 000013a0 29 20 81 32 35 36 3a ed 0d 01 fe 4c 20 f1 27 22 |) .256:....L .'"| 000013b0 44 6f 20 79 6f 75 20 77 61 6e 74 20 61 20 70 72 |Do you want a pr| 000013c0 69 6e 74 65 64 20 63 6f 70 79 20 28 59 2f 4e 29 |inted copy (Y/N)| 000013d0 3f 20 22 3b 3a f5 20 6b 65 79 24 3d be 3a 41 3d |? ";:. key$=.:A=| 000013e0 a7 22 59 79 4e 6e 22 2c 6b 65 79 24 29 3a fd 20 |."YyNn",key$):. | 000013f0 41 3c 3e 30 0d 02 08 1d 20 e7 20 41 3e 32 20 8c |A<>0.... . A>2 .| 00001400 20 f1 22 4e 22 3a 70 72 25 3d 30 3a e5 8d 54 66 | ."N":pr%=0:..Tf| 00001410 42 0d 02 12 41 20 f1 22 59 22 27 22 28 4c 29 61 |B...A ."Y"'"(L)a| 00001420 72 67 65 20 6f 72 20 28 53 29 6d 61 6c 6c 3f 20 |rge or (S)mall? | 00001430 22 3b 3a f5 20 6b 65 79 24 3d be 3a 41 3d a7 22 |";:. key$=.:A=."| 00001440 4c 6c 53 73 22 2c 6b 65 79 24 29 3a fd 20 41 3c |LlSs",key$):. A<| 00001450 3e 30 0d 02 1c 24 20 e7 20 41 3c 33 20 8c 20 f1 |>0...$ . A<3 . .| 00001460 22 4c 22 3a 70 72 25 3d 32 20 8b 20 f1 22 53 22 |"L":pr%=2 . ."S"| 00001470 3a 70 72 25 3d 31 0d 02 26 70 20 21 26 35 46 46 |:pr%=1..&p !&5FF| 00001480 43 3d 72 61 6e 64 6f 6d 3a 21 26 35 46 46 38 3d |C=random:!&5FF8=| 00001490 73 68 6f 77 3a 3f 26 35 46 46 37 3d 73 6d 6f 64 |show:?&5FF7=smod| 000014a0 65 3a 3f 26 35 46 46 36 3d 6d 6f 64 65 3a 24 26 |e:?&5FF6=mode:$&| 000014b0 35 46 45 30 3d 73 66 24 3a 24 26 35 46 44 30 3d |5FE0=sf$:$&5FD0=| 000014c0 64 66 24 3a 24 26 35 46 43 38 3d 61 64 64 24 3a |df$:$&5FC8=add$:| 000014d0 21 26 35 46 43 34 3d 63 6f 64 65 3a 3f 26 35 46 |!&5FC4=code:?&5F| 000014e0 43 33 3d 70 72 25 0d 02 30 28 20 61 24 3d 22 44 |C3=pr%..0( a$="D| 000014f0 45 4c 45 54 45 20 31 30 2c 36 36 30 22 2b bd 31 |ELETE 10,660"+.1| 00001500 33 2b 22 52 55 4e 22 2b bd 36 2b bd 31 33 0d 02 |3+"RUN"+.6+.13..| 00001510 3a 3b 20 ef 20 32 31 3a e3 20 63 68 61 72 3d 31 |:; . 21:. char=1| 00001520 20 b8 20 a9 28 61 24 29 3a ff 22 46 58 20 31 33 | . .(a$):."FX 13| 00001530 38 2c 30 2c 22 2b c3 28 97 28 c1 61 24 2c 63 68 |8,0,"+.(.(.a$,ch| 00001540 61 72 2c 31 29 29 29 3a ed 0d 02 44 06 20 e0 0d |ar,1))):...D. ..| 00001550 02 4e 16 20 f4 20 52 65 6c 6f 63 61 74 69 6f 6e |.N. . Relocation| 00001560 20 63 6f 64 65 0d 02 58 2e 20 d3 3d 26 35 38 30 | code..X. .=&580| 00001570 30 3a e3 70 61 73 73 3d 30 20 b8 20 32 20 88 20 |0:.pass=0 . 2 . | 00001580 32 3a 50 25 3d 26 35 38 30 30 3a 5b 4f 50 54 70 |2:P%=&5800:[OPTp| 00001590 61 73 73 0d 02 62 cd 20 4c 44 59 23 30 3a 53 54 |ass..b. LDY#0:ST| 000015a0 59 26 37 30 3a 53 54 59 26 37 32 3a 4c 44 41 23 |Y&70:STY&72:LDA#| 000015b0 26 32 32 3a 53 45 43 3a 53 42 43 26 31 38 3a 53 |&22:SEC:SBC&18:S| 000015c0 54 41 26 37 34 3a 4c 44 41 26 31 38 3a 43 4d 50 |TA&74:LDA&18:CMP| 000015d0 23 26 32 32 3a 42 43 43 61 64 64 3a 2e 73 75 62 |#&22:BCCadd:.sub| 000015e0 20 53 54 41 26 37 31 3a 4c 44 41 23 26 32 32 3a | STA&71:LDA#&22:| 000015f0 53 54 41 26 37 33 3a 2e 6d 6f 76 65 6c 6f 6f 70 |STA&73:.moveloop| 00001600 31 20 4c 44 41 28 26 37 30 29 2c 59 3a 53 54 41 |1 LDA(&70),Y:STA| 00001610 28 26 37 32 29 2c 59 3a 49 4e 59 3a 42 4e 45 6d |(&72),Y:INY:BNEm| 00001620 6f 76 65 6c 6f 6f 70 31 3a 49 4e 43 26 37 31 3a |oveloop1:INC&71:| 00001630 49 4e 43 26 37 33 3a 4c 44 58 26 37 31 3a 44 45 |INC&73:LDX&71:DE| 00001640 58 3a 43 50 58 26 30 33 3a 42 43 43 6d 6f 76 65 |X:CPX&03:BCCmove| 00001650 6c 6f 6f 70 31 3a 42 43 53 65 6e 64 6d 6f 76 65 |loop1:BCSendmove| 00001660 0d 02 6c 9a 20 2e 61 64 64 20 4c 44 41 26 30 33 |..l. .add LDA&03| 00001670 3a 53 54 41 26 37 31 3a 43 4c 43 3a 41 44 43 26 |:STA&71:CLC:ADC&| 00001680 37 34 3a 53 54 41 26 37 33 3a 4c 44 41 23 30 3a |74:STA&73:LDA#0:| 00001690 4c 44 59 26 30 32 3a 2e 6d 6f 76 65 6c 6f 6f 70 |LDY&02:.moveloop| 000016a0 32 20 4c 44 41 28 26 37 30 29 2c 59 3a 53 54 41 |2 LDA(&70),Y:STA| 000016b0 28 26 37 32 29 2c 59 3a 44 45 59 3a 43 50 59 23 |(&72),Y:DEY:CPY#| 000016c0 26 46 46 3a 42 4e 45 6d 6f 76 65 6c 6f 6f 70 32 |&FF:BNEmoveloop2| 000016d0 3a 44 45 43 26 37 31 3a 44 45 43 26 37 33 3a 4c |:DEC&71:DEC&73:L| 000016e0 44 41 26 37 33 3a 43 4d 50 23 26 32 31 3a 42 43 |DA&73:CMP#&21:BC| 000016f0 53 6d 6f 76 65 6c 6f 6f 70 32 0d 02 76 40 20 2e |Smoveloop2..v@ .| 00001700 65 6e 64 6d 6f 76 65 20 4c 44 41 26 31 33 3a 43 |endmove LDA&13:C| 00001710 4c 43 3a 41 44 43 26 37 34 3a 53 54 41 26 31 33 |LC:ADC&74:STA&13| 00001720 3a 53 54 41 26 30 31 3a 4c 44 41 23 26 32 32 3a |:STA&01:LDA#&22:| 00001730 53 54 41 26 31 38 3a 52 54 53 0d 02 80 08 20 5d |STA&18:RTS.... ]| 00001740 3a ed 0d 02 8a 37 20 ff 22 4b 45 59 20 30 22 22 |:....7 ."KEY 0""| 00001750 43 41 4c 4c 26 35 38 30 30 7c 4d 52 55 4e 7c 46 |CALL&5800|MRUN|F| 00001760 7c 4d 22 22 22 3a ef 32 31 3a ff 22 46 58 20 31 ||M""":.21:."FX 1| 00001770 35 33 2c 30 2c 31 32 38 22 0d 02 94 06 20 e0 0d |53,0,128".... ..| 00001780 02 9e 70 20 72 61 6e 64 6f 6d 3d 21 26 35 46 46 |..p random=!&5FF| 00001790 43 3a 73 68 6f 77 3d 21 26 35 46 46 38 3a 73 6d |C:show=!&5FF8:sm| 000017a0 6f 64 65 3d 3f 26 35 46 46 37 3a 6d 6f 64 65 3d |ode=?&5FF7:mode=| 000017b0 3f 26 35 46 46 36 3a 73 66 24 3d 24 26 35 46 45 |?&5FF6:sf$=$&5FE| 000017c0 30 3a 64 66 24 3d 24 26 35 46 44 30 3a 61 64 64 |0:df$=$&5FD0:add| 000017d0 24 3d 24 26 35 46 43 38 3a 63 6f 64 65 3d 21 26 |$=$&5FC8:code=!&| 000017e0 35 46 43 34 3a 70 72 25 3d 3f 26 35 46 43 33 0d |5FC4:pr%=?&5FC3.| 000017f0 02 a8 2f 20 eb 73 6d 6f 64 65 3a d3 3d 26 32 36 |../ .smode:.=&26| 00001800 30 30 3a ef 20 32 33 2c 31 2c 30 3b 30 3b 30 3b |00:. 23,1,0;0;0;| 00001810 30 3b 3a ff 22 4c 4f 2e 20 22 2b 73 66 24 0d 02 |0;:."LO. "+sf$..| 00001820 b2 0a 20 d6 63 6f 64 65 0d 02 bc 30 20 e7 3f 26 |.. .code...0 .?&| 00001830 37 30 3d 31 20 8c 20 e5 8d 64 46 42 20 8b 20 3f |70=1 . ..dFB . ?| 00001840 26 37 31 3d b3 28 32 29 2d 31 3a d6 72 61 6e 64 |&71=.(2)-1:.rand| 00001850 6f 6d 3a e5 8d 74 7c 42 0d 02 c6 46 20 e7 20 6d |om:..t|B...F . m| 00001860 6f 64 65 3d 30 20 8c 20 ff 22 53 41 2e 20 54 45 |ode=0 . ."SA. TE| 00001870 4d 50 20 32 44 38 30 20 37 44 38 30 22 3a eb 30 |MP 2D80 7D80":.0| 00001880 3a ff 22 4c 4f 2e 20 54 45 4d 50 22 3a ff 22 44 |:."LO. TEMP":."D| 00001890 45 4c 2e 20 54 45 4d 50 22 20 8b 20 eb 34 0d 02 |EL. TEMP" . .4..| 000018a0 d0 14 20 ef 20 32 33 2c 31 2c 30 3b 30 3b 30 3b |.. . 23,1,0;0;0;| 000018b0 30 3b 0d 02 da 0a 20 d6 73 68 6f 77 0d 02 e4 1c |0;.... .show....| 000018c0 20 ff 22 53 41 2e 20 22 2b 64 66 24 2b 61 64 64 | ."SA. "+df$+add| 000018d0 24 2b 22 38 30 30 30 22 0d 02 ee 37 20 e7 20 70 |$+"8000"...7 . p| 000018e0 72 25 3d 31 20 8c 20 d7 22 53 63 72 44 75 6d 70 |r%=1 . ."ScrDump| 000018f0 22 20 8b 20 e7 20 70 72 25 3d 32 20 8c 20 ff 22 |" . . pr%=2 . ."| 00001900 55 43 4f 44 45 22 20 8b 20 e5 20 8d 64 6e 42 0d |UCODE" . . .dnB.| 00001910 ff |.| 00001911