Home » CEEFAX disks » telesoftware15.adl » 06-05-89/Decode7

06-05-89/Decode7

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 » CEEFAX disks » telesoftware15.adl
Filename: 06-05-89/Decode7
Read OK:
File size: 0F18 bytes
Load address: FFFF1900
Exec address: FFFF8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10ONERRORGOTO1750
   20REM"�**********************
   30REM"�**�    TELETEXT�    **
   40REM"�** �SCREEN DECODER� **
   50REM"�**   �Version 2    �**
   60REM"�**�by�K.Stephenson� **
   70REM"�**� 19�Cumbria�87�  **
   80REM"�**********************
   90MODE7
  100DIM v% 16,u% 32,code(28),code$(28),text$(28)
  110RESTORE1060
  120FORL%=1TO28
  130READ code(L%),code$(L%),text$(L%)
  140NEXT
  150*FX4,2
  160*FX18
  170REPEAT
  180PROCprinter_on_line
  190UNTIL ok
  200CLS
  210PROCprintcodes
  220REPEAT
  230REPEAT
  240A$=""
  250MODE7:PROCfiles_on_disc
  260PRINTTAB(1,22)CHR$157CHR$132"Filename or <RET> to END ";
  270L=0:f$=""
  280REPEAT
  290PROCfilename
  300UNTILi$=CHR$13
  310PROCalpha
  320MODE7
  330PROCload
  340UNTIL A$="Y" ORA$="y" ORi$=CHR$13 ANDL=0
  350PROCprintout
  360UNTIL i$=CHR$13 ANDL=0
  370VDU2,1,27,1,64
  380VDU3
  390*FX4,0
  400MODE7:END
  410DEFPROCfilename
  420i$=GET$
  430IFi$=CHR$13 ENDPROC
  440IFi$<>CHR$127 L=L+1
  450IFi$=CHR$127 PROCdc:ENDPROC
  460IFL>7 L=7:ENDPROC
  470PRINTi$;:f$=f$+i$
  480ENDPROC
  490DEFPROCdc
  500L=L-1:IFL<0 L=0:f$="":ENDPROC
  510VDU127:f$=LEFT$(f$,L)
  520ENDPROC
  530DEFPROCload
  540IFi$=CHR$13 ANDL=0 ENDPROC
  550f$="X."+f$:REM"�Replace�X�with     �required directory!!!
  560OSCLI("L. "+f$)
  570PRINTTAB(10,24)"OK to print Y/N ? ";
  580REPEAT:A$=GET$:UNTIL A$="Y" ORA$="y" ORA$="N" ORA$="n"
  590PRINTTAB(0,24)SPC39;
  600ENDPROC
  610DEFPROCprintout
  620IFi$=CHR$13 ANDL=0 ENDPROC
  630*FX3,10
  640REM To printer only (Screen preserved.)
  650VDU27,64:REM Ensure printer set to normal (clear any previously set codes.)
  660PRINTTAB(35)f$''
  670VDU15:REM Set Condensed Mode.
  680VDU27,108,10:REM Set LH margin to 10
  690FORI%=&7C00TO&7FBFSTEP40:REM TO &7FE7 for full MODE7 screen!!
  700PRINT
  710PROCdecode
  720NEXT
  730VDU18:REM Cancel Condensed Mode.
  740VDU12
  750VDU27,64
  760*FX3
  770PRINTTAB(9,24)"Press a key ";:wait$=GET$
  780ENDPROC
  790DEFPROCdecode
  800flag=0:len=0
  810FORX%=0TO39
  820len=len+1
  830A=?(I%+X%):B=A-128
  840IFA>127ANDA<160 ANDalpha=1 PROCcode ELSE IFA>127ANDA<160 ANDalpha=0 PROCnum
  850IFA>127ANDA<142 flag=1 ELSEIFA>144ANDA<151 flag=0
  860IFlen>124 VDU13:len=0
  870IFflag=0 AND(A=32 ORB=32)PRINT"^"; ELSEIFflag=1 AND(A=32 ORB=32)PRINT".";
  880IFA=255PRINT"@";
  890IFA=96PRINTCHR$95; ELSEIFA>32ANDA<127 ANDA<>96 PRINTCHR$(A);
  900IFB=96PRINTCHR$95; ELSEIFB>32ANDB<127 ANDB<>96 PRINTCHR$(B);
  910NEXT
  920ENDPROC
  930DEFPROCcode
  940len=len+3
  950IF len>119 VDU13:len=0
  960FOR L%=1TO28
  970IF A=code(L%) PRINT"<"code$(L%);">";
  980IF A=code(L%) L%=28
  990NEXT
 1000ENDPROC
 1010DEFPROCnum
 1020len=len+4
 1030IF len>118 VDU13:len=0
 1040PRINT"<";A">";
 1050ENDPROC
 1060DATA128,RD,Reveal Display,129,aR,alpha Red,130,aG,alpha Green,131,aY,alpha Yellow,132,aB,alpha Blue,133,aM,alpha Magenta,134,aC,alpha Cyan,135,aW,alpha White,136,Fl,Flash,137,St,Steady,138,EB,End Box,139,SB,Start Box
 1070DATA140,NH,Normal Height,141,DH,Double Height,145,gR,graphics Red,146,gG,graphics Green,147,gY,graphics Yellow,148,gB,graphics Blue,149,gM,graphics Magenta,150,gC,graphics Cyan,151,gW,graphics White,152,CD,Conceal Display
 1080DATA153,Cg,Contiguous graphics,154,Sg,Separated graphics,156,BB,Black Background,157,NB,New Background,158,Hg,Hold graphics,159,Rg,Release graphics
 1090DEFPROCprinter_on_line
 1100VDU2,1,0,1,0,1,0,3
 1110PROCdelay(0.2)
 1120IF ADVAL-4=63 ok=-1:ENDPROC
 1130ok=0
 1140PRINTTAB(8,16)CHR$157CHR$129"PRINTER"CHR$130"not on LINE!!! "CHR$156
 1150FORL%=20TO21:PRINTTAB(0,L%)CHR$141CHR$(114+L%)CHR$157CHR$132"Please switch on and press a key  "CHR$156;:NEXT
 1160*FX15
 1170wait$=GET$
 1180ENDPROC
 1190DEFPROCprintcodes
 1200CLS:PRINTTAB(5,16)CHR$157"�Print�CODE�details�?��Y/N "CHR$156;
 1210REPEATA$=GET$:UNTIL A$="Y" ORA$="y" ORA$="N" ORA$="n"
 1220IFA$="N" ORA$="n" ENDPROC
 1230*FX3,10
 1240VDU27,64
 1250VDU15
 1260FORL%=1TO28
 1270PRINTTAB(10);code(L%);SPC5;code$(L%);SPC5;text$(L%)
 1280NEXT
 1290VDU12
 1300VDU27,64
 1310*FX3
 1320ENDPROC
 1330DEFPROCalpha
 1340IFi$=CHR$13 ANDL=0 ENDPROC
 1350alpha=0
 1360PRINTTAB(0,23)CHR$134CHR$157CHR$132"Text or Numeric codes? T/N ";
 1370REPEAT:I$=GET$:UNTIL I$="T" ORI$="t" ORI$="N" ORI$="n"
 1380IFI$="T" ORI$="t" alpha=1 ELSE alpha=0
 1390ENDPROC
 1400DEFPROCdelay(t)
 1410TIME=0:REPEAT:UNTILTIME>t*100
 1420ENDPROC
 1430DEFPROCfiles_on_disc
 1440FORI%=6TO7:PRINTTAB(7,I%)CHR$(128+I%)CHR$157CHR$132CHR$141"Files on disc:_   "CHR$156:NEXT:PRINT'
 1450LOCALA%,C%,X%,Y%
 1460*DIR X
 1470REM"�Replace�X�with required       �directory!!!
 1480FORt%=0TO12STEP4:v%!t%=0:NEXT
 1490PROCl
 1500PROCk
 1510*DIR$
 1520ENDPROC
 1530DEFPROCl
 1540v%?1=u%MOD256
 1550v%?2=u%DIV256
 1560v%?5=1
 1570X%=v%MOD256
 1580Y%=v%DIV256
 1590A%=8:C%=0
 1600CALL&FFD1
 1610ENDPROC
 1620DEFPROCk
 1630REPEAT
 1640PROCfz
 1650UNTILv%?5>0
 1660ENDPROC
 1670DEFPROCfz
 1680IFv%?5>0 ENDPROC
 1690?(u%+1+?u%)=13
 1700n$=$(u%+1)
 1710N%=LEN(n$):S%=10-N%
 1720PRINTn$;SPC(S%);
 1730PROCl
 1740ENDPROC
 1750*FX3
 1760*DIR$
 1770IF ERR=&D6:FORI%=6TO7:PRINTTAB(6,I%)CHR$157CHR$129CHR$141"File not found!!!   "CHR$156;:NEXT:PROCdelay(3):RUN
 1780IF ERR=17 RUN:ELSE REPORT:PRINT" at line ";ERL:END

��dVF
�"�**********************
�"�**�    TELETEXT�    **
(�"�** �SCREEN DECODER� **
2�"�**   �Version 2    �**
<�"�**�by�K.Stephenson� **
F�"�**� 19�Cumbria�87�  **
P�"�**********************
Z�7
d.� v% 16,u% 32,code(28),code$(28),text$(28)
n	��TdD
x�L%=1�28
�"� code(L%),code$(L%),text$(L%)
��
�
*FX4,2
�	*FX18
��
��printer_on_line
�� ok
��
��printcodes
��
��
�	A$=""
��7:�files_on_disc
/�1,22)�157�132"Filename or <RET> to END ";

L=0:f$=""
�
"
�filename
,�i$=�13
6
�alpha
@�7
J	�load
T!� A$="Y" �A$="y" �i$=�13 �L=0
^
�printout
h� i$=�13 �L=0
r�2,1,27,1,64
|�3
�
*FX4,0
��7:�
���filename
�i$=�
�
�i$=�13 �
��i$<>�127 L=L+1
��i$=�127 �dc:�
��L>7 L=7:�
��i$;:f$=f$+i$
��
���dc
�L=L-1:�L<0 L=0:f$="":�
��127:f$=�f$,L)
�

��load
�i$=�13 �L=0 �
&;f$="X."+f$:�"�Replace�X�with     �required directory!!!
0�("L. "+f$)
:!�10,24)"OK to print Y/N ? ";
D+�:A$=�:� A$="Y" �A$="y" �A$="N" �A$="n"
N�0,24)�39;
X�
b��printout
l�i$=�13 �L=0 �
v*FX3,10
�)� To printer only (Screen preserved.)
�K�27,64:� Ensure printer set to normal (clear any previously set codes.)
�
�35)f$''
��15:� Set Condensed Mode.
�$�27,108,10:� Set LH margin to 10
�9�I%=&7C00�&7FBF�40:� TO &7FE7 for full MODE7 screen!!
��
��decode
��
� �18:� Cancel Condensed Mode.
��12
�
�27,64
�*FX3
"�9,24)"Press a key ";:wait$=�
�
��decode
 flag=0:len=0
*�X%=0�39
4
len=len+1
>A=?(I%+X%):B=A-128
H<�A>127�A<160 �alpha=1 �code � �A>127�A<160 �alpha=0 �num
R,�A>127�A<142 flag=1 ��A>144�A<151 flag=0
\�len>124 �13:len=0
f:�flag=0 �(A=32 �B=32)�"^"; ��flag=1 �(A=32 �B=32)�".";
p�A=255�"@";
z)�A=96�95; ��A>32�A<127 �A<>96 �(A);
�)�B=96�95; ��B>32�B<127 �B<>96 �(B);
��
��
�
��code
�
len=len+3
�� len>119 �13:len=0
�
� L%=1�28
�#� A=code(L%) �"<"code$(L%);">";
�� A=code(L%) L%=28
��
��
�	��num
�
len=len+4
� len>118 �13:len=0
�"<";A">";
�
$��128,RD,Reveal Display,129,aR,alpha Red,130,aG,alpha Green,131,aY,alpha Yellow,132,aB,alpha Blue,133,aM,alpha Magenta,134,aC,alpha Cyan,135,aW,alpha White,136,Fl,Flash,137,St,Steady,138,EB,End Box,139,SB,Start Box
.��140,NH,Normal Height,141,DH,Double Height,145,gR,graphics Red,146,gG,graphics Green,147,gY,graphics Yellow,148,gB,graphics Blue,149,gM,graphics Magenta,150,gC,graphics Cyan,151,gW,graphics White,152,CD,Conceal Display
8��153,Cg,Contiguous graphics,154,Sg,Separated graphics,156,BB,Black Background,157,NB,New Background,158,Hg,Hold graphics,159,Rg,Release graphics
B��printer_on_line
L�2,1,0,1,0,1,0,3
V�delay(0.2)
`� �-4=63 ok=-1:�
jok=0
t5�8,16)�157�129"PRINTER"�130"not on LINE!!! "�156
~U�L%=20�21:�0,L%)�141�(114+L%)�157�132"Please switch on and press a key  "�156;:�
�	*FX15
�wait$=�
��
���printcodes
�3�:�5,16)�157"�Print�CODE�details�?��Y/N "�156;
�*�A$=�:� A$="Y" �A$="y" �A$="N" �A$="n"
��A$="N" �A$="n" �
�*FX3,10
�
�27,64
��15
��L%=1�28
�,�10);code(L%);�5;code$(L%);�5;text$(L%)
�

�12

�27,64
*FX3
(�
2��alpha
<�i$=�13 �L=0 �
Falpha=0
P5�0,23)�134�157�132"Text or Numeric codes? T/N ";
Z+�:I$=�:� I$="T" �I$="t" �I$="N" �I$="n"
d%�I$="T" �I$="t" alpha=1 � alpha=0
n�
x��delay(t)
��=0:�:��>t*100
��
���files_on_disc
�E�I%=6�7:�7,I%)�(128+I%)�157�132�141"Files on disc:_   "�156:�:�'
��A%,C%,X%,Y%
�
*DIR X
�2�"�Replace�X�with required       �directory!!!
��t%=0�12�4:v%!t%=0:�
��l
��k
�	*DIR$
��
���l
v%?1=u%�256
v%?2=u%�256

v%?5=1
"
X%=v%�256
,
Y%=v%�256
6
A%=8:C%=0
@
�&FFD1
J�
T��k
^�
h�fz
r�v%?5>0
|�
���fz
�
�v%?5>0 �
�?(u%+1+?u%)=13
�n$=$(u%+1)
�N%=�(n$):S%=10-N%
��n$;�(S%);
��l
��
�*FX3
�	*DIR$
�P� �=&D6:�I%=6�7:�6,I%)�157�129�141"File not found!!!   "�156;:�:�delay(3):�
�!� �=17 �:� �:�" at line ";�:�
�
00000000  0d 00 0a 0b ee 85 e5 8d  64 56 46 0d 00 14 1d f4  |........dVF.....|
00000010  22 83 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |".**************|
00000020  2a 2a 2a 2a 2a 2a 2a 2a  0d 00 1e 1d f4 22 83 2a  |********.....".*|
00000030  2a 81 20 20 20 20 54 45  4c 45 54 45 58 54 83 20  |*.    TELETEXT. |
00000040  20 20 20 2a 2a 0d 00 28  1d f4 22 83 2a 2a 20 86  |   **..(..".** .|
00000050  53 43 52 45 45 4e 20 44  45 43 4f 44 45 52 83 20  |SCREEN DECODER. |
00000060  2a 2a 0d 00 32 1d f4 22  83 2a 2a 20 20 20 85 56  |**..2..".**   .V|
00000070  65 72 73 69 6f 6e 20 32  20 20 20 20 83 2a 2a 0d  |ersion 2    .**.|
00000080  00 3c 1d f4 22 83 2a 2a  84 62 79 82 4b 2e 53 74  |.<..".**.by.K.St|
00000090  65 70 68 65 6e 73 6f 6e  83 20 2a 2a 0d 00 46 1d  |ephenson. **..F.|
000000a0  f4 22 83 2a 2a 85 20 31  39 81 43 75 6d 62 72 69  |.".**. 19.Cumbri|
000000b0  61 85 38 37 83 20 20 2a  2a 0d 00 50 1d f4 22 83  |a.87.  **..P..".|
000000c0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
000000d0  2a 2a 2a 2a 2a 2a 0d 00  5a 06 eb 37 0d 00 64 2e  |******..Z..7..d.|
000000e0  de 20 76 25 20 31 36 2c  75 25 20 33 32 2c 63 6f  |. v% 16,u% 32,co|
000000f0  64 65 28 32 38 29 2c 63  6f 64 65 24 28 32 38 29  |de(28),code$(28)|
00000100  2c 74 65 78 74 24 28 32  38 29 0d 00 6e 09 f7 8d  |,text$(28)..n...|
00000110  54 64 44 0d 00 78 0c e3  4c 25 3d 31 b8 32 38 0d  |TdD..x..L%=1.28.|
00000120  00 82 22 f3 20 63 6f 64  65 28 4c 25 29 2c 63 6f  |..". code(L%),co|
00000130  64 65 24 28 4c 25 29 2c  74 65 78 74 24 28 4c 25  |de$(L%),text$(L%|
00000140  29 0d 00 8c 05 ed 0d 00  96 0a 2a 46 58 34 2c 32  |).........*FX4,2|
00000150  0d 00 a0 09 2a 46 58 31  38 0d 00 aa 05 f5 0d 00  |....*FX18.......|
00000160  b4 14 f2 70 72 69 6e 74  65 72 5f 6f 6e 5f 6c 69  |...printer_on_li|
00000170  6e 65 0d 00 be 08 fd 20  6f 6b 0d 00 c8 05 db 0d  |ne..... ok......|
00000180  00 d2 0f f2 70 72 69 6e  74 63 6f 64 65 73 0d 00  |....printcodes..|
00000190  dc 05 f5 0d 00 e6 05 f5  0d 00 f0 09 41 24 3d 22  |............A$="|
000001a0  22 0d 00 fa 15 eb 37 3a  f2 66 69 6c 65 73 5f 6f  |".....7:.files_o|
000001b0  6e 5f 64 69 73 63 0d 01  04 2f f1 8a 31 2c 32 32  |n_disc.../..1,22|
000001c0  29 bd 31 35 37 bd 31 33  32 22 46 69 6c 65 6e 61  |).157.132"Filena|
000001d0  6d 65 20 6f 72 20 3c 52  45 54 3e 20 74 6f 20 45  |me or <RET> to E|
000001e0  4e 44 20 22 3b 0d 01 0e  0d 4c 3d 30 3a 66 24 3d  |ND ";....L=0:f$=|
000001f0  22 22 0d 01 18 05 f5 0d  01 22 0d f2 66 69 6c 65  |""......."..file|
00000200  6e 61 6d 65 0d 01 2c 0b  fd 69 24 3d bd 31 33 0d  |name..,..i$=.13.|
00000210  01 36 0a f2 61 6c 70 68  61 0d 01 40 06 eb 37 0d  |.6..alpha..@..7.|
00000220  01 4a 09 f2 6c 6f 61 64  0d 01 54 21 fd 20 41 24  |.J..load..T!. A$|
00000230  3d 22 59 22 20 84 41 24  3d 22 79 22 20 84 69 24  |="Y" .A$="y" .i$|
00000240  3d bd 31 33 20 80 4c 3d  30 0d 01 5e 0d f2 70 72  |=.13 .L=0..^..pr|
00000250  69 6e 74 6f 75 74 0d 01  68 11 fd 20 69 24 3d bd  |intout..h.. i$=.|
00000260  31 33 20 80 4c 3d 30 0d  01 72 10 ef 32 2c 31 2c  |13 .L=0..r..2,1,|
00000270  32 37 2c 31 2c 36 34 0d  01 7c 06 ef 33 0d 01 86  |27,1,64..|..3...|
00000280  0a 2a 46 58 34 2c 30 0d  01 90 08 eb 37 3a e0 0d  |.*FX4,0.....7:..|
00000290  01 9a 0e dd f2 66 69 6c  65 6e 61 6d 65 0d 01 a4  |.....filename...|
000002a0  08 69 24 3d be 0d 01 ae  0d e7 69 24 3d bd 31 33  |.i$=......i$=.13|
000002b0  20 e1 0d 01 b8 13 e7 69  24 3c 3e bd 31 32 37 20  | ......i$<>.127 |
000002c0  4c 3d 4c 2b 31 0d 01 c2  12 e7 69 24 3d bd 31 32  |L=L+1.....i$=.12|
000002d0  37 20 f2 64 63 3a e1 0d  01 cc 0e e7 4c 3e 37 20  |7 .dc:......L>7 |
000002e0  4c 3d 37 3a e1 0d 01 d6  11 f1 69 24 3b 3a 66 24  |L=7:......i$;:f$|
000002f0  3d 66 24 2b 69 24 0d 01  e0 05 e1 0d 01 ea 08 dd  |=f$+i$..........|
00000300  f2 64 63 0d 01 f4 1a 4c  3d 4c 2d 31 3a e7 4c 3c  |.dc....L=L-1:.L<|
00000310  30 20 4c 3d 30 3a 66 24  3d 22 22 3a e1 0d 01 fe  |0 L=0:f$="":....|
00000320  12 ef 31 32 37 3a 66 24  3d c0 66 24 2c 4c 29 0d  |..127:f$=.f$,L).|
00000330  02 08 05 e1 0d 02 12 0a  dd f2 6c 6f 61 64 0d 02  |..........load..|
00000340  1c 12 e7 69 24 3d bd 31  33 20 80 4c 3d 30 20 e1  |...i$=.13 .L=0 .|
00000350  0d 02 26 3b 66 24 3d 22  58 2e 22 2b 66 24 3a f4  |..&;f$="X."+f$:.|
00000360  22 83 52 65 70 6c 61 63  65 86 58 83 77 69 74 68  |".Replace.X.with|
00000370  20 20 20 20 20 83 72 65  71 75 69 72 65 64 20 64  |     .required d|
00000380  69 72 65 63 74 6f 72 79  21 21 21 0d 02 30 0f ff  |irectory!!!..0..|
00000390  28 22 4c 2e 20 22 2b 66  24 29 0d 02 3a 21 f1 8a  |("L. "+f$)..:!..|
000003a0  31 30 2c 32 34 29 22 4f  4b 20 74 6f 20 70 72 69  |10,24)"OK to pri|
000003b0  6e 74 20 59 2f 4e 20 3f  20 22 3b 0d 02 44 2b f5  |nt Y/N ? ";..D+.|
000003c0  3a 41 24 3d be 3a fd 20  41 24 3d 22 59 22 20 84  |:A$=.:. A$="Y" .|
000003d0  41 24 3d 22 79 22 20 84  41 24 3d 22 4e 22 20 84  |A$="y" .A$="N" .|
000003e0  41 24 3d 22 6e 22 0d 02  4e 0f f1 8a 30 2c 32 34  |A$="n"..N...0,24|
000003f0  29 89 33 39 3b 0d 02 58  05 e1 0d 02 62 0e dd f2  |).39;..X....b...|
00000400  70 72 69 6e 74 6f 75 74  0d 02 6c 12 e7 69 24 3d  |printout..l..i$=|
00000410  bd 31 33 20 80 4c 3d 30  20 e1 0d 02 76 0b 2a 46  |.13 .L=0 ...v.*F|
00000420  58 33 2c 31 30 0d 02 80  29 f4 20 54 6f 20 70 72  |X3,10...). To pr|
00000430  69 6e 74 65 72 20 6f 6e  6c 79 20 28 53 63 72 65  |inter only (Scre|
00000440  65 6e 20 70 72 65 73 65  72 76 65 64 2e 29 0d 02  |en preserved.)..|
00000450  8a 4b ef 32 37 2c 36 34  3a f4 20 45 6e 73 75 72  |.K.27,64:. Ensur|
00000460  65 20 70 72 69 6e 74 65  72 20 73 65 74 20 74 6f  |e printer set to|
00000470  20 6e 6f 72 6d 61 6c 20  28 63 6c 65 61 72 20 61  | normal (clear a|
00000480  6e 79 20 70 72 65 76 69  6f 75 73 6c 79 20 73 65  |ny previously se|
00000490  74 20 63 6f 64 65 73 2e  29 0d 02 94 0d f1 8a 33  |t codes.)......3|
000004a0  35 29 66 24 27 27 0d 02  9e 1d ef 31 35 3a f4 20  |5)f$''.....15:. |
000004b0  53 65 74 20 43 6f 6e 64  65 6e 73 65 64 20 4d 6f  |Set Condensed Mo|
000004c0  64 65 2e 0d 02 a8 24 ef  32 37 2c 31 30 38 2c 31  |de....$.27,108,1|
000004d0  30 3a f4 20 53 65 74 20  4c 48 20 6d 61 72 67 69  |0:. Set LH margi|
000004e0  6e 20 74 6f 20 31 30 0d  02 b2 39 e3 49 25 3d 26  |n to 10...9.I%=&|
000004f0  37 43 30 30 b8 26 37 46  42 46 88 34 30 3a f4 20  |7C00.&7FBF.40:. |
00000500  54 4f 20 26 37 46 45 37  20 66 6f 72 20 66 75 6c  |TO &7FE7 for ful|
00000510  6c 20 4d 4f 44 45 37 20  73 63 72 65 65 6e 21 21  |l MODE7 screen!!|
00000520  0d 02 bc 05 f1 0d 02 c6  0b f2 64 65 63 6f 64 65  |..........decode|
00000530  0d 02 d0 05 ed 0d 02 da  20 ef 31 38 3a f4 20 43  |........ .18:. C|
00000540  61 6e 63 65 6c 20 43 6f  6e 64 65 6e 73 65 64 20  |ancel Condensed |
00000550  4d 6f 64 65 2e 0d 02 e4  07 ef 31 32 0d 02 ee 0a  |Mode......12....|
00000560  ef 32 37 2c 36 34 0d 02  f8 08 2a 46 58 33 0d 03  |.27,64....*FX3..|
00000570  02 22 f1 8a 39 2c 32 34  29 22 50 72 65 73 73 20  |."..9,24)"Press |
00000580  61 20 6b 65 79 20 22 3b  3a 77 61 69 74 24 3d be  |a key ";:wait$=.|
00000590  0d 03 0c 05 e1 0d 03 16  0c dd f2 64 65 63 6f 64  |...........decod|
000005a0  65 0d 03 20 10 66 6c 61  67 3d 30 3a 6c 65 6e 3d  |e.. .flag=0:len=|
000005b0  30 0d 03 2a 0c e3 58 25  3d 30 b8 33 39 0d 03 34  |0..*..X%=0.39..4|
000005c0  0d 6c 65 6e 3d 6c 65 6e  2b 31 0d 03 3e 16 41 3d  |.len=len+1..>.A=|
000005d0  3f 28 49 25 2b 58 25 29  3a 42 3d 41 2d 31 32 38  |?(I%+X%):B=A-128|
000005e0  0d 03 48 3c e7 41 3e 31  32 37 80 41 3c 31 36 30  |..H<.A>127.A<160|
000005f0  20 80 61 6c 70 68 61 3d  31 20 f2 63 6f 64 65 20  | .alpha=1 .code |
00000600  8b 20 e7 41 3e 31 32 37  80 41 3c 31 36 30 20 80  |. .A>127.A<160 .|
00000610  61 6c 70 68 61 3d 30 20  f2 6e 75 6d 0d 03 52 2c  |alpha=0 .num..R,|
00000620  e7 41 3e 31 32 37 80 41  3c 31 34 32 20 66 6c 61  |.A>127.A<142 fla|
00000630  67 3d 31 20 8b e7 41 3e  31 34 34 80 41 3c 31 35  |g=1 ..A>144.A<15|
00000640  31 20 66 6c 61 67 3d 30  0d 03 5c 16 e7 6c 65 6e  |1 flag=0..\..len|
00000650  3e 31 32 34 20 ef 31 33  3a 6c 65 6e 3d 30 0d 03  |>124 .13:len=0..|
00000660  66 3a e7 66 6c 61 67 3d  30 20 80 28 41 3d 33 32  |f:.flag=0 .(A=32|
00000670  20 84 42 3d 33 32 29 f1  22 5e 22 3b 20 8b e7 66  | .B=32)."^"; ..f|
00000680  6c 61 67 3d 31 20 80 28  41 3d 33 32 20 84 42 3d  |lag=1 .(A=32 .B=|
00000690  33 32 29 f1 22 2e 22 3b  0d 03 70 0f e7 41 3d 32  |32).".";..p..A=2|
000006a0  35 35 f1 22 40 22 3b 0d  03 7a 29 e7 41 3d 39 36  |55."@";..z).A=96|
000006b0  f1 bd 39 35 3b 20 8b e7  41 3e 33 32 80 41 3c 31  |..95; ..A>32.A<1|
000006c0  32 37 20 80 41 3c 3e 39  36 20 f1 bd 28 41 29 3b  |27 .A<>96 ..(A);|
000006d0  0d 03 84 29 e7 42 3d 39  36 f1 bd 39 35 3b 20 8b  |...).B=96..95; .|
000006e0  e7 42 3e 33 32 80 42 3c  31 32 37 20 80 42 3c 3e  |.B>32.B<127 .B<>|
000006f0  39 36 20 f1 bd 28 42 29  3b 0d 03 8e 05 ed 0d 03  |96 ..(B);.......|
00000700  98 05 e1 0d 03 a2 0a dd  f2 63 6f 64 65 0d 03 ac  |.........code...|
00000710  0d 6c 65 6e 3d 6c 65 6e  2b 33 0d 03 b6 17 e7 20  |.len=len+3..... |
00000720  6c 65 6e 3e 31 31 39 20  ef 31 33 3a 6c 65 6e 3d  |len>119 .13:len=|
00000730  30 0d 03 c0 0d e3 20 4c  25 3d 31 b8 32 38 0d 03  |0..... L%=1.28..|
00000740  ca 23 e7 20 41 3d 63 6f  64 65 28 4c 25 29 20 f1  |.#. A=code(L%) .|
00000750  22 3c 22 63 6f 64 65 24  28 4c 25 29 3b 22 3e 22  |"<"code$(L%);">"|
00000760  3b 0d 03 d4 16 e7 20 41  3d 63 6f 64 65 28 4c 25  |;..... A=code(L%|
00000770  29 20 4c 25 3d 32 38 0d  03 de 05 ed 0d 03 e8 05  |) L%=28.........|
00000780  e1 0d 03 f2 09 dd f2 6e  75 6d 0d 03 fc 0d 6c 65  |.......num....le|
00000790  6e 3d 6c 65 6e 2b 34 0d  04 06 17 e7 20 6c 65 6e  |n=len+4..... len|
000007a0  3e 31 31 38 20 ef 31 33  3a 6c 65 6e 3d 30 0d 04  |>118 .13:len=0..|
000007b0  10 0e f1 22 3c 22 3b 41  22 3e 22 3b 0d 04 1a 05  |..."<";A">";....|
000007c0  e1 0d 04 24 d9 dc 31 32  38 2c 52 44 2c 52 65 76  |...$..128,RD,Rev|
000007d0  65 61 6c 20 44 69 73 70  6c 61 79 2c 31 32 39 2c  |eal Display,129,|
000007e0  61 52 2c 61 6c 70 68 61  20 52 65 64 2c 31 33 30  |aR,alpha Red,130|
000007f0  2c 61 47 2c 61 6c 70 68  61 20 47 72 65 65 6e 2c  |,aG,alpha Green,|
00000800  31 33 31 2c 61 59 2c 61  6c 70 68 61 20 59 65 6c  |131,aY,alpha Yel|
00000810  6c 6f 77 2c 31 33 32 2c  61 42 2c 61 6c 70 68 61  |low,132,aB,alpha|
00000820  20 42 6c 75 65 2c 31 33  33 2c 61 4d 2c 61 6c 70  | Blue,133,aM,alp|
00000830  68 61 20 4d 61 67 65 6e  74 61 2c 31 33 34 2c 61  |ha Magenta,134,a|
00000840  43 2c 61 6c 70 68 61 20  43 79 61 6e 2c 31 33 35  |C,alpha Cyan,135|
00000850  2c 61 57 2c 61 6c 70 68  61 20 57 68 69 74 65 2c  |,aW,alpha White,|
00000860  31 33 36 2c 46 6c 2c 46  6c 61 73 68 2c 31 33 37  |136,Fl,Flash,137|
00000870  2c 53 74 2c 53 74 65 61  64 79 2c 31 33 38 2c 45  |,St,Steady,138,E|
00000880  42 2c 45 6e 64 20 42 6f  78 2c 31 33 39 2c 53 42  |B,End Box,139,SB|
00000890  2c 53 74 61 72 74 20 42  6f 78 0d 04 2e de dc 31  |,Start Box.....1|
000008a0  34 30 2c 4e 48 2c 4e 6f  72 6d 61 6c 20 48 65 69  |40,NH,Normal Hei|
000008b0  67 68 74 2c 31 34 31 2c  44 48 2c 44 6f 75 62 6c  |ght,141,DH,Doubl|
000008c0  65 20 48 65 69 67 68 74  2c 31 34 35 2c 67 52 2c  |e Height,145,gR,|
000008d0  67 72 61 70 68 69 63 73  20 52 65 64 2c 31 34 36  |graphics Red,146|
000008e0  2c 67 47 2c 67 72 61 70  68 69 63 73 20 47 72 65  |,gG,graphics Gre|
000008f0  65 6e 2c 31 34 37 2c 67  59 2c 67 72 61 70 68 69  |en,147,gY,graphi|
00000900  63 73 20 59 65 6c 6c 6f  77 2c 31 34 38 2c 67 42  |cs Yellow,148,gB|
00000910  2c 67 72 61 70 68 69 63  73 20 42 6c 75 65 2c 31  |,graphics Blue,1|
00000920  34 39 2c 67 4d 2c 67 72  61 70 68 69 63 73 20 4d  |49,gM,graphics M|
00000930  61 67 65 6e 74 61 2c 31  35 30 2c 67 43 2c 67 72  |agenta,150,gC,gr|
00000940  61 70 68 69 63 73 20 43  79 61 6e 2c 31 35 31 2c  |aphics Cyan,151,|
00000950  67 57 2c 67 72 61 70 68  69 63 73 20 57 68 69 74  |gW,graphics Whit|
00000960  65 2c 31 35 32 2c 43 44  2c 43 6f 6e 63 65 61 6c  |e,152,CD,Conceal|
00000970  20 44 69 73 70 6c 61 79  0d 04 38 94 dc 31 35 33  | Display..8..153|
00000980  2c 43 67 2c 43 6f 6e 74  69 67 75 6f 75 73 20 67  |,Cg,Contiguous g|
00000990  72 61 70 68 69 63 73 2c  31 35 34 2c 53 67 2c 53  |raphics,154,Sg,S|
000009a0  65 70 61 72 61 74 65 64  20 67 72 61 70 68 69 63  |eparated graphic|
000009b0  73 2c 31 35 36 2c 42 42  2c 42 6c 61 63 6b 20 42  |s,156,BB,Black B|
000009c0  61 63 6b 67 72 6f 75 6e  64 2c 31 35 37 2c 4e 42  |ackground,157,NB|
000009d0  2c 4e 65 77 20 42 61 63  6b 67 72 6f 75 6e 64 2c  |,New Background,|
000009e0  31 35 38 2c 48 67 2c 48  6f 6c 64 20 67 72 61 70  |158,Hg,Hold grap|
000009f0  68 69 63 73 2c 31 35 39  2c 52 67 2c 52 65 6c 65  |hics,159,Rg,Rele|
00000a00  61 73 65 20 67 72 61 70  68 69 63 73 0d 04 42 15  |ase graphics..B.|
00000a10  dd f2 70 72 69 6e 74 65  72 5f 6f 6e 5f 6c 69 6e  |..printer_on_lin|
00000a20  65 0d 04 4c 14 ef 32 2c  31 2c 30 2c 31 2c 30 2c  |e..L..2,1,0,1,0,|
00000a30  31 2c 30 2c 33 0d 04 56  0f f2 64 65 6c 61 79 28  |1,0,3..V..delay(|
00000a40  30 2e 32 29 0d 04 60 14  e7 20 96 2d 34 3d 36 33  |0.2)..`.. .-4=63|
00000a50  20 6f 6b 3d 2d 31 3a e1  0d 04 6a 08 6f 6b 3d 30  | ok=-1:...j.ok=0|
00000a60  0d 04 74 35 f1 8a 38 2c  31 36 29 bd 31 35 37 bd  |..t5..8,16).157.|
00000a70  31 32 39 22 50 52 49 4e  54 45 52 22 bd 31 33 30  |129"PRINTER".130|
00000a80  22 6e 6f 74 20 6f 6e 20  4c 49 4e 45 21 21 21 20  |"not on LINE!!! |
00000a90  22 bd 31 35 36 0d 04 7e  55 e3 4c 25 3d 32 30 b8  |".156..~U.L%=20.|
00000aa0  32 31 3a f1 8a 30 2c 4c  25 29 bd 31 34 31 bd 28  |21:..0,L%).141.(|
00000ab0  31 31 34 2b 4c 25 29 bd  31 35 37 bd 31 33 32 22  |114+L%).157.132"|
00000ac0  50 6c 65 61 73 65 20 73  77 69 74 63 68 20 6f 6e  |Please switch on|
00000ad0  20 61 6e 64 20 70 72 65  73 73 20 61 20 6b 65 79  | and press a key|
00000ae0  20 20 22 bd 31 35 36 3b  3a ed 0d 04 88 09 2a 46  |  ".156;:.....*F|
00000af0  58 31 35 0d 04 92 0b 77  61 69 74 24 3d be 0d 04  |X15....wait$=...|
00000b00  9c 05 e1 0d 04 a6 10 dd  f2 70 72 69 6e 74 63 6f  |.........printco|
00000b10  64 65 73 0d 04 b0 33 db  3a f1 8a 35 2c 31 36 29  |des...3.:..5,16)|
00000b20  bd 31 35 37 22 81 50 72  69 6e 74 85 43 4f 44 45  |.157".Print.CODE|
00000b30  81 64 65 74 61 69 6c 73  83 3f 88 86 59 2f 4e 20  |.details.?..Y/N |
00000b40  22 bd 31 35 36 3b 0d 04  ba 2a f5 41 24 3d be 3a  |".156;...*.A$=.:|
00000b50  fd 20 41 24 3d 22 59 22  20 84 41 24 3d 22 79 22  |. A$="Y" .A$="y"|
00000b60  20 84 41 24 3d 22 4e 22  20 84 41 24 3d 22 6e 22  | .A$="N" .A$="n"|
00000b70  0d 04 c4 15 e7 41 24 3d  22 4e 22 20 84 41 24 3d  |.....A$="N" .A$=|
00000b80  22 6e 22 20 e1 0d 04 ce  0b 2a 46 58 33 2c 31 30  |"n" .....*FX3,10|
00000b90  0d 04 d8 0a ef 32 37 2c  36 34 0d 04 e2 07 ef 31  |.....27,64.....1|
00000ba0  35 0d 04 ec 0c e3 4c 25  3d 31 b8 32 38 0d 04 f6  |5.....L%=1.28...|
00000bb0  2c f1 8a 31 30 29 3b 63  6f 64 65 28 4c 25 29 3b  |,..10);code(L%);|
00000bc0  89 35 3b 63 6f 64 65 24  28 4c 25 29 3b 89 35 3b  |.5;code$(L%);.5;|
00000bd0  74 65 78 74 24 28 4c 25  29 0d 05 00 05 ed 0d 05  |text$(L%).......|
00000be0  0a 07 ef 31 32 0d 05 14  0a ef 32 37 2c 36 34 0d  |...12.....27,64.|
00000bf0  05 1e 08 2a 46 58 33 0d  05 28 05 e1 0d 05 32 0b  |...*FX3..(....2.|
00000c00  dd f2 61 6c 70 68 61 0d  05 3c 12 e7 69 24 3d bd  |..alpha..<..i$=.|
00000c10  31 33 20 80 4c 3d 30 20  e1 0d 05 46 0b 61 6c 70  |13 .L=0 ...F.alp|
00000c20  68 61 3d 30 0d 05 50 35  f1 8a 30 2c 32 33 29 bd  |ha=0..P5..0,23).|
00000c30  31 33 34 bd 31 35 37 bd  31 33 32 22 54 65 78 74  |134.157.132"Text|
00000c40  20 6f 72 20 4e 75 6d 65  72 69 63 20 63 6f 64 65  | or Numeric code|
00000c50  73 3f 20 54 2f 4e 20 22  3b 0d 05 5a 2b f5 3a 49  |s? T/N ";..Z+.:I|
00000c60  24 3d be 3a fd 20 49 24  3d 22 54 22 20 84 49 24  |$=.:. I$="T" .I$|
00000c70  3d 22 74 22 20 84 49 24  3d 22 4e 22 20 84 49 24  |="t" .I$="N" .I$|
00000c80  3d 22 6e 22 0d 05 64 25  e7 49 24 3d 22 54 22 20  |="n"..d%.I$="T" |
00000c90  84 49 24 3d 22 74 22 20  61 6c 70 68 61 3d 31 20  |.I$="t" alpha=1 |
00000ca0  8b 20 61 6c 70 68 61 3d  30 0d 05 6e 05 e1 0d 05  |. alpha=0..n....|
00000cb0  78 0e dd f2 64 65 6c 61  79 28 74 29 0d 05 82 12  |x...delay(t)....|
00000cc0  d1 3d 30 3a f5 3a fd 91  3e 74 2a 31 30 30 0d 05  |.=0:.:..>t*100..|
00000cd0  8c 05 e1 0d 05 96 13 dd  f2 66 69 6c 65 73 5f 6f  |.........files_o|
00000ce0  6e 5f 64 69 73 63 0d 05  a0 45 e3 49 25 3d 36 b8  |n_disc...E.I%=6.|
00000cf0  37 3a f1 8a 37 2c 49 25  29 bd 28 31 32 38 2b 49  |7:..7,I%).(128+I|
00000d00  25 29 bd 31 35 37 bd 31  33 32 bd 31 34 31 22 46  |%).157.132.141"F|
00000d10  69 6c 65 73 20 6f 6e 20  64 69 73 63 3a 5f 20 20  |iles on disc:_  |
00000d20  20 22 bd 31 35 36 3a ed  3a f1 27 0d 05 aa 10 ea  | ".156:.:.'.....|
00000d30  41 25 2c 43 25 2c 58 25  2c 59 25 0d 05 b4 0a 2a  |A%,C%,X%,Y%....*|
00000d40  44 49 52 20 58 0d 05 be  32 f4 22 83 52 65 70 6c  |DIR X...2.".Repl|
00000d50  61 63 65 86 58 83 77 69  74 68 20 72 65 71 75 69  |ace.X.with requi|
00000d60  72 65 64 20 20 20 20 20  20 20 83 64 69 72 65 63  |red       .direc|
00000d70  74 6f 72 79 21 21 21 0d  05 c8 18 e3 74 25 3d 30  |tory!!!.....t%=0|
00000d80  b8 31 32 88 34 3a 76 25  21 74 25 3d 30 3a ed 0d  |.12.4:v%!t%=0:..|
00000d90  05 d2 06 f2 6c 0d 05 dc  06 f2 6b 0d 05 e6 09 2a  |....l.....k....*|
00000da0  44 49 52 24 0d 05 f0 05  e1 0d 05 fa 07 dd f2 6c  |DIR$...........l|
00000db0  0d 06 04 0f 76 25 3f 31  3d 75 25 83 32 35 36 0d  |....v%?1=u%.256.|
00000dc0  06 0e 0f 76 25 3f 32 3d  75 25 81 32 35 36 0d 06  |...v%?2=u%.256..|
00000dd0  18 0a 76 25 3f 35 3d 31  0d 06 22 0d 58 25 3d 76  |..v%?5=1..".X%=v|
00000de0  25 83 32 35 36 0d 06 2c  0d 59 25 3d 76 25 81 32  |%.256..,.Y%=v%.2|
00000df0  35 36 0d 06 36 0d 41 25  3d 38 3a 43 25 3d 30 0d  |56..6.A%=8:C%=0.|
00000e00  06 40 0a d6 26 46 46 44  31 0d 06 4a 05 e1 0d 06  |.@..&FFD1..J....|
00000e10  54 07 dd f2 6b 0d 06 5e  05 f5 0d 06 68 07 f2 66  |T...k..^....h..f|
00000e20  7a 0d 06 72 0b fd 76 25  3f 35 3e 30 0d 06 7c 05  |z..r..v%?5>0..|.|
00000e30  e1 0d 06 86 08 dd f2 66  7a 0d 06 90 0d e7 76 25  |.......fz.....v%|
00000e40  3f 35 3e 30 20 e1 0d 06  9a 12 3f 28 75 25 2b 31  |?5>0 .....?(u%+1|
00000e50  2b 3f 75 25 29 3d 31 33  0d 06 a4 0e 6e 24 3d 24  |+?u%)=13....n$=$|
00000e60  28 75 25 2b 31 29 0d 06  ae 15 4e 25 3d a9 28 6e  |(u%+1)....N%=.(n|
00000e70  24 29 3a 53 25 3d 31 30  2d 4e 25 0d 06 b8 0e f1  |$):S%=10-N%.....|
00000e80  6e 24 3b 89 28 53 25 29  3b 0d 06 c2 06 f2 6c 0d  |n$;.(S%);.....l.|
00000e90  06 cc 05 e1 0d 06 d6 08  2a 46 58 33 0d 06 e0 09  |........*FX3....|
00000ea0  2a 44 49 52 24 0d 06 ea  50 e7 20 9f 3d 26 44 36  |*DIR$...P. .=&D6|
00000eb0  3a e3 49 25 3d 36 b8 37  3a f1 8a 36 2c 49 25 29  |:.I%=6.7:..6,I%)|
00000ec0  bd 31 35 37 bd 31 32 39  bd 31 34 31 22 46 69 6c  |.157.129.141"Fil|
00000ed0  65 20 6e 6f 74 20 66 6f  75 6e 64 21 21 21 20 20  |e not found!!!  |
00000ee0  20 22 bd 31 35 36 3b 3a  ed 3a f2 64 65 6c 61 79  | ".156;:.:.delay|
00000ef0  28 33 29 3a f9 0d 06 f4  21 e7 20 9f 3d 31 37 20  |(3):....!. .=17 |
00000f00  f9 3a 8b 20 f6 3a f1 22  20 61 74 20 6c 69 6e 65  |.:. .:." at line|
00000f10  20 22 3b 9e 3a e0 0d ff                           | ";.:...|
00000f18
06-05-89/Decode7.m0
06-05-89/Decode7.m1
06-05-89/Decode7.m2
06-05-89/Decode7.m4
06-05-89/Decode7.m5