RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with...

8
Lewi s A, Th ompson W51FQ Applied Research Laborilt or ies The Universit y 0 1 Texas at Austin Austin TX 78711 RTTY with the H8 -a Heath-based RTTY system (l TRS or FIGS) and end-of- line detect ion can be done automatically by the com- pu ter. Complex fun ctions such as text storage, auto- ma t ic CQ , and Morse code identification can ea sily be implemented in the com- puter's software. Amateur RTTY Co nve nt ions Ama te ur RTTY in t he high f reque ncy (HF) radio spect rum (1 through 30 MHz) uses f requen cy-shift keying (FSK) to tr ansmit Baudot characters. Each Baudot character c on sists of a start bit, fi ve data bit s, and 1 VJ stop bit s. Baudot code consists of two sub- sets of chara cter s, l TRS and FIGS. l TRS con sists of all the upper ca se alpha - betic character s and FIGS cons ists of the number s and m isce llaneous pun ctuation character s. The high state or "mark" is by co nvention the higher frequen cy of the two FSK signals. A frequen - cy shift of 170 Hz has re- placed the old standard of 850 Hz. Rate s of b oth 60 and 100 words per m inute are now in use but 60 wpm is st ill dominant.' Ap opular means to generate FSK is to ou ...... ' TO '5 ' (O """Tf , .. T("' .( [ Norma lly manual fu nct ions suc h as c ha racte r s hift 0.00" ,,' ". ... Fig. 1. RTTY input filter. t ro lli ng a rad io te letype (RT TY) a mate ur stat ion . Fig. 2. Pha se locked loop FSK demodulator . ", " " '00 '"' . .. ,, ' 2.Z " 0_ 0.' " .. ' .... "L (21 0.00" ". 10 ) , '";j, ". . , " r , cc 0.00" 0. ' eco ... ouT ..... ' cc o ,.. ..... , ,.. U VST ¥CO OUT ..... ' It' S TAG( I '0 OvT""T IIAT •• z•• S U G[ lI ""VT Z TO ou T"V T ZI AT O<J TP\I 'I 0,00 " '" T he 8-bit micro computer is ideally suited to con- 73 Magazin August, 1 980

Transcript of RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with...

Page 1: RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with the H8 - a Heath-basedRTTY ... during receive mode E5C KEY -Go to receive ... three

Lewis A, Thompson W51FQApplied Research Laboriltor iesThe Universit y 01 Texas at AustinAustin TX 78711

RTTY with the H8- a Heath-based RTTY system

(l TRS or FIGS) and end-of­line detection can be doneautomatically by the com­puter. Complex fun ctionssuch as text storage, auto­mat ic CQ, and Morse codeiden tification can easily beimplemented in the com­puter's so ftware.

Amateur RTTY ConventionsAmateur RTTY in the

high frequency (HF) rad iospectrum (1 through 30MHz) uses frequency-shiftkeyi ng (FSK) to transmitBaudot c ha rac te rs. EachBaudot character consistsof a sta rt bit, five data bits,and 1 VJ stop bits. Baudotcode consists of two sub­sets of characters, l TRSand FIGS. l TRS consist s ofall the uppercase alpha­betic characters and FIGScons ists of the numbers andm iscellaneous punctuationcharacters. The high sta teor " mark" is by conventio nthe higher frequency of thetwo FSK signa ls. A frequen­cy sh ift of 170 Hz has re­placed the o ld standard of850 Hz. Rates of both 60and 100 words per m inuteare now in use but 60 wpmis st ill dominant. ' A popularmeans to generate FSK is to

ou...... ' TO'5 ' (O """Tf•,..T("'.([

Norma lly manual fu nct ionssuc h as c ha racte r shift

0.00",,'

".

...

Fig. 1. RTTY input fi lter.

t ro lli ng a rad iote letype(RTTY) a mateu r stat ion .

Fig. 2. Phase locked loop FSK demodulator.

" ,"

"'00

'"' ...,, '

2.Z"0_ 0.' O~ O~

~

".. '...."L (21 0.00" ~i- ".10) ,~ ,~ ~

• • , • •'";j, ". .

• ,.~~

.~,~ • ~ •• " r•• ~i-

• ,cc

0.00" 0. '

eco ~ ...ouT .....' cco ,....... , , ..U

VST ¥CO OUT..... '

· ~(U It' S TAG( II "~VT I'0 OvT""T IIAT ZIZ'~,

• • ~f A " z • • S U G[ lI ""VT ZTO ouT"V T ZI AT 229'~ 1

r--:I I--~----~-- O<J TP\I'I

0,00" '"

The 8-bit microcomputeris idea lly su ited to con-

~'06 73 Magazine· August, 1980

Page 2: RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with the H8 - a Heath-basedRTTY ... during receive mode E5C KEY -Go to receive ... three

FSK Computer InterfaceThe serial word fro m the

demod ulator is convertedto a valid pa ra llel word andsent to the computer by theFSK computer interfaceshown in Fig. 3. The UART(U3) is hardware -pro-

phase locked loop outputto TTL voltage levels.

......

""• •oo<.T ~ ,-(>4•• <100 0)-; :;'5; - ~1""1 ~:.. 40\;~;;-;' K Sl.S TL0U.IlO~ ~;-b soc .., secc ,,~ ,.-000"~ ~. ,n'5 (>4. .. ,~,

...... \l18 •• - "" ,~ ~, -0-l4 .01Z ~. ~, - - 'UC'+4.f<'" ,0 -~ ~ .., -~, ~

04~ .(j,. ~. ,-. ~, J'<Z ,.....~044.~•• ~, •• ~ , , , •~~....~ . "."":' -. ( ..~ ." " ~ '" ~.""4.".~ '.,~ -, ~ , '" '"~·W 4. ' .' • • • .~ CT~B .., .-."'~ ... , ''''''. (\4 ~ 0.. '- cn ..~ cor e ~..(\ '14 . ~~7 ~, coo ~, ~)( I H·4."'_(\4., ""~ •• 00' ." H . ;:Q ""IT c• •(' (.(. ,-,.! I ~, ~ , ,.., ," ~...~'--"'4. ,,"l;- '., ~I'" WL" ", ,;: ,.." <c'>4.' .0':' ~. ~, ~. m,:- f ...il

,)41.\""" ~, NO ~, ~, " .-". - ~, ~, " . III " ecce". , -,. \11<'.~ 3->--' '" C""-I.. :;-+J.Z ~~ l<:SL.t11..

'014.0"- ~ ll ~,

• -- ~11HE -~ scsccn,-"(44 . t>o-o, ~, ~""i~ - , , • 48:;'5..'" ":5U.1 ...B-'~ . (1:"0 - NO ." " ~0.".< : -" ~.

(loI4.07~ ~ :lT I4<T

73 Magazine • August, .980 107 ~

• C(oll """-- ,+<T(!>I>I.F>T~ - l'Ol(J.I(Vl:S OI OtECTl CH n.• O l<\.. A ·ll . <;,l> {$ THE ~E "'"IE~ IIOJIlHE.• ,.-: I'(~';'~ {$ THI S~ lOb' Ill!. L(lI'VIEt' !tHO

ecs rc (# HEA1W S CU ' .iQ.E "'IUE~ "5 nl.LOUS'• ,,1 " .~'5(. L~ "00• AT :;'51 ...Gri> .....4• T~I S ~""""" 'ES TS . ' SI....T... c.' ' '''' CLO<So:t..E (l.nt""• ""' TE~" CCI"~ I"TEWlRT. ' ... <oESLt.T c.' T",• TEST I S "' 0F<>El' lfn o ......1'0'",' s(_TC~ ' ..... l.OO0 '• .... ICH (S 1E 5 1[( . ",. 1i01H T,*, ~o:.I:l (JI: ..~• 1 ~_;,tl11 .....~. 0lF1 E~ 5(""T~_. I S LCI'<'ED, " "'0 .. 15 ;:JO~.

Control interrupt program listing.

(phase) as the input signal.This forcing voltage is theactual output of the phaselo ck ed loop . The poten­t iomete r shown in Fig. 2 isused to adj ust the ze ro­input vco frequency to ava lue of 2100 Hz . A fre­quencv counter should beused for this adjustment.The device U2 converts the

Fig. 3. FSK computer interface.

...I ~ "l?~"

" "". P. "". ll• 110....0

" ~.. ...,. •• ".n, ,.. ..I-'-

,~.. ,.oc· ' .. ..

• ,I-"- "

,-sv " " •

I-"- .... (.,., ,... I O.o, I o.ol

"c"- oo "'"-sv ..' ,.. ""T P-E, •'",

T " . TI '"

"..,,.

I..... ...f

,'0 " · ''''"l '.

'<l-• •• • • r-',

h - ..•

~..... • .'" - 'N •• .. • , • H"' • • (><jT .. "• ..'"US",,,,,,

1°.°' """'''CH. I-"- ",., ..I o.Ot ..'"

(.u, "., ..T "0"" ..

'-" '"... f-{: '" ,, ,, oo." "

"' .., "" • .. ...---eJ:' ..

TS.~. LOw .....55 ~ 'LTl" ..'"

r 5 ~[ " JTTl" woooT " . "OI,I Tl'U T "...

r-;"..<v... ~ " • •,,'

1" "I" I o.m .. V• ,.. • , , , . ". ""~ .0.....'. "

f "'" C,J; , 'M " K

~OH S

• . Ll- CVS ARtco. co."

, POl- YC . " BONIC

f". .ec '" ."".' 'u.' ,,, ".TO TIIU5",TT[II '" "0'5 H[ ' £ n( "'C ' NPUT I INP u ' ,j, _0. "OJUS ·''''·

signal within 400 Hz of itsnominal vco frequency .Without a narrow band­width filter, near-freq uencysigna ls will cause signif i­cant receiving e rro rs. Theeas iest place to add a re­ceive r filte r is between theaudio o utput of the rece iv­er and the RTTY interface.The filter of Fig. 1 has abandwidth of 300 Hz cen­tered at 2210 Hz and a volt­age gain of 10 . Each stageshould be adjusted sepa­rately using an acc uratesigna l gene rator a nd an out­pu t ind icator. In o peration,input 1 is connected to thereceiver audio output andoutput 2 is connected tophase Jocked loop demod­ulator input.

Phase Locked Loop FSKDemodulator

The demodulator shownin Fig. 2 conve rts aud io fre­quencv shifts into se ria lbinary data . Within deviceUt . a phase detector sendsa voltage to a vco. forcingit to the same frequency

RTTY Input FilterThe bandwidth of the

SB-300 receiver is 2.1 kHz(350 through 2450 Hz). Ap­pro ximately 300 Hz o fbandwidth is requi red to re­ceive 60 wpm, 17o-Hz sh iftRTTY.J The phase lockedloop demod ulator used inthe RTTY interface unit willattempt to lock onto any

feed aud io FSK into the mi­crophone input of a single­sideband (SSB) suppressedca rrier rad io transm itter.

System DescriptionThe RTTY system de­

sc ribed in thi s a rticle con­sists o f the fol lowing eq uip­ment: 1) Heath H8 comput­e r, 16 K m e mory. serial(H8-5) and parallel (H8-2) in­terface boards; 2) Heath H9video terminal; 3) dual GE5121 cassette tape decks; 4)Heath 5B-300 single-s ide­band receiver; 5) Heath5 B-401 si ng le-side ba ndtransmitte r, and 6) aut hor­const ructed RTTY inte r­face.

No ha rdware modifica­tions were done on any ofthese equipments. Thisminimal system will receiveand tra nsmit RTTY on a llauthorized HF bands. A tun­ing aid and inverted codeswitc h are incl uded to im­prove reception. All trans­mit and receive functionsare controlled from the H9terminal as follows :CTRl-A - Transmit Morsecode identificationCTRl-B -Go to transmitmode (turn on transmitter)CTRl-C- Transmit buffer(CQ o r message)CTRl-O - Force l TR5 codeduri ng receive modeE5C KEY -Go to rece ivemode (turn off transmitter)

Shift characters are auto­matically transmitted whencalled fo r by Baudot con­vention. After 72 charac­ters, line feed. two ca rriagere turns, and the l TRS codea re a utomatica lly trans­mitted . A 28-character type­ahead buffe r is included inthe transmit program toprevent loss of text.

Page 3: RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with the H8 - a Heath-basedRTTY ... during receive mode E5C KEY -Go to receive ... three

H8-2 Parallel InterfaceBoard

The FSK co mpute r inte r­face is connected to one ofth ree pa ra lle l ports ofHeath's H8-2 pa rallel inter­face board. The port ad­dress jumpers for the se lec t­ed pa ral le l port should beconnected for 1008. O n thatport. connect the logi cju m p e rs a s fo ll ows : 1 )A, - A 2, open; 2) 6 1 - 8 2.

open; 3) (1 - (2, shorted,and 4) E, -E 2, shorted . Theoutput of the FSK compute rinterface (Fig. 3) is co n­nected to the parallel portat Pl 0l by a ribbon cableterm inated with the Heath­supplied 2S·p in connector.

SSB Receiver andTransmitter Operation

Both the SSB rece iverand tran smitter mu st beoperated in the upper side­ba nd (USB) mode for cor­rect pola rity receptio n andtransm ission. The receivershou ld have less than 100HzfH drift after wa rm-up.Most SSB transm itters a renot designed to operate a tthe 100 % duty cycle re­quired of RTTY. The man­ufac tu rer's specifications

low-pass filter and then tothe microphone input ofthe SSB radio transmitter.The second elect ronicswitc h is cont rolled by the" reader o n/off" line fromthe H8-1 parallel interfaceboa rd. This a rra ngement a l­lows the co mpute r to turnthe transmitter on and offusi ng the tran smitter ' sv o ic e -o p e ra t e d sw itc h(VOX) and also to transmit aMorse code ident ifi ca tionsigna l. The 3-kHz low-passfilter converts the squarewave output of U7 to a sinewave. The 1k-Q potentiom­eter sho uld be ad justed toprovide the same outputleve l as the m icro phonenor mally used with t hetransm itter. The comple tefilte r a nd le vel ad jus tpotentiometer shou ld bewell shie lded to preventst ray noise from beingtransmitted .

grammed for 5-bit wordsand 1 'h sto p bits . TheUA RT's clock. U4, is ad­justed for a f requency thatis 16 times the RTTY baudrate. For 60 wpm, the fre­quency of the clock is 727Hz . W hen the UART de­tects and loads a validBaudot word. it signals theco mpute r on the OAV (da taavailab le) line. After thecompute r accepts the par­a lle l word, it signa ls backo n the RDAV (reset d ataavailab le) line , allowing theUA RT to load a nother wordin its buffer. The Pll inputc ircuits , including U9 andpa rt of U8, a llow rece ivingof norm al a nd inve rtedsigna ls and provide a need­ed tuning aid. When a RT TYsigna l is correc tly rece ived,the mark LED should ligh tdu ring idle moments be­tween characters and bothshou ld light during con­tinuous transmiss ion.

In the transm it mode, theUA RT signals the compute rto load a word using theTBMT (trans mitter bufferem pty) line. After the com­pute r has loaded a Baudotword, it signa ls the UA RT tobegin serial tr ansm ission us­ing the OS(da ta strobe) line .The UART adds the correctnumber of sta rt (1) and stop(1 %) b its and then transm itsthe word serially at a baudra te of o ne-sixteent h itstransmit clock rate. These ria l tra nsmit signa l op­e rates an electron ic switc hin U6 that keys a two-fre­quen c y osc il lato r (US).When t he se ri a l out line islow, the switch is open andUS should be adjusted bythe 10k·Q potentiometer tooscil late at 42S0 Hz. Whenthe seria l line is high, theswitch is c losed and USshould be ad justed by theSk-Q potent iometer to os­ci lla te at 4S90 Hz.

The J-K fl ip-flop device.U7, divides the output fre­quency of US by two to pro­vide a symmetrica l sq uarewave at the correc t markand space freq uencies. Theo utput of U7 goes th roughan e lectronic switch to a

.., 'o ca I

00 TO MOU l I

II

( ....T )

Fig. 5. RTTY transmit routine.

I "' ''.S tOOl

I ,.I... $. ..,,* I

I

I ¢a.... T. ... . .. ' , I

I

Fig. 4. RTTY receiver flowchart.

( ST UT )

I '.Of.•" " .0..0OOU,<.. )-" .....

1 ",. .. 0" l l<: . .. (" TO ' )TOU",,"'"

In oo '. 'UOU. ' IS' UTO . " "O

1ST' .. TOS eoC>[ I

HT . . ........ 'K UTt. OU

J-

<f ", .... TO TOU ",", I.," OU"U,

"''''.u' _, I....ul

..l~

.,.'"u

-......'I Of . . ... " """ I I'" Is"(,,s _1

I ......,. ".- I,." " ,U...l-

", LTO,

"'COO.

J- ' 0. J..V·.. L "" ·

~'", .. ... " U e.... '-,u~'r '''f'I~ ~

UIOO·... -..aT U><l«- . . .........'COO[ ... ,T., ~ ' 000 o>u, . ... . cru <... ..e. u

I ...... t·c.... I I ' ace l _cH.. I

~ 108 73 Magazine" August. 1980

Page 4: RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with the H8 - a Heath-basedRTTY ... during receive mode E5C KEY -Go to receive ... three

RTTY receive program listing.

••

IlTTY ll(;IA - II "'" I ' '''!IY l£W I S~

&00 I . 3/11.. 3/113 2'02 94.CWI.~ . 26 00 , D.CWI .3/117 3/11~ 2B2 ...1

,~.

0. 10,~

~ TH, S~ FlXEPl"$ ""'--' 0 ilFl.WT ~TERS 1KlOI.O<• POIIT lee . ~TS T>£I'I 10 "'i(;11 "'0 ~ SEJoVS ~

w~

•ra••

,~,w,,u

",,,",c••z•,",,,,•c' <FiGS)

"•usP ( lTIlS ),~

,,,>,•••-,,•5P <F ICiS>

"200'"-­..~'. 1"­,,~I ll"-=..~---=..~..~----..~---=..~,,~

..~.""-­. 2 10

.. ~..~

..~

~~..~,--­..~..~..~~~­~­.~,~--.~­..,=--.~'"=.~--...'"=---,~==lOT'"

~

~~

~

~~

~

~

~re~

~

~

~~

~

~

~

~

~

~

~

~

~

~

cetece~

~

~

~

ce~

~

~~

~

~

~

~

ee~

~

~

~

~

~

~

~

~

~

~

~~

~

~

~~

~

~

~

~

~

...... 1Ie1"'2.1Ie1 .05"'2.~ .12&00 .....3 ,e,.....- ­"2.'" I .. Z.....- '"1l'W2.ee7 ,2'5"'2."0 .1""2.•' , I"......12 '2:2CWa.e 13 112CWa.e ,. 11&CW...." 111/0..a.e ,& rec04a.e"'· 113.... 2.e2e 12"04".e21 I II94".e22 II...... 023 . 27....... 112.. 110..... lT2'5 .31"2.lT;;M. 129..... 0..7 . 2 '.... 2.1130 I I?.... 2.031 1lY.'942. 032 ' 071I'42.0J~ 053(W2.034 1150 "2.03" 1300 "2• • ::6 .2&0 .. 2 • • 37 040942.....0 06304 2 . 04 ' e,~

....2. 042 ll55

.... 2. 043 _0-<2. """ 0070042 5 .78....2 06794 &007 e l 5"" II'!ilI .""".051 ............05.. "7....r,9'53 054....z,054 ... ,0-02.""'- en.....- ­"2.05;'" 8/05"'2._ ..........061 «II34".00>2 234".063 3342."'" lI6o&...... 0(0$ 00>II"'2._ "'1"'2.8";- en(1002.0" l11'7""2.0n ....."2.•n 040...~ .•n ""'"0)42••7.. 957(Io02.0~ on0-12••70> ~342.•;0:0

2Ef>O SC"",K_ 'SET (:>00I NTtl!Rl.PT SC-T~

"" I T CQClE>O'I ' T~TES' FOI! ,<E,. ~....-T S TATUS

_.GIET 0-.cres ccce,.. (.H ""7FIGS OTFSU1'£1'1. NIGHLOA:> C W' TH tVt. HI~ ,

""I.M~-~.1'''''''',~.

0'1 .....101010

"" '000'.100'1.11,;,0

10''''0'1,471;1

1.'11,.~.­..~.~

~...,­'OlD~

-~-~,."".,~

.~,.,"=~~

....20,.,..,~

-~,.~,~.."".,=..~

.. ..20,.,..,~

• TQ ....ATH·S a»<sa.£ DOllo.£Jl F'(JJt OISPlAV D< T£RIO'.......• ""IS PPO: ' Ilf:QU' II£S . .... COtiCL..E 0Il1<Vl ....:. 1'>£• C(MTIlIJI.. INTUlRl.PT~ Fe- OI'£_T ID<.• THE _ lOS OF THE (:(:HT'R(lL INTEJI'RlP'T~ IIJ5T BE• LCO't?£I> 1...,0 THE ClHSO..l DOlI<Vl <'OS FCU..0W5-'~ _.~ LOA:> _

• _.251 LOA:> ...• C~-(I FU!CES THE lnrs COtof..• cr....-II CRISES A -..;H TO 1l1T... >G'fT~.

• THE CO"F\.£TE 1l1T... POlOCIA'O St<O.A.L> KG," AT I ....• n"ST STEP OF THE II£CE I.... 1'OtOCl'", <_ .159>• so T>fiT AlL $VSTEI'l POIITS .-s: "'OP£.AL... IN lT U'L I~to.

...:.- EQU~ ~

STAn CflG~.

~­W.~ ,

W.

~­W.

. "MM

'"."ltFUT l.L>A~ ,

.rz

'"~­rz

-"~~,,-"~~,,­.rz~,

~­~

~

~-~ M-.~ ~~,,­n~,

M~

~

~

:1" 1~2 _.~2'O1

3..3 101076 100:123 10'07.. 110;.323 101lr." 0-<732: 101~7" 000062 000 0012.~~

072 000 000 ..31.. 002312 100 (W~

333 1. ,-~,: 12 2'02 0001n3 100

'"

_ . ...1_. ,~

....1.'''''

.... ,.,""

.... I.,5l(W '. ' $$(WI.'~1

0041.'''10-I 1 . ' 6Z041.165041. 161.... '. 111~4 ' . ,n

"" '.l~.... ,.:100....,.~....,.~lW,.~1

o-I,.~l~

.... 1.~I.

.... '.21604'.221.... 1.2:n(WI.;::'. ' 12041.225 ~~ _(W'.221 :12 ~2 (WI.... '.2:2 '27......= '73(W'.n.o 3~ 037...... 2::6 312 = .... ,......... , 3llI6 .37...... 2<13 _ .... 2... ,.2<1~ 111... , .......120-< i • 2<17 ~'5 ' .7 _..... 252 38:s ~ ... ,...,.= .26_""'.257 :I8:s 292"""" . 2ll.2 __ "..... 2ll.:s • ~""' .:l6A 376 a:s3"".266 3U 3lJ5'"..... 21 ' :s8Il. _"'1.V'3 _ ..2

""' .77'5 117""1 .276 .1 2"' I . V? ~ I " 1.1_

73 Magazine . August, 1980

shou ld be consulted to de­termine a safe maximumpower limit. The SB-401transmitter is presently be­ing operated at a plate cu r­rent of 150 mA rather thanthe SSB-recommended 250rnA

RTTY Interface SoftwareThe speed requi rements

as well as the lack of com­plex mathematical expres­sions allowed the interfacesoftware to be written in as­sembly language. The soft­ware is divided into threeseparate ly assembled pro­grams, plus Heath's consoledr iver program. listings ofthe three RTTY programsare included in this ar ticl e.

RTTY Recei¥er ProgramThe receiver program

uses the conso le driver andthe O P programs. An excel­lent description o f Heath'sconsole driver is conta inedin issue No. 2 of Remark .)

The RTT Y software e nt rypoin t shou ld be the sta rtof the re cei ve program(041.150 offse t oc ta l) to ef­fec t por t in itialization. Fig,4 shows a fl owchart fo r thereceive program. Both theconso le termina l's se ria lport and the RTTY inter­face's para llel port are ini­tia lized at the begi nning ofthe program. The commandword. 0478. sent to the con­trol port (101sl tu rns thetransmitter off. The CIP pro­gram places d ifferent num­bers in a sc ratc hpad (042/000) based upo n w hic hCTR l key inte rrupts occur.The receive p rogram in itial­ly zeros this location a ndthen tests it fo r a branchto the transmit routine eachtime a new character loopis performed. After testingfor a transm it programbranch, the first bit o f thecontrol input port is testedto determ ine if a newcha racter has been loaded

in th e RTTY interfa c eUA RT. If a new c harac te r ispresent, it is loaded into thecomputer, thereby freeingthe interfa ce UART tosearch for the next cha r·acter. Afte r loading a cha r­ac te r, the routine checkswhethe r it is in the l TRS(D=1) mode. If it is in thel TRS mode, the new cha r­acter is compared with theFIGS code.. If the new cha r­acter is the FI GS code, theFIGS mode is set (D =0) andthe program loops back fo ra new cha racter. If the newcharacter is no t the FIGScode, its numeric va lueforms the lower 8-bit ad­dress at which the Baudotc ha rac t e r's equi val entASC II va lue is sto red. Thisva lue is sent to the terminalv ia the conso le dri verroutine SWCHAR for dis­play. The same logic is fo l­lowed for the FI GS codebranch. The FI GS cha rac­ter's numeric va lue is added

to a n o ffset (378) to form thelower 8-bit address for entryinto the conversion table.When a CTRl-D is keyed,the ClP program sets D=O,forcing the receive programinto the l TRS mode.

RTTY Transmit ProgramThe t ra ns mit p rog ra m

consists o f t hree separaterout ines: transm it, CQ, andMorse ID. The transmit rou­tine togethe r with the CI Pa nd console d rive r pro­gra ms genera te Ba udo tcode from the terminal. Aflowcha rt fo r the tran smitroutine is shown in Fig. 5..The program begins byzeroing the sc ratc hpad andthen turning on the trans­mitter. Both the LTRS/FI GSregister (D) and the co lumncount register (E) are zeroedbefore the scratc hpad istested .. The scratchpad istested for either a branc h tothe Morse ID routine or theCQ ro utine. If bo th tests are

109 ~

Page 5: RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with the H8 - a Heath-basedRTTY ... during receive mode E5C KEY -Go to receive ... three

_.

•,

•,

COl • 8FUlOl

01 - "'5C: II

ClEl A50C II 0-.

lil'UoO' Lt.. , UJlE.

~"LETlE"'; C(I[>ESf: r [>-11

01 1_,~

;;1.~

'"~,;:g,~

,~

;:::0~

~

,~

~

~,~­m,~

"

,,~,..,­~,

~,~

~, .,­~

-,~C_1Ell F_ T-.E

170 -.«:IT t-.t (W'1'SI£ lC.A ~. ~. LOW•. 43Ci 1'£". "llC>. Ill'"e.c.~.,•

"~'"~,~­~'"~~

• LOOO -..... ""'-'L(IToovt "'.1

~...,~

~,~

~~,

• . "'I.~CJt SUllO<OiJT lI4E - " RI ..TS LF .,"';' (.II S ... . FIS<f-LFU ~)I '".20 LF - 8AI..OOl

CI'ILL t s.E..:>""I ". Il>;lC....L 0101( _""I "_l~

CALL 000-"'-'I " , 1110>CJ'U. . ;£Ie>""1 "·19'<CJ'Ll. oSEOC>"'-' I <l,l70

~ .­~,

• .:;E~ ~T1"'1: - ~ e-:ttR TO 0J1',.......• l>EN "'115 FOJI~'_ ..- ••oSEfC> CU' 1_ SE~ (_fl. '0 1'(0)1LOCFI III ,e,a

.... , IIIJl LOCF .~.

• _1(;5 SLellOUll>.E - SE.I~ -.u;l. FICo COlo£_ lC6 PuS>< ..,... Sf" lIE ..

"'" A l'lQ FICo; ~... '"""1 (0.10 ;,[T l-'""-L ' $E' €>~ ~~,

• Jf>UI05 Sl.iEIIOClJTI"E sn<lh."t.-l~ <'\lSI< P'....

""'I ",,:;:01" JI !"OOC..... L ' ;.E''''~ ~~,

• ,.,.,TP 1-.(­ee~

~

'000000~

0000~,.,.00~

00,.,.00,.

"";" ...... :, ;" "": [)ol.0-<".;:4: ':464•••44 ~,,, '00...... : .... :';: ::-0 oc.[)ol;".::"I1 :;I~ ~:" OC...... ;: • ::"Iol ~. ;::-OG4.ll4 •• ""- ,-,"";:...... , 0 '00........... ~- -~ OC,"".. ""~ ~, ~ ~~ ....... 0 •• :-0 ~ e:;-[)o.I;" ••~2 ll~

[)4;: ••~~ - oc,[)o.I;:. ;":"'5 81~

ll4;:.;:~" ~I~ ~, OC....... :01 .~IN;;. :,0. ~,

('4 •• :,0, ,IIMO.~ O~" 00'04c. Wo6 '" '" M '04;: . ,11 .n ~,;;

ll4 ;:. ,n m ", M Oll42 . ,I'; 'n ll'~00I2.:~ 11 ~ ,., M'64•• :2, 0'';' ...642. :;;:., ~ I OS ~, OC.ll42. :30 e~", 81'"ll42.:U ~I" 34, ....;:8'l 2. :n"l 0:"" eJ~

e-o~.~ ,I~ ~, OC,...~.342 JlI

642.J4J m ,."2.34~ ~, '""2.:lA~ -. ,e-02. ~I m ~, OC .042. ;s.,.. au.,..~. :;-,0 M[)4:O:.~ 87.. e:;,IM2 .~ Ln 00'1M2 . :If..2 m ~, OC.642. :;.,~ ~,

[)4 ;: .~ '"""• • Jo>~ ~,

"";; . 370 .n '"'''';:. In .n-001 2 . 37. l l~ ~, M'G42.177 ~,

ll4l ._ '"M l.'OO004:.1 • ."114:.111 ' 821&4l. "to: ",043.18:; '"041. ,eo -64:;.'," .--":;.IlW> II:;":.187 .. :"&o<l.IIO n,84-:.111 -""':.11;" -e-ol.lll '"e-ol. II. .,":;.11' .~

84:.IIr. .:;~

[)oil. "' ...I14l.l:G 82'"".121 112:;e on . 12. 00'

sPACE - A50C II

LF - -.c.:Jl,.,n LF

'" - llFU)Ol>G"Ill '"Sf:1 o:t:J...u9< COU4T..IlESTOIlE H

~,-;:EJ!O su>1'ITe->'ICo>G"Ill P«:IOE _

"""" CH >G"ilPSElLl1l:S ClXESET COLi..n'< co..o.T"Illr~l SClOI"Te->'ICo~ 1(1 CU>EGalli 1(0 IIQ.fTINl~~

'" IIOLillNEClEf ~lEOtES( • .E'" ClXE

ooTO "0'"

. ~

.~

~Ol ~~"

~O l "'".... ,4"..~l l"7"'

~ " ~'lA40:1_eoo-­e."18UI'.00.00,­"~~..

~ ~

'" JJOr. ~""-L »'I11OOJ ".ECPI 11001NZ 9I,.1"lECJ'Ll. ~CP

JI"F 0«. Ii£• »'Ill SUBIlOUU"lE - TillS POUTl "lE CONUE"Ts AsC I I• ~F'I(lE"S FIIOH .EOlM II ..... TO llFU)OT TN[N SENOS• 'HEM 'O l HE EX1E "NAL UAl<T VI " PO'" 100.><I< IT FVS>< H $I'fJ£ Il

CALL ' 00::- £0<0 C>!FO'< . TO TE""".CPI ,~ '" - AsCII~ ~

"'-' I 0'1.1110CALL t~

""1 E.IIO~ .~,

~ ,

~

M~

~~,

o-r -»c nSl"'-'I A."'"~ .-,. 0 11_

• lEST H" U:llEO"S ~ FlGUJlE5 CODElEiT OOJ H,A 5f\IA: ASCII ~.

"OV A 0 ClEl 0[P I "'" lEST 0

.~- .W

.~, .W

.~ .w~" .W~", .W-51 ..1 M".

Morr

-,~ ~,•.,~,~ ~

~,

rz~,

"

• THIS ikCU>,"o ClE_Tl:S -.un OftIlACTE1l'S FOIl• '_ISSICH T.-u .... El<'ERtft.. ..-, .....-3-'81.,.• 0 o. ° £! _. l8ill'llI IS USED ... THIS _. o.• 1'>€ WlI.(lQT 0ftIlACn-5 Lnrs ~ FIGS ""'"• ClE_1'EO lilY~ " ..... >€£OU>.• """ER r: SI¥lC£S, L"~ FUt>-TloCl U¥l:J;: 1~ IlE T\I>t<S-• ~ LU,S CU>E __ ClE>£RIllEI>.• lN[ to-lS£LIi Ul I(JE~ 5 ;:el o-f'lC1EI< r.K-<'HE:"l>• _FUI 15 USEt-.• .... L I ... -.E ~lElOS _ Ec.I<IEt> TO .E.... , '....• lIS l t<lILJE" I/CIJll"lE.• E:>c >..['1 U'OJSES A SF..':;; TO TN[ lIEU l lJEl< IlClJll"lE .

• ItTlV~• .... 1,.(W15 A. T>t;M>SOh• _ c-.. 1SLE• ~T IN. 'rE>(f'6

• _. ". 1'l7"J

RTTY transmit program listing.

9000. I~~\loI0.1~~9000.1~7

&0'.'';'79001. ''53&o~.IOO

900:.100 87';' _&4:.182 "' - oc.&4:. ""

~, 00'&4:.'87 ::";J ",00I~.11l L~ -";:.113 ~-" ;:.11':1 e7~

_.. ;:

";:.Il" ~, 00'";:.In JI ;: - oc,9oO;:.1~ 37,;. OOJ";:.':7 3';: '00 -0-0;:.1:;: '" 'M -";:.I~ l7';' IU:";:.n:" :1:0: '" oc,..~. ,~;: '" '" OC,&0:0:. , ~" 17:;&0:0:. '06 :;7';' '"&o:o:.,-,e ~, '" OC,&0a. 1"3 J I" - OC,&0•• 1% ~, '" OC,

042 .' 6 1 ~,

IM2 . 16 2 '" ," OC,042.16" ~, '"" 2 . ,"7 ~, '" oc,9002 . I n ." ...&4;:.17 ~ JI" ...:; oc,&0z, 17'7 ~ -";:.;:ell ~,

"'" •• ;:el2 :"" •• ;:el~ 370> 81.&o2.~ ::0;: .17 oc,0-0;: •• '8 8'6 00'0-0 ••• '. : ," ...: oc.&4•• ;:1' ~,

804_ •• 16 ;IIO-O •• ;:P· ::".. ~0-0;:.;:;:' = ;:... oc..... ;:.;:.~ r... _(1000 z, ;:;:,;. : I~ ':'I: oc,"," •• ;::1 :,0:; ~, oc,~ ~ 14:"~ ss P;:~ ~ l7" eee

( ,".~"", J the mai n prog ram for a n­other c ha racter. The I F testsimply return s to the mamprogram for another c ha r­a cter. The space testbranches within the subrou­tine to a point where theco lu m n co u nt is inc re­mented, and a return to thema in program is executed.

If a ll three tests a re in­va lid. XM IT the n tests theLTRS/FI GS reg ister. If thep rogra m is in the LTRSmode , the new c ha racter iscompared to 1008. Apositive result means thenew c haracter is a n ASCI ILTR and its Baudot equiva­lent is transmitted . If thecompa rison is negative, thenew c haracter is a FIG. andthe Baudot FIGS shiftc ha racte r (338) mu st betran smitte d b e fo re thec haracte r. After the Baudo tc ha rac te r is tr ansmitted ,

invalid , t he progra m getsthe next character fro m thetermin al usmg a consoled rive r r o u t in e ca lledSRCHAR. If the ASCI I c ha r­acter is not the ESC keycode, then the programcall s the subro utine XMIT;otherwise, it branches to therece ive r program, A flow­c ha rt of the XMIT subrou­tine is shown in Fig. 6. Afterbeing ca lled, this subrou­tin e immediately echoesthe c ha rac ter back to thete rm inal fo r d isplay usi ngthe console d river subrou­tine SWCH AR. XM IT thencompares the ASCII c har­acter with the character forcarriage re turn (CR), linefeed (IF), or space. If a ny ofthese tests is val id, the validc ha racter is converted toBau do t and transm itted .The CR test sets the col umncount to zero and returns to

0' "... )

( • • r~•• )

1n .

( ."v.' )

I t...... h'-' I

I cOO. -".. ..uOO. II "'..&<OJ ••

Fig. 6. Transmit subroutine.

r- - - - - -'''-(......-;:..........>"..'---- ----,<OO( .-,/

~ 110 73 Magazine. August, 1980

Page 6: RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with the H8 - a Heath-basedRTTY ... during receive mode E5C KEY -Go to receive ... three

--,

,~.

OOTO TRf'to6I'1U R(lJTlloE_.TUIlH ON >O'IT"SEIoO Cf< TO POIlTIIECOUER L'l

"'-"'"' IFF >0'1"'5£1<> IFF t o POIlTOOT 1.E0GT>< sPA:E

SHIFT L.£FTIS L'lCC. El9"TV'>--,

CCH.JERSICf<2 e 7.., ~.. 81 4, ­·-r -·-·­,~"., ~· ~

,- e,- r~

~,- "~ ,- ,- ,- .~ .~,- ".. ,.~ ,- ,.- ,

• THIS IOOVTlHE SEtOS TloE "READEJI Cf< " 011 "1llE1'[)f. llFF"•~ IoOPDS TI' _ T '81 TO o:EV TloE >O'IT. __• COOE 1000.... I FICllTiCf<.• THE uo>< NQ..I> OH THE sse f-.o5I"IlTlEJl St«.U..O •• "'ll1USTED so ..-T IT OOE:S H;lT 0Ii0P can DUOI OG THE• lOJl'O SJ'ACI: 1.....£liUll. .• CT~"" .... ILE ,H THE >O'I U ..:u: O'USES ... -.:>t TO• THIS "OJTI... .• THIS IlOUT lloE -.--s TO Tl-lE 1'llI'NSrl1T ..:« \.PO'<• CO'tJ'\.ETlCf<.Do..Y UIU '$3110

~ .-IOJI t>.;:eo1.><1 ~

'OJ ..~ ." ­- -»c ccrIOJI ... . 2llI8O

~ ~­- -- ~IOJI "'.53a~ ~­- -- -,IOJI "' .2GBQ~ ecv,~ "~ .~ ~"SI'1P S T""T

• COO£QEN ~Tl"i: -CCOEGE'" PUSH P5'I

IOJ I "' ./'Qcan l81 0- -Ci\.L Dl..YIOJ I ", .•1'0OUT , 010IOJ I "' , :l3QClLL OLV~,

o _ cow: TO OCT'"

0"""" O:lo>llo fI 2 .0 p 150' C 2'50 0 no• 0 22e • , 2Go E lee S 82e• I' lleG T 38e• 1i::..2ll u_' H e " Ue3e01 _ Wlo>eo J 171;1 >< 236' ~ 268 Y210_ L .Ie 23"' '' :l48 8 31.• N 24G I 114

• T\IO "_" SH:ll.l.O • USE!> TO C£HE1lA1"E "• \oUIO sPO'Cl.• T""~ OF~ l;H'IJ'!ACTEIIlS II<I.<.I>IOG• 5PfI(:£S _T • (NTEIIEt> INTO _. ii ' ,n• ...~.::el I" OCT... .

~,

~ 0073 23 10'~,

3 15 (1053 eee676 ""7323 16 18 16 9533 ''5 053 _

'"

ll26 62e"". 38e 04317..~,

312 2<I<lo 04 3~,

3'· n;o ...:8:"6 20831'5 = ....3~,

383 ~ 60138 :"6 ll"l331'5 255 ...3~,

383 ...........38"" __315953_-,.~

382 20'5 lM3383 100 ..... ;:

,~,.--'"--ese."--ree--~."

843.206"'3.~('<11. 2$2eo<3. :<J";eo<3. 2(loO.0)013. lor.

.....3.2:l:la·n. ....043. 26ll..... 3. 2£26 H.263..... 3.266M 3 . 271t.....3.2726013.27.0)013.217

&o3.38e0<l3.3l!l '0<13. 382601 3 .3830<1 3 . :so..6013.~001 3 . :lO6601 3 .387""3 . 3 16""3. 31'0-03.312""3 . 313000 3 . 31.IM3.31:1""3 .316DoI3.3 '7

M3.~11

641.2 16"':. ;:2$M3.2;-3""'3. 2Z<IM 3. 2r.'{>O3.;:3 .8003. ;:34800:.23'58003.....0

""3 .2<12lW3.2.:l043 . 2<161M3 . 2.76oI3.~2

THE Cl:f'TENTS

•,•,•••,

lI'Elt I Of>-AS(; I I

GET ~.

ECKI TO CO><SO.-EIV.E ~. TO _FE.1'E.IOO-ASC 11

••c••,•",,,,""•••••ru

"•"•z

t_ITS

•,

ce , ~

ce -ce -ce ~

~ .~ ­~ ,.~ -~ ~

re ~

re ~

re 310re ~

re ~

re 310~ ,.DB 1 10

re "~ ,~

ce =~ ­~ .~ ,~

~ ,~

~ =ce -~ ,~

~ -ee -ce ,~

re , ~

~ ~

~ -ee ~

~ -ce '"re ,~

~ -DB 21 0o co I':OUTI~ THI S "OJtu.:o llF ·_ FER'.• CTIlI.--< .... 11..£ IN 1'>€ >O'IIT ..:« 'CTIlI.-~> OlU.S THISo llOUT l HE.o co E><ITS 1"(1~ It> _H ... A'>C1I I'Ell l rn ISo EHC(U<lVl£I> IN 1'>€ ~.• THE CO-lft< ct;LNrE1i IS U$£t> IN THI S llOUTlHE.o _FEll IS PVICEI> !'IT THE oc. IF THE er rv I'IlOGIlfI't

TO"LUJlj ... IU'FEIl L.ENllTH LI " ITED CH..v IlV P"E1"IOIlVS IZE.

0IlG ....1_~ ~~IOJ, E.GQLX I H.8UFFE•'OJ . . ..

~ , -.rz -C>'U. >O'IIT,~ "'OJ ... [CPl lleo~ ~,

~ ~IOJI E.eo- ~,

• L.C*IID~ THIS IIOJT lloE I'E ....US CO'6Ol.E TEIlnI ......• ro LilH>~• •• TH IS IIOJTlloE IS -.......u.y _ SSUO US IOG HLl f"R(e<T

• Pl'lHEI. <LOtO PC T>€H 00>.• ~ !lUF"F'ER TE><T WI T>< ... PP:l rn. '''I S WILL CAUSE• R -.::H TI' THE 1l£Ui1"". IIOJT IHE.

LilH> 0lU. OPRSCL IN ITI ... I ZE I"E"". _T1.><1 " .~.O'LL .r.o-Ci\.L OWC_"'JI) ... L'l

~ , -.rz RCUl ',~ "JtoP GE TCH

_FER os .100. ~ ID• S.... ' 0. ' 9n

,,~ ''52 ""0lI'Il I .... ""4"'5 , • • 0403''5 ,.7 ""0'67

!" »00 1M.~-"" • I '" 6W,~

:n-.312 288 3:I~ 16 2-,m3n lie3lU1 .e6W31........2

~-'lEI, 110 _

:76 0'56:'2 ,'53 "'"..,:<'3 1.6 04 4

m~

.~.,­~...~­~,-,,-,---1'3 '.....,.,...1'-2~­1'.31'1;­02203.

"..~

.~

02;-

'"ecs.~.,.~

'".".~

'"

~H.123

0003 .12<1""' 3 . 1~043.126IM~ . 1 27

""3. ''lEIIM3.'31IM-:•• 32

""3.'~('I." • 1-:.0....... ,.,043.13(,043.13;0lM~.I""en. 1.1CM!.I~:

B43.1.~

B4·.'U04·.,.~

n.o3 ••~.... 3 .• 4;0-!••.,.CM!.'~I

lM3.'''2(N~.,";!

&o3.''!-O""'!. ,"""""'!.'S""'3.1~;O

0·13.. '60.....!. , ...('14-:. '62CM3. '6304,. ,6<1(,.n. '6~M3. '66(I·n. •67CM3.17aCM'. , 7 1

0+4.'000+4.1000+4.un..... '05IM4•• '8fIoW.I'16W.Il:..... 11....... 12'..... '2...... 123_.Il!'..... 13e_.133

""•• I~

""•. '4<l""•• 143""•• , 46(W<I.'~'...... ''!-O0U.'''''''044 .,";7044 . '6204 4. ' 6 !M~ .'0>6

,......"<RA" <" •

•• ou. _.

"U'""

( ,...... )

I ,OAO "~OO' IL' ''. ' ''0I

I <ALL , ..."" I

.....0., ...'no . 1'Tl . ..·U'

. ...1' u ••,...••HJ. . .. '0..... '....,

It"o .'UOO' • I<...,. 0....". ..

II <ALL ,n.o I

I OUL " "0 I

1'0'0 L'.I <00. I

I . 'C' "" 0 I

( •• N ... )

LI>& O L'.'<1'0.

Fig. 7. Utility transmit subroutine.

.I'U , •••'"~

the l TRS/FIGS mode mustbe shifted to FIGS before aretu rn to the m ain prog ramis executed. When the pro­gram is in the FIGS mode.the l TRS code (37s) mustprecede the next l TR to betransmitted . After any print­able cha racte r is transmit­ted . the colum n counter (E)is incremented before aretu rn to the main prog ra mis executed . The util ity sub­ro u t in e s SPFIGS a n dSPlTRS shown in Fig. 7 han­dIe the l TRS/FI GS conve r­sions and SSE ND subro u­ti ne does the actua l char­acter transmitting. If uponreturn to the m ain programthe colum n count is equa lto 72 (width of a standardTTY termi nal). a subro utine

73 Magazine . Augus t, 1980 111 ~

Page 7: RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with the H8 - a Heath-basedRTTY ... during receive mode E5C KEY -Go to receive ... three

( IlU' ) ( O" .T )

I N._.... I'-"0

U .. L 0'-'

'u.' .,,,T. ..... '''l.

,-~T...... ' T.. .

l ' otCOU'u . ,.. . ..00' _ . ... I

J..

y>"'-'"~"" ........~••T

",-'..,-;..I '" I I'" I~"'(lT eto... .· DU" Lun"

~ " I_ _ '0

I CAl.L T......" I

I C.LL ""'CO II OOTO I

T...... "

Fig. 9. Morse ID program.

t . .......,'O"TO"'~O

Ot.",t.,• •

.t. "'t"'.O'u " 0 " I TO

'u .n .... COOl

". ........ TO

TU ....... ) ILOAD ...00

' . tt"t..

.0""'"'£0 00 TO .0«1<,

110.1t. . ..O" .

... .. '••e

OUT"'" . 0..n '''L

,."". ' ......

' ~L '"fl L y • • T

'.t...... T....00. 0'0'0".

Fig. 8. CQ transmit program. Fig. 10. Control interrupt p rogram.

SPLFC R is called. SPLFCR is encountered in the but­transmits line feed, two car- fer, a branch to the Morseriege returns, and the LTRS ID routine is executed.shift character. The two car- After each column count ofriage returns allow mechen- 72. the SPLFCR subroutineleal printers time to return is called . A special, man­to co lumn zero before text ually-executed routine ,starts again. After execut- LOAD BU FF ER (beginninging SPLFCR, the program at 044n40J, is used to ini­branches back to "se t LTRS tially load the buffer. Thiscode" to beg in anot he r routi ne sequentially loadsloop through the program . ASCI I cha racters from the

The CQ routine, whose terminal into memory unti lfl owchart is shown in Fig. 8, a period is sent. The periodfi rst ca lls $PLFCR then sets is sto red and then the pro­the column count to zero . gram branches to the re­ASC II cha racters are then ceive program . The CQ buf­sent seq ue ntia lly to the fer is p laced at the end ofXMIT subrouti ne until a the RTTY program so thatperiod character is en- the length of the buffer iscountered. When a period limited only by the memory

~ 112 73 Magazine· Aug ust, 1980

size (less stack req uire­ments).

The flowchart for theMo rse ID ro ut ine is shownin Fig. 9. This program gen­erates Morse code char­acters by interrupting theaudio output of the RTTYinterface usi ng the "readeron/off" control line of theH8-2 paralle l port. (A com­ple te d iscussion of th isMorse code storage tec h­nique can be found in Ref­erence 4.) Each Morse cha r­ac ter is represented fromleft to right, one bit pe r e le­ment, using 0 for dot and 1for d ash. At the end of thecharacter, a 1 is p laced as astop bit; remaining bits are

filled wit h zeros. A com­plete alphanumeric conver­sian table in octal appearsin the source code listing ofthe Morse 10 program. Aword space is generated byusing two all -zero char­acte rs . The number ofMorse characters must belo aded in 043/201 in octa l.The prog ram sequentiallyloads characte rs fromTAB LE into the accu mu­lator . Each cha racte r isshifted left using ADD Aone place per loo p and thenthe carry bit is tested. If thecarry bit is not set, a dot istransmitted. If the carry bitis set, a dash is transmitted .When only zeros remain in

Page 8: RTTY with the H8 - Nostalgic Kits Central - Information on ... with the H-8-8-80.pdf · RTTY with the H8 - a Heath-basedRTTY ... during receive mode E5C KEY -Go to receive ... three

Partial Parts List- LM565CN phase locked loop - National Semiconductor- LM31 1H- National Semiconductor- AY-3·1 01 5 UART - General Instruments- LM555CN - National Semiconductor- CD4066AE- RCA- SN7473N- Texas Instruments- SN7400N- Texas Instruments- SN74LS365 - Texas Instruments- LM741CN-National Semiconductor-85.5 mH (463 turns of No. 34 enamel wire on 1811P-A400·3B7pot core-pot core from Ferroxcube)

the accu mu lator, a dash­le ngth letter space is gen­erated before the next char­acter is loaded . The subrou­tine COD EGEN uses a sub­rou tine DlY to generate dotand dash lengt h time de­lays. DlY is part of Heath'sH8 fro nt pane l monitorroutine (in ROM) and usesthe interrupt clock togenerate time de lays inm il l iseconds equa l to twicethe v al ue of t he ac­cumula tor.

Once the CQ buffer andthe Morse 10 tab les havebeen loaded, the complete

U1U2U3U4,U5U6U7usU9U10,U11L1,L2

RTTY object program canbe dumped onto a new tapep reserv i ng t he custo mtab les.

Control Interrupt Program

The f low diagram fo r t heCIP is shown in Fig. 10.Heath's H8 console d riverprogram has interrupt pre­cessing for CT Rl A, B, C, 0,0, P, Q, and S. CTRL A, B, C,and 0 are av ailable for userrou t ines. W hen a CTRl Athrough 0 interrupt occurs,an identi fying number isplaced in $CSlCTl (040/252) and then a branch is ex-

ecuted to the user interruptprogram found at the ad­d ress la beled $C IS. Theeight least significant b itsof the address of the in ter­r u pt pr o gr am (0008)are placed in $( 15 (040/250).and the ei ght m ost sign ifi ­cant b its (0448) are placedin $C IS+1 (040/251). The in­terrupt program tests the lo­cat ion $CSlCTl to deter­mine whi ch o f t he f ou rCT Rl interrup t s has oc­cu rred. A fter either sett ingthe l TRS code (CTRl-D) ormoving one of the threenum bers to a sc ratc hpad,

$CSlCTl is zeroed and a re­turn exec u ted.

Testing

The co mplete RTTY in­terface may be tested bytape record ing the m icro­phone o utput o f the inter­face o n an audio cassetterecorder and t hen playingthat signa l back through t hein terface receiver. Perfectcopy should resul t if every­thi ng is correct. The po lari­ty o f the system m ay beve r i f ied b y th e cor rectreception of amateur RTTYsig na ls (usual ly found near14.1 MHz ) in t he USBmode. •

References1. RTTY Handbook. , 73, Inc.,Peterborough NH 03458, 1978, p.17.2. Ibid, pp. 65-66.3. Robert Furtaw, ed., "Using theH8 Console Driver," Remark., No.2, Heath User's Group, St.Joseph MO 49085, pp. 16-17.4. L. Krakauer, "Eff icient Stor­age of Morse Character Code,"Byte 14, pp. 36·38, 1976.

Address _

City State__.Zip _

308B6

o 12 Issun for S2!i.OO

0 2 4 Issues for $3 8.00

0 3 6 issun fo, S!i3.00a AE 0 Bill m e

o Renewal

_ _ _ _ _ _ _ _ ___Interbank. # _

_ Exp. date

Canadian: 527, one year only, (J.S. fund5 . O ther fo re ig n:535. one yea r only, (J.S. fund5. Please a llow 6·8 weeks lordell,ery.

MICROCOMPUTING. POB 997. Farmin dale NY 11737

Card#

Signa ture

Name

AddressCity State __Zip

-s-tor even faster ordering service call toll free (800) 258,5473

.... recent 5u"ey .howed that 20% of the 73 sub.cribe rs a lso readKilo ba ud MICRO COMP(JTING magezine ... snd en;oy It . Thls is the be5t wayto lea ,n and ke e p up with the rapid ly developing world o f microcomputers.There's nothing to be slraid o f, you just ha ve to rea d en interestingmagazi ne a nd you'll learn, Try a subsc rip tion to Kilobaud MIC RCOMP(JTINGand 5ee for yourself.

o New subscription

o Payme nt e n c lo se d S__""..,,,-;;;;;-::o VISA 0 Me

"'86

D 12lss"",s lor SIB

C12 4 Issues for 130

0 3 6 lssues lor . 45

eJRencwe l

L ....E C Blil me

' TRS- BO I. a trademark of Ta nd y Corporation.

Card # _

Interbank # Exp. date _

Signature _

Name _

Arise and subscribe to 80 MICROCOMPUTING, thenewest and fastest growing microcomputermagazine, Thisis full of news about programs, accessories and theory onthe world 's largest selling computer, the TRS·80* .Definitely beginner level and includes lots of programlistings. Find out what all the fuss is about,

C New ,ubK riptk>nL Psymcnt endo'~ $_ _ ,-- = :-__L VIS.... c xc

Please allow 6 to B week. lor dell, ery

-~r; '"I Canadian: 1 yr. onlylS20 in (J.S. FundsLOl microcomputing Fo<e ig n: 1 yr. onlyl528 In (J.S. Fund.

• P.D.B. 981 • Farmingdale N.Y. 11 737

73 Magazine. August, 1980 113 ~