Digital PDFs
Documents
Guest
Register
Log In
DIGITAL-8-35-S
December 1965
20 pages
Original
1.2MB
view
download
Document:
digital-8-35-s-d1
Order Number:
DIGITAL-8-35-S
Revision:
Pages:
20
Original Filename:
https://svn.so-much-stuff.com/svn/trunk/pdp8/src/dec/digital-8-35-s/digital-8-35-s-d2.pdf
OCR Text
IDENTIFICATION I .I Digital-8-35—S-LB I .2 680 8-8” Character Assembly Subroutines I .3 November 8, I965 pop-fl LIBRARY Digital-8—35-S—B Page l 2 ABS TRACT . The 680 Data Communication System 8-Bit Character Assembly Subroutines concentrate Teletype data by assembling serial-bit data into 8-bit characters and present the user with data similar to that obtained by using a 630 DCS and scanner. They also add start and stop bits to 8-bit characters and transmit them in serial-bit fashion. Full duplex lines are assumed, but the subroutines will work with half duplex if the user handles the expected echo. 3. REQUIREMENTS 3 l Storage . The subroutines as presently coded occupy 400 octal locations plus space for internal bufferthe of input and output characters and for the TTI instructions. In addition, space is used in memory ing page 0 and a limited number of autoindex registers are used as explained below. Within the limits described, the program can be placed anywhere in the first 4K of PDP-8 memory. The total amount of mem- ory used including the autoindex registers and the locations in page 0 is as follows: 4228 + 7n where n is the number of Teletype lines to the next even multiple of eight lines if’the number of lines is not already an even multiple of eight. Subprograms and/or Subroutines 3.2 Digital-8-35-S-A 680 5-Bit Character Assembly Subroutines for reference or in the event the user's re CT uirements include a mixture of 5-bit and 8-bit lines. 3.3 Equipment Minimum configuration PDP-8 680 Data Communication System hardware Miscellaneous 3.4 3.4.1 can The tag TT8BGN must be defined as the address of the start of the Teletype subroutines. be defined as anywhere in memory, but must be equated to the start of a PDP-8 memory page 3.4.2 3.4.3 Teletype Three autoindex registers called T8AXl , It . T8AX2, and T8AX3 must be defined. The tag TT8PGO must be defined as the start of an area in memory page 0 where the necessary be stored. An area of 178 registers must be reserved. constants can The tag TBOBF must be defined as the start of the area reserved for outputting the Teletype 3.4.4 characters. It must be equal in length to the number of lines (even multiple of 8) attached to the particular set of subroutines. It can be anywhere in memory and need not start at the beginning of a memory page . The tag T8OBF2 must be defined as an area equal in length to TBOBF. 3.4.5 buffering the output characters to allow maximum output rate It is used for double— . 3.4.6 numbers. The tag T8lBF must be defined as the area for storing incoming Teletype characters and line It must be equal in length to twice the number of lines attached to the particular set of subroutines. Digital-8-35-S-B Page 2 The tag T8lN must be defined as the start of the area used by the subroutines for generating 3.4.7 the appropriate number of TTI instructions. plus one register. It must be equal in length to three times the number of lines Here again it need not be defined as the start of a memory page. 3.4.8 The tag TTCHAR must be defined as a single register in page 0. 3 .4.9 ln-the interrupt service routine the following set or sets of instructions must appear: /SKlP ON CLOCK FLAG /TEST FOR NEXT INTERRUPT CAUSE /JUMP TO APPROPRIATE CLOCK INTERRUPT /ROUTlNE T8S KP SKP JMP T8DlS handling, the checks for clock interrupts should be the first interrupt service interrogation loop; the link bit and accumulator contents should not be saved prior to interrogation of the appropriate clock flag. If necessary for other interrupts, the link and accumulator contents should be saved only after all clock interrupts have been checked. Because of the speed necessary for Teletype ones in the Clock lOT's 3.4.l0 The lOT's to test the clock for the l state, turn the clock on, and turn the clock off must be given the correct octal definitions: Mnemonic Clock l Clock 2 Clock 3 Clock 4 T88 K P 642i 643l 644i 645 l TT8ON 6424 6434 6444 6454 TT8OFF 6422 6432 6442 6452 4. USAGE 4.2 Calling Sequence The pseudo command T8lNlT must be executed before the instruction TTBON and also before either of the other pseudo commands T8SOF or T8SlR is executed. (See Section 4.4.l, 4.4.2 and 4.4.3 for definitions of the pseudo commands.) Switch Settings 4.3 None Start up and/or Entry 4.4 Three pseudo commands for using this set of subroutines are provided to the main program. They are defined as jumps to subroutines and their definitions and instructions are included in the package. commands necessary in the main program for gathering and outputting the Teletype These are the only characters. ters The user should note that no subroutines are included for packing or unpacking of the charac- by word or even line number. 4.4.l Teletype Initialize (T8lNlT) This command (which must be used only once in the main program) assumes that the user enters with the number of lines in the accumulator and that the register following the initialize command Digital-8-35-S—B Page 3 contains the first line number for this type of Teletype line. This subroutine initializes all of the buffer areas, counters, and pointers, and generates the proper number of TTI instructions. 4.4.2 Skip if Output Free (T8SOF) This instruction skips the next register in memory and transmits the character contained in register TTCHAR if the indicated output line is free. If the output line is not free, the instruction does The instruction requires that the line number over which the character is to be transmitted be The pseudo command takes 24 psec minimum time, and 42 psec maximum time. The accumulator will be cleared when exiting from the command. not skip. in the accumulator at the time the instruction is issued. 4.4.3 Skip if Input Ready (TBSIR) This instruction skips the next location in memory and returns with the line number in the accumulator and the character placed at TTCHAR if an input character is available. If no character is available, the instruction does not skip and the accumulator is -I Only the low order eight bits of the character at TTCHAR should be used, as additional bits representing the stop codes are also present in the . character. If no character is available, l5 psec are used by the pseudo instructions; if a character is available, 37.5 psec are used; and if the end of the storage area is reached, a maximum of 48 psec is used by the instruction. 4.4.4 Skip if Either Input is Ready (TBSIE) This command is used when more than one type of Teletype line is being used. As presently coded, it assumes that two are being used, that one is an 8-bit line, and one is a 5-bit line. It skips if character is available from either of the two types of lines being used and presents the user with the line number in the accumulator and the character in location TTCHAR. If no character is available, 37.5 psec are used; if a character is available, 60 psec are used; if the end of a buffer area is found, a maximum of 70.5 psec is used. As stated, the command assumes that two types of lines are being used. However, if a single type of line at two different speeds is used, the instructions, which occupy approximately 10 locations, can easily be changed to reference the correct set of subroutines. a NOTE: user can Since the pseudo operation references the pseudo-operation T5SlR, the expect an assembly error if the 8-bit subroutines are not assembled with the 5-bit subroutines. However, assuming that the user's requirements include only 8-bit lines and that the operation TSSIE would not be used, the error may either be ignored or the coding for TBSIE be deleted from the ASCII tape. 5. RESTRICTIONS 5 .I Status Active Registers The autoindex registers defined as T8AXI , T8AX2, and T8AX3 must not be disturbed after the pseudo operation T8INlT. 6. DESCRIPTION 6 I Discussion . These subroutines are designed to accumulate 8-bit Teletype characters to and from multiple They handle input data in serial-bit format and present the user Teletype lines connected to a POP—8. Di gitaI-8-35-S-B Page 4 The user presents the routines with line identification and charwith character and line identification acter format data, and the routines transmit the information in serial-bit format. . Most of the PDP-8 memory is available for data buffering and for packing. A large proportion of the time however is used in buffering the Teletype lines themselves. Assuming even minor data handling is necessary before transmission (possibly to a larger computer), present estimates indicate the cannot handlel28 8-bit linesat llObaud. Exact timing information is shown in Section 9. The user should note that the programming described involves the handling of the Teletype lines only and does not user lines, or messages. The main program communicates with the Teletype subroutines via a group of pseudo commands which are described fully in Section 4.4 with include any packing or unpacking of words, examples of their usage in Section 6.2. If the user's requirements include a mixture of 8-bit and 5-bit lines, it is necessary that the 5-bit Character Assembly Subroutines (Digital—8—35-S-A) be included with the user's programs. 6.2 Examples and/or Applications 6.2.I To initialize the subroutines, coding similar to the following should appear in the user's program: TAD NUMLIN T8INIT SLN ION TTBON /GET NUMBER OF LINES /INITIALIZE SUBROUTINES /STARTING LINE NUMBER ,l/ENABLE INTERRUPTS /TURN ON CLOCK Following these lines of coding it is necessary that the user wait 8 clock interrupts before using the pseudo-instruction TBSOF. Otherwise, the first NOTE: character transmitted will be erroneous. 6.2 .2 To output a character, coding similar to the following should appear: TAD CHARAC DCA TTCHAR TAD LINE NO /OUTPUT, SKIP IF FREE TBSOF JMP OUTNA CONTINUE 6.2.3 /GET OUTPUT CHARACTER ,I’FOR OUTPUT SUBROUTINE /GET LINE NUMBER /OUTPUT NOT FREE /CHARACTER ACCEPTED, CONTINUE To test for an input character available, /CHECK FOR INPUT T8S|R JMP .-I DCA SAVLIN TAD TTCHAR AND THREE7 7. METHODS 7.I Discussion coding similar to the following should appear: /WAIT FOR A CHARACTER /SAVE LINE NUMBER /GET CHARACTER INPUT /377, CLEAR STOP BIT Digital-8-35-S-B Page 5 Input Character Assembly 7.1 .I The 8-bit Character Assembly Interrupt Subroutine executes a TTI instruction for each line selected every clock interrupt. The program then scans one eighth of the character assembly words to see input character has been assembled for any of the lines. If a fully assembled character is found, the program stores the character and line number in the input buffer, zeros the TTI status word, and sets if a full the TTI character assembly word to 2000. to a I Note that bit I of the character assembly word is initially set and the rest of the character assembly word is zeros. As the character is assembled, the character assembly word is shifted one bit position to the right for the start bit and each data bit. can be set to a l by a RTR, the character is fully assembled. 7.l .2 When the link Output Character Handling Initially, the pseudo operation T8SOF adds start and stop bits to the output characters and Eventually, the interrupt subroutine transfers the characters from the second output buffer to the first output buffer (T8OBF) One eighth of the lines are scanned for output every clock interrupt. That is, for any one line one bit may be output every eight clock interplaces them in the second output buffer (TBOBFZ) . . The first output buffer location for a line is tested for zero or non-zero. If it is non-zero the program outputs one bit of that location and stores the remaining information back in the first output buffer. rupts. If the TSOBF location is zero, the second output buffer is tested for zero or non-zero. The second buffer location in the zero state indicates no new output. bit, 8 If the location is non-zero, the program outputs one stores the remaining bits in the first output buffer, and zeros the second output buffer. . 8 .I FORMAT Input Data (TBSIR) If the pseudo operation T8SIR skips, the input data is the following format: 8.I .I Accumulator contains line number. 8.I .2 The lower eight bits of the register TTCHAR contain the input character. 8 .3 Output Data (T8SOF) The user presents the pseudo operation T8SOF with output characters in the following format: 8 .3.I The lower eight bits of register TTCHAR contain the output character. 8 .3.2 The accumulator contains the number of’the line on which the character is to be output. 9. EXECUTION TIME 9.I Minimum 9.2 Maximum 9.3 Average The table below indicates the percentages of machine time used for IIO baud 8-bit systems Any additional features which maybe required for the Teletype and is as accurate asis presently possible. handling would add appreciably to the times shown: TIMING TABLE Digita l-8-35-S-B Page 6 Numbers indicate the percentage of available machine time used in the average case 9.4 No. of Lines 8-Bit llO Baud 32 34.] 0/0 64 57.7 % 96 8l .3 % l28 l04.9 % . Timing Equations Where n 8.38n+ll9.5 psec. = the number of lines, the 8—bit subroutines require an average time of Clock flags (at 110 baud) occur every ll35 usec. 10. PROGRAM l0.3 List of Items and Pseudo Commands 10.3.1 List of Items /BEGINNING OF SUBROUTINE. MUST BE /EOUATED TO START OF A PAGE. (AREA /INCLUDES Two PAGES). /AUTOINDEX REGISTER. /AUTO|NDEX REGISTER. /AUTO|NDEX REGISTER. /START OF CONSTANT AREA IN PAGE 0. /(LENGTH 178 REGISTERS.) /START OF OUTPUT BUFFER. (LENGTH n.) /START OF SECOND OUTPUT BUFFER. /(LENGTH n.) /START OF INPUT BUFFER. (LENGTH 2n.) /START OF TTI AREA. (LENGTH 3n+l .) /CHARACTER AREA PAGE 0. (SINGLE REGISTER.) TTBBGN T8AX l T8AX2 T8AX 3 TT8P GO TBOBF = T808 F2 = T8lBF = T8IN = TTCHAR l0.3.2 List of Pseudo Command Times (users) Command Minimum Average Maximum T8lNlT Initialize TBSOF Skip if output Free 24 T8S|R Skip if input ready 15 37.5 48 T8SIE Skip if either input ready 37.5 60.0 70.5 - - 42 Digital-8-35-S-B Paga7 10.4 Program Listing CAPRFT PLPFLG @264 )UTR M446 0121 2ETCOD M135 SODES WEIAY @126 {POINR M112 @641 ?UPTST rNnCOD @137 :EVEN MMM6 M651 TIVF 1fl52 §KIPS M052 INPTS @073 <CCLT1 64%2 {PACF STIOOP M225 <CCLT2 {CCLTS <CCLT4 (COLTS M134 6422 SWITCH M6MM 6442 3NIOOP ENnUTR M616 6462 6112 INSKIP M631 M636 (Now M941 'CFLTl 6412 <RRLT1 <RPLT2 <RRLT3 <RRLT4 (RPLTS <RSLT1 <RSLT2 <RSLT3 (RSLT4 <RSLT5 (SFLTl <SFLT2 <SFLT3 <SFLT4 (SFLTS 6406 'CFLT2 ‘CFLTS 'CFLT4 6432 6426 6446 6466 6116 64fl4 6424 6444 6464 6114 64fl1 6421 6441 6461 6111 <1? M107 ‘15 M110 <6 M111 <64 0652 6452 6472 'CFLTS 'LSLTl 6122 'L9LT2 ’LSLTS ’LSLT4 6436 'LSLTS 'PCLTl 'PCLT2 'PFLT3 'PCLT4 'PCLTE 'SFLTl 'SFLT2 ‘SFLT3 6416 6456 6476 6126 6414 6434 6454 6474 6124 6411 6431 6461 ‘SFLT4 ‘SFLTS 6121 M241 6471 .FCODE @136 :AITI ,NFEED -PnINR 03G6 3H0 MM2M @046 EHOIS MM27 JACT @125 JHORU 1MMM 4ACTV JHnSTR MM46 JDFX @268 “05% JDFXI JRUPT @flSl 0253 )UTALL 02@@ 1UTCDS )UTIN )UTPTS @323 04fifl 0065 JHNAIT 1M22 JRUCGD 1M51 JRULOP 1MM4 8'5'98-8-ID4!5!G 960d 8 1168/ EdAl/ HHW/ OBLQVHVHU AWBNHSSV SiNIlflOdBflS 3dA13131 3NIW dBXBWdIlWflN 8 118 ‘99-8‘L b89 wwwizNUBSLl 961=w3d811 @w9v=J8081 V08v=i8181 UWWE=ZJBUBL VL=va81 Si=8XVBi 9L=EXV81 LLT=HVHULL LLX€=N181 30V9=Iil 3aA13131/ 3dA13131/ Vwb9=Uli 11b9=7011 vIv9=1dii 6179:1511 JNIW BVHTD/ lthI GNVNNUD lfldiflO UNVNNOU HHLSIOEd uvja/ BNIW dBLSISJa 115/ leW ‘aJiSIUBd 513 3v V2V9=N0811 Nafll/ M3013 NO CEV9zddOall Nafli/ MJUWD JJO Izvv=dM881 dIMS/ v9 MOUTJ OVWJ LNJWJHUNI/ 3N1? 53181918 va9=BJNlil 69d811* 9CIL mmwu L611 LL17 Milt wwa Til" mw9v 821v Tani iiIv 191i ‘WJNIBL ‘Mddei ‘WNBL 'LMBL ‘8»81 ‘iHOSBL ‘NISBl m ifldNI/ L-Jdlgi 01/ ‘0381 ‘53181 'xinuai ‘aHLUBL ‘92»81 hUJBl EgIWVILINl/ 3591 dINS/ jauBi dELNIOd/ EBLNIOG/ onaa 3v1j 1183a jHUQl lHdNI dBJdfld HBLNIOd aadwnN-/ Jo SJNlW M/ dOJ 181 indinu dBJJHS wOJBl 01/ 810081 5&181 dIMS/ m biIv @082 511i bdZi 9iI: vviz LiIL 009? EVIL mow: Ivla wuwa ZVIv @LLL “ILNUBL mt- EVIL $66» ‘ZLNJBL w bVI“ mwmu “ELNUBL o Hjiw3 NOwWUD JNIlflOd dlfls/ JI ludiflu JBdJ ZjHuEl éjaugi H/ an 11 J1 LfidNI onaa awlxflua BJHLIJ UL 01 uma 3N1? onad 15513 ifldiflO EBJJDH indino’uma 531105 HBJjHB indiflo GWOH/ bUFvw dOUW HELNHOU dONIw/ dOOW 831N000 aalwnou/ dOd iflle dfldjfld w3d8il* 1W01L7HW/ WEAfiW ldhdm3iN1 3N1ifl0d bMUWWV/ EWdlilflw WJAJW ldflBHJlNI U1 SIHl ENILHUB WBAJW/ HjiNUUQ £81 3781 ‘SIUBL dNV $51081 UNE/ 73A37 ldflddHiNl ”10”.! Viic LOW: 9L89 6002 9222 VDU 210%"? @LQL dVd bug) 9222 VDU N1A881 §Uflz mew; UVl t 966“ LEEz VDU vASBl £00; bibv Wdli @qu wvfz VDU L9)? I vXV9 NOBli ZLW Iv®9 {LEE wSEL ‘ZSIUBL iJS/ NWASBL 6X81 MNIW HNIW ldflfldBiNI/ SS3HUUV JAVS/ SSHBUUV bd/ 3N1? HBdNflN M N01 UVL EAVS/ OJLINIWNH dOlenNnJQV JAVS/ V581 UNV HAVb/ JNIW BJEHHN HVJWJ SVWJ AWNO NVdQUBdEWBVNj"jh/ ldflfldBlNI SNILEVLS/ T‘BNIW Ui/ SHHHLO DigHul-8-35-S-B Page 9 <D14 6413 TTSL+1 <m16 S741 JMP <O16 4434 NM17 4Om1 ION NORM B4OO JMP SD71 1342 1M7? ADP} $143 1343 <m24 8413 I /JUMP T8K1 FRDM T8COM, I 2 INPUT TTI /MINOR DCA 7 /MINDR TBCNTZ TAD T8LN TTSL +1 I 1537 745@ SNA 1MP7 S323 JMP fiOKO 6405 TTD+ 1 1771 1537 DCA TAD TBCOMD. T8COM1. 7 TBDUTK TBCOMB /SEE I ? TBDUTK 2 T8AX1 1414 TAD I ~fl33 7119 CLL RAP 1034 743% SZL Z@35' 5301 JMP T8COM6 <O36 72OO z(7137 7137 7 E TOOTKQ 3 T8AX1 ROAD Pldfl 7D14 IS? <M4? 7014 4 T8AX1 7 T8CNT2 T8COMO 7143 (W44 c3'27‘5 JMP 4414 X343 /INCR. /STORE DCA /PICK UP /PUT RIT CHARACTER 7142 IS? Z 5263 JMP TRCOMG IN 11 NOT ASSEMBLY /CHECK T8CNT1 /RESET CDMPLFTFD AND /RFAD LINE NUMBER /SAVF /HAVF LINE NUMBER ALL LINES BEEN CHECKED DIRMISS 3RB1 1344 TAD T8K2 /—1O ROD? 3142 ncA ; Baez 1345 TAD T8K3 3ga4 3314 DCA 3 3MRS 135m TAD T8K9 /RESET MAJOR LOOP COUNTER /TRIN+1 IRFSFT INPUT LINF POINTER ISTAPTING LINE~1 /RFSET LINF NUMBER /TBORE /RFSFT OUTPUT LINE POINTFR /TPOBE2 /RESET 2ND BUFFER POINTER T8CNT1 T8AX1 T8LN smea 3343 KOR7 1131 DCA TAD ¥ 306% 3137 DCA ¥ TBOUTK 3061 1141 TAD 7 T8K36 DCA 3 T8OTK2 SO62 314D 5963 BOO2 SO64 724C T8COM5. T8K7 IOF /TURN STA /-1 SO65 1334 TAD T8LC 3D66 3334 3067 1334 DCA TAD T8LC T8LC SMA /LEVEL FTC 307O 77a@ 8212 JMP 3D72 134m TAD /RESTORE AC /CHECK INPUT TBSVLN /LINE NUMPER 5M73 6413 3074 1336 TAD TBSVLK TBDISZ TTSL+1 /SFT SW75 71O4 CLL RAL §D76 1335 TAD TBSA 3077 AOO1 ION OFF INTERRUPT /LEVEL COUNTER /RESTORE LEVEL 3D71 CLA WORD LINK /UPDATE 2ND RUFFER ADDRESS /UPDATE FOR NEXT INPUT LINE /UPDATE FOR NEXT INPUT LINE /ARE ONE-EIGHTH OF LINES CHECKED? NEXT LINE T8LN 13PM OUTPUT /CLEAR AC FOR TAD /UPDATE OUTPUT ADDR T8DUTK 3w47 AND NORD CHARACTER TTRL T8CON4. LINES/8 0F TRANSMIT REGISTER LINE /CHARACTFR (“41 IS? IS? /0HTPUT WORD /SDMFTHING TO WORD AVAILARLF IF /STDRE CLA ISE IS? ”M43 COUNTER, NUMRFR LOOP COUNTER /LINF NUMBER /SFT LINF NUMRFR 1032 T8COM3. AC CLFAR LOOp TBMNC 4096 REGISTER. /CLEAR CLOCK FLAG /RE-FNABLE PROGRAM INTFRRUPT /RFTURN TO THE MAIN PROGRAM TAD KOP5 5M46 /SET LINE TTI LOOP /2ND LEVEL INTFRRUPT TT80N TBDISS. /RFTURN 3MA5 TO LINF /PICK UP COUNTER COUNTER AGAIN, ETC, ' REGISTER. CLR AC LINK /RESTORE LINK /RFSTORE ACCUMULATOR I/ENAPLF INTERRUPT 8-S-98-8-ID4!5!G 950:! 01 @012 ASLS 101? ZLIL 601? 2619 Nafllda/ WA881 dwr l 113 dlfl 91V! vuu l i CXV81 Vlby 3311 VAIQ SLbz VUU 1 t dXV81 SUIE VKEL UV; % TXVBL ‘9HOJB1 9A1? 9V2L uv1 9381 AUIE vax VDU t wLIE Vlbz vDU 1 ILLi LVQL UVl 9M81 36018/ 8313VdVH3 UVJH/ 3NIW d3HNflN 3&018/ ENIW HBBNON Mflld/ dH 883d0UV HHlNIOd C-/ 13838/ IXvBi t £xV81 UHJZ/ ZLEE Viv: vDu 1 t 9816 £81 i 33N181 VLIE VVIC £81 z ELIE Lia: dNV €1N381 SwODBi 31VUdfl/ EXVBL 9LL2 LCIL UV1 t deBl LLIQ SE82 VOU t 6XV81 @cEE WQIL UV1 3N81 1612 771x V30 i Bali £285 dwF 261$ wVSL 9N0381 BlvOdfl/ z dx1081 1 961$ vaL 9412 @225 dwr 9c££ Imvy dUN111 LCLE wiIQ 3289 dwr envy +011 l 1212 £292 VDU UV1 ‘8w0381 €1N081 V28 I Z BHNILNOD/ 6H1081 ZiIQ wv€z VQU ZI 8283 dWF INOOBl V21? ALLA ‘3181 I— Sits 0080 ‘vsei 0 AOVHH 30 ONE HJ1N003 080M AWHNJSSV 080M AWUNJSSV 050M UVWJ BJJJHH NJJB 03H3V3d 863181338 I'jfllal/ 13838/ 1fldNI 533306 SSJBUOV H13N33/ 30 ‘d333fl8 HBHNHN 30 S3N13 13836/ H10N37 HBlNHOD 863181838 MOId/ dn 03533305-338n00 080M ONIH1UN/ 01 ON38 N10081 2219 lfldNI 138/ SVH/ 2+° TNOUB1 831N10d 801V18 ONV UBUM/ 01 3801838 1383H/ UBlDVdVHD ELIE 'LNOUBi O1 NIVH NVHOOBd 18V18 3003 jAONja/ 3HNI1NOQ/ UNJS/ MEN 060M 1N3w3aDNI/ 3N13 83181935 803 ifldNI 'aONI/ 3NI3 8318193a ONV 3&018/ 080M OHHZ/ 0N8 080M 803 1fldNI indinO SiNViSNUO/ 1dnaailwl/ 13A33 831N003 HAVS/ aOLVWHNnDOv 9212 WWflW ‘M3A581 E 3AvS/ L219 @flflb ‘wA591 D JAVS/ wVIS 000w 'NWASBi U MN13 wvaouad d31NnOO IVLE LL22 ‘1»81 N181 ZVIE wwww W 3AVS/ 3N13 a38NnN 1dV18/ 30 111 831538 HUNIN/ d003 '331Nnou QVIQ mmww W 3N11/ N181 1+ vaE leL ‘JNN81 ‘N181 ‘2381 9V1? mat: ‘QMBL 01/ QVIE 9LLL ‘9»81 3. muwc ‘9»81 @M86 watg mwmw ‘6»81 33x8/ w indiflu 31 381M83H10/ JNIW/ 01/ 1383a 1353a 8NU11Vd3dU UHde/ 1N00 adbwflw 8WF=10881 I ‘81flu81 w 33d3 SI UNV ilwstai a313VdVHO SDVZ snav 30 NI 'le 1:12 wwflw @120 UNV ILQL UVL wTM81 7881 LLT/ £31£ V512 9512 93L£ IVIL UV1 i 10d1fl0/ 8L2! 3N118V1S'/ 9€M81 V30 VM81 VMBl 1fld100/ UVl l £512 WVQL V28 VWJ @912 ISLE dWF I HVHDLL 'wi 1H0881 8912 CALL 1v dIMS 18mm i 810081 JO Q/SBNIW aorvw d001 a31Nn03 lfldNI 3N13 a31NIOd au3/ N0113v118ns U1/ 13835 118-8 A38w3ssv 050M UNIidViS/ I-3N11 WI- AVIE ON a3awnm dIMS/ 1Ix3/ 31 MUUM/ d313VHVHU 3363 3NIW 'ON HBJJHH 500V VBBV Digital-8-35-S-B Page 1] 3161 1177 TAP 7 3162 M373 AND TBK11 3TF3 '1374 TAD TBKIP 3164 7104 CLL PAL 5165 3772 DCA I 3156 IS? TBOUTS 31%7 9351 B761 3170 0177 3171 HOOD 517? ODOR 3173 w377 5174 140D JMD T8K1m, TaSL, TBVA. TTCHAR 1F /CHAR AT /EXIT 177 /EDR m /-STARTING m /NORK /FOR 3 NOT 00 SKIP. US 15 AREA AND AVAILABLE NUMBER LINE NUMBER EIGHT BIT STOP CODE /EOR CHAPACTFR TTCHAR /OTHERNISE LINE 377 14 *TTBRCN+74W /Sw[p BITS ONLY /14DO EDR STOP CODE /CREATE START CODE /STORE CHARACTER IN TARLE /INDEX EXIT TROUTS T::i;’ CHARACTER /8 TBWA I UP /PICK RETURN CODE WITH MIN. 48 US -1 FOR TAD LINE MAX. 37.5US ”IF READY 39Rm ”DOB TBSIR:JMS TBINS, Z I TBSIN w 59“1 69W? IDE 390? 724% CLA CMA /SET 5?V3 1126 TAD 2 5204 751m SPA /INPUT FLAG COUNTER /SDMETHINC AVAILABLE SPCS S271 JMP TBINDN 5?”6 31?6 DCA ? 39O7 92?3 IS¥ TRCNT4 /END JMP .+S /GET CHARACTFR /-NUMBER OF LINES /RFSET CDUNTFR /BUFFER ADDRESS-1 /RESET ADDRESS 571% S215 TRINFL T0 AC /EXIT' TBINFL COUNTER FLAC /RFSTORE STARTS BUFFER? OF 3?11 113m TAD 7 3?1? 1223 DCA TRCNT4 3713 1127 TAD ¥ TBPFV 3214 3D16 RCA 7 T8AX3 5715 1416 TAP I 7 5916 3177 ”CA 2 TTCHAR /PICK UP CHAPATEP /STORE CHARACTER 3917 1416 2 /PICK P2Pm TAD IS? I 599a TBINS 5??1 Baal TBINON. 59P2 Séflw JMP 3?73 “MW? T8FNT4. TBNL TBAXK TBAXK NUMBFR EXIT I /EXIT TRINS /-NO a TBINTTzJMS z I IN OF 39?4 5??5 DCA 5?77 @371 313w 113@ TAO T8K14 ? T8NL 7 T8NL AC TBGO /377 3?3M A392 AND TdKlfi /STORE NUMBER OF /NUMRER OF LINFS /7 3931 764% SZA CLA /MULTIPLE 3232 1323 TAP 3233 113a TAD TBK16 7 TBNL 5?34 M374 AND TRK17 5?35 7041 CIA RCA 113m TAn 7 3144 DCA 7 313m 5?A@ OF LINFS 8? /1m /NUMBEP OF LINES /37O /-Tw0's 7 $936 5937 LINES D TBCOS, mama J296 —N—1 ION /INITIALIZATION /ENTFR WITH NUMBER OF LINES TBINIT /F0RMAT / 18T LINE ND. AND LINF /INDEX UP AT COMP NUMBER CONSTANT TBNL TBNL /-N, T8CNT3 /INPUT /-N COUNTFR OF N0. LINES IN AC NORMAL 8-S-98-8-l0415lfl 960d Zl 1V8? ZVCE QdQL UVL wati Vtwi VOU t Evac LCQL uVi Laxgi VVCE 91mg VQU z Eva? QVQL uVi LEMPi 9vc9 9£wz VQU t LVc€ miIL uvl t mac? £68: VOU 15(9 deC {BCC wQQL Vac? 936; 9384 IXVBL Ui/ CXVRI Ul/ XXVBL Ui/ WNBi biNJEi ‘50381 av: t t-NIHl/ jUOlS Ill jTBVL 1-36081/ HVBWU lfldiflU VBBV I-éjaOBL/ HVBWD 3W8HOU dBJJflB N-l HOJ/ SNIlNflOO 68x81 LXVBL d3NI+Ili/ 35018/ 111 SHlViS Viv: VQU I VLVX VDU IEEL uVi t IXVBL 1 EZMQI VLV: V30 1 Z IXVBL 13838/ Sibi v30 1 t EXVBL UBJZ/ vDU l 2 {XVHL bLNUBL HVBWD/ BWdHUO dejfld afllNflUD/ 00/ lXHN HNIW dNP/ I Z 8M81 L329 9va 09c? £626 tSl Iva? 198: GNP dOUEL dye; 8221 UVl VZMBL {95? Viv: VDU 1 i V94? vEIL UVL t WNBL SvéC ZLML did 9969 19¢? HLCI 148C QIQL dVd LXVBL 0832/ ONV dleflUD uaOM AWUNJSSV/ 1383d 080M AWENSSSV 050M lfldlflo 38018/ WVNIJ UHUM dWHF N-/ BOIAIG/ BOIAIO/ AH V AH 9 Qifiw UNV SBMBL LT/ vSSL UVl 98M8l ‘0911/ 9212 VOU 1 ZLCQ SLCQ @VZL v18 €682 VUU tiNUBl 7L6? LEIL UVL t SL6; 910$ 9i€L VUU t 9LC£ LLCQ ZVIE waif LEQL IviE Z&&Q bth VUU t IXVBL IiIL uVi t AMBL €629 L212 V30 t HlflUHL 151/ 58081/ Lfldiflo Hjjjna HBLNIOd buy? gw;£ IVIL ZVIE UVL t 9€M81 vDU t ZMLUBL dJaOBL/ ama/ indiflO adjdnd aJlNIOd 91122 wvaL v15 LCHBi dBBHHN 3A11V93N 1-/ yddBl 118/ BBLNHUO lfldNI 138/ VUU t aorvw/ UVi éifléi ILNJPL UL dlMS lST 3NIL T‘dBIbl/ CXVBL 68M8i uVi dNVN Owai/ dEJJHB HBLNIOd mI-/ 138/ bBiNHOD 1+N181/ Iii ddiNIOd dOOW I-/ Losé Vc9L UVl I $0381 BLYC Bsz VDU 1 22M81 ONIidViS/ BNIW 'ON ‘bMBl/ UNIiHVlS 3N1? IL)? 8L§£ %VLL UVi I iQVBL bfiai/ UVML ka ELXE Ivtz VDU I VEXBL t WJNIBL SEMBL °UN T' BAILVUBN ONILHVLS- 3N11 'ON HVBWO/ indNI OVWJ dEiNnOJ BMVN/ ‘1881/ vLyf 961i VDU ELSE @vZL v18 QLSQ asz VDU 1 LLYQ VCZC £51 50381 WCiC vd9s 0%? 1 1552 LLQL SiNVlSNUD/ ‘vIXBL ALE 803/ 3N1W dd$£ LWWM ‘STXQL A BUJ/ N3A3 EC>Q wtwb wL vas: @LEH ‘91»81 ‘LIHBL kLE BOd/ 803/ bOd/ I—NiQi BUJ/ HUj/ N3A3 N3A3 ONIiNJNJWdNUO ONIdOLS SoIll lflleO V38V I-/ 80381 scxf Iflflb 9d&£ 912i ‘QTMBL ‘UCMBl L L699 LLSV ‘L&x81 L-wagi ‘3181/ idnbajlml XJGNI/ lIX3 13836 13A31 831N003 iIX3/ BBBNHN BWdIljflw Bjdlljflw BWdIlWflw d0 8 JO 8 JO 8 DigHUI-8-35-S-B Page 13 TTI+1 /TTI + INCREMENT /ASSEMRLY RESET NORO /FOR FINAL JUMP T8K2?. T8K23, RMQG T8K24, T8K26. 17 /FOR -N/8 T8K26. T8K27. 7750 TBMNC /FUR /FOR MAKING T8K28, TBKSO, -im 34MO /FOR /FOR 333m 6403 3331 ROW“ 3332 5532 3333 OW17 3534 7766 3335 3142 3336 7770 3337 JMD I 7 TBKB NEGATIVE -N/8 LOOP COUNTER TTI POINTFR /FOR STARTING LINE-1 /—STARTING LINE NO. /FOR [NTFRRUPT LFVFL COUNTFR MAJOR 354M 3160 T8K33. T8IN+1 TBKQ‘ .3541 3171 T8K34. TBSL 5542 3&43 3134 4777 TBLC T8K35. /FOR DOUBLE RUFFFR TBORFZ-l T8K37, /SKIP IF CHARACTFR AVAILABLE FROM FITHER OF TWO TYPFS OF LINFS /OTHFRNISE DO MOT SKIP, 31.5US MIM, 7m.5US MAX, 6@US NORMAL /IF READY 3544 mgmm T8§IF=JMR I 7 3<45 4534 T8819 5146 JMP .+3 3$47 5351 9344 19? TRSE 3€Rm S744 JMR I 3“1 1377 TSSID 5%“? @744 JMR I 35R3 9344 IS? 5sR4 5744 JMP TBSF I TBSE PAHSF TBIES M TBSE. TBRE T89E /CHECK /CHECK /EXIT /CHECK /EXIT B—BIT CODF S-BIT CODF /1NDFX EXIT S-BIT CODE /INDFX /EXIT EYIT Digital-8-35-S-B Page 14 H. DIAGRAMS 11.1 Flow Charts T8605 CLR AC TO LAST 8 BITS INITIALIZATION = NUMBER OF LINES ENTRY (AC) l STORE Ac IN TBNL NO OF LINE EVEN MULT AN YES OF 8 LOADABC INTO CLEAR Ac J (AC) + AC (TBNL) CLR BITS 9.10.11 I . ZS¥O%%M1:LTéNE) = 2's COMPLI OF THE NO. OF LINES TO THE NEXT MULTIPLE OF 8. (TBNL) ‘ ITBNL) TO T8CNT3 ‘ LOAD INDEX REGISTERS Team" 'NPUT COUNTER _ AX1= TTI LOAO EXIT JUMP INTO TTI TABLE TABLE AXZ = OUTPUT AREA Ax3= DOUBLE BUFFER CNT4 = NO. OF LINES T8602 LOAO AC WITH TTINCR ANO TTIINSTR. DCA I AXI sz DCA I SET INCR AND TTI INTO TTI TABLE LOAD AC 2000 WITH OCAI AXI OCA I we DCAI AX3 SET TTI + 2 CLR BUFFERS Digital-8-35-S-B Page I5 INITIALIZATION (ACI= NUMBER OF LINES ITBMNC)8 # LINES l8 NUMBER DIVIDE OF LINES BY 8 I MAKE NEGATIVE STORE IN TBMNC I SET T8CNT4 TO ALL IS ‘ (sz) . TBIBF -I SET INPUT BUFFER POINTER ‘ TBCNTI MAJOR LOOP COUNTER = -8 SET TSCNTI TO -e l (AX1)=T8IN +I SET TTI POINTER 6 (T80UTK)=T808F SET OUTPUT BUFFER POINTERS ”30”?) NO—I=(T8K9) = 7803‘? COMPLEMENT STARTING LINE N0.-1 STARTING LINE (T8K9) _ ' (TBSLI = COMPL OF STARTING LINE -1 STARTING LINE TBOUTS STEP EXIT AOORESS PAST STARTING LINE NO. RESET LEVEL (T8LC) = INTERRUPT COUNTER ALL IS OUTPUT SKIP IF OUTPUT IS FREE AND TRANSMIT CHARACTER AT TTCHAR CLEAR AC TO NUMBER LINE I SUBTRACT STARTING LINE NUMBER I ADD OUTPUT BUFFER STARTING ADDRESS I LOAD AC WITH CONTENTS OF 2ND BUFFER NO YES PICK UP CHARACTER I INSERT START AND STOP CODES STORE IN BUFFER OUTPUT INCREMENT EXIT FOR SKIP 8-S-9€-8-|°4!5!G 960d 91 dNI .I. +9le SI 318V'IIVAV dIMS 3| .Lf'Id 8313VHVH3 NI EVHOLJ. ONV 3NI‘I H38WHN NI 3V SNIBl 1(1le 139 9V"I3 831N003 10le 3'IBV'IIVAV d 33M I- 01 33M 0N3 30 833308 blNDBL ZSI ON d blNDBl ONV EXVBi 13838 l38 EVHD OlNI HVHOLL 3NI1 'ON 3V OiNI 1‘ 1N3W3133NI .LIX3 803 dI)IS )433HO .LndNI NO U3Hil3 3ND dI>IS NO 1(1le HlIM H313VBVHD NI BVHOLL ONV 3V 3NI'I= 838WON 83.1.N3 lIX3 381.81. 0N ua-a SENI‘I 3AVH mam ON .LIG-S SEND 3AVH mam .2 a 83A lN3W383NI .LIX3 SS3800V 83A Digifa I-8-35-S-B Page 17 TBDIS ENTRANCE BY CLOCK INTERRUPT 340usec IST LEVEL INTERRUPT (ISZ TBLC) 2ND LEVEL * ? SAVE AC 8: L INTERRUPT ADDRESS NUMBER LINE AND CLEAR CLOCK 30 SAVE LINK SAVE I ADDRESS SAVE LINE # 60 4.5 Cl OCK ON T8053 * SAVE AC 4.5 15 19.511 sec CLR CLOCK ION ** ION SET LINE I.5 4.5 JMP T8IN 3.0 TBDISZ * * SET LINE REGISTER TO ** * ZEROS SECOND BUFFER ADDS 4.5 STARTING LINE _H'O~) annue 155 3.0 3.0 60 TSIN “—- TEST INPUT LINES TBCOM 6.0 SET MINOR LOOP COUNTER 4.5 SET LINE REGISTER = (TBLN) I— I I I (T8CNT2)=#LINES/8 5-0 ANYTHING TO TRANSMIT 2 ITADI TeOUTKI (SNA) . ‘5 “0 ANYTHING SECOND BUFFER IN ”0 YES * 44* INCREMENT LINE REGISTER AND OUTPUT SKIP CLA T8COM6 I I TeCOMI YE **** 45 AN SAVE REST OF CHARACTER 7.5 I L I I I 'NCREMENT LINE REG'STER P TRANSMIT 1-5 _I T8COM8 SO T8COMO 34.5 47.5 HA2 IN U T CHARACTER BEEN ASSEMBLED TSCONIS CL“ TBOUT" + ‘ T80TK2 +1 AX1+2 ”0 ? sec NO INPUT/PARTIAL OUTPUT LEFT 43.0 sec NO INPUT/NEW OUTPUT CHARACTER ADD 395 FOR EACH COMPLETE INPUT sec CHECKED 1/8 OF LINES 7 NO INPUT/ NO NEw OUTPUT ____________________ I _I DigififOI-8-35-S-B Page 18 T8COM4 TBCOMG 4.5 SAVE LINE NUMBER LAST 1/8 OF LINES PROCESSED REMOVE START CODE FROM CHARACTER I so READ LINE NUMBER AND 2 I YES RESET MAJOR LOOP COUNTER 4.5 30 STORE INPUT CHARACTER IN INPUT BUFFER STORE (TBCNT1)=-8 INPUT IT IN BUFFER I 9.0 EIEIsEELqu'tEI-T T8AXI ~2 = T8AXI (TEAM) = TBIN + I I I “355.8%“ I RESET OUTPUT POINTERS ITBLN) = ZERO STATUS AND COUNTER AND RESET CHAR ASSEM WORD STARTING LINE # -1 ITBOUTKI= TBOBF ITSOTK2I:TSOBE2 I SET INPUT READY FLAG IS TBCOMS 15 "5 IOF ‘ INTERRUPT LEVEL COUNTER-4 ISINPUT BUFFER FULL I5 :3 INTERRUPT LEVELS TD ? I5 'ON 4.5 LINE # ANY MORE RESTORE LINK -AC AND LINE REGISTER PRogESS 12. 6.0 REFERENCES (NOT Applicable) 45 LINK 3.0 AC RESET INPUT INDEXES BUFFER 4.5 7.5 3.0
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies