Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_24.ADF » P/EDITCRE
P/EDITCRE
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_User_Group » EUG_24.ADF |
Filename: | P/EDITCRE |
Read OK: | ✔ |
File size: | 13F3 bytes |
Load address: | 1900 |
Exec address: | FFFF8023 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- AEW website » eug » eug_5_25_discs_Eug-24_D-EUG24.dsd » EDITCRE
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_24.ADF » P/EDITCRE
File contents
10DOTX=0:DOTY=0 20A=INKEY(0):TMPX=DOTX:TMPY=DOTY:GOSUB300 30IFA=136ORA=137THENDOTX=DOTX+(-2*(136.5-A)) 40IFA=138ORA=139THENDOTY=DOTY+(2*(138.5-A)) 50IFDOTX<0THENDOTX=0 60IFDOTX>639THENDOTX=639 70IFDOTY<0THENDOTY=0 80IFDOTY>255THENDOTY=255 90TMPX=DOTX:TMPY=DOTY:GOSUB310 100IFA>135ANDA<140THENGOTO20 110IFA=ASC("M")THENM$="MOVE":GOSUB210:GOSUB320:GOSUB720:M$="0":GOSUB890:TMPX=DOTX:TMPY=DOTY:GOSUB310:GOSUB530:GOSUB770 120IFA=ASC("C")THENM$="COPY":GOSUB210:GOSUB320:GOSUB720:GOSUB530:GOSUB770 130IFA=ASC("E")THENM$="EDIT":GOSUB210:GOSUB1110 140IFA=ASC("B")THENM$="BOX":GOSUB210:GOSUB320:GOSUB530:GOSUB1030 150IFA=ASC("T")THENM$="TEXT":GOSUB210:GOSUB1080 160IFA=ASC("F")THENM$="FILL":GOSUB210:GOSUB970:GOSUB320:GOSUB890 170IFA=ASC("S")THENM$="SAVE":GOSUB210:GOSUB300:OSCLI("SAVE $.OUTPUT 3000 +5000 FFE7"):GOSUB300 180IFA=32THENM$="CURSOR":GOSUB210:GOSUB230 190IFA=ASC("P")THENM$="PASTE":GOSUB210:GOSUB1000:GOSUB540:GOSUB770 200GOTO20 210REM save area at (8*8)b below HIMEM 220HIMEM=&2FBF:FORA=&2FBFTO(&2FBF+(LEN(M$)*8)+15):?A=?(A+&4B51):?(A+&4B51)=0:NEXT:VDU5:MOVE35,56:PRINT;" ";M$;" ";:TIME=0:REPEAT:UNTILTIME>100:FORA=&2FBFTO(&2FBF+(LEN(M$)*8)+15):?(A+&4B51)=?A:?A=0:NEXT:RETURN 230REM draw a 2x2 box round cursor 240FORPASS=1TO4 250TMPX=DOTX-2:TMPY=DOTY-2:FORA=1TO4:TMPX=TMPX+1:GOSUB290:NEXT 260TMPX=DOTX+2:TMPY=DOTY-2:FORA=1TO4:TMPY=TMPY+1:GOSUB290:NEXT 270TMPX=DOTX+2:TMPY=DOTY+2:FORA=1TO4:TMPX=TMPX-1:GOSUB290:NEXT 280TMPX=DOTX-2:TMPY=DOTY+2:FORA=1TO4:TMPY=TMPY-1:GOSUB290:NEXT:NEXT:RETURN 290IFTMPX<0ORTMPX>639ORTMPY<0ORTMPY>255THENRETURN 300REM poke value into screen 310?(&3000+((TMPXDIV8)*8)+(TMPYMOD8)+((TMPYDIV8)*640))=?(&3000+((TMPXDIV8)*8)+(TMPYMOD8)+((TMPYDIV8)*640))EOR(2^(7-(TMPXMOD8))):RETURN 320REM expand a pulsing box 330STRTY=DOTY:STRTX=DOTX:A=GET 340IFA=136ORA=137THENDOTX=DOTX+(-2*(136.5-A)) 350IFA=138ORA=139THENDOTY=DOTY+(2*(138.5-A)) 360IFDOTX<0THENDOTX=0 370IFDOTX>639THENDOTX=639 380IFDOTY<0THENDOTY=0 390IFDOTY>255THENDOTY=255 400CNSTY=SGN(DOTY-STRTY):CNSTX=SGN(DOTX-STRTX):REM screen in 2:5 ratio 410FORPASS=1TO2 420TMPX=STRTX:TMPY=STRTY:FORA=1TO(ABS(STRTX-DOTX)):TMPX=TMPX+CNSTX:GOSUB310:NEXT 430TMPX=DOTX:TMPY=STRTY:FORA=1TO(ABS(STRTY-DOTY)):TMPY=TMPY+CNSTY:GOSUB310:NEXT 440TMPX=DOTX:TMPY=DOTY:FORA=1TO(ABS(STRTX-DOTX)):TMPX=TMPX-CNSTX:GOSUB310:NEXT 450TMPX=STRTX:TMPY=DOTY:FORA=1TO(ABS(STRTY-DOTY)):TMPY=TMPY-CNSTY:GOSUB310:NEXT 460NEXT:A=INKEY(0):IFA=-1THENGOTO400ELSEIFA<>135THENGOTO340 470IFDOTY=STRTYTHENM$="DEPTH?":GOSUB210:A=INKEY(0):GOTO340ELSEIFDOTX=STRTXTHENM$="WIDTH?":GOSUB210:A=INKEY(0):GOTO340 480TMPX=STRTX:TMPY=STRTY:GOSUB300 490IFSTRTY<DOTYANDSTRTX>DOTXTHENA=STRTX:STRTX=DOTX:DOTX=A 500IFSTRTY>DOTYANDSTRTX>DOTXTHENA=STRTX:STRTX=DOTX:DOTX=A:A=STRTY:STRTY=DOTY:DOTY=A 510IFSTRTY>DOTYANDSTRTX<DOTXTHENA=STRTY:STRTY=DOTY:DOTY=A 520RETURN 530REM move entire box 540M$="DRAG":GOSUB210:A=-1:REM restores box 550IFA=138ORA=139THENDOTY=DOTY+(2*(138.5-A)):STRTY=STRTY+(2*(138.5-A)) 560IFA=136ORA=137THENDOTX=DOTX+(-2*(136.5-A)):STRTX=STRTX+(-2*(136.5-A)) 570IFDOTX<0THENDOTX=0:STRTX=STRTX+1 580IFSTRTX<0THENSTRTX=0:DOTX=DOTX+1 590IFDOTX>639THENDOTX=639:STRTX=STRTX-1 600IFSTRTX>639THENSTRTX=639:DOX=DOTX-1 610IFDOTY<0THENDOTY=0:STRTY=STRTY+1 620IFSTRTY<0THENSTRTY=0:DOTY=DOTY+1 630IFDOTY>255THENDOTY=255:STRTY=STRTY-1 640IFSTRTY>255THENSTRTY=255:DOTY=DOTY-1 650CNSTY=SGN(DOTY-STRTY):CNSTX=SGN(DOTX-STRTX):REM screen in 2:5 ratio 660FORPASS=1TO2 670TMPX=STRTX:TMPY=STRTY:FORA=1TO(ABS(STRTX-DOTX)):TMPX=TMPX+CNSTX:GOSUB310:NEXT 680TMPX=DOTX:TMPY=STRTY:FORA=1TO(ABS(STRTY-DOTY)):TMPY=TMPY+CNSTY:GOSUB310:NEXT 690TMPX=DOTX:TMPY=DOTY:FORA=1TO(ABS(STRTX-DOTX)):TMPX=TMPX-CNSTX:GOSUB310:NEXT 700TMPX=STRTX:TMPY=DOTY:FORA=1TO(ABS(STRTY-DOTY)):TMPY=TMPY-CNSTY:GOSUB310:NEXT 710NEXT:A=INKEY(0):IFA=-1THENGOTO660ELSEIFA=135THENRETURNELSEGOTO550 720REM save the boxed area 730F=OPENOUT"EDITCLP":CLOSE#F 740*DELETE EDITCLP 750F=OPENOUT"EDITCLP":PRINT#F,STRTX,STRTY,DOTX,DOTY:EINDX=DOTXMOD8:HINDX=STRTXMOD8:FORY=STRTYTODOTY 760FORX=(STRTX-HINDX)TO(DOTX-EINDX)STEP8:A=?(&3000+((XDIV8)*8)+(YMOD8)+((YDIV8)*640)):BPUT#F,A:NEXT:NEXT:CLOSE#F:RETURN 770REM load back in and ovr 780F=OPENIN"EDITCLP":INPUT#F,TLX:INPUT#F,TLY:INPUT#F,BRX:INPUT#F,BRY:REM top left x,y bottom right x,y 790SVTLX=TLX:FORY=STRTYTO(STRTY+(BRY-TLY)) 800TLX=SVTLX:TMPX=STRTX 810A=BGET#F 820OVR=AAND(2^(7-(TLXMOD8))) 830FLG=(OVRDIV(2^(7-(TLXMOD8)))) 840?(&3000+((TMPXDIV8)*8)+(YMOD8)+((YDIV8)*640))=(?(&3000+((TMPXDIV8)*8)+(YMOD8)+((YDIV8)*640))AND(255-(2^(7-(TMPXMOD8)))))OR(FLG*(2^(7-(TMPXMOD8)))) 850TMPX=TMPX+1:TLX=TLX+1 860IF(TLXMOD8)=0ANDTLX<=BRXTHENGOTO810 870IF(TLXMOD8)<>0ANDTLX<=BRXTHENGOTO820ELSENEXT 880CLOSE#F:TMPX=DOTX:TMPY=DOTY:GOSUB310:RETURN 890REM clear the area 900F=OPENOUT"EDITTMP":CLOSE#F 910*DELETE EDITTMP 920*RENAME EDITCLP EDITTMP 930F=OPENOUT"EDITCLP":PRINT#F,STRTX,STRTY,DOTX,DOTY:EINDX=DOTXMOD8:HINDX=STRTXMOD8:FORY=STRTYTODOTY:FORX=(STRTX-HINDX)TO(DOTX-EINDX)STEP8:BPUT#F,VAL(M$):NEXT:NEXT:CLOSE#F:GOSUB770 940*DELETE EDITCLP 950*RENAME EDITTMP EDITCLP 960RETURN 970REM fill B/W 980M$="B/G/W":GOSUB210:A$=GET$:IFA$="B"THENM$="0"ELSEIFA$="G"THENM$="170"ELSEIFA$="W"THENM$="255"ELSEGOTO980 990RETURN 1000REM get coordinates 1010ONERRORM$="EMPTY":GOSUB210:ONERROROFF:GOSUB300:GOTO20 1020TMPX=DOTX:TMPY=DOTY:GOSUB300:F=OPENIN"EDITCLP":INPUT#F,STRTX:INPUT#F,STRTY:INPUT#F,DOTX:INPUT#F,DOTY:CLOSE#F:ONERROROFF:RETURN 1030REM a 1 pass version 1040TMPX=STRTX:TMPY=STRTY:FORA=1TO(ABS(STRTX-DOTX)):TMPX=TMPX+CNSTX:GOSUB310:NEXT 1050TMPX=DOTX:TMPY=STRTY:FORA=1TO(ABS(STRTY-DOTY)):TMPY=TMPY+CNSTY:GOSUB310:NEXT 1060TMPX=DOTX:TMPY=DOTY:FORA=1TO(ABS(STRTX-DOTX)):TMPX=TMPX-CNSTX:GOSUB310:NEXT 1070TMPX=STRTX:TMPY=DOTY:FORA=1TO(ABS(STRTY-DOTY)):TMPY=TMPY-CNSTY:GOSUB310:NEXT:TMPX=DOTX:TMPY=DOTY:GOSUB310:RETURN 1080REM ex-or text wih background in columns 1090GCOL3,1:TMPX=(DOTX/639)*1279:TMPY=(DOTY/255)*1023:VDU5:MOVETMPX,(1023-TMPY):REPEAT:A=GET:IFA=13THENTMPY=TMPY+32:MOVETMPX,(1023-TMPY)ELSEIFA<>135ANDA<>127THENPRINTCHR$(A); 1100UNTILA=135:RETURN:REM chr135=COPY 1110REM procedit 1120GOSUB320:IF(DOTX-STRTX)>39OR(DOTY-STRTY)>29THENM$="SIZE!":GOSUB210:TMPX=DOTX:TMPY=DOTY:GOSUB310:GOTO20 ELSEGOSUB720:M$="SAVE":GOSUB210:OSCLI("SAVE $.OUTPUT 3000 +5000 FFE7"):CHAIN"EDITENL"
DOTX=0:DOTY=0 $A=�(0):TMPX=DOTX:TMPY=DOTY:�TlA )�A=136�A=137�DOTX=DOTX+(-2*(136.5-A)) ((�A=138�A=139�DOTY=DOTY+(2*(138.5-A)) 2�DOTX<0�DOTX=0 <�DOTX>639�DOTX=639 F�DOTY<0�DOTY=0 P�DOTY>255�DOTY=255 ZTMPX=DOTX:TMPY=DOTY:�TvA d�A>135�A<140��TT@ n\�A=�("M")�M$="MOVE":�dR@:�D@A:�dPB:M$="0":�DzC:TMPX=DOTX:TMPY=DOTY:�TvA:�TRB:�TBC x5�A=�("C")�M$="COPY":�dR@:�D@A:�dPB:�TRB:�TBC �#�A=�("E")�M$="EDIT":�dR@:�DVD �.�A=�("B")�M$="BOX":�dR@:�D@A:�TRB:�TFD �#�A=�("T")�M$="TEXT":�dR@:�TxD �/�A=�("F")�M$="FILL":�dR@:�dJC:�D@A:�DzC �L�A=�("S")�M$="SAVE":�dR@:�TlA:�("SAVE $.OUTPUT 3000 +5000 FFE7"):�TlA �!�A=32�M$="CURSOR":�dR@:�df@ �0�A=�("P")�M$="PASTE":�dR@:�dhC:�T\B:�TBC � �TT@ �%� save area at (8*8)b below HIMEM ܠ�=&2FBF:�A=&2FBF�(&2FBF+(�(M$)*8)+15):?A=?(A+&4B51):?(A+&4B51)=0:�:�5:�35,56:�;" ";M$;" ";:�=0:�:��>100:�A=&2FBF�(&2FBF+(�(M$)*8)+15):?(A+&4B51)=?A:?A=0:�:� �!� draw a 2x2 box round cursor � �PASS=1�4 �6TMPX=DOTX-2:TMPY=DOTY-2:�A=1�4:TMPX=TMPX+1:�TbA:� 6TMPX=DOTX+2:TMPY=DOTY-2:�A=1�4:TMPY=TMPY+1:�TbA:� 6TMPX=DOTX+2:TMPY=DOTY+2:�A=1�4:TMPX=TMPX-1:�TbA:� :TMPX=DOTX-2:TMPY=DOTY+2:�A=1�4:TMPY=TMPY-1:�TbA:�:�:� "&�TMPX<0�TMPX>639�TMPY<0�TMPY>255�� ,� poke value into screen 6r?(&3000+((TMPX�8)*8)+(TMPY�8)+((TMPY�8)*640))=?(&3000+((TMPX�8)*8)+(TMPY�8)+((TMPY�8)*640))�(2^(7-(TMPX�8))):� @� expand a pulsing box JSTRTY=DOTY:STRTX=DOTX:A=� T)�A=136�A=137�DOTX=DOTX+(-2*(136.5-A)) ^(�A=138�A=139�DOTY=DOTY+(2*(138.5-A)) h�DOTX<0�DOTX=0 r�DOTX>639�DOTX=639 |�DOTY<0�DOTY=0 ��DOTY>255�DOTY=255 �ACNSTY=�(DOTY-STRTY):CNSTX=�(DOTX-STRTX):� screen in 2:5 ratio � �PASS=1�2 �FTMPX=STRTX:TMPY=STRTY:�A=1�(�(STRTX-DOTX)):TMPX=TMPX+CNSTX:�TvA:� �ETMPX=DOTX:TMPY=STRTY:�A=1�(�(STRTY-DOTY)):TMPY=TMPY+CNSTY:�TvA:� �DTMPX=DOTX:TMPY=DOTY:�A=1�(�(STRTX-DOTX)):TMPX=TMPX-CNSTX:�TvA:� �ETMPX=STRTX:TMPY=DOTY:�A=1�(�(STRTY-DOTY)):TMPY=TMPY-CNSTY:�TvA:� �&�:A=�(0):�A=-1��tPA��A<>135��DTA �Y�DOTY=STRTY�M$="DEPTH?":�dR@:A=�(0):�DTA��DOTX=STRTX�M$="WIDTH?":�dR@:A=�(0):�DTA �TMPX=STRTX:TMPY=STRTY:�TlA �4�STRTY<DOTY�STRTX>DOTX�A=STRTX:STRTX=DOTX:DOTX=A �N�STRTY>DOTY�STRTX>DOTX�A=STRTX:STRTX=DOTX:DOTX=A:A=STRTY:STRTY=DOTY:DOTY=A �4�STRTY>DOTY�STRTX<DOTX�A=STRTY:STRTY=DOTY:DOTY=A � � move entire box 'M$="DRAG":�dR@:A=-1:� restores box &B�A=138�A=139�DOTY=DOTY+(2*(138.5-A)):STRTY=STRTY+(2*(138.5-A)) 0D�A=136�A=137�DOTX=DOTX+(-2*(136.5-A)):STRTX=STRTX+(-2*(136.5-A)) : �DOTX<0�DOTX=0:STRTX=STRTX+1 D �STRTX<0�STRTX=0:DOTX=DOTX+1 N$�DOTX>639�DOTX=639:STRTX=STRTX-1 X#�STRTX>639�STRTX=639:DOX=DOTX-1 b �DOTY<0�DOTY=0:STRTY=STRTY+1 l �STRTY<0�STRTY=0:DOTY=DOTY+1 v$�DOTY>255�DOTY=255:STRTY=STRTY-1 �$�STRTY>255�STRTY=255:DOTY=DOTY-1 �ACNSTY=�(DOTY-STRTY):CNSTX=�(DOTX-STRTX):� screen in 2:5 ratio � �PASS=1�2 �FTMPX=STRTX:TMPY=STRTY:�A=1�(�(STRTX-DOTX)):TMPX=TMPX+CNSTX:�TvA:� �ETMPX=DOTX:TMPY=STRTY:�A=1�(�(STRTY-DOTY)):TMPY=TMPY+CNSTY:�TvA:� �DTMPX=DOTX:TMPY=DOTY:�A=1�(�(STRTX-DOTX)):TMPX=TMPX-CNSTX:�TvA:� �ETMPX=STRTX:TMPY=DOTY:�A=1�(�(STRTY-DOTY)):TMPY=TMPY-CNSTY:�TvA:� �'�:A=�(0):�A=-1��tTB��A=135����TfB �� save the boxed area �F=�"EDITCLP":�#F �*DELETE EDITCLP �SF=�"EDITCLP":�#F,STRTX,STRTY,DOTX,DOTY:EINDX=DOTX�8:HINDX=STRTX�8:�Y=STRTY�DOTY �Z�X=(STRTX-HINDX)�(DOTX-EINDX)�8:A=?(&3000+((X�8)*8)+(Y�8)+((Y�8)*640)):�#F,A:�:�:�#F:� � load back in and ovr PF=�"EDITCLP":�#F,TLX:�#F,TLY:�#F,BRX:�#F,BRY:� top left x,y bottom right x,y (SVTLX=TLX:�Y=STRTY�(STRTY+(BRY-TLY)) TLX=SVTLX:TMPX=STRTX * A=�#F 4OVR=A�(2^(7-(TLX�8))) >FLG=(OVR�(2^(7-(TLX�8)))) H�?(&3000+((TMPX�8)*8)+(Y�8)+((Y�8)*640))=(?(&3000+((TMPX�8)*8)+(Y�8)+((Y�8)*640))�(255-(2^(7-(TMPX�8)))))�(FLG*(2^(7-(TMPX�8)))) RTMPX=TMPX+1:TLX=TLX+1 \�(TLX�8)=0�TLX<=BRX��TjC f �(TLX�8)<>0�TLX<=BRX��TtC�� p#�#F:TMPX=DOTX:TMPY=DOTY:�TvA:� z� clear the area �F=�"EDITTMP":�#F �*DELETE EDITTMP �*RENAME EDITCLP EDITTMP ��F=�"EDITCLP":�#F,STRTX,STRTY,DOTX,DOTY:EINDX=DOTX�8:HINDX=STRTX�8:�Y=STRTY�DOTY:�X=(STRTX-HINDX)�(DOTX-EINDX)�8:�#F,�(M$):�:�:�#F:�TBC �*DELETE EDITCLP �*RENAME EDITTMP EDITCLP �� �� fill B/W �PM$="B/G/W":�dR@:A$=�:�A$="B"�M$="0"��A$="G"�M$="170"��A$="W"�M$="255"��dTC �� �� get coordinates �&�M$="EMPTY":�dR@::�TlA:�TT@ �ZTMPX=DOTX:TMPY=DOTY:�TlA:F=�"EDITCLP":�#F,STRTX:�#F,STRTY:�#F,DOTX:�#F,DOTY:�#F::� � a 1 pass version FTMPX=STRTX:TMPY=STRTY:�A=1�(�(STRTX-DOTX)):TMPX=TMPX+CNSTX:�TvA:� ETMPX=DOTX:TMPY=STRTY:�A=1�(�(STRTY-DOTY)):TMPY=TMPY+CNSTY:�TvA:� $DTMPX=DOTX:TMPY=DOTY:�A=1�(�(STRTX-DOTX)):TMPX=TMPX-CNSTX:�TvA:� .aTMPX=STRTX:TMPY=DOTY:�A=1�(�(STRTY-DOTY)):TMPY=TMPY-CNSTY:�TvA:�:TMPX=DOTX:TMPY=DOTY:�TvA:� 8*� ex-or text wih background in columns B��3,1:TMPX=(DOTX/639)*1279:TMPY=(DOTY/255)*1023:�5:�TMPX,(1023-TMPY):�:A=�:�A=13�TMPY=TMPY+32:�TMPX,(1023-TMPY)��A<>135�A<>127��(A); L�A=135:�:� chr135=COPY V� procedit `��D@A:�(DOTX-STRTX)>39�(DOTY-STRTY)>29�M$="SIZE!":�dR@:TMPX=DOTX:TMPY=DOTY:�TvA:�TT@ ��dPB:M$="SAVE":�dR@:�("SAVE $.OUTPUT 3000 +5000 FFE7"):�"EDITENL" �
00000000 0d 00 0a 11 44 4f 54 58 3d 30 3a 44 4f 54 59 3d |....DOTX=0:DOTY=| 00000010 30 0d 00 14 24 41 3d a6 28 30 29 3a 54 4d 50 58 |0...$A=.(0):TMPX| 00000020 3d 44 4f 54 58 3a 54 4d 50 59 3d 44 4f 54 59 3a |=DOTX:TMPY=DOTY:| 00000030 e4 8d 54 6c 41 0d 00 1e 29 e7 41 3d 31 33 36 84 |..TlA...).A=136.| 00000040 41 3d 31 33 37 8c 44 4f 54 58 3d 44 4f 54 58 2b |A=137.DOTX=DOTX+| 00000050 28 2d 32 2a 28 31 33 36 2e 35 2d 41 29 29 0d 00 |(-2*(136.5-A))..| 00000060 28 28 e7 41 3d 31 33 38 84 41 3d 31 33 39 8c 44 |((.A=138.A=139.D| 00000070 4f 54 59 3d 44 4f 54 59 2b 28 32 2a 28 31 33 38 |OTY=DOTY+(2*(138| 00000080 2e 35 2d 41 29 29 0d 00 32 12 e7 44 4f 54 58 3c |.5-A))..2..DOTX<| 00000090 30 8c 44 4f 54 58 3d 30 0d 00 3c 16 e7 44 4f 54 |0.DOTX=0..<..DOT| 000000a0 58 3e 36 33 39 8c 44 4f 54 58 3d 36 33 39 0d 00 |X>639.DOTX=639..| 000000b0 46 12 e7 44 4f 54 59 3c 30 8c 44 4f 54 59 3d 30 |F..DOTY<0.DOTY=0| 000000c0 0d 00 50 16 e7 44 4f 54 59 3e 32 35 35 8c 44 4f |..P..DOTY>255.DO| 000000d0 54 59 3d 32 35 35 0d 00 5a 1d 54 4d 50 58 3d 44 |TY=255..Z.TMPX=D| 000000e0 4f 54 58 3a 54 4d 50 59 3d 44 4f 54 59 3a e4 8d |OTX:TMPY=DOTY:..| 000000f0 54 76 41 0d 00 64 16 e7 41 3e 31 33 35 80 41 3c |TvA..d..A>135.A<| 00000100 31 34 30 8c e5 8d 54 54 40 0d 00 6e 5c e7 41 3d |140...TT@..n\.A=| 00000110 97 28 22 4d 22 29 8c 4d 24 3d 22 4d 4f 56 45 22 |.("M").M$="MOVE"| 00000120 3a e4 8d 64 52 40 3a e4 8d 44 40 41 3a e4 8d 64 |:..dR@:..D@A:..d| 00000130 50 42 3a 4d 24 3d 22 30 22 3a e4 8d 44 7a 43 3a |PB:M$="0":..DzC:| 00000140 54 4d 50 58 3d 44 4f 54 58 3a 54 4d 50 59 3d 44 |TMPX=DOTX:TMPY=D| 00000150 4f 54 59 3a e4 8d 54 76 41 3a e4 8d 54 52 42 3a |OTY:..TvA:..TRB:| 00000160 e4 8d 54 42 43 0d 00 78 35 e7 41 3d 97 28 22 43 |..TBC..x5.A=.("C| 00000170 22 29 8c 4d 24 3d 22 43 4f 50 59 22 3a e4 8d 64 |").M$="COPY":..d| 00000180 52 40 3a e4 8d 44 40 41 3a e4 8d 64 50 42 3a e4 |R@:..D@A:..dPB:.| 00000190 8d 54 52 42 3a e4 8d 54 42 43 0d 00 82 23 e7 41 |.TRB:..TBC...#.A| 000001a0 3d 97 28 22 45 22 29 8c 4d 24 3d 22 45 44 49 54 |=.("E").M$="EDIT| 000001b0 22 3a e4 8d 64 52 40 3a e4 8d 44 56 44 0d 00 8c |":..dR@:..DVD...| 000001c0 2e e7 41 3d 97 28 22 42 22 29 8c 4d 24 3d 22 42 |..A=.("B").M$="B| 000001d0 4f 58 22 3a e4 8d 64 52 40 3a e4 8d 44 40 41 3a |OX":..dR@:..D@A:| 000001e0 e4 8d 54 52 42 3a e4 8d 54 46 44 0d 00 96 23 e7 |..TRB:..TFD...#.| 000001f0 41 3d 97 28 22 54 22 29 8c 4d 24 3d 22 54 45 58 |A=.("T").M$="TEX| 00000200 54 22 3a e4 8d 64 52 40 3a e4 8d 54 78 44 0d 00 |T":..dR@:..TxD..| 00000210 a0 2f e7 41 3d 97 28 22 46 22 29 8c 4d 24 3d 22 |./.A=.("F").M$="| 00000220 46 49 4c 4c 22 3a e4 8d 64 52 40 3a e4 8d 64 4a |FILL":..dR@:..dJ| 00000230 43 3a e4 8d 44 40 41 3a e4 8d 44 7a 43 0d 00 aa |C:..D@A:..DzC...| 00000240 4c e7 41 3d 97 28 22 53 22 29 8c 4d 24 3d 22 53 |L.A=.("S").M$="S| 00000250 41 56 45 22 3a e4 8d 64 52 40 3a e4 8d 54 6c 41 |AVE":..dR@:..TlA| 00000260 3a ff 28 22 53 41 56 45 20 24 2e 4f 55 54 50 55 |:.("SAVE $.OUTPU| 00000270 54 20 33 30 30 30 20 2b 35 30 30 30 20 46 46 45 |T 3000 +5000 FFE| 00000280 37 22 29 3a e4 8d 54 6c 41 0d 00 b4 21 e7 41 3d |7"):..TlA...!.A=| 00000290 33 32 8c 4d 24 3d 22 43 55 52 53 4f 52 22 3a e4 |32.M$="CURSOR":.| 000002a0 8d 64 52 40 3a e4 8d 64 66 40 0d 00 be 30 e7 41 |.dR@:..df@...0.A| 000002b0 3d 97 28 22 50 22 29 8c 4d 24 3d 22 50 41 53 54 |=.("P").M$="PAST| 000002c0 45 22 3a e4 8d 64 52 40 3a e4 8d 64 68 43 3a e4 |E":..dR@:..dhC:.| 000002d0 8d 54 5c 42 3a e4 8d 54 42 43 0d 00 c8 09 e5 8d |.T\B:..TBC......| 000002e0 54 54 40 0d 00 d2 25 f4 20 73 61 76 65 20 61 72 |TT@...%. save ar| 000002f0 65 61 20 61 74 20 28 38 2a 38 29 62 20 62 65 6c |ea at (8*8)b bel| 00000300 6f 77 20 48 49 4d 45 4d 0d 00 dc a0 d3 3d 26 32 |ow HIMEM.....=&2| 00000310 46 42 46 3a e3 41 3d 26 32 46 42 46 b8 28 26 32 |FBF:.A=&2FBF.(&2| 00000320 46 42 46 2b 28 a9 28 4d 24 29 2a 38 29 2b 31 35 |FBF+(.(M$)*8)+15| 00000330 29 3a 3f 41 3d 3f 28 41 2b 26 34 42 35 31 29 3a |):?A=?(A+&4B51):| 00000340 3f 28 41 2b 26 34 42 35 31 29 3d 30 3a ed 3a ef |?(A+&4B51)=0:.:.| 00000350 35 3a ec 33 35 2c 35 36 3a f1 3b 22 20 22 3b 4d |5:.35,56:.;" ";M| 00000360 24 3b 22 20 22 3b 3a d1 3d 30 3a f5 3a fd 91 3e |$;" ";:.=0:.:..>| 00000370 31 30 30 3a e3 41 3d 26 32 46 42 46 b8 28 26 32 |100:.A=&2FBF.(&2| 00000380 46 42 46 2b 28 a9 28 4d 24 29 2a 38 29 2b 31 35 |FBF+(.(M$)*8)+15| 00000390 29 3a 3f 28 41 2b 26 34 42 35 31 29 3d 3f 41 3a |):?(A+&4B51)=?A:| 000003a0 3f 41 3d 30 3a ed 3a f8 0d 00 e6 21 f4 20 64 72 |?A=0:.:....!. dr| 000003b0 61 77 20 61 20 32 78 32 20 62 6f 78 20 72 6f 75 |aw a 2x2 box rou| 000003c0 6e 64 20 63 75 72 73 6f 72 0d 00 f0 0d e3 50 41 |nd cursor.....PA| 000003d0 53 53 3d 31 b8 34 0d 00 fa 36 54 4d 50 58 3d 44 |SS=1.4...6TMPX=D| 000003e0 4f 54 58 2d 32 3a 54 4d 50 59 3d 44 4f 54 59 2d |OTX-2:TMPY=DOTY-| 000003f0 32 3a e3 41 3d 31 b8 34 3a 54 4d 50 58 3d 54 4d |2:.A=1.4:TMPX=TM| 00000400 50 58 2b 31 3a e4 8d 54 62 41 3a ed 0d 01 04 36 |PX+1:..TbA:....6| 00000410 54 4d 50 58 3d 44 4f 54 58 2b 32 3a 54 4d 50 59 |TMPX=DOTX+2:TMPY| 00000420 3d 44 4f 54 59 2d 32 3a e3 41 3d 31 b8 34 3a 54 |=DOTY-2:.A=1.4:T| 00000430 4d 50 59 3d 54 4d 50 59 2b 31 3a e4 8d 54 62 41 |MPY=TMPY+1:..TbA| 00000440 3a ed 0d 01 0e 36 54 4d 50 58 3d 44 4f 54 58 2b |:....6TMPX=DOTX+| 00000450 32 3a 54 4d 50 59 3d 44 4f 54 59 2b 32 3a e3 41 |2:TMPY=DOTY+2:.A| 00000460 3d 31 b8 34 3a 54 4d 50 58 3d 54 4d 50 58 2d 31 |=1.4:TMPX=TMPX-1| 00000470 3a e4 8d 54 62 41 3a ed 0d 01 18 3a 54 4d 50 58 |:..TbA:....:TMPX| 00000480 3d 44 4f 54 58 2d 32 3a 54 4d 50 59 3d 44 4f 54 |=DOTX-2:TMPY=DOT| 00000490 59 2b 32 3a e3 41 3d 31 b8 34 3a 54 4d 50 59 3d |Y+2:.A=1.4:TMPY=| 000004a0 54 4d 50 59 2d 31 3a e4 8d 54 62 41 3a ed 3a ed |TMPY-1:..TbA:.:.| 000004b0 3a f8 0d 01 22 26 e7 54 4d 50 58 3c 30 84 54 4d |:..."&.TMPX<0.TM| 000004c0 50 58 3e 36 33 39 84 54 4d 50 59 3c 30 84 54 4d |PX>639.TMPY<0.TM| 000004d0 50 59 3e 32 35 35 8c f8 0d 01 2c 1c f4 20 70 6f |PY>255....,.. po| 000004e0 6b 65 20 76 61 6c 75 65 20 69 6e 74 6f 20 73 63 |ke value into sc| 000004f0 72 65 65 6e 0d 01 36 72 3f 28 26 33 30 30 30 2b |reen..6r?(&3000+| 00000500 28 28 54 4d 50 58 81 38 29 2a 38 29 2b 28 54 4d |((TMPX.8)*8)+(TM| 00000510 50 59 83 38 29 2b 28 28 54 4d 50 59 81 38 29 2a |PY.8)+((TMPY.8)*| 00000520 36 34 30 29 29 3d 3f 28 26 33 30 30 30 2b 28 28 |640))=?(&3000+((| 00000530 54 4d 50 58 81 38 29 2a 38 29 2b 28 54 4d 50 59 |TMPX.8)*8)+(TMPY| 00000540 83 38 29 2b 28 28 54 4d 50 59 81 38 29 2a 36 34 |.8)+((TMPY.8)*64| 00000550 30 29 29 82 28 32 5e 28 37 2d 28 54 4d 50 58 83 |0)).(2^(7-(TMPX.| 00000560 38 29 29 29 3a f8 0d 01 40 1a f4 20 65 78 70 61 |8))):...@.. expa| 00000570 6e 64 20 61 20 70 75 6c 73 69 6e 67 20 62 6f 78 |nd a pulsing box| 00000580 0d 01 4a 1d 53 54 52 54 59 3d 44 4f 54 59 3a 53 |..J.STRTY=DOTY:S| 00000590 54 52 54 58 3d 44 4f 54 58 3a 41 3d a5 0d 01 54 |TRTX=DOTX:A=...T| 000005a0 29 e7 41 3d 31 33 36 84 41 3d 31 33 37 8c 44 4f |).A=136.A=137.DO| 000005b0 54 58 3d 44 4f 54 58 2b 28 2d 32 2a 28 31 33 36 |TX=DOTX+(-2*(136| 000005c0 2e 35 2d 41 29 29 0d 01 5e 28 e7 41 3d 31 33 38 |.5-A))..^(.A=138| 000005d0 84 41 3d 31 33 39 8c 44 4f 54 59 3d 44 4f 54 59 |.A=139.DOTY=DOTY| 000005e0 2b 28 32 2a 28 31 33 38 2e 35 2d 41 29 29 0d 01 |+(2*(138.5-A))..| 000005f0 68 12 e7 44 4f 54 58 3c 30 8c 44 4f 54 58 3d 30 |h..DOTX<0.DOTX=0| 00000600 0d 01 72 16 e7 44 4f 54 58 3e 36 33 39 8c 44 4f |..r..DOTX>639.DO| 00000610 54 58 3d 36 33 39 0d 01 7c 12 e7 44 4f 54 59 3c |TX=639..|..DOTY<| 00000620 30 8c 44 4f 54 59 3d 30 0d 01 86 16 e7 44 4f 54 |0.DOTY=0.....DOT| 00000630 59 3e 32 35 35 8c 44 4f 54 59 3d 32 35 35 0d 01 |Y>255.DOTY=255..| 00000640 90 41 43 4e 53 54 59 3d b4 28 44 4f 54 59 2d 53 |.ACNSTY=.(DOTY-S| 00000650 54 52 54 59 29 3a 43 4e 53 54 58 3d b4 28 44 4f |TRTY):CNSTX=.(DO| 00000660 54 58 2d 53 54 52 54 58 29 3a f4 20 73 63 72 65 |TX-STRTX):. scre| 00000670 65 6e 20 69 6e 20 32 3a 35 20 72 61 74 69 6f 0d |en in 2:5 ratio.| 00000680 01 9a 0d e3 50 41 53 53 3d 31 b8 32 0d 01 a4 46 |....PASS=1.2...F| 00000690 54 4d 50 58 3d 53 54 52 54 58 3a 54 4d 50 59 3d |TMPX=STRTX:TMPY=| 000006a0 53 54 52 54 59 3a e3 41 3d 31 b8 28 94 28 53 54 |STRTY:.A=1.(.(ST| 000006b0 52 54 58 2d 44 4f 54 58 29 29 3a 54 4d 50 58 3d |RTX-DOTX)):TMPX=| 000006c0 54 4d 50 58 2b 43 4e 53 54 58 3a e4 8d 54 76 41 |TMPX+CNSTX:..TvA| 000006d0 3a ed 0d 01 ae 45 54 4d 50 58 3d 44 4f 54 58 3a |:....ETMPX=DOTX:| 000006e0 54 4d 50 59 3d 53 54 52 54 59 3a e3 41 3d 31 b8 |TMPY=STRTY:.A=1.| 000006f0 28 94 28 53 54 52 54 59 2d 44 4f 54 59 29 29 3a |(.(STRTY-DOTY)):| 00000700 54 4d 50 59 3d 54 4d 50 59 2b 43 4e 53 54 59 3a |TMPY=TMPY+CNSTY:| 00000710 e4 8d 54 76 41 3a ed 0d 01 b8 44 54 4d 50 58 3d |..TvA:....DTMPX=| 00000720 44 4f 54 58 3a 54 4d 50 59 3d 44 4f 54 59 3a e3 |DOTX:TMPY=DOTY:.| 00000730 41 3d 31 b8 28 94 28 53 54 52 54 58 2d 44 4f 54 |A=1.(.(STRTX-DOT| 00000740 58 29 29 3a 54 4d 50 58 3d 54 4d 50 58 2d 43 4e |X)):TMPX=TMPX-CN| 00000750 53 54 58 3a e4 8d 54 76 41 3a ed 0d 01 c2 45 54 |STX:..TvA:....ET| 00000760 4d 50 58 3d 53 54 52 54 58 3a 54 4d 50 59 3d 44 |MPX=STRTX:TMPY=D| 00000770 4f 54 59 3a e3 41 3d 31 b8 28 94 28 53 54 52 54 |OTY:.A=1.(.(STRT| 00000780 59 2d 44 4f 54 59 29 29 3a 54 4d 50 59 3d 54 4d |Y-DOTY)):TMPY=TM| 00000790 50 59 2d 43 4e 53 54 59 3a e4 8d 54 76 41 3a ed |PY-CNSTY:..TvA:.| 000007a0 0d 01 cc 26 ed 3a 41 3d a6 28 30 29 3a e7 41 3d |...&.:A=.(0):.A=| 000007b0 2d 31 8c e5 8d 74 50 41 8b e7 41 3c 3e 31 33 35 |-1...tPA..A<>135| 000007c0 8c e5 8d 44 54 41 0d 01 d6 59 e7 44 4f 54 59 3d |...DTA...Y.DOTY=| 000007d0 53 54 52 54 59 8c 4d 24 3d 22 44 45 50 54 48 3f |STRTY.M$="DEPTH?| 000007e0 22 3a e4 8d 64 52 40 3a 41 3d a6 28 30 29 3a e5 |":..dR@:A=.(0):.| 000007f0 8d 44 54 41 8b e7 44 4f 54 58 3d 53 54 52 54 58 |.DTA..DOTX=STRTX| 00000800 8c 4d 24 3d 22 57 49 44 54 48 3f 22 3a e4 8d 64 |.M$="WIDTH?":..d| 00000810 52 40 3a 41 3d a6 28 30 29 3a e5 8d 44 54 41 0d |R@:A=.(0):..DTA.| 00000820 01 e0 1f 54 4d 50 58 3d 53 54 52 54 58 3a 54 4d |...TMPX=STRTX:TM| 00000830 50 59 3d 53 54 52 54 59 3a e4 8d 54 6c 41 0d 01 |PY=STRTY:..TlA..| 00000840 ea 34 e7 53 54 52 54 59 3c 44 4f 54 59 80 53 54 |.4.STRTY<DOTY.ST| 00000850 52 54 58 3e 44 4f 54 58 8c 41 3d 53 54 52 54 58 |RTX>DOTX.A=STRTX| 00000860 3a 53 54 52 54 58 3d 44 4f 54 58 3a 44 4f 54 58 |:STRTX=DOTX:DOTX| 00000870 3d 41 0d 01 f4 4e e7 53 54 52 54 59 3e 44 4f 54 |=A...N.STRTY>DOT| 00000880 59 80 53 54 52 54 58 3e 44 4f 54 58 8c 41 3d 53 |Y.STRTX>DOTX.A=S| 00000890 54 52 54 58 3a 53 54 52 54 58 3d 44 4f 54 58 3a |TRTX:STRTX=DOTX:| 000008a0 44 4f 54 58 3d 41 3a 41 3d 53 54 52 54 59 3a 53 |DOTX=A:A=STRTY:S| 000008b0 54 52 54 59 3d 44 4f 54 59 3a 44 4f 54 59 3d 41 |TRTY=DOTY:DOTY=A| 000008c0 0d 01 fe 34 e7 53 54 52 54 59 3e 44 4f 54 59 80 |...4.STRTY>DOTY.| 000008d0 53 54 52 54 58 3c 44 4f 54 58 8c 41 3d 53 54 52 |STRTX<DOTX.A=STR| 000008e0 54 59 3a 53 54 52 54 59 3d 44 4f 54 59 3a 44 4f |TY:STRTY=DOTY:DO| 000008f0 54 59 3d 41 0d 02 08 05 f8 0d 02 12 15 f4 20 6d |TY=A.......... m| 00000900 6f 76 65 20 65 6e 74 69 72 65 20 62 6f 78 0d 02 |ove entire box..| 00000910 1c 27 4d 24 3d 22 44 52 41 47 22 3a e4 8d 64 52 |.'M$="DRAG":..dR| 00000920 40 3a 41 3d 2d 31 3a f4 20 72 65 73 74 6f 72 65 |@:A=-1:. restore| 00000930 73 20 62 6f 78 0d 02 26 42 e7 41 3d 31 33 38 84 |s box..&B.A=138.| 00000940 41 3d 31 33 39 8c 44 4f 54 59 3d 44 4f 54 59 2b |A=139.DOTY=DOTY+| 00000950 28 32 2a 28 31 33 38 2e 35 2d 41 29 29 3a 53 54 |(2*(138.5-A)):ST| 00000960 52 54 59 3d 53 54 52 54 59 2b 28 32 2a 28 31 33 |RTY=STRTY+(2*(13| 00000970 38 2e 35 2d 41 29 29 0d 02 30 44 e7 41 3d 31 33 |8.5-A))..0D.A=13| 00000980 36 84 41 3d 31 33 37 8c 44 4f 54 58 3d 44 4f 54 |6.A=137.DOTX=DOT| 00000990 58 2b 28 2d 32 2a 28 31 33 36 2e 35 2d 41 29 29 |X+(-2*(136.5-A))| 000009a0 3a 53 54 52 54 58 3d 53 54 52 54 58 2b 28 2d 32 |:STRTX=STRTX+(-2| 000009b0 2a 28 31 33 36 2e 35 2d 41 29 29 0d 02 3a 20 e7 |*(136.5-A))..: .| 000009c0 44 4f 54 58 3c 30 8c 44 4f 54 58 3d 30 3a 53 54 |DOTX<0.DOTX=0:ST| 000009d0 52 54 58 3d 53 54 52 54 58 2b 31 0d 02 44 20 e7 |RTX=STRTX+1..D .| 000009e0 53 54 52 54 58 3c 30 8c 53 54 52 54 58 3d 30 3a |STRTX<0.STRTX=0:| 000009f0 44 4f 54 58 3d 44 4f 54 58 2b 31 0d 02 4e 24 e7 |DOTX=DOTX+1..N$.| 00000a00 44 4f 54 58 3e 36 33 39 8c 44 4f 54 58 3d 36 33 |DOTX>639.DOTX=63| 00000a10 39 3a 53 54 52 54 58 3d 53 54 52 54 58 2d 31 0d |9:STRTX=STRTX-1.| 00000a20 02 58 23 e7 53 54 52 54 58 3e 36 33 39 8c 53 54 |.X#.STRTX>639.ST| 00000a30 52 54 58 3d 36 33 39 3a 44 4f 58 3d 44 4f 54 58 |RTX=639:DOX=DOTX| 00000a40 2d 31 0d 02 62 20 e7 44 4f 54 59 3c 30 8c 44 4f |-1..b .DOTY<0.DO| 00000a50 54 59 3d 30 3a 53 54 52 54 59 3d 53 54 52 54 59 |TY=0:STRTY=STRTY| 00000a60 2b 31 0d 02 6c 20 e7 53 54 52 54 59 3c 30 8c 53 |+1..l .STRTY<0.S| 00000a70 54 52 54 59 3d 30 3a 44 4f 54 59 3d 44 4f 54 59 |TRTY=0:DOTY=DOTY| 00000a80 2b 31 0d 02 76 24 e7 44 4f 54 59 3e 32 35 35 8c |+1..v$.DOTY>255.| 00000a90 44 4f 54 59 3d 32 35 35 3a 53 54 52 54 59 3d 53 |DOTY=255:STRTY=S| 00000aa0 54 52 54 59 2d 31 0d 02 80 24 e7 53 54 52 54 59 |TRTY-1...$.STRTY| 00000ab0 3e 32 35 35 8c 53 54 52 54 59 3d 32 35 35 3a 44 |>255.STRTY=255:D| 00000ac0 4f 54 59 3d 44 4f 54 59 2d 31 0d 02 8a 41 43 4e |OTY=DOTY-1...ACN| 00000ad0 53 54 59 3d b4 28 44 4f 54 59 2d 53 54 52 54 59 |STY=.(DOTY-STRTY| 00000ae0 29 3a 43 4e 53 54 58 3d b4 28 44 4f 54 58 2d 53 |):CNSTX=.(DOTX-S| 00000af0 54 52 54 58 29 3a f4 20 73 63 72 65 65 6e 20 69 |TRTX):. screen i| 00000b00 6e 20 32 3a 35 20 72 61 74 69 6f 0d 02 94 0d e3 |n 2:5 ratio.....| 00000b10 50 41 53 53 3d 31 b8 32 0d 02 9e 46 54 4d 50 58 |PASS=1.2...FTMPX| 00000b20 3d 53 54 52 54 58 3a 54 4d 50 59 3d 53 54 52 54 |=STRTX:TMPY=STRT| 00000b30 59 3a e3 41 3d 31 b8 28 94 28 53 54 52 54 58 2d |Y:.A=1.(.(STRTX-| 00000b40 44 4f 54 58 29 29 3a 54 4d 50 58 3d 54 4d 50 58 |DOTX)):TMPX=TMPX| 00000b50 2b 43 4e 53 54 58 3a e4 8d 54 76 41 3a ed 0d 02 |+CNSTX:..TvA:...| 00000b60 a8 45 54 4d 50 58 3d 44 4f 54 58 3a 54 4d 50 59 |.ETMPX=DOTX:TMPY| 00000b70 3d 53 54 52 54 59 3a e3 41 3d 31 b8 28 94 28 53 |=STRTY:.A=1.(.(S| 00000b80 54 52 54 59 2d 44 4f 54 59 29 29 3a 54 4d 50 59 |TRTY-DOTY)):TMPY| 00000b90 3d 54 4d 50 59 2b 43 4e 53 54 59 3a e4 8d 54 76 |=TMPY+CNSTY:..Tv| 00000ba0 41 3a ed 0d 02 b2 44 54 4d 50 58 3d 44 4f 54 58 |A:....DTMPX=DOTX| 00000bb0 3a 54 4d 50 59 3d 44 4f 54 59 3a e3 41 3d 31 b8 |:TMPY=DOTY:.A=1.| 00000bc0 28 94 28 53 54 52 54 58 2d 44 4f 54 58 29 29 3a |(.(STRTX-DOTX)):| 00000bd0 54 4d 50 58 3d 54 4d 50 58 2d 43 4e 53 54 58 3a |TMPX=TMPX-CNSTX:| 00000be0 e4 8d 54 76 41 3a ed 0d 02 bc 45 54 4d 50 58 3d |..TvA:....ETMPX=| 00000bf0 53 54 52 54 58 3a 54 4d 50 59 3d 44 4f 54 59 3a |STRTX:TMPY=DOTY:| 00000c00 e3 41 3d 31 b8 28 94 28 53 54 52 54 59 2d 44 4f |.A=1.(.(STRTY-DO| 00000c10 54 59 29 29 3a 54 4d 50 59 3d 54 4d 50 59 2d 43 |TY)):TMPY=TMPY-C| 00000c20 4e 53 54 59 3a e4 8d 54 76 41 3a ed 0d 02 c6 27 |NSTY:..TvA:....'| 00000c30 ed 3a 41 3d a6 28 30 29 3a e7 41 3d 2d 31 8c e5 |.:A=.(0):.A=-1..| 00000c40 8d 74 54 42 8b e7 41 3d 31 33 35 8c f8 8b e5 8d |.tTB..A=135.....| 00000c50 54 66 42 0d 02 d0 19 f4 20 73 61 76 65 20 74 68 |TfB..... save th| 00000c60 65 20 62 6f 78 65 64 20 61 72 65 61 0d 02 da 14 |e boxed area....| 00000c70 46 3d ae 22 45 44 49 54 43 4c 50 22 3a d9 23 46 |F=."EDITCLP":.#F| 00000c80 0d 02 e4 13 2a 44 45 4c 45 54 45 20 45 44 49 54 |....*DELETE EDIT| 00000c90 43 4c 50 0d 02 ee 53 46 3d ae 22 45 44 49 54 43 |CLP...SF=."EDITC| 00000ca0 4c 50 22 3a f1 23 46 2c 53 54 52 54 58 2c 53 54 |LP":.#F,STRTX,ST| 00000cb0 52 54 59 2c 44 4f 54 58 2c 44 4f 54 59 3a 45 49 |RTY,DOTX,DOTY:EI| 00000cc0 4e 44 58 3d 44 4f 54 58 83 38 3a 48 49 4e 44 58 |NDX=DOTX.8:HINDX| 00000cd0 3d 53 54 52 54 58 83 38 3a e3 59 3d 53 54 52 54 |=STRTX.8:.Y=STRT| 00000ce0 59 b8 44 4f 54 59 0d 02 f8 5a e3 58 3d 28 53 54 |Y.DOTY...Z.X=(ST| 00000cf0 52 54 58 2d 48 49 4e 44 58 29 b8 28 44 4f 54 58 |RTX-HINDX).(DOTX| 00000d00 2d 45 49 4e 44 58 29 88 38 3a 41 3d 3f 28 26 33 |-EINDX).8:A=?(&3| 00000d10 30 30 30 2b 28 28 58 81 38 29 2a 38 29 2b 28 59 |000+((X.8)*8)+(Y| 00000d20 83 38 29 2b 28 28 59 81 38 29 2a 36 34 30 29 29 |.8)+((Y.8)*640))| 00000d30 3a d5 23 46 2c 41 3a ed 3a ed 3a d9 23 46 3a f8 |:.#F,A:.:.:.#F:.| 00000d40 0d 03 02 1a f4 20 6c 6f 61 64 20 62 61 63 6b 20 |..... load back | 00000d50 69 6e 20 61 6e 64 20 6f 76 72 0d 03 0c 50 46 3d |in and ovr...PF=| 00000d60 8e 22 45 44 49 54 43 4c 50 22 3a e8 23 46 2c 54 |."EDITCLP":.#F,T| 00000d70 4c 58 3a e8 23 46 2c 54 4c 59 3a e8 23 46 2c 42 |LX:.#F,TLY:.#F,B| 00000d80 52 58 3a e8 23 46 2c 42 52 59 3a f4 20 74 6f 70 |RX:.#F,BRY:. top| 00000d90 20 6c 65 66 74 20 78 2c 79 20 62 6f 74 74 6f 6d | left x,y bottom| 00000da0 20 72 69 67 68 74 20 78 2c 79 0d 03 16 28 53 56 | right x,y...(SV| 00000db0 54 4c 58 3d 54 4c 58 3a e3 59 3d 53 54 52 54 59 |TLX=TLX:.Y=STRTY| 00000dc0 b8 28 53 54 52 54 59 2b 28 42 52 59 2d 54 4c 59 |.(STRTY+(BRY-TLY| 00000dd0 29 29 0d 03 20 18 54 4c 58 3d 53 56 54 4c 58 3a |)).. .TLX=SVTLX:| 00000de0 54 4d 50 58 3d 53 54 52 54 58 0d 03 2a 09 41 3d |TMPX=STRTX..*.A=| 00000df0 9a 23 46 0d 03 34 19 4f 56 52 3d 41 80 28 32 5e |.#F..4.OVR=A.(2^| 00000e00 28 37 2d 28 54 4c 58 83 38 29 29 29 0d 03 3e 1d |(7-(TLX.8)))..>.| 00000e10 46 4c 47 3d 28 4f 56 52 81 28 32 5e 28 37 2d 28 |FLG=(OVR.(2^(7-(| 00000e20 54 4c 58 83 38 29 29 29 29 0d 03 48 83 3f 28 26 |TLX.8))))..H.?(&| 00000e30 33 30 30 30 2b 28 28 54 4d 50 58 81 38 29 2a 38 |3000+((TMPX.8)*8| 00000e40 29 2b 28 59 83 38 29 2b 28 28 59 81 38 29 2a 36 |)+(Y.8)+((Y.8)*6| 00000e50 34 30 29 29 3d 28 3f 28 26 33 30 30 30 2b 28 28 |40))=(?(&3000+((| 00000e60 54 4d 50 58 81 38 29 2a 38 29 2b 28 59 83 38 29 |TMPX.8)*8)+(Y.8)| 00000e70 2b 28 28 59 81 38 29 2a 36 34 30 29 29 80 28 32 |+((Y.8)*640)).(2| 00000e80 35 35 2d 28 32 5e 28 37 2d 28 54 4d 50 58 83 38 |55-(2^(7-(TMPX.8| 00000e90 29 29 29 29 29 84 28 46 4c 47 2a 28 32 5e 28 37 |))))).(FLG*(2^(7| 00000ea0 2d 28 54 4d 50 58 83 38 29 29 29 29 0d 03 52 19 |-(TMPX.8))))..R.| 00000eb0 54 4d 50 58 3d 54 4d 50 58 2b 31 3a 54 4c 58 3d |TMPX=TMPX+1:TLX=| 00000ec0 54 4c 58 2b 31 0d 03 5c 1d e7 28 54 4c 58 83 38 |TLX+1..\..(TLX.8| 00000ed0 29 3d 30 80 54 4c 58 3c 3d 42 52 58 8c e5 8d 54 |)=0.TLX<=BRX...T| 00000ee0 6a 43 0d 03 66 20 e7 28 54 4c 58 83 38 29 3c 3e |jC..f .(TLX.8)<>| 00000ef0 30 80 54 4c 58 3c 3d 42 52 58 8c e5 8d 54 74 43 |0.TLX<=BRX...TtC| 00000f00 8b ed 0d 03 70 23 d9 23 46 3a 54 4d 50 58 3d 44 |....p#.#F:TMPX=D| 00000f10 4f 54 58 3a 54 4d 50 59 3d 44 4f 54 59 3a e4 8d |OTX:TMPY=DOTY:..| 00000f20 54 76 41 3a f8 0d 03 7a 14 f4 20 63 6c 65 61 72 |TvA:...z.. clear| 00000f30 20 74 68 65 20 61 72 65 61 0d 03 84 14 46 3d ae | the area....F=.| 00000f40 22 45 44 49 54 54 4d 50 22 3a d9 23 46 0d 03 8e |"EDITTMP":.#F...| 00000f50 13 2a 44 45 4c 45 54 45 20 45 44 49 54 54 4d 50 |.*DELETE EDITTMP| 00000f60 0d 03 98 1b 2a 52 45 4e 41 4d 45 20 45 44 49 54 |....*RENAME EDIT| 00000f70 43 4c 50 20 45 44 49 54 54 4d 50 0d 03 a2 8b 46 |CLP EDITTMP....F| 00000f80 3d ae 22 45 44 49 54 43 4c 50 22 3a f1 23 46 2c |=."EDITCLP":.#F,| 00000f90 53 54 52 54 58 2c 53 54 52 54 59 2c 44 4f 54 58 |STRTX,STRTY,DOTX| 00000fa0 2c 44 4f 54 59 3a 45 49 4e 44 58 3d 44 4f 54 58 |,DOTY:EINDX=DOTX| 00000fb0 83 38 3a 48 49 4e 44 58 3d 53 54 52 54 58 83 38 |.8:HINDX=STRTX.8| 00000fc0 3a e3 59 3d 53 54 52 54 59 b8 44 4f 54 59 3a e3 |:.Y=STRTY.DOTY:.| 00000fd0 58 3d 28 53 54 52 54 58 2d 48 49 4e 44 58 29 b8 |X=(STRTX-HINDX).| 00000fe0 28 44 4f 54 58 2d 45 49 4e 44 58 29 88 38 3a d5 |(DOTX-EINDX).8:.| 00000ff0 23 46 2c bb 28 4d 24 29 3a ed 3a ed 3a d9 23 46 |#F,.(M$):.:.:.#F| 00001000 3a e4 8d 54 42 43 0d 03 ac 13 2a 44 45 4c 45 54 |:..TBC....*DELET| 00001010 45 20 45 44 49 54 43 4c 50 0d 03 b6 1b 2a 52 45 |E EDITCLP....*RE| 00001020 4e 41 4d 45 20 45 44 49 54 54 4d 50 20 45 44 49 |NAME EDITTMP EDI| 00001030 54 43 4c 50 0d 03 c0 05 f8 0d 03 ca 0e f4 20 66 |TCLP.......... f| 00001040 69 6c 6c 20 42 2f 57 0d 03 d4 50 4d 24 3d 22 42 |ill B/W...PM$="B| 00001050 2f 47 2f 57 22 3a e4 8d 64 52 40 3a 41 24 3d be |/G/W":..dR@:A$=.| 00001060 3a e7 41 24 3d 22 42 22 8c 4d 24 3d 22 30 22 8b |:.A$="B".M$="0".| 00001070 e7 41 24 3d 22 47 22 8c 4d 24 3d 22 31 37 30 22 |.A$="G".M$="170"| 00001080 8b e7 41 24 3d 22 57 22 8c 4d 24 3d 22 32 35 35 |..A$="W".M$="255| 00001090 22 8b e5 8d 64 54 43 0d 03 de 05 f8 0d 03 e8 15 |"...dTC.........| 000010a0 f4 20 67 65 74 20 63 6f 6f 72 64 69 6e 61 74 65 |. get coordinate| 000010b0 73 0d 03 f2 26 ee 85 4d 24 3d 22 45 4d 50 54 59 |s...&..M$="EMPTY| 000010c0 22 3a e4 8d 64 52 40 3a ee 85 87 3a e4 8d 54 6c |":..dR@:...:..Tl| 000010d0 41 3a e5 8d 54 54 40 0d 03 fc 5a 54 4d 50 58 3d |A:..TT@...ZTMPX=| 000010e0 44 4f 54 58 3a 54 4d 50 59 3d 44 4f 54 59 3a e4 |DOTX:TMPY=DOTY:.| 000010f0 8d 54 6c 41 3a 46 3d 8e 22 45 44 49 54 43 4c 50 |.TlA:F=."EDITCLP| 00001100 22 3a e8 23 46 2c 53 54 52 54 58 3a e8 23 46 2c |":.#F,STRTX:.#F,| 00001110 53 54 52 54 59 3a e8 23 46 2c 44 4f 54 58 3a e8 |STRTY:.#F,DOTX:.| 00001120 23 46 2c 44 4f 54 59 3a d9 23 46 3a ee 85 87 3a |#F,DOTY:.#F:...:| 00001130 f8 0d 04 06 16 f4 20 61 20 31 20 70 61 73 73 20 |...... a 1 pass | 00001140 76 65 72 73 69 6f 6e 0d 04 10 46 54 4d 50 58 3d |version...FTMPX=| 00001150 53 54 52 54 58 3a 54 4d 50 59 3d 53 54 52 54 59 |STRTX:TMPY=STRTY| 00001160 3a e3 41 3d 31 b8 28 94 28 53 54 52 54 58 2d 44 |:.A=1.(.(STRTX-D| 00001170 4f 54 58 29 29 3a 54 4d 50 58 3d 54 4d 50 58 2b |OTX)):TMPX=TMPX+| 00001180 43 4e 53 54 58 3a e4 8d 54 76 41 3a ed 0d 04 1a |CNSTX:..TvA:....| 00001190 45 54 4d 50 58 3d 44 4f 54 58 3a 54 4d 50 59 3d |ETMPX=DOTX:TMPY=| 000011a0 53 54 52 54 59 3a e3 41 3d 31 b8 28 94 28 53 54 |STRTY:.A=1.(.(ST| 000011b0 52 54 59 2d 44 4f 54 59 29 29 3a 54 4d 50 59 3d |RTY-DOTY)):TMPY=| 000011c0 54 4d 50 59 2b 43 4e 53 54 59 3a e4 8d 54 76 41 |TMPY+CNSTY:..TvA| 000011d0 3a ed 0d 04 24 44 54 4d 50 58 3d 44 4f 54 58 3a |:...$DTMPX=DOTX:| 000011e0 54 4d 50 59 3d 44 4f 54 59 3a e3 41 3d 31 b8 28 |TMPY=DOTY:.A=1.(| 000011f0 94 28 53 54 52 54 58 2d 44 4f 54 58 29 29 3a 54 |.(STRTX-DOTX)):T| 00001200 4d 50 58 3d 54 4d 50 58 2d 43 4e 53 54 58 3a e4 |MPX=TMPX-CNSTX:.| 00001210 8d 54 76 41 3a ed 0d 04 2e 61 54 4d 50 58 3d 53 |.TvA:....aTMPX=S| 00001220 54 52 54 58 3a 54 4d 50 59 3d 44 4f 54 59 3a e3 |TRTX:TMPY=DOTY:.| 00001230 41 3d 31 b8 28 94 28 53 54 52 54 59 2d 44 4f 54 |A=1.(.(STRTY-DOT| 00001240 59 29 29 3a 54 4d 50 59 3d 54 4d 50 59 2d 43 4e |Y)):TMPY=TMPY-CN| 00001250 53 54 59 3a e4 8d 54 76 41 3a ed 3a 54 4d 50 58 |STY:..TvA:.:TMPX| 00001260 3d 44 4f 54 58 3a 54 4d 50 59 3d 44 4f 54 59 3a |=DOTX:TMPY=DOTY:| 00001270 e4 8d 54 76 41 3a f8 0d 04 38 2a f4 20 65 78 2d |..TvA:...8*. ex-| 00001280 6f 72 20 74 65 78 74 20 77 69 68 20 62 61 63 6b |or text wih back| 00001290 67 72 6f 75 6e 64 20 69 6e 20 63 6f 6c 75 6d 6e |ground in column| 000012a0 73 0d 04 42 88 e6 33 2c 31 3a 54 4d 50 58 3d 28 |s..B..3,1:TMPX=(| 000012b0 44 4f 54 58 2f 36 33 39 29 2a 31 32 37 39 3a 54 |DOTX/639)*1279:T| 000012c0 4d 50 59 3d 28 44 4f 54 59 2f 32 35 35 29 2a 31 |MPY=(DOTY/255)*1| 000012d0 30 32 33 3a ef 35 3a ec 54 4d 50 58 2c 28 31 30 |023:.5:.TMPX,(10| 000012e0 32 33 2d 54 4d 50 59 29 3a f5 3a 41 3d a5 3a e7 |23-TMPY):.:A=.:.| 000012f0 41 3d 31 33 8c 54 4d 50 59 3d 54 4d 50 59 2b 33 |A=13.TMPY=TMPY+3| 00001300 32 3a ec 54 4d 50 58 2c 28 31 30 32 33 2d 54 4d |2:.TMPX,(1023-TM| 00001310 50 59 29 8b e7 41 3c 3e 31 33 35 80 41 3c 3e 31 |PY)..A<>135.A<>1| 00001320 32 37 8c f1 bd 28 41 29 3b 0d 04 4c 1a fd 41 3d |27...(A);..L..A=| 00001330 31 33 35 3a f8 3a f4 20 63 68 72 31 33 35 3d 43 |135:.:. chr135=C| 00001340 4f 50 59 0d 04 56 0e f4 20 70 72 6f 63 65 64 69 |OPY..V.. procedi| 00001350 74 0d 04 60 a0 e4 8d 44 40 41 3a e7 28 44 4f 54 |t..`...D@A:.(DOT| 00001360 58 2d 53 54 52 54 58 29 3e 33 39 84 28 44 4f 54 |X-STRTX)>39.(DOT| 00001370 59 2d 53 54 52 54 59 29 3e 32 39 8c 4d 24 3d 22 |Y-STRTY)>29.M$="| 00001380 53 49 5a 45 21 22 3a e4 8d 64 52 40 3a 54 4d 50 |SIZE!":..dR@:TMP| 00001390 58 3d 44 4f 54 58 3a 54 4d 50 59 3d 44 4f 54 59 |X=DOTX:TMPY=DOTY| 000013a0 3a e4 8d 54 76 41 3a e5 8d 54 54 40 20 8b e4 8d |:..TvA:..TT@ ...| 000013b0 64 50 42 3a 4d 24 3d 22 53 41 56 45 22 3a e4 8d |dPB:M$="SAVE":..| 000013c0 64 52 40 3a ff 28 22 53 41 56 45 20 24 2e 4f 55 |dR@:.("SAVE $.OU| 000013d0 54 50 55 54 20 33 30 30 30 20 2b 35 30 30 30 20 |TPUT 3000 +5000 | 000013e0 46 46 45 37 22 29 3a d7 22 45 44 49 54 45 4e 4c |FFE7"):."EDITENL| 000013f0 22 0d ff |"..| 000013f3