Home » CEEFAX disks » telesoftware15.adl » 08-04-89/TSDP0

08-04-89/TSDP0

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: 08-04-89/TSDP0
Read OK:
File size: 1C1C bytes
Load address: FFFF1900
Exec address: FFFF8023
File contents
   10REM> TSDP0
   20MODE7
   30VDU23,1,0;0;0;0;
   40DIM mcode &500 :REM: space for machine code
   50DIM buff 40 :REM: TSDP buffer
   60PROCmcode :REM: assemble machine code
   70ttx$=CHR$(141)+CHR$(132)+CHR$(157)+CHR$(131)+"Television Service Data Packet 0  "+CHR$(156)
   80PRINTTAB(0,1)ttx$
   90PRINTTAB(0,2)ttx$
  100INPUTTAB(10,5)"TV channel (1-4) = "answer$
  110channel?0=EVAL("&"+LEFT$(answer$,1))+&1B
  120IF channel?0 < &1C THEN channel?0 = &1C
  130IF channel?0 > &1F THEN channel?0 = &1F
  140PRINTTAB(5,9)"TSDP type ="
  150PRINTTAB(5,10)"Initial page ="
  160PRINTTAB(5,11)"Channel code = &"
  170PRINTTAB(5,12)"Programme ="
  180PRINTTAB(5,13)"Mod. Julian date ="
  190PRINTTAB(5,14)"Day/Month/Year ="
  200PRINTTAB(5,15)"Time ="
  210PRINTTAB(5,16)"GMT"
  220PRINTTAB(5,17)"Message ="
  230CALL mcode :REM: enable TTX interrupts
  240ONERROR GOTO 280
  250REPEAT
  260IF grabflag?0=0 PROCdisplay
  270UNTIL FALSE
  280CALL mcode :REM: disable TTX interrupts
  290VDU31,0,21,23,1,1;0;0;0;
  300END
  310DEFPROCdisplay
  320PRINTTAB(17,9);buff?0
  330b0=((buff?4)AND8)<>0:REM: bit 0 of magazine number
  340b1=((buff?6)AND4)<>0:REM: bit 1 of magazine number
  350b2=((buff?6)AND8)<>0:REM: bit 2 of magazine number
  360init=0:REM: initial magazine number
  370IF b0 init=1
  380IF b1 init=init+2
  390IF b2 init=init+4
  400PRINTTAB(20,10);~init;:REM: initial magazine
  410PRINT;~buff?2;~buff?1;:REM: initial page
  420PRINT;" ";~((buff?6)AND3);~buff?5;~((buff?4)AND7);~buff?3:REM: initial sub-page
  430VDU31,21,11:PROChex(buff?7):REM: channel high byte
  440PROChex(buff?8):REM: channel low byte
  450VDU31,17,12 :REM: print programme
  460FOR byte=16 TO 19
  470VDU (buff?byte OR &80) :REM: set bit 7 for printing
  480NEXT
  490VDU31,24,13 :REM: modified Julian date
  500PROChex(((buff?10)-&01)AND15):REM: 10000's
  510full$=part$
  520PROChex((buff?11)-&11):REM: 1000's and 100's
  530full$=full$+part$
  540PROChex((buff?12)-&11):REM: 10's and 1's
  550full$=full$+part$
  560J%=VAL(full$)
  570Y%=(100*(J%-15078.2))DIV36525
  580M%=INT((J%-14956.1-INT(365.25*Y%))/30.6001)
  590D%=J%-14956-INT(365.25*Y%)-INT(30.6*M%) :REM: day
  600IF M%<14 THEN K%=0 ELSE K%=1
  610M%=M%-1-12*K% :REM: month
  620Y%=Y%+K%+1900 :REM: year
  630PRINTTAB(22,14);D%;"/";M%;"/";Y% :REM: day/month/year
  640VDU31,12,15 :REM: print time
  650PROChex((buff?13)-&11):REM: hours
  660PRINT;":";
  670PROChex((buff?14)-&11):REM: minutes
  680PRINT;":";
  690PROChex((buff?15)-&11):REM: seconds
  700IF buff?9 = &85 PRINTTAB(5,16)"Add 1 hr for BST" :REM: &81=GMT
  710VDU31,15,17 :REM: print message
  720FOR byte=20 TO 39
  730VDU (buff?byte OR &80) :REM: set bit 7 for printing
  740NEXT
  750VDU7
  760grabflag?0=2 :REM: grabflag = searching
  770ENDPROC
  780DEFPROChex(N%):REM: print both nybbles of a hex. number
  790L%=N% MOD 16
  800H%=N% DIV 16
  810PRINT;~H%;~L%;
  820part$=STR$(H%)+STR$(L%)
  830ENDPROC
  840DEFPROCmcode
  850packet=&70 :REM: row number of current packet
  860magazine=&71 :REM: magazine number of current page
  870grabflag=&72 :REM: page grabber flag
  880channel=&73 :REM: TV channel
  890savereg=&FC :REM: interrupt accumulator save register
  900irq2v=&206 :REM: irq2 vector
  910ttxcontrol=&FC10 :REM: TTX control register, write only
  920ttxstatus=&FC10 :REM: TTX status register, read only
  930rowreg=&FC11 :REM: TTX row register, write only
  940datareg=&FC12 :REM: TTX data register, read & write
  950statclr=&FC13 :REM: TTX clear status register, read & write
  960FOR pass=0 TO 2 STEP 2
  970P%=mcode
  980[OPT pass
  990LDA #&02
 1000STA grabflag \ grabflag = searching
 1010LDX irq2v \ load secondary interrupt vector
 1020LDY irq2v+1
 1030CPY #interrupt DIV 256
 1040BEQ disable
 1050STX oldirq2v \ save secondary interrupt vector
 1060STY oldirq2v+1
 1070LDX #interrupt MOD 256 \ install new interrupt routine
 1080LDY #interrupt DIV 256
 1090SEI \ disable interrupts when altering vector
 1100STX irq2v
 1110STY irq2v+1
 1120CLI \ re-enable interrupts
 1130LDA channel \ load (channel number + #&1C)
 1140STA ttxcontrol \ enable TTX
 1150RTS \ return to BASIC
 1160.disable
 1170LDA #&00
 1180STA ttxcontrol \ disable TTX
 1190LDX oldirq2v \ load original vector
 1200LDY oldirq2v+1
 1210SEI \ disable interrupts when altering vector
 1220STX irq2v \ restore original vector
 1230STY irq2v+1
 1240CLI \ re-enable interrupts
 1250RTS \ return to BASIC
 1260.interrupt
 1270BIT ttxstatus \ poll TTX hardware
 1280BMI ttxinter \ branch if TTX interrupt
 1290JMP (oldirq2v) \ not TTX interrupt
 1300.ttxinter
 1310LDA savereg \ interrupt accumulator save register
 1320PHA \ push interrupt accumulator save register
 1330TXA
 1340PHA \ push X
 1350TYA
 1360PHA \ push Y
 1370LDA grabflag \ has TSDP been grabbed?
 1380BEQ clearstatus \ clear status and RTI if TSDP grabbed
 1390CLD \ clear decimal flag
 1400LDY #&00 \ start with row 0
 1410.readttxt
 1420STY rowreg \ try rows 0 to 15
 1430LDA datareg \ load framing code (#&27)
 1440BEQ emptyrow \ if zero try next row
 1450TYA
 1460PHA \ save row number
 1470JSR readpacket
 1480PLA
 1490TAY \ restore row number
 1500.emptyrow
 1510INY \ increment row number
 1520CPY #&10 \ try rows 0 - 15
 1530BNE readttxt
 1540.clearstatus
 1550LDA #&00
 1560LDY #&0F \ clear 16 rows in adaptor
 1570.clearloop
 1580STY rowreg
 1590STA datareg
 1600DEY
 1610BPL clearloop
 1620STA statclr \ clear status flags before returning
 1630PLA
 1640TAY \ restore Y
 1650PLA
 1660TAX \ restore X
 1670PLA
 1680STA savereg \ restore interrupt accumulator save register
 1690RTI \ return from interrupt
 1700.readpacket
 1710LDA grabflag \ just checking
 1720BEQ return
 1730LDY datareg \ read magazine number
 1740LDA hamtable,Y \ de-ham it
 1750BMI return \ stop loading if error
 1760STA magazine \ save magazine number
 1770LDY datareg \ read packet number
 1780LDA hamtable,Y \ de-ham it
 1790BMI return \ stop loading if error
 1800STA packet \ save packet number
 1810LDA magazine \ load magazine number
 1820CMP #&08 \ bit 3 of mag. number is bit 0 of packet number
 1830ROL packet \ 5 bit packet number
 1840AND #&07 \ use only bits 0-2
 1850CMP #&00 \ is this magazine 0?
 1860BNE return \ return if not
 1870LDA packet
 1880CMP #&1E \ look for TSDP
 1890BNE return \ ignore all other packets
 1900LDY #&00 \ read bytes 0 - 39
 1910.readmore
 1920LDX datareg \ read data register
 1930LDA hamtable,X \ de-ham the byte
 1940BMI return \ return if error
 1950STA buff,Y \ store in buffer
 1960INY \ increment index
 1970CPY #&07
 1980BNE readmore \ go back for more
 1990.readagain
 2000LDA datareg \ read data register
 2010STA buff,Y \ store in buffer
 2020INY \ increment index
 2030CPY #&28 \ decimal 40
 2040BNE readagain \ go back for more
 2050LDA buff \ TSDP type byte
 2060AND #&0E \ %00001110
 2070STA grabflag \ grabflag = 0 or 2
 2080.return
 2090RTS
 2100.oldirq2v
 2110EQUW &00
 2120.hamtable
 2130EQUD &0101FF01
 2140EQUD &FF0100FF
 2150EQUD &FF0102FF
 2160EQUD &07FFFF0A
 2170EQUD &FF0100FF
 2180EQUD &00FF0000
 2190EQUD &0BFFFF06
 2200EQUD &FF0300FF
 2210EQUD &FF010CFF
 2220EQUD &07FFFF04
 2230EQUD &07FFFF06
 2240EQUD &070707FF
 2250EQUD &05FFFF06
 2260EQUD &FF0D00FF
 2270EQUD &FF060606
 2280EQUD &07FFFF06
 2290EQUD &FF0102FF
 2300EQUD &09FFFF04
 2310EQUD &02FF0202
 2320EQUD &FF0302FF
 2330EQUD &05FFFF08
 2340EQUD &FF0300FF
 2350EQUD &FF0302FF
 2360EQUD &0303FF03
 2370EQUD &05FFFF04
 2380EQUD &FF040404
 2390EQUD &FF0F02FF
 2400EQUD &07FFFF04
 2410EQUD &050505FF
 2420EQUD &05FFFF04
 2430EQUD &05FFFF06
 2440EQUD &FF030EFF
 2450EQUD &FF010CFF
 2460EQUD &09FFFF0A
 2470EQUD &0BFFFF0A
 2480EQUD &FF0A0A0A
 2490EQUD &0BFFFF08
 2500EQUD &FF0D00FF
 2510EQUD &0B0B0BFF
 2520EQUD &0BFFFF0A
 2530EQUD &0CFF0C0C
 2540EQUD &FF0D0CFF
 2550EQUD &FF0F0CFF
 2560EQUD &07FFFF0A
 2570EQUD &FF0D0CFF
 2580EQUD &0D0DFF0D
 2590EQUD &0BFFFF06
 2600EQUD &FF0D0EFF
 2610EQUD &09FFFF08
 2620EQUD &090909FF
 2630EQUD &FF0F02FF
 2640EQUD &09FFFF0A
 2650EQUD &FF080808
 2660EQUD &09FFFF08
 2670EQUD &0BFFFF08
 2680EQUD &FF030EFF
 2690EQUD &FF0F0CFF
 2700EQUD &09FFFF04
 2710EQUD &0F0FFF0F
 2720EQUD &FF0F0EFF
 2730EQUD &05FFFF08
 2740EQUD &FF0D0EFF
 2750EQUD &FF0F0EFF
 2760EQUD &0EFF0E0E
 2770]
 2780NEXT
 2790ENDPROC

�> TSDP0
�7
�23,1,0;0;0;0;
(+� mcode &500 :�: space for machine code
2� buff 40 :�: TSDP buffer
<$�mcode :�: assemble machine code
FPttx$=�(141)+�(132)+�(157)+�(131)+"Television Service Data Packet 0  "+�(156)
P�0,1)ttx$
Z�0,2)ttx$
d'�10,5)"TV channel (1-4) = "answer$
n$channel?0=�("&"+�answer$,1))+&1B
x'� channel?0 < &1C � channel?0 = &1C
�'� channel?0 > &1F � channel?0 = &1F
��5,9)"TSDP type ="
��5,10)"Initial page ="
��5,11)"Channel code = &"
��5,12)"Programme ="
��5,13)"Mod. Julian date ="
��5,14)"Day/Month/Year ="
��5,15)"Time ="
��5,16)"GMT"
��5,17)"Message ="
�%� mcode :�: enable TTX interrupts
�
� � �TXA
��
� grabflag?0=0 �display
� �
&� mcode :�: disable TTX interrupts
"�31,0,21,23,1,1;0;0;0;
,�
6
��display
@�17,9);buff?0
J2b0=((buff?4)�8)<>0:�: bit 0 of magazine number
T2b1=((buff?6)�4)<>0:�: bit 1 of magazine number
^2b2=((buff?6)�8)<>0:�: bit 2 of magazine number
h%init=0:�: initial magazine number
r� b0 init=1
|� b1 init=init+2
�� b2 init=init+4
�'�20,10);~init;:�: initial magazine
�&�;~buff?2;~buff?1;:�: initial page
�I�;" ";~((buff?6)�3);~buff?5;~((buff?4)�7);~buff?3:�: initial sub-page
�/�31,21,11:�hex(buff?7):�: channel high byte
�$�hex(buff?8):�: channel low byte
�!�31,17,12 :�: print programme
�� byte=16 � 19
�2� (buff?byte � &80) :�: set bit 7 for printing
��
�&�31,24,13 :�: modified Julian date
�'�hex(((buff?10)-&01)�15):�: 10000's
�full$=part$
+�hex((buff?11)-&11):�: 1000's and 100's
full$=full$+part$
'�hex((buff?12)-&11):�: 10's and 1's
&full$=full$+part$
0J%=�(full$)
:Y%=(100*(J%-15078.2))�36525
D+M%=�((J%-14956.1-�(365.25*Y%))/30.6001)
N/D%=J%-14956-�(365.25*Y%)-�(30.6*M%) :�: day
X� M%<14 � K%=0 � K%=1
bM%=M%-1-12*K% :�: month
lY%=Y%+K%+1900 :�: year
v0�22,14);D%;"/";M%;"/";Y% :�: day/month/year
��31,12,15 :�: print time
� �hex((buff?13)-&11):�: hours
�
�;":";
�"�hex((buff?14)-&11):�: minutes
�
�;":";
�"�hex((buff?15)-&11):�: seconds
�8� buff?9 = &85 �5,16)"Add 1 hr for BST" :�: &81=GMT
��31,15,17 :�: print message
�� byte=20 � 39
�2� (buff?byte � &80) :�: set bit 7 for printing
��
��7
�)grabflag?0=2 :�: grabflag = searching
�
4��hex(N%):�: print both nybbles of a hex. number
L%=N% � 16
 H%=N% � 16
*�;~H%;~L%;
4part$=�(H%)+�(L%)
>�
H��mcode
R/packet=&70 :�: row number of current packet
\4magazine=&71 :�: magazine number of current page
f&grabflag=&72 :�: page grabber flag
pchannel=&73 :�: TV channel
z7savereg=&FC :�: interrupt accumulator save register
�irq2v=&206 :�: irq2 vector
�9ttxcontrol=&FC10 :�: TTX control register, write only
�6ttxstatus=&FC10 :�: TTX status register, read only
�1rowreg=&FC11 :�: TTX row register, write only
�5datareg=&FC12 :�: TTX data register, read & write
�=statclr=&FC13 :�: TTX clear status register, read & write
�� pass=0 � 2 � 2
�P%=mcode
�
[OPT pass
�LDA #&02
�'STA grabflag \ grabflag = searching
�/LDX irq2v \ load secondary interrupt vector
�LDY irq2v+1
CPY #interrupt � 256
BEQ disable
2STX oldirq2v \ save secondary interrupt vector
$STY oldirq2v+1
.8LDX #interrupt � 256 \ install new interrupt routine
8LDY #interrupt � 256
B1SEI \ disable interrupts when altering vector
L
STX irq2v
VSTY irq2v+1
`CLI \ re-enable interrupts
j.LDA channel \ load (channel number + #&1C)
tSTA ttxcontrol \ enable TTX
~RTS \ return to BASIC
�.disable
�LDA #&00
� STA ttxcontrol \ disable TTX
�'LDX oldirq2v \ load original vector
�LDY oldirq2v+1
�1SEI \ disable interrupts when altering vector
�'STX irq2v \ restore original vector
�STY irq2v+1
�CLI \ re-enable interrupts
�RTS \ return to BASIC
�.interrupt
�%BIT ttxstatus \ poll TTX hardware
*BMI ttxinter \ branch if TTX interrupt

&JMP (oldirq2v) \ not TTX interrupt

.ttxinter
5LDA savereg \ interrupt accumulator save register
(2PHA \ push interrupt accumulator save register
2TXA
<PHA \ push X
FTYA
PPHA \ push Y
Z)LDA grabflag \ has TSDP been grabbed?
d:BEQ clearstatus \ clear status and RTI if TSDP grabbed
nCLD \ clear decimal flag
xLDY #&00 \ start with row 0
�
.readttxt
�!STY rowreg \ try rows 0 to 15
�*LDA datareg \ load framing code (#&27)
�'BEQ emptyrow \ if zero try next row
�TYA
�PHA \ save row number
�JSR readpacket
�PLA
�TAY \ restore row number
�
.emptyrow
�INY \ increment row number
�CPY #&10 \ try rows 0 - 15
�BNE readttxt
.clearstatus
LDA #&00
'LDY #&0F \ clear 16 rows in adaptor
".clearloop
,STY rowreg
6STA datareg
@DEY
JBPL clearloop
T5STA statclr \ clear status flags before returning
^PLA
hTAY \ restore Y
rPLA
|TAX \ restore X
�PLA
�=STA savereg \ restore interrupt accumulator save register
�RTI \ return from interrupt
�.readpacket
� LDA grabflag \ just checking
�BEQ return
�&LDY datareg \ read magazine number
�LDA hamtable,Y \ de-ham it
�&BMI return \ stop loading if error
�'STA magazine \ save magazine number
�$LDY datareg \ read packet number
�LDA hamtable,Y \ de-ham it
�&BMI return \ stop loading if error
#STA packet \ save packet number
'LDA magazine \ load magazine number
=CMP #&08 \ bit 3 of mag. number is bit 0 of packet number
&$ROL packet \ 5 bit packet number
0� #&07 \ use only bits 0-2
:"CMP #&00 \ is this magazine 0?
DBNE return \ return if not
NLDA packet
XCMP #&1E \ look for TSDP
b)BNE return \ ignore all other packets
l LDY #&00 \ read bytes 0 - 39
v
.readmore
�$LDX datareg \ read data register
�$LDA hamtable,X \ de-ham the byte
� BMI return \ return if error
� STA buff,Y \ store in buffer
�INY \ increment index
�CPY #&07
�#BNE readmore \ go back for more
�.readagain
�$LDA datareg \ read data register
� STA buff,Y \ store in buffer
�INY \ increment index
�CPY #&28 \ decimal 40
�$BNE readagain \ go back for more
LDA buff \ TSDP type byte
� #&0E \ %00001110
$STA grabflag \ grabflag = 0 or 2
 .return
*RTS
4
.oldirq2v
>EQUW &00
H
.hamtable
REQUD &0101FF01
\EQUD &FF0100FF
fEQUD &FF0102FF
pEQUD &07FFFF0A
zEQUD &FF0100FF
�EQUD &00FF0000
�EQUD &0BFFFF06
�EQUD &FF0300FF
�EQUD &FF010CFF
�EQUD &07FFFF04
�EQUD &07FFFF06
�EQUD &070707FF
�EQUD &05FFFF06
�EQUD &FF0D00FF
�EQUD &FF060606
�EQUD &07FFFF06
�EQUD &FF0102FF
�EQUD &09FFFF04
	EQUD &02FF0202
	EQUD &FF0302FF
	EQUD &05FFFF08
	$EQUD &FF0300FF
	.EQUD &FF0302FF
	8EQUD &0303FF03
	BEQUD &05FFFF04
	LEQUD &FF040404
	VEQUD &FF0F02FF
	`EQUD &07FFFF04
	jEQUD &050505FF
	tEQUD &05FFFF04
	~EQUD &05FFFF06
	�EQUD &FF030EFF
	�EQUD &FF010CFF
	�EQUD &09FFFF0A
	�EQUD &0BFFFF0A
	�EQUD &FF0A0A0A
	�EQUD &0BFFFF08
	�EQUD &FF0D00FF
	�EQUD &0B0B0BFF
	�EQUD &0BFFFF0A
	�EQUD &0CFF0C0C
	�EQUD &FF0D0CFF
	�EQUD &FF0F0CFF
EQUD &07FFFF0A

EQUD &FF0D0CFF
EQUD &0D0DFF0D
EQUD &0BFFFF06
(EQUD &FF0D0EFF
2EQUD &09FFFF08
<EQUD &090909FF
FEQUD &FF0F02FF
PEQUD &09FFFF0A
ZEQUD &FF080808
dEQUD &09FFFF08
nEQUD &0BFFFF08
xEQUD &FF030EFF
�EQUD &FF0F0CFF
�EQUD &09FFFF04
�EQUD &0F0FFF0F
�EQUD &FF0F0EFF
�EQUD &05FFFF08
�EQUD &FF0D0EFF
�EQUD &FF0F0EFF
�EQUD &0EFF0E0E
�]
��
��
�
00000000  0d 00 0a 0c f4 3e 20 54  53 44 50 30 0d 00 14 06  |.....> TSDP0....|
00000010  eb 37 0d 00 1e 12 ef 32  33 2c 31 2c 30 3b 30 3b  |.7.....23,1,0;0;|
00000020  30 3b 30 3b 0d 00 28 2b  de 20 6d 63 6f 64 65 20  |0;0;..(+. mcode |
00000030  26 35 30 30 20 3a f4 3a  20 73 70 61 63 65 20 66  |&500 :.: space f|
00000040  6f 72 20 6d 61 63 68 69  6e 65 20 63 6f 64 65 0d  |or machine code.|
00000050  00 32 1d de 20 62 75 66  66 20 34 30 20 3a f4 3a  |.2.. buff 40 :.:|
00000060  20 54 53 44 50 20 62 75  66 66 65 72 0d 00 3c 24  | TSDP buffer..<$|
00000070  f2 6d 63 6f 64 65 20 3a  f4 3a 20 61 73 73 65 6d  |.mcode :.: assem|
00000080  62 6c 65 20 6d 61 63 68  69 6e 65 20 63 6f 64 65  |ble machine code|
00000090  0d 00 46 50 74 74 78 24  3d bd 28 31 34 31 29 2b  |..FPttx$=.(141)+|
000000a0  bd 28 31 33 32 29 2b bd  28 31 35 37 29 2b bd 28  |.(132)+.(157)+.(|
000000b0  31 33 31 29 2b 22 54 65  6c 65 76 69 73 69 6f 6e  |131)+"Television|
000000c0  20 53 65 72 76 69 63 65  20 44 61 74 61 20 50 61  | Service Data Pa|
000000d0  63 6b 65 74 20 30 20 20  22 2b bd 28 31 35 36 29  |cket 0  "+.(156)|
000000e0  0d 00 50 0e f1 8a 30 2c  31 29 74 74 78 24 0d 00  |..P...0,1)ttx$..|
000000f0  5a 0e f1 8a 30 2c 32 29  74 74 78 24 0d 00 64 27  |Z...0,2)ttx$..d'|
00000100  e8 8a 31 30 2c 35 29 22  54 56 20 63 68 61 6e 6e  |..10,5)"TV chann|
00000110  65 6c 20 28 31 2d 34 29  20 3d 20 22 61 6e 73 77  |el (1-4) = "answ|
00000120  65 72 24 0d 00 6e 24 63  68 61 6e 6e 65 6c 3f 30  |er$..n$channel?0|
00000130  3d a0 28 22 26 22 2b c0  61 6e 73 77 65 72 24 2c  |=.("&"+.answer$,|
00000140  31 29 29 2b 26 31 42 0d  00 78 27 e7 20 63 68 61  |1))+&1B..x'. cha|
00000150  6e 6e 65 6c 3f 30 20 3c  20 26 31 43 20 8c 20 63  |nnel?0 < &1C . c|
00000160  68 61 6e 6e 65 6c 3f 30  20 3d 20 26 31 43 0d 00  |hannel?0 = &1C..|
00000170  82 27 e7 20 63 68 61 6e  6e 65 6c 3f 30 20 3e 20  |.'. channel?0 > |
00000180  26 31 46 20 8c 20 63 68  61 6e 6e 65 6c 3f 30 20  |&1F . channel?0 |
00000190  3d 20 26 31 46 0d 00 8c  17 f1 8a 35 2c 39 29 22  |= &1F......5,9)"|
000001a0  54 53 44 50 20 74 79 70  65 20 3d 22 0d 00 96 1b  |TSDP type ="....|
000001b0  f1 8a 35 2c 31 30 29 22  49 6e 69 74 69 61 6c 20  |..5,10)"Initial |
000001c0  70 61 67 65 20 3d 22 0d  00 a0 1d f1 8a 35 2c 31  |page ="......5,1|
000001d0  31 29 22 43 68 61 6e 6e  65 6c 20 63 6f 64 65 20  |1)"Channel code |
000001e0  3d 20 26 22 0d 00 aa 18  f1 8a 35 2c 31 32 29 22  |= &"......5,12)"|
000001f0  50 72 6f 67 72 61 6d 6d  65 20 3d 22 0d 00 b4 1f  |Programme ="....|
00000200  f1 8a 35 2c 31 33 29 22  4d 6f 64 2e 20 4a 75 6c  |..5,13)"Mod. Jul|
00000210  69 61 6e 20 64 61 74 65  20 3d 22 0d 00 be 1d f1  |ian date =".....|
00000220  8a 35 2c 31 34 29 22 44  61 79 2f 4d 6f 6e 74 68  |.5,14)"Day/Month|
00000230  2f 59 65 61 72 20 3d 22  0d 00 c8 13 f1 8a 35 2c  |/Year ="......5,|
00000240  31 35 29 22 54 69 6d 65  20 3d 22 0d 00 d2 10 f1  |15)"Time =".....|
00000250  8a 35 2c 31 36 29 22 47  4d 54 22 0d 00 dc 16 f1  |.5,16)"GMT".....|
00000260  8a 35 2c 31 37 29 22 4d  65 73 73 61 67 65 20 3d  |.5,17)"Message =|
00000270  22 0d 00 e6 25 d6 20 6d  63 6f 64 65 20 3a f4 3a  |"...%. mcode :.:|
00000280  20 65 6e 61 62 6c 65 20  54 54 58 20 69 6e 74 65  | enable TTX inte|
00000290  72 72 75 70 74 73 0d 00  f0 0d ee 85 20 e5 20 8d  |rrupts...... . .|
000002a0  54 58 41 0d 00 fa 05 f5  0d 01 04 1b e7 20 67 72  |TXA.......... gr|
000002b0  61 62 66 6c 61 67 3f 30  3d 30 20 f2 64 69 73 70  |abflag?0=0 .disp|
000002c0  6c 61 79 0d 01 0e 07 fd  20 a3 0d 01 18 26 d6 20  |lay..... ....&. |
000002d0  6d 63 6f 64 65 20 3a f4  3a 20 64 69 73 61 62 6c  |mcode :.: disabl|
000002e0  65 20 54 54 58 20 69 6e  74 65 72 72 75 70 74 73  |e TTX interrupts|
000002f0  0d 01 22 1a ef 33 31 2c  30 2c 32 31 2c 32 33 2c  |.."..31,0,21,23,|
00000300  31 2c 31 3b 30 3b 30 3b  30 3b 0d 01 2c 05 e0 0d  |1,1;0;0;0;..,...|
00000310  01 36 0d dd f2 64 69 73  70 6c 61 79 0d 01 40 12  |.6...display..@.|
00000320  f1 8a 31 37 2c 39 29 3b  62 75 66 66 3f 30 0d 01  |..17,9);buff?0..|
00000330  4a 32 62 30 3d 28 28 62  75 66 66 3f 34 29 80 38  |J2b0=((buff?4).8|
00000340  29 3c 3e 30 3a f4 3a 20  62 69 74 20 30 20 6f 66  |)<>0:.: bit 0 of|
00000350  20 6d 61 67 61 7a 69 6e  65 20 6e 75 6d 62 65 72  | magazine number|
00000360  0d 01 54 32 62 31 3d 28  28 62 75 66 66 3f 36 29  |..T2b1=((buff?6)|
00000370  80 34 29 3c 3e 30 3a f4  3a 20 62 69 74 20 31 20  |.4)<>0:.: bit 1 |
00000380  6f 66 20 6d 61 67 61 7a  69 6e 65 20 6e 75 6d 62  |of magazine numb|
00000390  65 72 0d 01 5e 32 62 32  3d 28 28 62 75 66 66 3f  |er..^2b2=((buff?|
000003a0  36 29 80 38 29 3c 3e 30  3a f4 3a 20 62 69 74 20  |6).8)<>0:.: bit |
000003b0  32 20 6f 66 20 6d 61 67  61 7a 69 6e 65 20 6e 75  |2 of magazine nu|
000003c0  6d 62 65 72 0d 01 68 25  69 6e 69 74 3d 30 3a f4  |mber..h%init=0:.|
000003d0  3a 20 69 6e 69 74 69 61  6c 20 6d 61 67 61 7a 69  |: initial magazi|
000003e0  6e 65 20 6e 75 6d 62 65  72 0d 01 72 0f e7 20 62  |ne number..r.. b|
000003f0  30 20 69 6e 69 74 3d 31  0d 01 7c 14 e7 20 62 31  |0 init=1..|.. b1|
00000400  20 69 6e 69 74 3d 69 6e  69 74 2b 32 0d 01 86 14  | init=init+2....|
00000410  e7 20 62 32 20 69 6e 69  74 3d 69 6e 69 74 2b 34  |. b2 init=init+4|
00000420  0d 01 90 27 f1 8a 32 30  2c 31 30 29 3b 7e 69 6e  |...'..20,10);~in|
00000430  69 74 3b 3a f4 3a 20 69  6e 69 74 69 61 6c 20 6d  |it;:.: initial m|
00000440  61 67 61 7a 69 6e 65 0d  01 9a 26 f1 3b 7e 62 75  |agazine...&.;~bu|
00000450  66 66 3f 32 3b 7e 62 75  66 66 3f 31 3b 3a f4 3a  |ff?2;~buff?1;:.:|
00000460  20 69 6e 69 74 69 61 6c  20 70 61 67 65 0d 01 a4  | initial page...|
00000470  49 f1 3b 22 20 22 3b 7e  28 28 62 75 66 66 3f 36  |I.;" ";~((buff?6|
00000480  29 80 33 29 3b 7e 62 75  66 66 3f 35 3b 7e 28 28  |).3);~buff?5;~((|
00000490  62 75 66 66 3f 34 29 80  37 29 3b 7e 62 75 66 66  |buff?4).7);~buff|
000004a0  3f 33 3a f4 3a 20 69 6e  69 74 69 61 6c 20 73 75  |?3:.: initial su|
000004b0  62 2d 70 61 67 65 0d 01  ae 2f ef 33 31 2c 32 31  |b-page.../.31,21|
000004c0  2c 31 31 3a f2 68 65 78  28 62 75 66 66 3f 37 29  |,11:.hex(buff?7)|
000004d0  3a f4 3a 20 63 68 61 6e  6e 65 6c 20 68 69 67 68  |:.: channel high|
000004e0  20 62 79 74 65 0d 01 b8  24 f2 68 65 78 28 62 75  | byte...$.hex(bu|
000004f0  66 66 3f 38 29 3a f4 3a  20 63 68 61 6e 6e 65 6c  |ff?8):.: channel|
00000500  20 6c 6f 77 20 62 79 74  65 0d 01 c2 21 ef 33 31  | low byte...!.31|
00000510  2c 31 37 2c 31 32 20 3a  f4 3a 20 70 72 69 6e 74  |,17,12 :.: print|
00000520  20 70 72 6f 67 72 61 6d  6d 65 0d 01 cc 12 e3 20  | programme..... |
00000530  62 79 74 65 3d 31 36 20  b8 20 31 39 0d 01 d6 32  |byte=16 . 19...2|
00000540  ef 20 28 62 75 66 66 3f  62 79 74 65 20 84 20 26  |. (buff?byte . &|
00000550  38 30 29 20 3a f4 3a 20  73 65 74 20 62 69 74 20  |80) :.: set bit |
00000560  37 20 66 6f 72 20 70 72  69 6e 74 69 6e 67 0d 01  |7 for printing..|
00000570  e0 05 ed 0d 01 ea 26 ef  33 31 2c 32 34 2c 31 33  |......&.31,24,13|
00000580  20 3a f4 3a 20 6d 6f 64  69 66 69 65 64 20 4a 75  | :.: modified Ju|
00000590  6c 69 61 6e 20 64 61 74  65 0d 01 f4 27 f2 68 65  |lian date...'.he|
000005a0  78 28 28 28 62 75 66 66  3f 31 30 29 2d 26 30 31  |x(((buff?10)-&01|
000005b0  29 80 31 35 29 3a f4 3a  20 31 30 30 30 30 27 73  |).15):.: 10000's|
000005c0  0d 01 fe 0f 66 75 6c 6c  24 3d 70 61 72 74 24 0d  |....full$=part$.|
000005d0  02 08 2b f2 68 65 78 28  28 62 75 66 66 3f 31 31  |..+.hex((buff?11|
000005e0  29 2d 26 31 31 29 3a f4  3a 20 31 30 30 30 27 73  |)-&11):.: 1000's|
000005f0  20 61 6e 64 20 31 30 30  27 73 0d 02 12 15 66 75  | and 100's....fu|
00000600  6c 6c 24 3d 66 75 6c 6c  24 2b 70 61 72 74 24 0d  |ll$=full$+part$.|
00000610  02 1c 27 f2 68 65 78 28  28 62 75 66 66 3f 31 32  |..'.hex((buff?12|
00000620  29 2d 26 31 31 29 3a f4  3a 20 31 30 27 73 20 61  |)-&11):.: 10's a|
00000630  6e 64 20 31 27 73 0d 02  26 15 66 75 6c 6c 24 3d  |nd 1's..&.full$=|
00000640  66 75 6c 6c 24 2b 70 61  72 74 24 0d 02 30 0f 4a  |full$+part$..0.J|
00000650  25 3d bb 28 66 75 6c 6c  24 29 0d 02 3a 1f 59 25  |%=.(full$)..:.Y%|
00000660  3d 28 31 30 30 2a 28 4a  25 2d 31 35 30 37 38 2e  |=(100*(J%-15078.|
00000670  32 29 29 81 33 36 35 32  35 0d 02 44 2b 4d 25 3d  |2)).36525..D+M%=|
00000680  a8 28 28 4a 25 2d 31 34  39 35 36 2e 31 2d a8 28  |.((J%-14956.1-.(|
00000690  33 36 35 2e 32 35 2a 59  25 29 29 2f 33 30 2e 36  |365.25*Y%))/30.6|
000006a0  30 30 31 29 0d 02 4e 2f  44 25 3d 4a 25 2d 31 34  |001)..N/D%=J%-14|
000006b0  39 35 36 2d a8 28 33 36  35 2e 32 35 2a 59 25 29  |956-.(365.25*Y%)|
000006c0  2d a8 28 33 30 2e 36 2a  4d 25 29 20 3a f4 3a 20  |-.(30.6*M%) :.: |
000006d0  64 61 79 0d 02 58 19 e7  20 4d 25 3c 31 34 20 8c  |day..X.. M%<14 .|
000006e0  20 4b 25 3d 30 20 8b 20  4b 25 3d 31 0d 02 62 1b  | K%=0 . K%=1..b.|
000006f0  4d 25 3d 4d 25 2d 31 2d  31 32 2a 4b 25 20 3a f4  |M%=M%-1-12*K% :.|
00000700  3a 20 6d 6f 6e 74 68 0d  02 6c 1a 59 25 3d 59 25  |: month..l.Y%=Y%|
00000710  2b 4b 25 2b 31 39 30 30  20 3a f4 3a 20 79 65 61  |+K%+1900 :.: yea|
00000720  72 0d 02 76 30 f1 8a 32  32 2c 31 34 29 3b 44 25  |r..v0..22,14);D%|
00000730  3b 22 2f 22 3b 4d 25 3b  22 2f 22 3b 59 25 20 3a  |;"/";M%;"/";Y% :|
00000740  f4 3a 20 64 61 79 2f 6d  6f 6e 74 68 2f 79 65 61  |.: day/month/yea|
00000750  72 0d 02 80 1c ef 33 31  2c 31 32 2c 31 35 20 3a  |r.....31,12,15 :|
00000760  f4 3a 20 70 72 69 6e 74  20 74 69 6d 65 0d 02 8a  |.: print time...|
00000770  20 f2 68 65 78 28 28 62  75 66 66 3f 31 33 29 2d  | .hex((buff?13)-|
00000780  26 31 31 29 3a f4 3a 20  68 6f 75 72 73 0d 02 94  |&11):.: hours...|
00000790  0a f1 3b 22 3a 22 3b 0d  02 9e 22 f2 68 65 78 28  |..;":";...".hex(|
000007a0  28 62 75 66 66 3f 31 34  29 2d 26 31 31 29 3a f4  |(buff?14)-&11):.|
000007b0  3a 20 6d 69 6e 75 74 65  73 0d 02 a8 0a f1 3b 22  |: minutes.....;"|
000007c0  3a 22 3b 0d 02 b2 22 f2  68 65 78 28 28 62 75 66  |:";...".hex((buf|
000007d0  66 3f 31 35 29 2d 26 31  31 29 3a f4 3a 20 73 65  |f?15)-&11):.: se|
000007e0  63 6f 6e 64 73 0d 02 bc  38 e7 20 62 75 66 66 3f  |conds...8. buff?|
000007f0  39 20 3d 20 26 38 35 20  f1 8a 35 2c 31 36 29 22  |9 = &85 ..5,16)"|
00000800  41 64 64 20 31 20 68 72  20 66 6f 72 20 42 53 54  |Add 1 hr for BST|
00000810  22 20 3a f4 3a 20 26 38  31 3d 47 4d 54 0d 02 c6  |" :.: &81=GMT...|
00000820  1f ef 33 31 2c 31 35 2c  31 37 20 3a f4 3a 20 70  |..31,15,17 :.: p|
00000830  72 69 6e 74 20 6d 65 73  73 61 67 65 0d 02 d0 12  |rint message....|
00000840  e3 20 62 79 74 65 3d 32  30 20 b8 20 33 39 0d 02  |. byte=20 . 39..|
00000850  da 32 ef 20 28 62 75 66  66 3f 62 79 74 65 20 84  |.2. (buff?byte .|
00000860  20 26 38 30 29 20 3a f4  3a 20 73 65 74 20 62 69  | &80) :.: set bi|
00000870  74 20 37 20 66 6f 72 20  70 72 69 6e 74 69 6e 67  |t 7 for printing|
00000880  0d 02 e4 05 ed 0d 02 ee  06 ef 37 0d 02 f8 29 67  |..........7...)g|
00000890  72 61 62 66 6c 61 67 3f  30 3d 32 20 3a f4 3a 20  |rabflag?0=2 :.: |
000008a0  67 72 61 62 66 6c 61 67  20 3d 20 73 65 61 72 63  |grabflag = searc|
000008b0  68 69 6e 67 0d 03 02 05  e1 0d 03 0c 34 dd f2 68  |hing........4..h|
000008c0  65 78 28 4e 25 29 3a f4  3a 20 70 72 69 6e 74 20  |ex(N%):.: print |
000008d0  62 6f 74 68 20 6e 79 62  62 6c 65 73 20 6f 66 20  |both nybbles of |
000008e0  61 20 68 65 78 2e 20 6e  75 6d 62 65 72 0d 03 16  |a hex. number...|
000008f0  0e 4c 25 3d 4e 25 20 83  20 31 36 0d 03 20 0e 48  |.L%=N% . 16.. .H|
00000900  25 3d 4e 25 20 81 20 31  36 0d 03 2a 0e f1 3b 7e  |%=N% . 16..*..;~|
00000910  48 25 3b 7e 4c 25 3b 0d  03 34 15 70 61 72 74 24  |H%;~L%;..4.part$|
00000920  3d c3 28 48 25 29 2b c3  28 4c 25 29 0d 03 3e 05  |=.(H%)+.(L%)..>.|
00000930  e1 0d 03 48 0b dd f2 6d  63 6f 64 65 0d 03 52 2f  |...H...mcode..R/|
00000940  70 61 63 6b 65 74 3d 26  37 30 20 3a f4 3a 20 72  |packet=&70 :.: r|
00000950  6f 77 20 6e 75 6d 62 65  72 20 6f 66 20 63 75 72  |ow number of cur|
00000960  72 65 6e 74 20 70 61 63  6b 65 74 0d 03 5c 34 6d  |rent packet..\4m|
00000970  61 67 61 7a 69 6e 65 3d  26 37 31 20 3a f4 3a 20  |agazine=&71 :.: |
00000980  6d 61 67 61 7a 69 6e 65  20 6e 75 6d 62 65 72 20  |magazine number |
00000990  6f 66 20 63 75 72 72 65  6e 74 20 70 61 67 65 0d  |of current page.|
000009a0  03 66 26 67 72 61 62 66  6c 61 67 3d 26 37 32 20  |.f&grabflag=&72 |
000009b0  3a f4 3a 20 70 61 67 65  20 67 72 61 62 62 65 72  |:.: page grabber|
000009c0  20 66 6c 61 67 0d 03 70  1e 63 68 61 6e 6e 65 6c  | flag..p.channel|
000009d0  3d 26 37 33 20 3a f4 3a  20 54 56 20 63 68 61 6e  |=&73 :.: TV chan|
000009e0  6e 65 6c 0d 03 7a 37 73  61 76 65 72 65 67 3d 26  |nel..z7savereg=&|
000009f0  46 43 20 3a f4 3a 20 69  6e 74 65 72 72 75 70 74  |FC :.: interrupt|
00000a00  20 61 63 63 75 6d 75 6c  61 74 6f 72 20 73 61 76  | accumulator sav|
00000a10  65 20 72 65 67 69 73 74  65 72 0d 03 84 1e 69 72  |e register....ir|
00000a20  71 32 76 3d 26 32 30 36  20 3a f4 3a 20 69 72 71  |q2v=&206 :.: irq|
00000a30  32 20 76 65 63 74 6f 72  0d 03 8e 39 74 74 78 63  |2 vector...9ttxc|
00000a40  6f 6e 74 72 6f 6c 3d 26  46 43 31 30 20 3a f4 3a  |ontrol=&FC10 :.:|
00000a50  20 54 54 58 20 63 6f 6e  74 72 6f 6c 20 72 65 67  | TTX control reg|
00000a60  69 73 74 65 72 2c 20 77  72 69 74 65 20 6f 6e 6c  |ister, write onl|
00000a70  79 0d 03 98 36 74 74 78  73 74 61 74 75 73 3d 26  |y...6ttxstatus=&|
00000a80  46 43 31 30 20 3a f4 3a  20 54 54 58 20 73 74 61  |FC10 :.: TTX sta|
00000a90  74 75 73 20 72 65 67 69  73 74 65 72 2c 20 72 65  |tus register, re|
00000aa0  61 64 20 6f 6e 6c 79 0d  03 a2 31 72 6f 77 72 65  |ad only...1rowre|
00000ab0  67 3d 26 46 43 31 31 20  3a f4 3a 20 54 54 58 20  |g=&FC11 :.: TTX |
00000ac0  72 6f 77 20 72 65 67 69  73 74 65 72 2c 20 77 72  |row register, wr|
00000ad0  69 74 65 20 6f 6e 6c 79  0d 03 ac 35 64 61 74 61  |ite only...5data|
00000ae0  72 65 67 3d 26 46 43 31  32 20 3a f4 3a 20 54 54  |reg=&FC12 :.: TT|
00000af0  58 20 64 61 74 61 20 72  65 67 69 73 74 65 72 2c  |X data register,|
00000b00  20 72 65 61 64 20 26 20  77 72 69 74 65 0d 03 b6  | read & write...|
00000b10  3d 73 74 61 74 63 6c 72  3d 26 46 43 31 33 20 3a  |=statclr=&FC13 :|
00000b20  f4 3a 20 54 54 58 20 63  6c 65 61 72 20 73 74 61  |.: TTX clear sta|
00000b30  74 75 73 20 72 65 67 69  73 74 65 72 2c 20 72 65  |tus register, re|
00000b40  61 64 20 26 20 77 72 69  74 65 0d 03 c0 14 e3 20  |ad & write..... |
00000b50  70 61 73 73 3d 30 20 b8  20 32 20 88 20 32 0d 03  |pass=0 . 2 . 2..|
00000b60  ca 0c 50 25 3d 6d 63 6f  64 65 0d 03 d4 0d 5b 4f  |..P%=mcode....[O|
00000b70  50 54 20 70 61 73 73 0d  03 de 0c 4c 44 41 20 23  |PT pass....LDA #|
00000b80  26 30 32 0d 03 e8 27 53  54 41 20 67 72 61 62 66  |&02...'STA grabf|
00000b90  6c 61 67 20 5c 20 67 72  61 62 66 6c 61 67 20 3d  |lag \ grabflag =|
00000ba0  20 73 65 61 72 63 68 69  6e 67 0d 03 f2 2f 4c 44  | searching.../LD|
00000bb0  58 20 69 72 71 32 76 20  5c 20 6c 6f 61 64 20 73  |X irq2v \ load s|
00000bc0  65 63 6f 6e 64 61 72 79  20 69 6e 74 65 72 72 75  |econdary interru|
00000bd0  70 74 20 76 65 63 74 6f  72 0d 03 fc 0f 4c 44 59  |pt vector....LDY|
00000be0  20 69 72 71 32 76 2b 31  0d 04 06 18 43 50 59 20  | irq2v+1....CPY |
00000bf0  23 69 6e 74 65 72 72 75  70 74 20 81 20 32 35 36  |#interrupt . 256|
00000c00  0d 04 10 0f 42 45 51 20  64 69 73 61 62 6c 65 0d  |....BEQ disable.|
00000c10  04 1a 32 53 54 58 20 6f  6c 64 69 72 71 32 76 20  |..2STX oldirq2v |
00000c20  5c 20 73 61 76 65 20 73  65 63 6f 6e 64 61 72 79  |\ save secondary|
00000c30  20 69 6e 74 65 72 72 75  70 74 20 76 65 63 74 6f  | interrupt vecto|
00000c40  72 0d 04 24 12 53 54 59  20 6f 6c 64 69 72 71 32  |r..$.STY oldirq2|
00000c50  76 2b 31 0d 04 2e 38 4c  44 58 20 23 69 6e 74 65  |v+1...8LDX #inte|
00000c60  72 72 75 70 74 20 83 20  32 35 36 20 5c 20 69 6e  |rrupt . 256 \ in|
00000c70  73 74 61 6c 6c 20 6e 65  77 20 69 6e 74 65 72 72  |stall new interr|
00000c80  75 70 74 20 72 6f 75 74  69 6e 65 0d 04 38 18 4c  |upt routine..8.L|
00000c90  44 59 20 23 69 6e 74 65  72 72 75 70 74 20 81 20  |DY #interrupt . |
00000ca0  32 35 36 0d 04 42 31 53  45 49 20 5c 20 64 69 73  |256..B1SEI \ dis|
00000cb0  61 62 6c 65 20 69 6e 74  65 72 72 75 70 74 73 20  |able interrupts |
00000cc0  77 68 65 6e 20 61 6c 74  65 72 69 6e 67 20 76 65  |when altering ve|
00000cd0  63 74 6f 72 0d 04 4c 0d  53 54 58 20 69 72 71 32  |ctor..L.STX irq2|
00000ce0  76 0d 04 56 0f 53 54 59  20 69 72 71 32 76 2b 31  |v..V.STY irq2v+1|
00000cf0  0d 04 60 1e 43 4c 49 20  5c 20 72 65 2d 65 6e 61  |..`.CLI \ re-ena|
00000d00  62 6c 65 20 69 6e 74 65  72 72 75 70 74 73 0d 04  |ble interrupts..|
00000d10  6a 2e 4c 44 41 20 63 68  61 6e 6e 65 6c 20 5c 20  |j.LDA channel \ |
00000d20  6c 6f 61 64 20 28 63 68  61 6e 6e 65 6c 20 6e 75  |load (channel nu|
00000d30  6d 62 65 72 20 2b 20 23  26 31 43 29 0d 04 74 1f  |mber + #&1C)..t.|
00000d40  53 54 41 20 74 74 78 63  6f 6e 74 72 6f 6c 20 5c  |STA ttxcontrol \|
00000d50  20 65 6e 61 62 6c 65 20  54 54 58 0d 04 7e 19 52  | enable TTX..~.R|
00000d60  54 53 20 5c 20 72 65 74  75 72 6e 20 74 6f 20 42  |TS \ return to B|
00000d70  41 53 49 43 0d 04 88 0c  2e 64 69 73 61 62 6c 65  |ASIC.....disable|
00000d80  0d 04 92 0c 4c 44 41 20  23 26 30 30 0d 04 9c 20  |....LDA #&00... |
00000d90  53 54 41 20 74 74 78 63  6f 6e 74 72 6f 6c 20 5c  |STA ttxcontrol \|
00000da0  20 64 69 73 61 62 6c 65  20 54 54 58 0d 04 a6 27  | disable TTX...'|
00000db0  4c 44 58 20 6f 6c 64 69  72 71 32 76 20 5c 20 6c  |LDX oldirq2v \ l|
00000dc0  6f 61 64 20 6f 72 69 67  69 6e 61 6c 20 76 65 63  |oad original vec|
00000dd0  74 6f 72 0d 04 b0 12 4c  44 59 20 6f 6c 64 69 72  |tor....LDY oldir|
00000de0  71 32 76 2b 31 0d 04 ba  31 53 45 49 20 5c 20 64  |q2v+1...1SEI \ d|
00000df0  69 73 61 62 6c 65 20 69  6e 74 65 72 72 75 70 74  |isable interrupt|
00000e00  73 20 77 68 65 6e 20 61  6c 74 65 72 69 6e 67 20  |s when altering |
00000e10  76 65 63 74 6f 72 0d 04  c4 27 53 54 58 20 69 72  |vector...'STX ir|
00000e20  71 32 76 20 5c 20 72 65  73 74 6f 72 65 20 6f 72  |q2v \ restore or|
00000e30  69 67 69 6e 61 6c 20 76  65 63 74 6f 72 0d 04 ce  |iginal vector...|
00000e40  0f 53 54 59 20 69 72 71  32 76 2b 31 0d 04 d8 1e  |.STY irq2v+1....|
00000e50  43 4c 49 20 5c 20 72 65  2d 65 6e 61 62 6c 65 20  |CLI \ re-enable |
00000e60  69 6e 74 65 72 72 75 70  74 73 0d 04 e2 19 52 54  |interrupts....RT|
00000e70  53 20 5c 20 72 65 74 75  72 6e 20 74 6f 20 42 41  |S \ return to BA|
00000e80  53 49 43 0d 04 ec 0e 2e  69 6e 74 65 72 72 75 70  |SIC.....interrup|
00000e90  74 0d 04 f6 25 42 49 54  20 74 74 78 73 74 61 74  |t...%BIT ttxstat|
00000ea0  75 73 20 5c 20 70 6f 6c  6c 20 54 54 58 20 68 61  |us \ poll TTX ha|
00000eb0  72 64 77 61 72 65 0d 05  00 2a 42 4d 49 20 74 74  |rdware...*BMI tt|
00000ec0  78 69 6e 74 65 72 20 5c  20 62 72 61 6e 63 68 20  |xinter \ branch |
00000ed0  69 66 20 54 54 58 20 69  6e 74 65 72 72 75 70 74  |if TTX interrupt|
00000ee0  0d 05 0a 26 4a 4d 50 20  28 6f 6c 64 69 72 71 32  |...&JMP (oldirq2|
00000ef0  76 29 20 5c 20 6e 6f 74  20 54 54 58 20 69 6e 74  |v) \ not TTX int|
00000f00  65 72 72 75 70 74 0d 05  14 0d 2e 74 74 78 69 6e  |errupt.....ttxin|
00000f10  74 65 72 0d 05 1e 35 4c  44 41 20 73 61 76 65 72  |ter...5LDA saver|
00000f20  65 67 20 5c 20 69 6e 74  65 72 72 75 70 74 20 61  |eg \ interrupt a|
00000f30  63 63 75 6d 75 6c 61 74  6f 72 20 73 61 76 65 20  |ccumulator save |
00000f40  72 65 67 69 73 74 65 72  0d 05 28 32 50 48 41 20  |register..(2PHA |
00000f50  5c 20 70 75 73 68 20 69  6e 74 65 72 72 75 70 74  |\ push interrupt|
00000f60  20 61 63 63 75 6d 75 6c  61 74 6f 72 20 73 61 76  | accumulator sav|
00000f70  65 20 72 65 67 69 73 74  65 72 0d 05 32 07 54 58  |e register..2.TX|
00000f80  41 0d 05 3c 10 50 48 41  20 5c 20 70 75 73 68 20  |A..<.PHA \ push |
00000f90  58 0d 05 46 07 54 59 41  0d 05 50 10 50 48 41 20  |X..F.TYA..P.PHA |
00000fa0  5c 20 70 75 73 68 20 59  0d 05 5a 29 4c 44 41 20  |\ push Y..Z)LDA |
00000fb0  67 72 61 62 66 6c 61 67  20 5c 20 68 61 73 20 54  |grabflag \ has T|
00000fc0  53 44 50 20 62 65 65 6e  20 67 72 61 62 62 65 64  |SDP been grabbed|
00000fd0  3f 0d 05 64 3a 42 45 51  20 63 6c 65 61 72 73 74  |?..d:BEQ clearst|
00000fe0  61 74 75 73 20 5c 20 63  6c 65 61 72 20 73 74 61  |atus \ clear sta|
00000ff0  74 75 73 20 61 6e 64 20  52 54 49 20 69 66 20 54  |tus and RTI if T|
00001000  53 44 50 20 67 72 61 62  62 65 64 0d 05 6e 1c 43  |SDP grabbed..n.C|
00001010  4c 44 20 5c 20 63 6c 65  61 72 20 64 65 63 69 6d  |LD \ clear decim|
00001020  61 6c 20 66 6c 61 67 0d  05 78 1f 4c 44 59 20 23  |al flag..x.LDY #|
00001030  26 30 30 20 5c 20 73 74  61 72 74 20 77 69 74 68  |&00 \ start with|
00001040  20 72 6f 77 20 30 0d 05  82 0d 2e 72 65 61 64 74  | row 0.....readt|
00001050  74 78 74 0d 05 8c 21 53  54 59 20 72 6f 77 72 65  |txt...!STY rowre|
00001060  67 20 5c 20 74 72 79 20  72 6f 77 73 20 30 20 74  |g \ try rows 0 t|
00001070  6f 20 31 35 0d 05 96 2a  4c 44 41 20 64 61 74 61  |o 15...*LDA data|
00001080  72 65 67 20 5c 20 6c 6f  61 64 20 66 72 61 6d 69  |reg \ load frami|
00001090  6e 67 20 63 6f 64 65 20  28 23 26 32 37 29 0d 05  |ng code (#&27)..|
000010a0  a0 27 42 45 51 20 65 6d  70 74 79 72 6f 77 20 5c  |.'BEQ emptyrow \|
000010b0  20 69 66 20 7a 65 72 6f  20 74 72 79 20 6e 65 78  | if zero try nex|
000010c0  74 20 72 6f 77 0d 05 aa  07 54 59 41 0d 05 b4 19  |t row....TYA....|
000010d0  50 48 41 20 5c 20 73 61  76 65 20 72 6f 77 20 6e  |PHA \ save row n|
000010e0  75 6d 62 65 72 0d 05 be  12 4a 53 52 20 72 65 61  |umber....JSR rea|
000010f0  64 70 61 63 6b 65 74 0d  05 c8 07 50 4c 41 0d 05  |dpacket....PLA..|
00001100  d2 1c 54 41 59 20 5c 20  72 65 73 74 6f 72 65 20  |..TAY \ restore |
00001110  72 6f 77 20 6e 75 6d 62  65 72 0d 05 dc 0d 2e 65  |row number.....e|
00001120  6d 70 74 79 72 6f 77 0d  05 e6 1e 49 4e 59 20 5c  |mptyrow....INY \|
00001130  20 69 6e 63 72 65 6d 65  6e 74 20 72 6f 77 20 6e  | increment row n|
00001140  75 6d 62 65 72 0d 05 f0  1e 43 50 59 20 23 26 31  |umber....CPY #&1|
00001150  30 20 5c 20 74 72 79 20  72 6f 77 73 20 30 20 2d  |0 \ try rows 0 -|
00001160  20 31 35 0d 05 fa 10 42  4e 45 20 72 65 61 64 74  | 15....BNE readt|
00001170  74 78 74 0d 06 04 10 2e  63 6c 65 61 72 73 74 61  |txt.....clearsta|
00001180  74 75 73 0d 06 0e 0c 4c  44 41 20 23 26 30 30 0d  |tus....LDA #&00.|
00001190  06 18 27 4c 44 59 20 23  26 30 46 20 5c 20 63 6c  |..'LDY #&0F \ cl|
000011a0  65 61 72 20 31 36 20 72  6f 77 73 20 69 6e 20 61  |ear 16 rows in a|
000011b0  64 61 70 74 6f 72 0d 06  22 0e 2e 63 6c 65 61 72  |daptor.."..clear|
000011c0  6c 6f 6f 70 0d 06 2c 0e  53 54 59 20 72 6f 77 72  |loop..,.STY rowr|
000011d0  65 67 0d 06 36 0f 53 54  41 20 64 61 74 61 72 65  |eg..6.STA datare|
000011e0  67 0d 06 40 07 44 45 59  0d 06 4a 11 42 50 4c 20  |g..@.DEY..J.BPL |
000011f0  63 6c 65 61 72 6c 6f 6f  70 0d 06 54 35 53 54 41  |clearloop..T5STA|
00001200  20 73 74 61 74 63 6c 72  20 5c 20 63 6c 65 61 72  | statclr \ clear|
00001210  20 73 74 61 74 75 73 20  66 6c 61 67 73 20 62 65  | status flags be|
00001220  66 6f 72 65 20 72 65 74  75 72 6e 69 6e 67 0d 06  |fore returning..|
00001230  5e 07 50 4c 41 0d 06 68  13 54 41 59 20 5c 20 72  |^.PLA..h.TAY \ r|
00001240  65 73 74 6f 72 65 20 59  0d 06 72 07 50 4c 41 0d  |estore Y..r.PLA.|
00001250  06 7c 13 54 41 58 20 5c  20 72 65 73 74 6f 72 65  |.|.TAX \ restore|
00001260  20 58 0d 06 86 07 50 4c  41 0d 06 90 3d 53 54 41  | X....PLA...=STA|
00001270  20 73 61 76 65 72 65 67  20 5c 20 72 65 73 74 6f  | savereg \ resto|
00001280  72 65 20 69 6e 74 65 72  72 75 70 74 20 61 63 63  |re interrupt acc|
00001290  75 6d 75 6c 61 74 6f 72  20 73 61 76 65 20 72 65  |umulator save re|
000012a0  67 69 73 74 65 72 0d 06  9a 1f 52 54 49 20 5c 20  |gister....RTI \ |
000012b0  72 65 74 75 72 6e 20 66  72 6f 6d 20 69 6e 74 65  |return from inte|
000012c0  72 72 75 70 74 0d 06 a4  0f 2e 72 65 61 64 70 61  |rrupt.....readpa|
000012d0  63 6b 65 74 0d 06 ae 20  4c 44 41 20 67 72 61 62  |cket... LDA grab|
000012e0  66 6c 61 67 20 5c 20 6a  75 73 74 20 63 68 65 63  |flag \ just chec|
000012f0  6b 69 6e 67 0d 06 b8 0e  42 45 51 20 72 65 74 75  |king....BEQ retu|
00001300  72 6e 0d 06 c2 26 4c 44  59 20 64 61 74 61 72 65  |rn...&LDY datare|
00001310  67 20 5c 20 72 65 61 64  20 6d 61 67 61 7a 69 6e  |g \ read magazin|
00001320  65 20 6e 75 6d 62 65 72  0d 06 cc 1e 4c 44 41 20  |e number....LDA |
00001330  68 61 6d 74 61 62 6c 65  2c 59 20 5c 20 64 65 2d  |hamtable,Y \ de-|
00001340  68 61 6d 20 69 74 0d 06  d6 26 42 4d 49 20 72 65  |ham it...&BMI re|
00001350  74 75 72 6e 20 5c 20 73  74 6f 70 20 6c 6f 61 64  |turn \ stop load|
00001360  69 6e 67 20 69 66 20 65  72 72 6f 72 0d 06 e0 27  |ing if error...'|
00001370  53 54 41 20 6d 61 67 61  7a 69 6e 65 20 5c 20 73  |STA magazine \ s|
00001380  61 76 65 20 6d 61 67 61  7a 69 6e 65 20 6e 75 6d  |ave magazine num|
00001390  62 65 72 0d 06 ea 24 4c  44 59 20 64 61 74 61 72  |ber...$LDY datar|
000013a0  65 67 20 5c 20 72 65 61  64 20 70 61 63 6b 65 74  |eg \ read packet|
000013b0  20 6e 75 6d 62 65 72 0d  06 f4 1e 4c 44 41 20 68  | number....LDA h|
000013c0  61 6d 74 61 62 6c 65 2c  59 20 5c 20 64 65 2d 68  |amtable,Y \ de-h|
000013d0  61 6d 20 69 74 0d 06 fe  26 42 4d 49 20 72 65 74  |am it...&BMI ret|
000013e0  75 72 6e 20 5c 20 73 74  6f 70 20 6c 6f 61 64 69  |urn \ stop loadi|
000013f0  6e 67 20 69 66 20 65 72  72 6f 72 0d 07 08 23 53  |ng if error...#S|
00001400  54 41 20 70 61 63 6b 65  74 20 5c 20 73 61 76 65  |TA packet \ save|
00001410  20 70 61 63 6b 65 74 20  6e 75 6d 62 65 72 0d 07  | packet number..|
00001420  12 27 4c 44 41 20 6d 61  67 61 7a 69 6e 65 20 5c  |.'LDA magazine \|
00001430  20 6c 6f 61 64 20 6d 61  67 61 7a 69 6e 65 20 6e  | load magazine n|
00001440  75 6d 62 65 72 0d 07 1c  3d 43 4d 50 20 23 26 30  |umber...=CMP #&0|
00001450  38 20 5c 20 62 69 74 20  33 20 6f 66 20 6d 61 67  |8 \ bit 3 of mag|
00001460  2e 20 6e 75 6d 62 65 72  20 69 73 20 62 69 74 20  |. number is bit |
00001470  30 20 6f 66 20 70 61 63  6b 65 74 20 6e 75 6d 62  |0 of packet numb|
00001480  65 72 0d 07 26 24 52 4f  4c 20 70 61 63 6b 65 74  |er..&$ROL packet|
00001490  20 5c 20 35 20 62 69 74  20 70 61 63 6b 65 74 20  | \ 5 bit packet |
000014a0  6e 75 6d 62 65 72 0d 07  30 1e 80 20 23 26 30 37  |number..0.. #&07|
000014b0  20 5c 20 75 73 65 20 6f  6e 6c 79 20 62 69 74 73  | \ use only bits|
000014c0  20 30 2d 32 0d 07 3a 22  43 4d 50 20 23 26 30 30  | 0-2..:"CMP #&00|
000014d0  20 5c 20 69 73 20 74 68  69 73 20 6d 61 67 61 7a  | \ is this magaz|
000014e0  69 6e 65 20 30 3f 0d 07  44 1e 42 4e 45 20 72 65  |ine 0?..D.BNE re|
000014f0  74 75 72 6e 20 5c 20 72  65 74 75 72 6e 20 69 66  |turn \ return if|
00001500  20 6e 6f 74 0d 07 4e 0e  4c 44 41 20 70 61 63 6b  | not..N.LDA pack|
00001510  65 74 0d 07 58 1c 43 4d  50 20 23 26 31 45 20 5c  |et..X.CMP #&1E \|
00001520  20 6c 6f 6f 6b 20 66 6f  72 20 54 53 44 50 0d 07  | look for TSDP..|
00001530  62 29 42 4e 45 20 72 65  74 75 72 6e 20 5c 20 69  |b)BNE return \ i|
00001540  67 6e 6f 72 65 20 61 6c  6c 20 6f 74 68 65 72 20  |gnore all other |
00001550  70 61 63 6b 65 74 73 0d  07 6c 20 4c 44 59 20 23  |packets..l LDY #|
00001560  26 30 30 20 5c 20 72 65  61 64 20 62 79 74 65 73  |&00 \ read bytes|
00001570  20 30 20 2d 20 33 39 0d  07 76 0d 2e 72 65 61 64  | 0 - 39..v..read|
00001580  6d 6f 72 65 0d 07 80 24  4c 44 58 20 64 61 74 61  |more...$LDX data|
00001590  72 65 67 20 5c 20 72 65  61 64 20 64 61 74 61 20  |reg \ read data |
000015a0  72 65 67 69 73 74 65 72  0d 07 8a 24 4c 44 41 20  |register...$LDA |
000015b0  68 61 6d 74 61 62 6c 65  2c 58 20 5c 20 64 65 2d  |hamtable,X \ de-|
000015c0  68 61 6d 20 74 68 65 20  62 79 74 65 0d 07 94 20  |ham the byte... |
000015d0  42 4d 49 20 72 65 74 75  72 6e 20 5c 20 72 65 74  |BMI return \ ret|
000015e0  75 72 6e 20 69 66 20 65  72 72 6f 72 0d 07 9e 20  |urn if error... |
000015f0  53 54 41 20 62 75 66 66  2c 59 20 5c 20 73 74 6f  |STA buff,Y \ sto|
00001600  72 65 20 69 6e 20 62 75  66 66 65 72 0d 07 a8 19  |re in buffer....|
00001610  49 4e 59 20 5c 20 69 6e  63 72 65 6d 65 6e 74 20  |INY \ increment |
00001620  69 6e 64 65 78 0d 07 b2  0c 43 50 59 20 23 26 30  |index....CPY #&0|
00001630  37 0d 07 bc 23 42 4e 45  20 72 65 61 64 6d 6f 72  |7...#BNE readmor|
00001640  65 20 5c 20 67 6f 20 62  61 63 6b 20 66 6f 72 20  |e \ go back for |
00001650  6d 6f 72 65 0d 07 c6 0e  2e 72 65 61 64 61 67 61  |more.....readaga|
00001660  69 6e 0d 07 d0 24 4c 44  41 20 64 61 74 61 72 65  |in...$LDA datare|
00001670  67 20 5c 20 72 65 61 64  20 64 61 74 61 20 72 65  |g \ read data re|
00001680  67 69 73 74 65 72 0d 07  da 20 53 54 41 20 62 75  |gister... STA bu|
00001690  66 66 2c 59 20 5c 20 73  74 6f 72 65 20 69 6e 20  |ff,Y \ store in |
000016a0  62 75 66 66 65 72 0d 07  e4 19 49 4e 59 20 5c 20  |buffer....INY \ |
000016b0  69 6e 63 72 65 6d 65 6e  74 20 69 6e 64 65 78 0d  |increment index.|
000016c0  07 ee 19 43 50 59 20 23  26 32 38 20 5c 20 64 65  |...CPY #&28 \ de|
000016d0  63 69 6d 61 6c 20 34 30  0d 07 f8 24 42 4e 45 20  |cimal 40...$BNE |
000016e0  72 65 61 64 61 67 61 69  6e 20 5c 20 67 6f 20 62  |readagain \ go b|
000016f0  61 63 6b 20 66 6f 72 20  6d 6f 72 65 0d 08 02 1d  |ack for more....|
00001700  4c 44 41 20 62 75 66 66  20 5c 20 54 53 44 50 20  |LDA buff \ TSDP |
00001710  74 79 70 65 20 62 79 74  65 0d 08 0c 16 80 20 23  |type byte..... #|
00001720  26 30 45 20 5c 20 25 30  30 30 30 31 31 31 30 0d  |&0E \ %00001110.|
00001730  08 16 24 53 54 41 20 67  72 61 62 66 6c 61 67 20  |..$STA grabflag |
00001740  5c 20 67 72 61 62 66 6c  61 67 20 3d 20 30 20 6f  |\ grabflag = 0 o|
00001750  72 20 32 0d 08 20 0b 2e  72 65 74 75 72 6e 0d 08  |r 2.. ..return..|
00001760  2a 07 52 54 53 0d 08 34  0d 2e 6f 6c 64 69 72 71  |*.RTS..4..oldirq|
00001770  32 76 0d 08 3e 0c 45 51  55 57 20 26 30 30 0d 08  |2v..>.EQUW &00..|
00001780  48 0d 2e 68 61 6d 74 61  62 6c 65 0d 08 52 12 45  |H..hamtable..R.E|
00001790  51 55 44 20 26 30 31 30  31 46 46 30 31 0d 08 5c  |QUD &0101FF01..\|
000017a0  12 45 51 55 44 20 26 46  46 30 31 30 30 46 46 0d  |.EQUD &FF0100FF.|
000017b0  08 66 12 45 51 55 44 20  26 46 46 30 31 30 32 46  |.f.EQUD &FF0102F|
000017c0  46 0d 08 70 12 45 51 55  44 20 26 30 37 46 46 46  |F..p.EQUD &07FFF|
000017d0  46 30 41 0d 08 7a 12 45  51 55 44 20 26 46 46 30  |F0A..z.EQUD &FF0|
000017e0  31 30 30 46 46 0d 08 84  12 45 51 55 44 20 26 30  |100FF....EQUD &0|
000017f0  30 46 46 30 30 30 30 0d  08 8e 12 45 51 55 44 20  |0FF0000....EQUD |
00001800  26 30 42 46 46 46 46 30  36 0d 08 98 12 45 51 55  |&0BFFFF06....EQU|
00001810  44 20 26 46 46 30 33 30  30 46 46 0d 08 a2 12 45  |D &FF0300FF....E|
00001820  51 55 44 20 26 46 46 30  31 30 43 46 46 0d 08 ac  |QUD &FF010CFF...|
00001830  12 45 51 55 44 20 26 30  37 46 46 46 46 30 34 0d  |.EQUD &07FFFF04.|
00001840  08 b6 12 45 51 55 44 20  26 30 37 46 46 46 46 30  |...EQUD &07FFFF0|
00001850  36 0d 08 c0 12 45 51 55  44 20 26 30 37 30 37 30  |6....EQUD &07070|
00001860  37 46 46 0d 08 ca 12 45  51 55 44 20 26 30 35 46  |7FF....EQUD &05F|
00001870  46 46 46 30 36 0d 08 d4  12 45 51 55 44 20 26 46  |FFF06....EQUD &F|
00001880  46 30 44 30 30 46 46 0d  08 de 12 45 51 55 44 20  |F0D00FF....EQUD |
00001890  26 46 46 30 36 30 36 30  36 0d 08 e8 12 45 51 55  |&FF060606....EQU|
000018a0  44 20 26 30 37 46 46 46  46 30 36 0d 08 f2 12 45  |D &07FFFF06....E|
000018b0  51 55 44 20 26 46 46 30  31 30 32 46 46 0d 08 fc  |QUD &FF0102FF...|
000018c0  12 45 51 55 44 20 26 30  39 46 46 46 46 30 34 0d  |.EQUD &09FFFF04.|
000018d0  09 06 12 45 51 55 44 20  26 30 32 46 46 30 32 30  |...EQUD &02FF020|
000018e0  32 0d 09 10 12 45 51 55  44 20 26 46 46 30 33 30  |2....EQUD &FF030|
000018f0  32 46 46 0d 09 1a 12 45  51 55 44 20 26 30 35 46  |2FF....EQUD &05F|
00001900  46 46 46 30 38 0d 09 24  12 45 51 55 44 20 26 46  |FFF08..$.EQUD &F|
00001910  46 30 33 30 30 46 46 0d  09 2e 12 45 51 55 44 20  |F0300FF....EQUD |
00001920  26 46 46 30 33 30 32 46  46 0d 09 38 12 45 51 55  |&FF0302FF..8.EQU|
00001930  44 20 26 30 33 30 33 46  46 30 33 0d 09 42 12 45  |D &0303FF03..B.E|
00001940  51 55 44 20 26 30 35 46  46 46 46 30 34 0d 09 4c  |QUD &05FFFF04..L|
00001950  12 45 51 55 44 20 26 46  46 30 34 30 34 30 34 0d  |.EQUD &FF040404.|
00001960  09 56 12 45 51 55 44 20  26 46 46 30 46 30 32 46  |.V.EQUD &FF0F02F|
00001970  46 0d 09 60 12 45 51 55  44 20 26 30 37 46 46 46  |F..`.EQUD &07FFF|
00001980  46 30 34 0d 09 6a 12 45  51 55 44 20 26 30 35 30  |F04..j.EQUD &050|
00001990  35 30 35 46 46 0d 09 74  12 45 51 55 44 20 26 30  |505FF..t.EQUD &0|
000019a0  35 46 46 46 46 30 34 0d  09 7e 12 45 51 55 44 20  |5FFFF04..~.EQUD |
000019b0  26 30 35 46 46 46 46 30  36 0d 09 88 12 45 51 55  |&05FFFF06....EQU|
000019c0  44 20 26 46 46 30 33 30  45 46 46 0d 09 92 12 45  |D &FF030EFF....E|
000019d0  51 55 44 20 26 46 46 30  31 30 43 46 46 0d 09 9c  |QUD &FF010CFF...|
000019e0  12 45 51 55 44 20 26 30  39 46 46 46 46 30 41 0d  |.EQUD &09FFFF0A.|
000019f0  09 a6 12 45 51 55 44 20  26 30 42 46 46 46 46 30  |...EQUD &0BFFFF0|
00001a00  41 0d 09 b0 12 45 51 55  44 20 26 46 46 30 41 30  |A....EQUD &FF0A0|
00001a10  41 30 41 0d 09 ba 12 45  51 55 44 20 26 30 42 46  |A0A....EQUD &0BF|
00001a20  46 46 46 30 38 0d 09 c4  12 45 51 55 44 20 26 46  |FFF08....EQUD &F|
00001a30  46 30 44 30 30 46 46 0d  09 ce 12 45 51 55 44 20  |F0D00FF....EQUD |
00001a40  26 30 42 30 42 30 42 46  46 0d 09 d8 12 45 51 55  |&0B0B0BFF....EQU|
00001a50  44 20 26 30 42 46 46 46  46 30 41 0d 09 e2 12 45  |D &0BFFFF0A....E|
00001a60  51 55 44 20 26 30 43 46  46 30 43 30 43 0d 09 ec  |QUD &0CFF0C0C...|
00001a70  12 45 51 55 44 20 26 46  46 30 44 30 43 46 46 0d  |.EQUD &FF0D0CFF.|
00001a80  09 f6 12 45 51 55 44 20  26 46 46 30 46 30 43 46  |...EQUD &FF0F0CF|
00001a90  46 0d 0a 00 12 45 51 55  44 20 26 30 37 46 46 46  |F....EQUD &07FFF|
00001aa0  46 30 41 0d 0a 0a 12 45  51 55 44 20 26 46 46 30  |F0A....EQUD &FF0|
00001ab0  44 30 43 46 46 0d 0a 14  12 45 51 55 44 20 26 30  |D0CFF....EQUD &0|
00001ac0  44 30 44 46 46 30 44 0d  0a 1e 12 45 51 55 44 20  |D0DFF0D....EQUD |
00001ad0  26 30 42 46 46 46 46 30  36 0d 0a 28 12 45 51 55  |&0BFFFF06..(.EQU|
00001ae0  44 20 26 46 46 30 44 30  45 46 46 0d 0a 32 12 45  |D &FF0D0EFF..2.E|
00001af0  51 55 44 20 26 30 39 46  46 46 46 30 38 0d 0a 3c  |QUD &09FFFF08..<|
00001b00  12 45 51 55 44 20 26 30  39 30 39 30 39 46 46 0d  |.EQUD &090909FF.|
00001b10  0a 46 12 45 51 55 44 20  26 46 46 30 46 30 32 46  |.F.EQUD &FF0F02F|
00001b20  46 0d 0a 50 12 45 51 55  44 20 26 30 39 46 46 46  |F..P.EQUD &09FFF|
00001b30  46 30 41 0d 0a 5a 12 45  51 55 44 20 26 46 46 30  |F0A..Z.EQUD &FF0|
00001b40  38 30 38 30 38 0d 0a 64  12 45 51 55 44 20 26 30  |80808..d.EQUD &0|
00001b50  39 46 46 46 46 30 38 0d  0a 6e 12 45 51 55 44 20  |9FFFF08..n.EQUD |
00001b60  26 30 42 46 46 46 46 30  38 0d 0a 78 12 45 51 55  |&0BFFFF08..x.EQU|
00001b70  44 20 26 46 46 30 33 30  45 46 46 0d 0a 82 12 45  |D &FF030EFF....E|
00001b80  51 55 44 20 26 46 46 30  46 30 43 46 46 0d 0a 8c  |QUD &FF0F0CFF...|
00001b90  12 45 51 55 44 20 26 30  39 46 46 46 46 30 34 0d  |.EQUD &09FFFF04.|
00001ba0  0a 96 12 45 51 55 44 20  26 30 46 30 46 46 46 30  |...EQUD &0F0FFF0|
00001bb0  46 0d 0a a0 12 45 51 55  44 20 26 46 46 30 46 30  |F....EQUD &FF0F0|
00001bc0  45 46 46 0d 0a aa 12 45  51 55 44 20 26 30 35 46  |EFF....EQUD &05F|
00001bd0  46 46 46 30 38 0d 0a b4  12 45 51 55 44 20 26 46  |FFF08....EQUD &F|
00001be0  46 30 44 30 45 46 46 0d  0a be 12 45 51 55 44 20  |F0D0EFF....EQUD |
00001bf0  26 46 46 30 46 30 45 46  46 0d 0a c8 12 45 51 55  |&FF0F0EFF....EQU|
00001c00  44 20 26 30 45 46 46 30  45 30 45 0d 0a d2 05 5d  |D &0EFF0E0E....]|
00001c10  0d 0a dc 05 ed 0d 0a e6  05 e1 0d ff              |............|
00001c1c
08-04-89/TSDP0.m0
08-04-89/TSDP0.m1
08-04-89/TSDP0.m2
08-04-89/TSDP0.m4
08-04-89/TSDP0.m5