Digital PDFs
Documents
Guest
Register
Log In
DIGITAL-8-19-U
December 1965
12 pages
Original
0.3MB
view
download
Document:
digital-8-19-u-d
Order Number:
DIGITAL-8-19-U
Revision:
Pages:
12
Original Filename:
https://svn.so-much-stuff.com/svn/trunk/pdp8/src/dec/digital-8-19-u/digital-8-19-u-d.pdf
OCR Text
IDENTIFICATION I.I Teletype Output Subroutines 1.2 Digital-B- I 9-U-Sym 1.3 April 7, I965 PDP 8 LIBRARY Digital—8—I9—U-Sym Page 2 2 ABS TRACT . A group of subroutines useful in controlling ASR—33 output is presented as a package. Provision is made for the simulation of tabulation stops. The distance "tabbed" may be controlled by the user. Characters whose ASR-33 codes are in the groups 24I through 277, inclusive, and 300 through 337, inclusive, are legal. Space, carriage return then line feed, and tabulation are provided via subroutines. 3. REQUIREMENTS 3 I Storage . This collection of subroutines occupies 74 (decimal) 3.3 core locations. Equipment Basi 9D P-8 4. USAGE 4.] Loading This package may be placed in memory by the use of the Binary Loader. See Digital-8-2-Rim for a complete discussion of this loader. 4.2 Calling Sequence AII subroutines are called with a JMS instruction and return to the next location in core. Enter the character typeout subroutines with a single character in AC bits 6 through pair of characters in AC bits 0 through 5 and 6 through II, respectively. (The charbits 0 through 5 will be typed first in the latter case.) Enter the digit typeout sub— routine with the digit to be typed in AC bits 8, 9, IO, and II. Other subroutines are merely II or a acter in caHed. 5. RESTRICTIONS (Not Applicable) 6. DESCRIPTION 6 I Discussion . This package uses short subroutines to type the formating characters, return followed by line feed, space, and tabulate. carriage Digital-8-l9-U-Sym Page 3 Other characters are represented internally by 6-bit codes so that two characters may be packed to a word. to A short subroutine is used to convert the "trimmed" 6-bit code the 8—bit code required for the ASR-33. Digits are represented internally by a 4-bit code which must be in the AC (bits 8, 9, 10, and ll) on entry to the type digit subroutine. If a code greater than mm is present in AC bits 8, 9, 10, and ll on entry, the subroutine merely returns to the calling sequence of instructions with no typeout. OTY, is used, Every time the minor subroutine which actually types a character or digit, tagged When the tabulate subroutine is called, the contents a counter is incremented. of this counter are used to determine the remaining space to the next tab stop. Use of the tabulate or carriage return followed by line feed subroutines sets the contents of this counter to 7. O. METHODS Straightforward 8. FORMAT For these subroutines external (ASCII) and internal core formats may best be illustrated by the following tables. Characters Developed From Stored Code 00 300 @ 01 301 A 41 241 .' 02 302 B 42 242 " 03 303 c 43 243 04 304 D 44 244 $ 05 305 E 45 245 % 05 305 F 45 245 8. 07 307 G 47 247 ' 10 310 H 50 250 1 1 31 1 1 51 251 ( ) 12 312 J 52 252 * + 13 313 K 53 253 14 314 L 54 254 15 315 M 55 255 # - 15 315 N 55 255 17 317 o 57 257 \ 20 320 P 50 250 0 21 321 Q 51 251 1 . Digital-8-19-U-Sym Page 4 22 322 R 62 262 23 323 S 63 263 3 4 2 24 324 T 64 264 25 325 U 65 265 5 26 326 V 66 266 6 27 327 W 67 267 7 30 330 X 70 270 8 31 331 Y 72 272 9 32 332 Z 72 272 : 33 333 [ 73 273 ; 34 334 / 74 274 < 35 335 1 75 275 = 36 336 1 76 276 > 37 337 -+ 77 277 ? Characters Provided By Subroutines carriage return then line feed space tabulation All other ASCil characters are illegal in the sense that they can never be developed by these subroutines. 9. EXECUTION TIME These subroutines are output limited. 10. PROGRAM 10.4 Program Listing A listing of these subroutines with TYPE located in 0200 is as follows: 0200 0000 /PDP-8 TELETYPE OUTPUT PACKAGE 0 TYPE, /TYPE ONE CHARACTER AND TTAB+1 /0077 0201 0301 0202 4260 JMS CON 0203 0204 4266 JMS QTY 5600 JMP I TYPE 0205 0206 0000 0 3276 DCA TEMY 0207 1276 TAD TEMY 0210 7012 RTR 0211 7012 RTR TY2, /TYPE Two CHARACTERS Digital-8—19—U—Sym Page 5 0212 7012 RTR 0213 4200 JMS TYPE 0214 1276 TAD TEMY 0215 4200 JMS TYPE 0216 5605 JMP I TY2 0217 0000 0220 7200 (ILA TYCR, 0 0221 1302 TAD TTAB+2 0222 4266 JAAS<DTV’ 0223 1303 TAD TTAB+3 0224 4266 JAAS<DT\’ 0225 3277 DCA TBC 0226 5617 0227 0000 0230 /TYPE C.R. AND L.F. /0215 /0212 JMP l TYCR TYS P, O /TYPE A SPACE (ILA 7200 0231 1304 TAD TTAB+4 0232 4266 JAAS<DTV’ 0233 5627 JAAPI TYSP 0234 0000 O 0235 7200 (ILA 0236 1277 TAD TBC TYTB, 0237 1300 'DAD TTAB 0240 7500 SANA 0241 5237 JMP .-2 0242 3277 DCA TBC 0243 4227 JMS TYSP 0244 0245 5243 0000 0 0246 0305 AND TTAB+5 0247 3276 DCA TEMY 0250 1276 TAD TEMY 0251 1306 0252 7700 TAD TTAB+6 SNMA<ZLA 0253 5645 0254 1276 /0240 /TYPE A TAB /—10 OR USER SET JAAP u-1 TDIG, 0255 1307 JAAPI TDICB TAD TEMY TAD TTAB+7 0256 4266 JAAS CYPY 0257 5645 JAAPI TDICS 0260 0000 0261 7510 SBA 0262 7510 TAD TTAB+TO 0263 1311 0264 1304 TAD TTAB+H TAD TTAB+4 CON, O /TYPE A DIGIT /0017 /—12 /b260 /TR|MMED TO ASR 33 / —4O /moo /b24o Digital-8-19-U-Sym Page 6 0265 5660 JAAPI<CCDF1 0266 0000 0 0267 6046 TLS 0270 6041 TSF 0271 0272 5270 7200 (ILA 0273 2277 ISZ TBC 0274 5666 JAAPI CITY 0275 5634 JAAPI'TYTB 0276 0000 0277 0000 0300 7770 0301 0077 77 OTY, JAAP u-1 TEAAYQ TBC, TTAB, 0 7770 0302 0215 215 0212 212 0304 0240 240 0305 0017 17 0306 0307 7766 7766 0260 260 0310 7740 7740 0311 0100 0100 0260 CDTV’ 0266 TBC 0277 TDIGE 0245 TEANY 0276 TLAB 0300 TVTZR 0217 'PYPE 0200 'TYSP 0227 'TYTB 0234 'PY2 0205 /VAR|ABLES 0 0303 C(DFJ /ONE CH. OUT AND COUNT 11. DIAGRAMS (Not Applicable) 12. REFERENCES (Not Applicable) 13. ADDENDA (Not Applicable) 14. ERRATA (Not Applicable) /CONSTANTS
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies