Digital PDFs
Documents
Guest
Register
Log In
DIGITAL-7-11-IO
April 1964
7 pages
Original
0.4MB
view
download
Document:
TICTOC
Order Number:
DIGITAL-7-11-IO
Revision:
Pages:
7
Original Filename:
http://bitsavers.org/pdf/dec/pdp7/DIGITAL-7-11-IO_TICTOC_Apr64.pdf
OCR Text
Tlctoc DATE! SPECS' ABSTRACT: Teletypet in;~l!t","·tJ;"ntput cO~:~1/.~loi1 package tor tbl! PDP-4. j.'t; Con'n~r-"G lnput t,C) 'cH)no1ae code and packs ttl1"'ee tt) (j. "'tJ.:Oro~ Conv'tr-ts pack~d concise eooe taxt to teJ.~'tY'.pf; an" ';;,yp~~~ 1. t Ot.\t 4'1 Rout1n~s may D1g1 tal-J+,..34-u . P~e DESCRIPTION: is a eomplet;$ 1"..0 conversion package. No external routines ~'e rsquired. There are four main subroutines 1il ~rx~roc which perform the fol'rICfl'QC lowing serV1C!6st tic converts a string 0,(, typed-in charaoters ~o concise oode an.d packs them thl"ee to a word :In the part of memory dl'i:signated by ttte user. onet1c will eonvert one typed character to concise coda and present i.t to the user 11 s program.~ METHOD: toe will type cut So string of text packed in the 8 &me format used by tic ~ , cotoc Will convert and type out one chal~ac tar presented t,o 1~ in concise code. - TICTOG userJ a ta.bl~= lO('1kup for conv61 s1ol"'i 111 both 1O directions ~~ and .!l~ft shifts are kept track of internally and ,do not; generate codes for th~ us~n:l(t 'wh~)n text is typed in or out, case shifting is done :tnternally !3.:'1d on input 1s automatically provided ~'here n~ceb Jary Tabula.tions are also perfo:rrned ccrr.reG t~ly " 0 'i' RESTRICTIONS~, The FIO-DEC and t.peletype character sats atte far from compatible ~Iherl special characters are required. HO'WE':'Is'r, ,all. thi'jsecharacters neede'(j for the Assembler or tor F<:>rtran have been provided flqu~.valf~nts on t;he Telety'pe [l,et.'f as shown in the l;8.o1e ¢ 2 nig1tal-4-~U P.... 3 FIO~DEC = !!tetD! letters letters numbers • .u / / ( ( ) ) + ~. .. (underbar) V 1\ (overbar) x (multiply) t USAGE: 1. Input onette (minus) D181 tal-4-Z~4-U . pag:f; 1.4, When a }cey has tHit8n struck.. on~t1c will convert the oharacter to concise ocd.~ex1t with thla code in the AC. It the resulting character is upper case in the FlO-DEC aat, ~hen AC o will be set to 1. By tta naturel onet1c does not 1n~. t1al1ze the shirt tlaga If.nUl Rlt~·T8 recommended that one use the subroutine reset before usins ,2!let1c tor the first time. ThlS'-lo- easy enough, mere'!y 8~ reset • • onet1c and the Job '.r111 'be don~. Re8~t returns the car- and sets all flags and riage, gives a line ree<l~ the tab count. toO zero. One-tie keeps track or the tabulator count, and 1rtnetab key 16 stl'!uc}k.1' the program will space out to the l1ext,; tab stop. To lnpu,t e.. string of oharacters and pack them into meluory§ the subroutine tic is required" The calling sequence is la~1 ._r~ stop ohar tic aae butter where ~t9~ char .1s the c~nc1Be code 01.· a term1- nat1ngf!mtr1."tUI.. When ~,fh1s c.haracter 1s typed" tic packs 1 t S,\1a.y with the rea t of the text ancl stops l:tstening. a'urfer is tlS addrStss of the first l()catton of "r'tr.nrl!k of ~)t·;~rl:lge into wh:1.ch the 1rlcoming t~ext is '·1;0 be pa(;',ked Chlu"ac ters are packed. "three to a \A/ol'ld.. 1:he first, f;ecclnd arid thi!'d charar.;tars :In order of" arr1 val are packed tnto the le~rt I m!tddle s.:nd 1che 4 right sections' of the word, respect1velyo When the terminat.1.ng charanter 18 e'ncoux1tered,l 'C is packed a.way and t:he \\i'oro 18 filled out wl.th the specl,g.l cod~13" If} t;he last; word 1s comr;lete in ltaelf 1 an extra. ~lor'd conta.inlng 1)oth1n.g but :L3 • s 1 a a~dded to the text The norrnal return fr(")m J,~!ft" 1.s to the ins truct10n following the II dac tlufl~Y, wi tl1 the quanto tity "dac buffer+n+1 n in the AC where n is the number of ~~ used in packing the text into storage. Two k~y~ h~}IIt'l ept1C i~,l meaning f~t)r tic ~ ~.~ !",lne f eed te&"U{il$!::\ t-.:te t() tgnerrlt ':!ffbJ~,:,t ha$ been t,yped M(i ~tart ov'ell a.garn~ LF tlf:!'~ct1vely ~raaes the ~lnrOl~Attt;)l~i 1n thetru.ffar d! i\ e~"'7'1~~ge return 1!J pl"ov1d&J by 4 the a\~brout1nts" Onetlc ol:.!cup1oEl eljOS" It)catJons ~'t. 1IMIII~lW'lHIt With ,~J..£# the pr(~gram oc~uples 3178 locat1onB. To ~ype out a s-iflgle t~hf.lt~a.ct~~r.l' the 0al11ng St~quen ce ~,.s ls:v: char (;otoc wh,ere char is 'the c()n(~!se. \~cd,e of' th~ character t;) be 'tyPia, It; 1,:3 a good idea here also to call reset before the first qae of cotoc, since the ~r prc~gram makes no as~:,tul'lt~;roil""i about the ~ltate of 'the k&ybo?:trd or thf;: ce.JjS of the incoming lett;ers The case shift codes are treated by setting th~ casefla.g in c()toe a;:;cc)rd1rtgly.. No character i:J typed. out ~ /'1. ''t~~j3T!'(':;'ount :ts kept, and th~:: code ,..l. r""'o''''~ . 4· ~',;h tIt.".,,;,.; (3.;:")\ .?.} ",·.li1"1 \Ill \~.... .. ""~ ...... th<f· tf~1.. .;:1,U,1o.)l,;; • ,\;~ telep~"!J.",,:,l.J...,,~ ,.,,\.it,-ar ,to v I '. ppel'~,~ ~'Q'-_ ,_ to the next t~h stop~ A carrit=ige rE;ttrrn t~tll caUFH'~ both en B.nd LF to be typed .. stop eode #0 D1g1 tal-4-3 At-U 1)8.81& 6 Tt.'t type out a string of' text' psu3ked aocordingly to the format deacr1bedfor tic, the calling sequence -,- 1$ . law butter -1 toe ~~er. "butrerff is the address of the first word of t~18 block ot storage containing the texto The last c~aracter 1n the string must be a Itop code. - to~~. Here again r8S6t 11 not needed separately as does its owrl""Tiin1a11z1ngo Using eotoc as a 8ub•• -.,..1 rou~1ne, toe w111 print the content8 of the butfer unt~.l it encounters the stop code, at whi.ch point it will.. return to the main program with 13 in the AC. .~ It either toe or catoe encounters a code f9r wh11'Jh no tsletytS'requ1'VKllht haa been assigned (see table), a If?" w111 be typed in its place. The output subroutine oacup1fls 3128 locat1onsft 3. Useful subroutines. TICTOC oontains some small subroutines which m~ be or use. The name of the subroutine and 1ts'call ure 1dentioal. ca..rr This types a CR ~"1d a LF and sets the tab typit This wtll type out the character glven by cO'W1l;er to zero '" the code in the lo~r"... order f1 va bits of the AC. tab1t This spaces the ca.j~riage to the nex.t tab stop", Use 01' this subroutIne requires the u.ser to keep a c.ount of spaces in the storage 1(;lcat1on II t.{\bc U Thls count is kept aut,omat1cal1y :tll TICil"tQC ~ It D1g1 toll,~'34-U 'age 1:" ASSP.MBLY PROOElOOltII TIC~roc <H'n818t~ &88.,,1'018d in a~1Y . ot three AS 'tap~')8. order. They &!lay be fi SU'brout ines ~c. n contains ttl. tl1.1brout1nes, constants and 'V'4r1able!l 8aaential 1.~O a.ll of tne TICTOO programJ. It muat be Inclu1ied when using 'J..nY one of thei'.!. ft "t.nput" ~~onta1n. the two lubr<)1.1tinel,. onet1c a?~ Whel'l UI1fJg tne ;rOl1'tffl!';-on.lY tic!i in ,hat orcler. tne f1r1Jt part of' the tape nl(td ~. &SI!Jf!\bledc Th.e two prv,jgrams are separated by a start J to ansemble tic treat the two Paltta or the ta.pe &J two I 8epar~~te programs til
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies