Home » CEEFAX disks » telesoftware7.adl » 24-06-88/COLOUR2 » Compare

Compare 24-06-88/COLOUR2 with 20-01-89/Colour2

File: CEEFAX disks » telesoftware7.adl » 24-06-88/COLOUR2
Compared with: CEEFAX disks » telesoftware12.adl » 20-01-89/Colour2
Similarity: 88% of bytes duplicated

43 of 62 lines (70.5%) are identical in the two listings. Duplicated Different

Line numbers are ignored when comparing lines, so that renumbered programs still match.

24-06-88/COLOUR2 20-01-89/Colour2
10*|"�Colourprint2�(C)M.Goldfinch'87 10REM"�Colour2�(c)M.Goldfinch'89�v88A
20*|"�Telesoft�v2.8 20ONERRORREPORT:END
30ONERRORREPORT:PRINTERL:END 30DIMO%40:PROCA:REPEATMODE7:VDU&17;&3402;0;0;0;&117;0;0;0;0;:PROCF:PROCG:PROCR:PROCB:MODEM%:VDU&117;0;0;0;0;:PROCN:PROCC:PROCK:PROCO:UNTIL0:END
40DIMO%40:PROCA:REPEATMODE7:VDU23,1,0;0;0;0;23,0,2,52;0;0;0;:PROCF:PROCG:PROCR:PROCB:MODEM%:VDU23,0,10,67;0;0;0;:PROCN:PROCC:PROCK:PROCO:UNTIL0:END
50DEFPROCE($O%)X%=O%:Y%=O%DIV256:CALL&FFF7:ENDPROC 40DEFPROCE($O%)X%=O%:Y%=O%DIV256:CALL&FFF7:ENDPROC
60DEFPROCT(T%)VDU7:TIME=0:REPEATUNTILTIME>T%*100:ENDPROC 50DEFPROCT(T%)VDU7:TIME=0:REPEATUNTILTIME>T%*100:ENDPROC
70DEFPROCGREPEATPRINTTAB(4,4)E$:IFINKEY-114PROCPELSEIFINKEY-33PROCD 60DEFPROCGREPEATPRINTTAB(4,4)E$:IFINKEY-114PROCPELSEIFINKEY-33PROCD
80UNTILINKEY-115:ENDPROC 70UNTILINKEY-115:ENDPROC
90DEFPROCFPRINT"��"'"����Colourprint���������������� menu��� ����Colourprint���������������� menu��� �����ppppppppppppppppppppppppppppppppp ����";E$"��"'"�����````````````````````````````````� �����Screen Mode ���Drive No. ��" 80DEFPROCF PRINT"��"'"����Colourprint���������������� menu��� ����Colourprint���������������� menu��� ���"STRING$(35,"p")" ����";E$"��"'"���"STRING$(35,"�")" �����Screen Mode ���Drive No. ��"'"��"'"�����mode 1 �� ���drive 0 ��"'"�� �mode 2 ��"SPC8"�drive 1 ��"
100PRINT"��"'"�����mode 1 �� ���drive 0 ��"'"�� �mode 2 �� �drive 1 ��"'"�� �mode 4 �� �drive 2 ��"'"�� �mode 5 �� �drive 3 ��" 90PRINT"�� �mode 4 ��"SPC8"�drive 2 ��"'"�� �mode 5 ��"SPC8"�drive 3 ��"'"�"STRING$(39,",")"���7"STRING$(34,"`")"k ���5� �Information"SPC19"�j ����"SPC33"�j ���5�Colourprint�produces multicolour�j ���5�screen dumps on�FX-80�and later �j"
110PRINT"�,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,���7````````````````````````````````�`k ���5���Information"SPC19"�j ����"SPC33"�j ���5�Colourprint�produces multicolour�j ���5�screen dumps on�FX-80�and later �j" 100PRINT"���5�Epson�/ compatible printers, � �j ���5�using the wide range�of�colour ��j ���5�ribbons now�available."SPC10"�j ���5"SPC34"j ����"STRING$(34,"�")"� ��"'"���(C) M.Goldfinch 1989�Telesoft�v8.8A";:ENDPROC
120PRINT"���5�Epson�/ compatible printers, � �j ���5�using the wide range�of�colour ��j ���5�ribbons now�available."SPC10"�j ���5"SPC34"j �����ppppppppppppppppppppppppppppppppp� ��"'"���(C) M.Goldfinch 1987�Telesoft v.2.8";:ENDPROC
130DEFPROCDPROCE("FX219,92"):VDU7:A%=0:PRINTTAB(4,4)"�<TAB> select�Mode�+ <RETURN> ";:M%=8:REPEATPRINTTAB(2,M%-1)"� "TAB(2,M%)"��":IFM%=8PRINTTAB(2,11)"� " 110DEFPROCDPROCE("FX219,92"):VDU7:A%=0:PRINTTAB(4,4)"�<TAB> select�Mode�+ <RETURN> ";:M%=8:REPEATPRINTTAB(2,M%-1)"� "TAB(2,M%)"��":IFM%=8PRINTTAB(2,11)"� "
140REPEATA$=GET$:A%=INSTR("1245\"+CHR$13,A$):UNTILA%>0:IFA%=5M%=M%+1:IFM%>11M%=8 120REPEATA$=GET$:A%=INSTR("1245\"+CHR$13,A$):UNTILA%>0:IFA%=5M%=M%+1:IFM%>11M%=8
150UNTILA%=6:VDU7:M%=M%-7:IFM%>2M%=M%+1 130UNTILA%=6:VDU7:M%=M%-7:IFM%>2M%=M%+1
160PRINTTAB(18,4)"Drive�+ <RETURN>";:A%=0:D%=8:REPEATPRINTTAB(20,D%-1)"� "TAB(20,D%)"��":IFD%=8PRINTTAB(20,11)"� " 140PRINTTAB(18,4)"Drive�+ <RETURN>";:A%=0:D%=8:REPEATPRINTTAB(20,D%-1)"� "TAB(20,D%)"��":IFD%=8PRINTTAB(20,11)"� "
170REPEATA$=GET$:A%=INSTR("0123\"+CHR$13,A$):UNTILA%>0:IFA%=5 D%=D%+1:IFD%>11 D%=8 150REPEATA$=GET$:A%=INSTR("0123\"+CHR$13,A$):UNTILA%>0:IFA%=5 D%=D%+1:IFD%>11 D%=8
180UNTILA%=6:VDU7:D%=D%-8:PROCE("DR."+STR$D%):ENDPROC 160UNTILA%=6:VDU7:D%=D%-8:PROCE("DR."+STR$D%):ENDPROC
190DEFPROCPPRINTTAB(4,4)"����<SHIFT>�scrolls information ":VDU28,4,21,36,16,12:PRINT" �After�Mode�&�drive�selection a �screen is�*loaded.� The colours �can be altered to optimise the �subsequent choice of ribbon"'"�colours.":PROCL 170DEFPROCPPRINTTAB(4,4)"����<SHIFT>�scrolls information ":VDU28,4,21,36,16,12:PRINT" �After�Mode�&�drive�selection a �screen is�*loaded.� The colours �can be altered to optimise the �subsequent choice of ribbon"'"�colours.":PROCL
200PRINT"�Keys�<0..7>�cycle logical colour�<F> =�flashing colours�<0>=8 etc�<Q>�cancels <F> while�<@>�resets�all flashing colours."'"�<D>�=default palette."'"�<C>�continues..�";:PROCL 180PRINT"�Keys�<0..7>�cycle logical colour�<F> =�flashing colours�<0>=8 etc�<Q>�cancels <F> while�<@>�resets�all flashing colours."'"�<D>�=default palette."'"�<C>�continues..�";:PROCL
210PRINT"��The�dump routine�cycles through�the logical colours, reverse"'"�feeding the paper�and�prompting �for�a�different�colour�ribbon"'"�after�each�single�colour�screen �has�been�printed.�";:PROCL 190PRINT"��The�dump routine�cycles through�the logical colours, reverse"'"�feeding the paper�and�prompting �for�a�different�colour�ribbon"'"�after�each�single�colour�screen �has�been�printed.�";:PROCL
220PRINT"��Before printing each logical"'"�colour, key�<F>�will highlight"'"�this region on the screen."'"�<S>�resets the screen and should�be used before printing.";:PROCL 200PRINT"��Before printing each logical"'"�colour, key�<F>�will highlight"'"�this region on the screen."'"�<S>�resets the screen and should�be used before printing.";:PROCL
230PRINT"� <f5>�allows any logical colour �to be skipped.�After reverse_"'"�feeding the�cursor keys�advance/�reverse the paper (1/216 steps).�Only�worn�printers need this"'"�facility!.�";:PROCL 210PRINT"� <f5>�allows any logical colour �to be skipped.�After reverse_"'"�feeding the�cursor keys�advance/�reverse the paper (1/216 steps).�Only�worn�printers need this"'"�facility!.�";:PROCL
240PRINT" �After printing all the logical �colours, any colour can be"'"�reprinted.�The�machine code (CRT�graphics)�and reverse paper�feed�routines are suitable for�Epson �FX80�and other compatibles.�";:VDU26:ENDPROC 220PRINT" �After printing all the logical �colours, any colour can be"'"�reprinted.�The�machine code�and �reverse�paper�feed�routines suit�Epson�FX80�and compatibles.�";:VDU26:ENDPROC
250DEFPROCA E$="�f0 set Mode�f1 info�f2 continue":F$="�f3 catalogue�f4 *load screen ":ENDPROC 230DEFPROCA E$="�f0 set Mode�f1 info�f2 continue":F$="�f3 catalogue�f4 *LOAD screen ":ENDPROC
260DEFPROCLPROCT(1):PRINTTAB(22,5)"����>>����";:REPEATUNTILINKEY-1:VDU12:ENDPROC 240DEFPROCLPROCT(1):PRINTTAB(22,5)"����>>����";:REPEATUNTILINKEY-1:VDU12:ENDPROC
270DEFPROCRVDU7:REPEATPRINTTAB(4,4)F$:IFINKEY-116PROCH 250DEFPROCRVDU7:REPEATPRINTTAB(4,4)F$:IFINKEY-116PROCH
280UNTILINKEY-21:ENDPROC 260UNTILINKEY-21:ENDPROC
290DEFPROCHVDU7:PRINTTAB(4,4)"����<SHIFT>�scrolls catalogue":VDU28,0,23,39,13,12:VDU14:PROCE("."):PRINTTAB(22,9)"��<SPACE> �":REPEATUNTILINKEY-99:VDU15,12,26:ENDPROC 270DEFPROCHVDU7:PRINTTAB(4,4)"����<SHIFT>�scrolls catalogue":VDU28,0,23,39,13,12:VDU14:PROCE("."):PRINTTAB(22,9)"��<SPACE> �":REPEATUNTILINKEY-99:VDU15,12,26:ENDPROC
300DEFPROCBVDU7,28,0,23,39,13,12:D$=STRING$(9,"_"):C$="":PRINT''"�������Enter file name�";D$:VDU31,23,2,23,1,1;0;0;0;23,0,10,79;0;0;0;:PROCM:ENDPROC 280DEFPROCBVDU7,28,0,23,39,13,12:D$=STRING$(9,"_"):C$="":PRINT''"�������Enter file name�";D$:VDU31,23,2,23,1,1;0;0;0;23,0,10,79;0;0;0;:PROCM:ENDPROC
310DEFPROCN:L%=&FFFF3000:IFM%>3 L%=&FFFF5800 290DEFPROCN:LL%=&FFFF3000:IFM%>3 LL%=&FFFF5800
320PROCE("L."+C$+" "+STR$~L%):ENDPROC 300IFL%LL%=V%
310PROCE("L."+C$+" "+STR$~LL%):ENDPROC
330DEFPROCC W%=19:IFM%=1ORM%=4 W%=39 320DEFPROCC W%=19:IFM%=1ORM%=4 W%=39
340?&74=&8:IFM%<4 !&75=&11003500:VDU28,0,4,W%,2ELSE!&75=&11005B00:VDU28,0,7,W%,3 330?&74=&8:IFM%<4 !&75=&11003500:VDU28,0,4,W%,2ELSE!&75=&11005B00:VDU28,0,7,W%,3
340IFL%OSCLI"S.Tscr"+" "+STR$~V%+"+"+STR$2000:ENDPROC
350CALLS%:ENDPROC 350CALLS%:ENDPROC
360DEFPROCI ?&74=&8:IFM%<4!&75=&35001100ELSE!&75=&5B001100 360DEFPROCI ?&74=&8:IFM%<4!&75=&35001100ELSE!&75=&5B001100
370IFL%OSCLI"L.Tscr"+" "+STR$~V%:ENDPROC
370CALLS%:ENDPROC 380CALLS%:ENDPROC
380DEFPROCKCLS:G%=4:IFM%=2G%=8ELSEIFM%=4G%=2 390DEFPROCKCLS:G%=4:IFM%=2G%=8ELSEIFM%=4G%=2
390IFM%=4PRINT"� Optimise choice of ribbons"'"� <0-7> cycle colours"'"� <F> flashing � <Q> normal colours"'"� <@> reset flashing colours"'"� <D> normal palette � [C] continue";:ELSEIFM%=2PRINT"�<0-7> colours � <F>/<Q> flash� <@>reset�<D>efault �<C>ont."; 400IFM%=4PRINT"� Optimise choice of ribbons"'"� <0-7> cycle colours"'"� <F> flashing � <Q> normal colours"'"� <@> reset flashing colours"'"� <D> normal palette � [C] continue";:ELSEIFM%=2PRINT"�<0-7> colours � <F>/<Q> flash� <@>reset�<D>efault �<C>ont.";
400IFM%=1PRINT"� <0-7> cycle colours � <F>/<Q> toggle flashing colours � <@> reset flashing � <D> default palette � <C> continue";:ELSEIFM%=5PRINT"�<0-7> cycle colours� <F>/<Q> flashing colours � <@> reset flashing � <D>efault� <C> continue"; 410IFM%=1PRINT"� <0-7> cycle colours � <F>/<Q> toggle flashing colours � <@> reset flashing � <D> default palette � <C> continue";:ELSEIFM%=5PRINT"�<0-7> cycle colours� <F>/<Q> flashing colours � <@> reset flashing � <D>efault� <C> continue";
410U%=0:R%=0:F%=0:REPEATE%=TRUE:H%=GET-48:IFH%<0ORH%>G%-1VDU7:E%=0 420U%=0:R%=0:F%=0:REPEATE%=TRUE:H%=GET-48:IFH%<0ORH%>G%-1VDU7:E%=0
420IFH%=16PROCSELSEIFH%=22U%=8ELSEIFH%=33U%=0ELSEIFH%=19 E%=0:F%=TRUEELSEIFH%=20VDU20:E%=0 430IFH%=16PROCSELSEIFH%=22U%=8ELSEIFH%=33U%=0ELSEIFH%=19 E%=0:F%=TRUEELSEIFH%=20VDU20:E%=0
430IFE%VDU19,H%,R%;0; 440IFE%VDU19,H%,R%;0;
440R%=R%+1:IFR%>7+U%R%=0 450R%=R%+1:IFR%>7+U%R%=0
450UNTILF%:ENDPROC 460UNTILF%:ENDPROC
460DEFPROCSFORZ%=G%TO2*G%-1:VDU19,Z%,Z%-G%;0;:NEXT:VDU7:ENDPROC 470DEFPROCSFORZ%=G%TO2*G%-1:VDU19,Z%,Z%-G%;0;:NEXT:VDU7:ENDPROC
470DEFPROCMPROCE("FX21"):REPEATD$=GET$:IFASCD$=&7FANDLENC$>0 C$=LEFT$(C$,LENC$-1):PRINTD$;ELSEIFASCD$>31ANDASCD$<127:IFLENC$<9 C$=C$+D$:PRINTD$;ELSEVDU7 480DEFPROCMPROCE("FX21"):REPEATD$=GET$:IFASCD$=&7FANDLENC$>0 C$=LEFT$(C$,LENC$-1):PRINTD$;ELSEIFASCD$>31ANDASCD$<127:IFLENC$<9 C$=C$+D$:PRINTD$;ELSEVDU7
480UNTILINKEY-74ANDC$<>""ANDVALLEFT$(D$,0)<>13:ENDPROC 490UNTILINKEY-74ANDC$<>""ANDVALLEFT$(D$,0)<>13:ENDPROC
490DEFPROCO:C%=0:J%=0:REPEATI%=0:CLS:VDU7 500DEFPROCO:C%=0:J%=0:REPEATI%=0:CLS:VDU7
500IFM%=5PRINT"Colour ";C%;"�key <F>/<S>to locate�Insert newribbon+<RET.> or key<f5> to skip colour";:ELSEIFM%=1PRINT"� Print colour #";C%;" � Locate with <F>flash/<S> steady � Insert ribbon & key <RET.>to print � To skip colour #";C%;" key <f5>"; 510IFM%=5PRINT"Colour ";C%;"�key <F>/<S>to locate�Insert newribbon+<RET.> or key<f5> to skip colour";:ELSEIFM%=1PRINT"� Print colour #";C%;" � Locate with <F>flash/<S> steady � Insert ribbon & key <RET.>to print � To skip colour #";C%;" key <f5>";
510IFM%=4PRINT"� Print (logical) colour #";C%'"� Locate with <F> flash <S> steady"'"� Insert ribbon & key <RET.> to print"'"� To skip colour #";C%;" key <f5>";:ELSEIFM%=2PRINT"�Col.#";C%;" �<F>/<S>showcol. � <f5>skip col.� ribbon +<RETURN>"; 520IFM%=4PRINT"� Print (logical) colour #";C%'"� Locate with <F> flash <S> steady"'"� Insert ribbon & key <RET.> to print"'"� To skip colour #";C%;" key <f5>";:ELSEIFM%=2PRINT"�Col.#";C%;" �<F>/<S>showcol. � <f5>skip col.� ribbon +<RETURN>";
520Q%=&36F:P%=Q%?C%:REPEATIFINKEY-68VDU19,C%,9;0;ELSEIFINKEY-82VDU19,C%,P%;0;ELSEIFINKEY-117CLS:PRINT"�Skipping colour ";C%:I%=TRUE:PROCT(2) 530Q%=&36F:P%=Q%?C%:IFL%P%=C%
530UNTILINKEY-74ORI%:VDU7:IFI%THEN550ELSEIFC%>0ANDJ%PROCJ 540REPEATIFINKEY-68VDU19,C%,9;0;ELSEIFINKEY-82VDU19,C%,P%;0;ELSEIFINKEY-117CLS:PRINT"�Skipping colour ";C%:I%=TRUE:PROCT(2)
550UNTILINKEY-74ORI%:VDU7:IFI%THEN570ELSEIFC%>0ANDJ%PROCJ
540CLS:PROCI:J%=TRUE:?&73=255:?&88=C%:CALLB% 560CLS:PROCI:J%=TRUE:?&73=255:?&88=C%:CALLB%
550C%=C%+1:UNTILC%=G%:V%=0:REPEATCLS:PRINT"� Repeat any colour (Y/N)":A=GET:IFINKEY-69PROCUELSEIFINKEY-86V%=TRUE 570C%=C%+1:UNTILC%=G%:VV%=0:REPEATCLS:PRINT"� Repeat any colour Y/N":A=GET:IFINKEY-69PROCU ELSEIFINKEY-86VV%=TRUE
560UNTILV%:ENDPROC 580UNTILVV%:ENDPROC
570DEFPROCUREPEATCLS:VDU7:INPUT"� Colour number:"B$:UNTILLENB$>0ANDVALB$>-1ANDVALB$<16:PROCJ:CLS:PROCI:?&73=255:?&88=VALB$:CALLB%:ENDPROC 590DEFPROCUREPEATCLS:VDU7:INPUT"� Colour number:"B$:UNTILLENB$>0ANDVALB$>-1ANDVALB$<16:PROCJ:CLS:PROCI:?&73=255:?&88=VALB$:CALLB%:ENDPROC
580DEFPROCJCLS:VDU7,3:PRINT"�Key <R> to reverse feed for next color";:REPEATUNTILINKEY-52:VDU2:K%=0:REPEATVDU1,7,1,27,1,106,1,255:K%=K%+1:UNTILK%=6:VDU1,7,1,27,1,106,1,247:PROCT(8):CLS:VDU3:PRINT"� Cursor keys: fine adjust paper"'"� <RETURN> to print";:VDU2:PROCE("FX4,1"):REPEAT 600DEFPROCJ CLS:VDU7,3:PRINT"�Key <R> to reverse feed for next color";:REPEATUNTILINKEY-52:VDU2:K%=0:REPEATVDU1,7,1,27,1,106,1,255:K%=K%+1:UNTILK%=7:VDU1,7,1,27,1,106,1,15:PROCT(8):VDU3,12:PRINT"� Cursor keys: fine adjust paper"'"� <RETURN> to print";:VDU2:PROCE("FX4,1"):REPEAT
590N%=GET:IFN%=&8BVDU1,7,1,27,1,74,1,1ELSEIFN%=&8AVDU1,7,1,27,1,106,1,1 610N%=GET:IFN%=&8BVDU1,7,1,27,1,74,1,1ELSEIFN%=&8AVDU1,7,1,27,1,106,1,1
600UNTILINKEY-74:PROCE("FX4,2"):VDU3:ENDPROC 620UNTILINKEY-74:PROCE("FX4,2"):VDU3:ENDPROC