background image

Summary of Contents for 1800

Page 1: ...I I Operator Manual for the RCA COSMAC Development System II CDP18S005 MPM 216 Suggested Price 10 00 RETURN IU ARK L LEW ...

Page 2: ...nual for the RCA COSMAC Development System II CDP18S005 nell Solid IBuenos Aires Hamburg Liege Madrid Mexico City Milan Stat Montreal Paris Sao Paulo Somerville NJ Stockholm e Sunbury on Thames Taipei Tehran Tokyo ...

Page 3: ...in fringements of patents or other rights of third parties which may result from its use No license is granted by implication or otherwise under any patent or patent rights of RCA Trademark s Registered Marca s Registrada s Copyright 1977 by RCA Corporation All rights reserved under Pan American Copyright Convention Printed in USA I0 77 1 ...

Page 4: ... the functions available from the software sup plied with the system The COSMAC Development System CDS consists of a card nest with self contained power supply an easy to use control panel and a basic set of plug in modules It is packaged to promote easy interfacing with external devices These interfaces may be custom designed by the user or in the case of common peripheral devices are available f...

Page 5: ...4 _________________ Operator Manual for the RCA CDS 11 CDP18S005 I ...

Page 6: ...ines ASCII to Hex Conversion Routine Initialization Routines Routine to Restart UT20 Additional Notes on UT20 Programming Methods Machine Language Programming Programming Interface to CSDP Hardware Structure of the CDS System Block Diagram Module Description and Signal Mnemonics Card Nest and Backplane CPU Module CDP18S102 Control Module CDP18S103 Address Latch and Bank Select Module CDP18S206 I O...

Page 7: ...e Development Aids CDS I O Terminals Memory Space Requirements Informal Introduction to the COSMAC Resident Assembler Flow Chart to Operation Mnemonics Addressing Assembly Language Equivalent COSMAC Resident Assembler Assembler Operation The Location Counter The Symbol Table Expression Evaluation COSMAC Level I Assembly Language Lines and Comments Symbol Definitions Explicit Constants Address Cons...

Page 8: ...e Using CRE Loading and Operating CRE File Development and Manipulation Creating a File Adding to a File Deleting a Section in a File Moving a Section in a File Modifying a Section in a File Some Command Examples Appendices A CDS 18S005 Backplane Wiring Schedule B Instructions for Converting a Model 33 Teletype Terminal from Half to Full Duplex Operation and from 60 mA to 20 mA Operation C Adding ...

Page 9: ...8 _________________ Operator Manual for the RCA CDS II CDP18S005 ...

Page 10: ...the CPU while a sixth LED indicates when the machine is running This RUN indicator will be ON whenever the CPU is running and not in the IDLE mode The LOAD switch is used to place the CPU in the load mode in which the DMA channel can be used to load RAM See The User Manual for the CDPl802 COSMAC Microprocessor MPM 201 for a detailed discussion of this mode The LOAD switch is sup plied as a conveni...

Page 11: ...be installed in accordance with the instructions in Appendix C Once installed its switch should be set in the MANUAL position before continuing Install the power cable and switch power on Press RESET followed by R UNU This sequence will cause the RUN light to go ON and the system is now operating with UT20 in control This program begins by reading the first keyboard input character to define for i...

Page 12: ... is detected If an error is detected stop and reload the tape from the begin ning To punch reloadable tape 11 With the TTY in the LOCAL mode position tape in the punch tum the punch ON and make a header of nulls control shift Pl 21 Type Maaaa 6 where aaaa is the hex address of where the data is to be reloaded normally location 00001 31 Turn the punch OFF and put the TTY in the LINE mode 41 Initial...

Page 13: ...o accept a command it types out an asterisk as a prompt character M Commands To interrogate memory type a command such as M2F53 CR UT20 responds by printing out the contents of memory beginning at location 02F5 three bytes are printed out as two hex digits each Each line of output begins with the address and data is grouped in 2 byte 4 digit blocks When necessary new lines are begun every 16 bytes...

Page 14: ...ion of the terminal interface and the floppy disk interface see the material on Module Description and Signal Mnemonics in the next Section For further details on the U command refer to Two Level 110 under Input Output Inter facing in the next Section If only U CR is typed with no address specified execution will start at location 0000 If more than 4 address digits are typed only the last 4 will b...

Page 15: ...y follow aga n only the last four digits are kept and the command is terminated by CR If no count is entered one byte will be typed b For M addr f data must follow An even number of hex digits is required Before each hex pair arbitrary filler except for a CR comma or semicolon is allowed CR terminates the command unless it is immediately preceded by a comma or as is generally the case by a semicol...

Page 16: ...s an even number Some data terminals may be set up to generate either even or odd parity UT O ignores the parity bit so either even or odd rarity is acceptable Data from the CDS is generated with the same format i e a start bit 7 data bits a parity bit and two stop bits Note that the CDS does not generate parity the parity bit is always a I regardless of the data bits Therefore terminals interfaci...

Page 17: ...stant 0 or 1 added to the timing parameter 1 PI discussed above One byte of RAM is needed by read and type routines These routines assume that R2 points to free RAM and M R 211 is altered by them In general the user can set R2 to any free RAM location UT20 uses a byte in its dedicated RAM for this purpose R F I is used in certain cases to pass the byte being read or typed between the calling routi...

Page 18: ...cludes a delay on the front end so that it may be called at any time even following a read Tables I and II summarize the functions and calling sequences just described TABLE 1 UT20 REGISTER UTILIZATION Register Name PTER CL ST SUB PC DELAY ASL AUX CHAR Notes Register Number RO J R1 R2 R3 R5 RC RD RE RF Function and Comments Alt ered b y UT20 while storing registers R4 1 is similarly altered Pointe...

Page 19: ...r program counter The following example illustrates this technique Type Routines EXAMPLE 1 This program outputs a single character using the TYPES routine It uses RS as the program counter LDI 81 PHIR3 LDI AO PLOR3 LDI FF PLOR2 LDI 3F PHIR2 SEPR3 Set R3 to TYPES routine Set R2 to free RAM location FFF Call type T R yy An R will be typed Next instruction The TYPESD routine is used in the same way E...

Page 20: ... how much nWlllory is present They set R2 to the highest available RAM address which is 03FF for the CDS as supplied with one 4 kilobyte RAM cardl The only difference between INITI and INIT2 is the lo ation to which they return INITI returns to location 000 with P 1 while INIT2 simply rptllTns by sf tting P 1 and assumes that the user has already set R 1 pointing to the correct return point These ...

Page 21: ...mmllnical by til t IN pewril r lherf for will be covered next To read a character from the I O teletypewriter the llser program should transfer control to READ nn UT20 That is load R3 with HUE and execute a D3 instruction making sure that R2 is pointing to a free RAM location After the typed character is read the utility routine will return by setling P to 5 i e by executing the in truction D maki...

Page 22: ...execution after first initializing R3 0 with the proper half of R7 in which the two lower half address constants 9C and 3E are stored R3 1 continues to hold its initialization value of 81 Two characters are read and a subtraction is executed The resulting immediate TYPE byte is conditional on the results of the sub traction The free RAM location used by READ and TYPE is OOFF in this case since R2 ...

Page 23: ...simulation And third is the Timesharing System CDS link again via a modem which is essential to the automatic direct load process Some switching mechanism is implied by which the Development System serial Terminal input signal can come either from the keyboard tape reader or from the modem carrying data generated by CSDP A teletypewriter unit for instance requires an external modem e g an acoustic...

Page 24: ...amed SAMPLE Once this entry is made the user calls for activation of the CSDP program When CSDP is ready for a com mand it prompts the terminal with the DBG mpssage By entering the CSDP command A SAMPLE TTY CR the user calls for an assembly of this file with listing and diagnostics printed to the terminal The output received is indicated in Fig The code listed there the same as that in the hex pro...

Page 25: ... RDPTR VALUES _PROGRAM STARTS AT LOC 1 INITIALIZATION PHASE BEGINS HERE GHI RO PHI R2 PLO R2 PHI PC PHI ARG LDI 81 PHilO LDI RDPTR PLO 10PTR LDI WRPTR PHI 10PTR LDI A 0 ARG1 PLO ARG LDI A 0 LOOP PLO PC CLEAR 0 SINCE RO 1 IS ZERO R2 POINTS AT FREE LOC ZERO CLEAR UPPER HALVES OF LOCAL PTRS INITIALIZE UPPER HALF UT3 PC LOWER H A LVES OF UT3 ENTRIES POINTER TO TYPE SAVE BYTE LOCAL PROGRAM COUNTER READ...

Page 26: ...UT3 ENTRI ES F OOOF F800 20 LDI A O ARG1 0011 A6 21 PLO ARG POINTER TO TYPE SAVE BYTE F 0012 F800 22 LDI A O LOOP 0014 A5 23 PLO PC LOCAL PROGRAM COUNTER READY 0015 05 24 SEP PC SWITCH PROGRAM COUNTERS 0016 25 MAIN PROGRAM LOOP BEGINS HERE 0016 87 26 LOOPGLOIOPTR 0017 A3 27 PLO 10 POINT TO READ 0018 03 28 SEPIO CALL READ FI RST CHAR TO 0 0019 56 29 STR ARG SAVE IT 001A 87 30 GLOIOPTR 001B A3 31 PL...

Page 27: ...26 _______________ Operator Manual for the RCA CDS II CDP18S005 f I i I ...

Page 28: ...r Manual for the RCA CD Pl802 COSMAC Microprocessor MPM 201 System Block Diagram The broad organization of the Development System is indicated in Fig 6 The CPU module in terfaces with an I O system to its right in the diagram and with a memory system to its left The switches and indicators on the Control Panel at the top of the diagraml communicate with the system through the CLOCK and CONTROL Mod...

Page 29: ...y systems to the right and left respectively in the diagram On the memory side the Address Latch and Bank Select module as its name implies latches the high order Memory Address Byte and decodes it into 16 unique Bank Select lines for use by the entire memory system On the 110 side the 110 Decode module accepts the N lines from the CPU and decodes them into 7 unique lines N 1 through N 7 for use b...

Page 30: ...nals which are derived from CMOS transmission gates are labeled with a 1 1 in the diagrams Such outputs may be bussed wire OR ed I together assuming only one tran mission gate is enabled at a time An output derived from a transmission gate may also be pulled high or low with a resistor on the board Card Nest and Backplane The backplane of the Card Nest is a double sided PC board mounted on the bac...

Page 31: ...rcised in removing and inserting modules into the CDS nest The module FROM CONTROL BOARD WAIT N CLEAR N Q P SC I O P DB O P N O P cards are keyed so that they cannot be inserted in improper positions or with improper orientation However it is possible for a key to be pulled out by a card removal When removing a card care should be taken to exert a lateral force without twisting the card lmnecessar...

Page 32: ...ide tri state drivers or transmission gates to pull them to ground so that more than one device may use each line in a wired or manner RNU P JI FROM CONTROL LOA PANEL SWITCHES SINGLE STEP _ r 1 1 EXT WAIT P EXT CLI P t t r J SCG P SCO N Power to the CDP1802 is connected to two pins pin l VCC powers the chip interface circuits and pin 40 VDD powers the internal circuits These pins are connected to ...

Page 33: ... The Data Bus and Address Bus as well as WAIT N CLEAR N SCO N SCI N and Q P are sent to the display panel via Jl Each of these lines is buf fered An interface connector J2 is provided for at tachment of the optional Microterminal Control switches from the Microterminal are electronically paralleled with those from the Control Panel Address Latch and Bank Select Module CDP18S206 The Address Latch a...

Page 34: ...sI is assigned a unique eight bit code When the device sees its code on the select lines it responds to I O instructions Thus each code in the select lines allows a device or group I to use six input and six output instructions The 61 and 69 codes are excluded because they are dedicated to the group select function In most systems it will be sufficient to restrict the select code by software conve...

Page 35: ...location is wired to signal BS8 P from the Address Latch or Bank Select so that the utility program starts at memory address 8000 Also on this module is a 32 byte static RAM chip CDPI824 to provide a small work area for the utility software It starts at memory address 8COO When the Microterminal option is installed its ROM is inserted into location U8 A toggle switch selects either the standard ut...

Page 36: ...t to the terminal are formed by strobing Data Bus bit 0 into aD type flip flop under control of the UT20 TYPE routines A 67 output instruction is used to generate the strobe Bit 7 of the Data Bus is used to set the paper tape reader control flip flop and bit 6 to reset it via the same strobe Data from the terminal is transmitted to the Utility program via External Flag 4 Both the strobe and EF4 N ...

Page 37: ...I It must be remembered that the address is always displayed whether or not memory is being accessed In the SO state the address is the location of data being fetched In the S1 state the memory address mayor may not be significant depending on the instruction being executed The rightmost two display digits show the Data Bus contents continuously when the control switch is in the BUS position When ...

Page 38: ... received by an input port which is read by a 6E instruction Microterminal Option CDP18S021 Provision has been made to allow installation of the Microterminal and its ROM into the CDS The Microterminal consists of a hand held keyboard and display unit its cable and mating connector and a ROM contammg a utility program UTS A photograph is given in Fig 16 To install the Microterminal 1 Turn power of...

Page 39: ...ages and heat sinks The circuitry and heat sinks are mounted on a printed circuit board which is mounted on the transformer bracket This module is installed in the CDS chassis in the space beside the plug in logic modules occupying slot locations 26 through 32 See Appendix D Fig D 19 for its circuit diagram AC input taps are provided for nominal voltages of 100 115 220 230 and 240 volts rms 50 60 ...

Page 40: ...l wait to CPU CPU User INT N Interrupt request User CPU LOAD SW From panel switch Panel Control MBDS N Memory bank deselect User Address Latch MRD N Memory read signal CPU Memory I O Control I O Decode Terminal MWR N Memory write signal CPU Memory N 2 0 P N lines from CPU CPU I O Decode Control N 7 1 P Decoded N lines I O Decode I O Terminal Disk Control Q P Single bit output from CPU CPU Terminal...

Page 41: ...le wired to occupy the lowest memory address range starting at address 00001 The CDS is also equipped with a ROM containing the Utility Program UT20 UT20 s address range is 8000 to 83FF Another ROM containing the disk loader program occupies ad dresses 8400 to 87FF UT20 also uses a dedicated RAM of 32 bytes starting at address 8COO Refer to Table III for a list of module position assignments this ...

Page 42: ...nch in thickness over all if adjacent slots need to be occupied If the memory is to be external and serviced by a cable then the cable connector may plug into a Memory Bus slot This arrangement may require the user to buffer the address bus A15 P to AO P and the data buses IDB7 P to DBO P depending on the length of cabling and the drive required The memory must also have bidirectional 110 capabili...

Page 43: ...re complex systems a two level 110 ap proach is used This approach consists of two steps first enabling and then activating the selected 110 device The CDS has two level 110 capability built in as a user convenience It is described in the next section Two Level 1 0 The I O Decode Module in slot 13 provides seven liNes N 1 through N 7 which may be wired to the 110 slots to define a unique N value a...

Page 44: ...Two level 110 permanently enabled 3 Instructions 61 and 69 reserved for two level selection 4 Program starts with P XO IE I Selection Register OO 5 If an interrupt is pending at start up UT20 will attempt to report it With TLIO N Open High A RESET RUN P Sequence 1 Starts execution at location 0000 2 Two level 110 is permanently disabled 3 All 110 instructions are available to user 4 Program starts...

Page 45: ...ltage levels are compatible or bipolar devices such as TTL or low power Schottky TTL devices All data and address bus signals as well as the CPU signals are capable of driving one TTL load worst case sinking 0 2 rnA at 0 4 volt Open collector devices should be used to For a list of all signal names and their meanings refer to Table IV Note that many 110 signals are preassigned and should not be us...

Page 46: ...iscussed next Reference should be made to the cited portions of the User Manual for the CDPl802 COSMAC Microprocessor MPM 201 JL SCI p 1 CL SCOop CS2 MRO N 1 1 CS I INTERFACE R OBO P TO 087 P BYTE IN COPl852 92CS 29621 Fig 19 DMA input example DMA Input Assuming only one 110 device needs the DMA input port the arrangement shown in Fig 19 is possible Systems having more then one DMA channel either ...

Page 47: ...8 CC EA R CS2 MRO N t CSI TO EFI N THROUGH EF4 N OR INTERRUPT N TRANSMISSION GATE BYTE CLOCK IN IN 92CM 29623 Fig 21 General purpose byte I O module for the CDS CDP18S005 Interrupt A straightforward interrupt implementation is shown in the User Manual for the CDP1802 COSMAC Microprocessor MPM 201 Systems which require multiple interrupt conditions can be handled in a variety of ways If the interru...

Page 48: ... the Terminal Interface Module is shown in Appendix D The sample character waveform in Fig 23 helps to show what the interface software must do Each character is framed by a START bit and one or two STOP bits The character waveform signal is tied to EF4 N sensed by UT20 at the midpoints of each of the bits and assembled into the ASCII character A character is transmitted one bit at a time with bit...

Page 49: ...and group selection codes are already assigned to specific CDS modules These codes are detailed in Tables V and VI Care must be taken not to overlap them 110 can also be added in the memory field of the CPU for memory mapped 110 functions In that case be sure to refer to the memory map Fig 18 to determine free memory locations Adding Remote Control Along with the DMA Interrupt and Flag lines the C...

Page 50: ...ing wire wrap pins O 5 connector spacing PANEL Hinged at left knob provided to latch panel Seven switches POWER ON RESET RUNP RUNU LOAD SINGLE STEP or CONTINUOUS BUS or LAST I O BYTE DISPLAY Six Hex Digit Displays for MEM ADD and BUS I O Six LED Indicators RUN Q SCO SCI WAIT CLEAR Line cord and socket at back of cage POWER SUPPLY Mounted to slotted rear of nest uses space of 7 connectors 5 volts a...

Page 51: ... 50 _________________ Operator Manual for the RCA CDS II CDP18S005 ...

Page 52: ... TTY terminal The second is a magnetic cartridge version supplied for the Texas Instrument Silent 700 terminal or equivalent In this manual the TI Model 733 ASR with Remote Device Control option is assumed A third version of the resident software is supplied on a diskette to pur chasers of the CDS Floppy Disk option CD PI8S805 With this option any standard data terminal can be used that will inter...

Page 53: ... WITH A VALUE n DECREMENT THE DOWN COUNTER DUMMY NOP INSTRUCTIONS IF DESIRED TO PROVIDE SOME TIME DELAY HAS COUNTER REACHED ZERO YET NO YES it EXIT This flow chart of course is a much more un derstandable version of the program The time from ENTRY to EXIT is approximately n16 times the time for one pass through the loop An assembly language is designed to permit a machine readable form of a progra...

Page 54: ...d that this location i not presently known absolutely for example becau e lh routine s exact location within a larger program may change a labelling procedure may be defined to replace the arrowed path shown Two examples are given below Example I LABEL DEC COUNTER BNZ LABEL An assembler permits locations within a program to be identified by English like symbols e g LABEL above Then any reference t...

Page 55: ...statement DUMMY 91 is supplied a means is again provided by which all occurrences of DUMMY will be replaced by a hex 91 which is a GHI 1 in struction Finally the assembler begins assigning address values starting with zero A special statement is provided to cause the assembler to change the present value in its internal location counter if required It is called an ORG statement The final form of o...

Page 56: ...ue is used by the assembler to derive or produce code Thus by changing the value assigned to a single symbol the programmer can make substantial changes in his object code file A symbol is also called a label a name an iden tifier or a symbolic address or pointer Expression Evaluation As CRA processes source statements it produces hexadecimal code values Much of this code is the direct equivalent ...

Page 57: ...c characters in a statement When equating a symbol to a register number only a decimal or a hexadecimal number should appear on the right side of the equation For example COUNTR 7 is correct COUNTR 07 is correct COUNTR R7 is incorrect DELAY COUNTR is also correct Explicit Constants At numerous points in the source program the programmer desires to directly pecify explicit constants to CRA Most oft...

Page 58: ...directly into the code output Operation Mnemonics CRA uses special two three and four character mnemonics to represent the various in structions in the COSMAC instruction set These mn emonics are listed in Appendix E When CRA determines that an operation is being specified it looks it up in a table to detennine the code equivalent of the mnemonic Note that this table is not the symbol table which ...

Page 59: ...ecial statement provided for the e purposes It begin with either a comma or the special mnemonic DC which stands for Define Constant and is followed by a sequence of one or more constants separated by commas Each constant may be an absolute explicit constant hexadecimal binary decimal or text or an address constant or a symbol For the last case to be con sistent with the treatment of symbols as im...

Page 60: ...ag 1 goes true Code Examples and Review Fig 24 is a hypothetical program designed not to do anything meaningful but rather to present examples of various acceptable CRA statements It contains a listing of the program and the corresponding output code generated Fig 25 con tains the symbol table for the program Both were generated by a typical CRA assembly run In Fig 24 the left hand column gives th...

Page 61: ...BEL GLO TALLY TALLY IDENTIFIES A REGISTER BNZ LOOP EXPR CONTAINS SYMBOL ONLY BR SAMl A FORWARD REFERENCE X ABCD 64 D 256 SOME CONSTANTS DC B Oll rTEXr MORE CONSTANTS A 1 A O CRLF SOME ADDRESS CONSTANTS SAM1 INC A REG NAMED WITH HEX DIGIT DEC RB REG NAMED WITH R FORM OUT 7 EXPLICIT DEVICE NUMBER INP READER DEVICE IDENTIFIER IS SYMBOL READER 7 ANOTHER FORWARD REFERENCE LDI rA l BYTE IMMEDIATE CONSTA...

Page 62: ...next line but is preceded by a con tinuation mark a period TABLE VII CRA ERROR CODES AND THEIR MEANINGS Error Code 01 02 04 Meaning UNRECOGNIZED MNEMONIC OR MISSING COMMA The body of a statement other than EQUATE must begin with either a valid opera ion mnemonic or DC ORG PAGE END or a comma PREVIOUSLY DEFINED SYMBOL An attempt has been made to define a symbol which already has an entry and a valu...

Page 63: ... value at any given point which is different from that which it would have for an error free program As a result it is conceivable that the BRANCH OUT OF PAGE error diagnostic either will occur erroneously or will not be generated when it should be 2 The semicolon separating mUltiple statements in a line is used mainly as a checking device When CRA has processed an error free statement and is rein...

Page 64: ...osition CRA is now loaded into memory 2 Mount input source If paper tape turn reader on READER CONTROL switch should be in REMOTE position 3 Mount output object tape If paper tape do not turn punch ON yet 4 Type U CR to transfer control to CRA 5 CRA begins by typing asking user to identify type terminal in use In response type P for punch if a Teletype terminal or any other character if TI termina...

Page 65: ...oading via UT20 The output tape file begins with a 1M message followed by a sequence olline which have the UT20 semicolon loading format where each line begins with an address followed by a sequence of hex digits to be loaded there terminating with a semicolon If the 110 terminal is a teletypewriter on the other hand then when the paper tape punch is activated information punched on the tape is th...

Page 66: ...racters or replacement of a small string of characters by a substitute string The erroneous source file is used as an input to the Editor and the user generates a corrected source file as an output The new file is then re assembled At this point other trivial errors may appear which were not apparent to CRA on the first run For example an erroneous instruction operand may not have been flagged on ...

Page 67: ...ary of CRA Operating Steps in eRA Operating Instructions CRE requires about 100 bytes of the RAM work space for its own internal purposes The remainder of the available RAM space is used as an editing area called a buffer Virtually all CRE operations involve the buffer CRE is designed to take advantage of all of the available RAM space for its buffer area Approximately 1400 bytes are available for...

Page 68: ...r each CR LF pair merely to provide a sufficient time delay for the printer carriage to settle to the new line When the tape contents are being printed Note that the last line on the tape should be followed by a dummy line containing only the single data character DC DC3 is a special control character generated on the keyboard by hitting CTRL and S lt acts as an END OF FILE indicator Note also tha...

Page 69: ...een two characters in the buffer This pointer has the same funCtion as what is commonly called a cursor Most CRE operations are executed relative to this pointer Further several CRE operations exist specifically to alter the location of the pointer It is essential therefore that the user be aware at all times of the current location of the pointer Because the pointer is not visible it is the user ...

Page 70: ...to the printer followed by a giving a visual indication of the ESC key depression Thus a typical command string normally appears on the printer as COMMANDl COMMAND2 COMMANDn where in most cases he separating ESC s are optional but the final pair is mandatory If ESC is not hit the will not appear of course A command string must be terminated by two depressions of the E5Ckey Command Formats The hear...

Page 71: ...ould then remain in CRE s stored command string register Clearly any such erasures must occur before the double ESC character which terminates the com mand string is struck If CRE finds an invalid command while in execution of a command string i e after the user has typed the double ESC it returns to the user the error message BAD COMMAND xxxx xx where xxx xx reproduces that part of the command st...

Page 72: ...ointer are deleted Text Insertion and Data Manipulation INSERT Format Itext Execution Typed text is inserted to left of present pointer position The text may contain multiple lines SAVE Format nX Execution Copy n lines adjacent to the pointer into a special SAVE area external to the buffer The pointer position is not changed Previous contents of the SAVE area are overwritten CRE types CAN T SAVE i...

Page 73: ... teletypewriter is used the 60 null trailer is punched out CRE then reinitializes for a new editing session with buffer cleared and with the pointer positioned at the beginning of the work space NULLS Fonnat N Execution If a teletypewriter is used 60 nulls are punched Otherwise this command is ignored The pointer is not changed Summary of CRE Commands and Control Characters A summary listing of th...

Page 74: ...tput type Pointer ends up at beginning of remaining buffer E END the editing session Equivalent to an nW with n equal to or greater than the number of buffer lines followed by a copy of remaining input tape to output tape If paper tape terminate with NULL trailer N If paper tape punch 60 NULLs on output tape TABLE XI SUMMARY OF SPECIAL CRE CONTROL CHARACTERS 1 ESCAPE or ALT MODE Echoed as Optional...

Page 75: ...rs if a bracket is missing Note that if the user fails to terminate a text string with the required ESC character all sub sequent characters until an ESC does occur will be treated as part of the presumed text string Thus it is quite possible that a missing ESC in a nested com mand string could also result in the improperly paired brackets error message ITERATION STACK FAULT ITERATION STACK FAULT ...

Page 76: ...tin a File A file is created by a repeated sequence of the following steps 1 File buffer from keyboard with sequence of INSERT s 2 WRITE buffer to output file A single I command may take as an argument a text string of abritrary length Thus many lines may be inserted with a single I command Each line is ter minated by pressing the RETURN key A typical INSERT will thus appear on the printer as I li...

Page 77: ...ving the pointer past it and issuing an nP command n positive After the remainder of the buffer has been written the com mand string BnK n sufficiently large will erase the buffer Moving a Section in a File Assume that the file section to be moved is sufficiently small If the movement is toward the end Of the file the following sequence may be used II Copy input file up the section to be moved 21 ...

Page 78: ...their original position 3 The command Bn mCI L for n sufficiently large inserts a field of spaces in all lines at a point m characters from the beginning of each line 4 One can also scan the entire buffer with a FIND or SUBSTITUTE command by similarly using a sufficiently large numeric argument called n below The command will terminate when the end of the buffer is found with a CAN T FIND message ...

Page 79: ... 78 __________________ 0perator Manual for the RCA CDS II CDP18S005 ...

Page 80: ...A5 P A5 P SEl5 P A5 P T U A6 P A6 P SEl6 P A6 P U V A7 P A7 P SEl7 P A7 P V W MWR N BSO P MWR N N 7 P N 7 P 5 W x BSN P 1 MBDS N CPU PWR N 6 P EF4 N RUN N X Y VDD VDD VDD VDD V DD VDD Y Z GND GND GND GND GND GND Z 1 TPA P TPA P DMAI N N 1 P DMAI N 1 2 TPB P UA15 N DMAO N N 2 P DMAO N DMAO N 2 3 SPARE BSC P ANY I O P N 3 P ANY I O P 3 4 BSB P INT N N 4 P INT N RNU P 4 5 MRD N BSA P MRD N MRD N MRD ...

Page 81: ...n 8 only 3 Locations 19 and 20 all pins open except VDD and GND 4 Location 24 only Disk interface 5 Location 14 only Terminal interface Wire Wrap Connections i RAM SELECT ROM SELECT TERM SELECT DISK SELECT 2 LEVEL I O I O DECODE BSO P BS8 P SELO P SELO P TLJO N PlNU P 10 W to 8 X 10 E to 9 X 13 M to 14 M 13 M to 24 M tJ I to 13 22 Jllmper 13 7 to 24 4 ...

Page 82: ... right of the keyboard from the 750 ohm tab to the 1450 ohm tab Fig B2 gives the detailed interface circuitry between the CDS logic signals and the pin con nections for the Teletype terminal in the full duplex mode Note particularly the isolation of the two Teletype TTY current loops Also shown in Fig B 2 is the detailed interface circuitry between the CDS logic signals and the pin connections for...

Page 83: ...at one brown wire must be broken and reconnected as shown The Terminal Interface module contains the logic necessary to permit a COSMAC program to control the paper tape reader With the added reader control switch in the remote or open position a program may turn the reader on and off In the manllal or closed position the reader can be controlled only manually by means of the original reader contr...

Page 84: ...uit diagram D5 86 Layout diagram D6 86 I O Decode Module CDP18S509 Logic and circuit diagram D7 87 Layout diagram D8 87 ROM RAM Module CDPl8S401 Logic and circuit diagram D9 88 Layout diagram DIO 89 4 Kilobyte RAM Module CDPl8S205 Logic and circuit diagram Dll 90 Layout diagram D12 90 Terminal Interface Module CDPl8S507 Logic and circuit diagram DI3 91 Layout diagram Dl4 91 Display Board Logic and...

Page 85: ...2 I 14 A7 P DB5 P 13 U4 2 1 10 31 2 13 A6 P CDPI856 U6 DB I P 1 1 1 3 II UI 30 7 CDPI856 12 A5 P CDPI802 29 9 I A4 P V 5 1 0 1 5 1O OB3 P II 6 9 12 V 1O Oe2 15 12 57 13 28 9 I A3 P OBI P 13 U3 2 4 1 1 27 7 12 A2 P CDPI856 DBO P 14 1 3 15 26 2 U5 13 AI P CDPIS56 1 6 V 25 I 14 AO P 17 N2 P 24 EFI N PI I7 18 NI P 23 EF2 N PI IS 1 9 NO P 22 EF3 N PI I9 r 21 EF4 N PI 20 9ZCL Z9391 Fig 01 CPU module COP...

Page 86: ...E U16 CD4011 BE U17 CD4075BE __ N P PI lSI _ H2 P PHS RO 22 kll v CD40S9 IPI 8 SCI N L c P PI_ PI AI TPA N IPI A1 JI I51 RS 22kn PI 7 SCOop 5 03 6 JI 21 LAST lIO J1 I31 SW NO PI e 1JI 7 PI I JI 91 HEN II JI 51 RUN II IPI XI IJI 301 IDLE II PI J De5 p J2 ISI PI I oa p J2 ISI I PI L 097 P IJ2 201 I PI M I AO P_ ll IPI NI A P_ l1 PI _P I lII Z P_ 1 PI_RI A P_ j PI_SI A 4 P _ l IPt UI A6 P PI V A7 P_ ...

Page 87: ...PI J BS5 P OJ PI H BS6 P PI F BS7 P T 2 1 31 NO NI 4 j51T UAI5 N B_ AI5 P AI4 P AI3 P 1 AI2 P 14 13 21 3 1 14 13 N2 CE I NO NI N2 CE ClKA ClKA U4 UI ClKB ClKB 12 II 10 9 4 5 6 7 12 1 19 BSF P BSE P BSO P BSC P BSB P 8SA P BS9 P BS8 P 92CM 29387 PI 2 PI P PI R PI S PI 6 PI N PI A PI M PI 3 PI 4 PI 5 PI C PI E Fig 05 Address latch and bank select module COP 18S206 logic and circuit diagram Parts Lis...

Page 88: ... 1O 7 CDPI852 B 5 6 3 4 I 2 M 7 15 13 22 20 18 16 9 CLEAR 13 114 VDD 24 CS2 CSI GND 12 U7 V ClK CDPI852 e 16 14 ClR 6 21 19 17 15 10 e 6 1 4 4 2 15 13 II 9 U3 Fig D7 I O decode module CDP1BS509 ogic and circuit diagram Parts List for Fig D7 CDP18S509 C1 15 pF 20 20 volts R1 22 kilohms 5 1 4 watt U1 CD4023BE U2 CD4011 BE U3 resistor module 15 kilohms U4 U7 CDP1852D U5 CDP1853D U6 CD4001 BE Fig DB I...

Page 89: ... A B A 8 A B A8 P A7 P AS P 45 P M P PI IOI IPI V p l U PI T PI SI IPHl IP P IPI N IPI t I I I AI P AO P 22kO ROMI 2 20 s f3 ROM2 N 2 22Ul SUSO p V BUS I P BUS2 P 8US3 P BUS P BUSS P BUS6 SUS 7 P IPHII PI 201 IP I 2I YI P F 20V PI 22 Z MWR N RO N 10 7 6 5 4 3 Z I 22 1 81 6 5 4 3 2 I 12322 k 7 6 5 4 3 2 1 22 I 4 l 2 I 71 RAt SEL N 171615 U1 5 V 5 V U9 f k 5 V CDPI Bl2 CDPI834 12V U8 12 V CDPI8 32 C...

Page 90: ... J U5 o I us o o r I UIS mr dl T D 0 1 92CS 29400 Fig 010 ROM RAM module COP18S401 layout diagram Link Connections ROM LINKS U7 U8 U9 LK1 LK2 512 512 512 short A 1 k 512 1 k open B 1 k 1 k 1 k open B 1 k 512 512 open A 1 k 1 k 512 open A 512 512 1 k short B U7 U8 U9 ROM LK3 LK4 LK5 2704 B B B 2708 A A A CDP1832 Aor B A or B Aor B CDP1834 A A A The low order U8 addresses are not contiguous with the...

Page 91: ...E IIOE 130 E Iil D E I L 10 a Cr 12 a c 1 4 B Cr 16 8 CL 10C 1U 12 1U 1 4 0 EIr o E USA 4 4 COPIB53 l 10 VOO VY I 15 1 0 II l o_ f 6 5 Z U2A COPle56 12 13 R8 22 kJl 14 Fig 011 4 kilobyte RAM module COP 18S205 logic and circuit diagram 92CL 29386 Parts List for Fig D11 CDP18S205 C1 15 1F 20 20 volts C2 C3 C4 C5 0 1 1F 80 20 50 volts R1 through RS 22 kilohms 5 1 4 watt U1 A U2A CDP1856D U1 B through...

Page 92: ... CI 115 I F I 15 I F 115 I F 20 V 20 V 20 V J2 I 1 0 PI 22 Z l t J 1 5 R4 470 n JI S FROM TTY JI 4 5 V C3 033 I F 50 V R5 470 n 5V R8 4 3 k n J2 2 F M IN914 CR4 92CL 29397RI Fig D13 Terminal interface module CDP18S501logic and circuit diagram Parts List for Fig 013 CDP18S507 Cl C2 C4 15 pF 20 20 vofts C3 33 pF 20 50 volts CR1 CR2 CR3 CR4 a lN914 Jl J2 connector Rl R3 22 kilohms 5 1 4 watt R2 910 o...

Page 93: ... 55 m 56 U5 jj U9 I 0 51 to S2 CRI o U5 T0 0 CR2 lO CR3 TO CR4 TO CR5 TO CR6 TO o 1 3 bII S3 U6 r r UIO 92CS 94 05 U7 l U6 7 SEG DI SPLAY HP 5082 774 0 J I DI SP Q N JI 9 1 5 CR5 RUN N JI 30 1 2 CR6 ___J I 3 LO NO _ _ J I cc 11 RES NO S5 3 JI 2B RNP NC 2 I A R c UN P_ __ JI c 20 RNP _NO S2 5 ____ JI _32 RNU NC 2 Il A c R UN U___J I_ 34 RNU _NO S4 3 2 o SINGLE STEP JI IB SS _NO 5V _ _____ r_ JI DIS...

Page 94: ...6 US II 7 7 1 18 10 8 U8 9 I 1 __ 1 rf ll I IS U2 1 8 U7 16 VOO lK2 r c LK3 I I l I U9 16 2 U9 I Gr 1 I I 3 U9 1 4 U2 8 7 l 9 1 4 U9 13 5 U9 12 I r t l 6 U9 II II 7 U9 10 8 U99 21 16 14 1 Veo l I 1 I Q U3 6 I U7 I 7 1 I I 3W 73 1 0 I 2 i 5 6 12 1I io lK 2 I 12 1 3 4069 4069 4 v E h 2 I 40 406 10 II 4 43 40 40 8 69 645 40 4069 92CL 29395 CLEAR N CPUO N CPUI N CPU2 N CPU3 N CPU4 N CPU5 N CPU6 N CPU7...

Page 95: ...C6 500 IF 16 volts C3 C4 C5 7500 pF 15 volts C7 1000 pF 100 volts C8 3600 IF 35 volts C9 330 pF 25 volts CR1 CR2 CR7 CR8 A14F 1 A CR3 CR4 CR5 CR6 A15F 3 A 01 02 2N6102 03 2N5492 R1 510 ohms 5 1 2 watt R2 R3 0 1 ohm 10 5 watts R4 24 ohms 5 2 watts R5 150 ohms 5 1 2 watt R6 R8 100 ohms 5 1 4 watt R7 220 ohms 5 1 4 watt R9 360 ohms 5 1 2 watt R10 variable 0 1000 ohms R11 1300 ohms 1 1 4 watt R12 1000...

Page 96: ...OP INSTRUCTION MNEMONIC CODE LOAD VIA N LDN ON LOAD ADVANCE LDA 4N LOAD VIA X LDX FO LOAD VIA X AND ADVANCE LDXA 72 LOAD IMMEDIATE LDI Fa STORE VIA N STR 5N STORE VIA X AND STXD 73 DECREMENT Logic Operations OP INSTRUCTION MNEMONIC CODE OR OR F1 OR IMMEDIATE ORI F9 EXCLUSIVE OR XOR F3 EXCLUSIVE OR IMMEDIATE XRI FB AND AND F2 AND IMMEDIATE ANI FA SHIFT RIGHT SHR F6 76 SHIFT RIGHT WITH SHRC 1 CARRY ...

Page 97: ... NO SHORT BRANCH NBR 38 R P 1 SEE SKP SHORT BRANCH IF 0 0 BZ 32 IF 0 0 M R P R P O ELSE R P 1 SHORT BRANCH IF BNZ 3A IF 0 NOT 0 M R P R P O o NOTa ELSE R P 1 SHORT BRANCH IF OF 1 aDF l SHORT BRANCH IF POS BPZ 33 IF DF l M R P R P O OR ZERO ELSE R P 1 SHORT BRANCH IF EOUAL BGE OR GREATER SHORT BRANCH IF DF O BNF 1 3B IF OF O M R P R P O SHORT BRANCH IF MINUS BM ELSE R P 1 SHORT BRANCH IF LESS BL SH...

Page 98: ...LONG SKIP IF 0 0 LSNO C5 LONG SKIP IF IE 1 LSIE CC NOTE THIS INSTRUCTION IS ASSOCIATED WITH MORE THAN ONE MNEMONIC EACH MNEMONIC IS INDIVIDUALLY LISTED NOTE THE ARITHMETIC OPERATIONS AND THE SHIFT INSTRUCTIONS ARE THE ONLY INSTRUCTIONS THAT CAN ALTER THE DF OPERATION M R P R P 1 M R P 1 R P 0 R P 2 IF D O M R P R P 1 M R P 1 R P 0 ELSE R P 2 IF D NOT 0 M R P R P 1 M R P 1 R P O ELSE R P 2 IF DF 1 ...

Page 99: ... 6E INPUT 7 INP 7 6F NOTE THIS INSTRUCTION IS ASSOCIATED WITH MORE THAN ONE MNEMONIC EACH MNEMONIC IS INDIVIDUALLY LISTED NOTE THE ARITHMETIC OPERATIONS AND THE SHIFT INSTRUCTIONS ARE THE ONLY INSTRUCTIONS THAT CAN ALTER THE DF OPERATION WAIT FOR OMA OR INTERRUPT M R O BUS CONTINUE N P N X l Q O T M R X X P T X P M R 2 THEN P X R 2 1 M R X X P R X 1 l IE M R X X P R X 1 I E OPERATION M R X BUS R X...

Page 100: ... l 5 ENQ NAK 5 E U e u 0 x 6 ACK SYN 6 F V f v LJJ 1 7 BEL ETB 7 G W g w t z 8 BS CAN 8 H X h u x 9 HT EM 9 I Y 1 Y z l CJ A LF SUB J Z j z B VT ESC K k CJ LJJ FF C FS L 1 D CR GS M m E SO RS N t n F S I US 0 0 DEL NOTES 1 Parity bit in most significant hex digit not included 2 Characters in columns 0 and 1 as well as SP and DEL are non printing 3 Model 33 Teletypewriter prints codes in columns 6 ...

Page 101: ...ENDENT UPON THE TERMINAL BEING USED A CR OR LF IS ENTERED AT THE BEGINNING TO SPECIFY THE APPROPRIATE DELAY BETWEEN BITS UT20 WILL ECHO CHARACTE RS IF CR I S CH0 SEN AS THE TIMING CHARACTER ECHOING WILL NOT TAKE PLACE IF A LF IS INPUT AS THE TI ING CHARACTER UT20 AT INITIATION STORES ALL REGISTERS BETWEEN WRAM 32 AND WRAM IF IT FINDS RAM THERE BUT RO R1 AND R4 1 ARE CLOBBERED R CAN BE USED TO TYPE...

Page 102: ...AM 34 IS ASSUMED NOT TO BE RAM ELSE ROUTINE OVERRUNS LDI A 1 WRAM PHI CL CL IS CLOB BERED LDI A 0 WRAM 1 PLO CL SET UP WHERE RF O IS TO GO MINUS 1 LDI IIAO iPHI R4 R4 1 STORES A MODIFIED INSTRUC SEX CL LOOP2 LDI liDO STR CL SET UP SEP INSTR FOR RETURN UT20 UT20A XOR BNZ UT20 DEC CL CHECK IT WROTE GHI R4 ADI 1170 BDFHII04 PREPARE FOR MODI FIED INSTRUCTION IN THE 90 S ADI 1121 ADI 117F PHI R4 STR CL...

Page 103: ...R 8077 3A7E 0151 BHZ TEST BR IF NOT A CR 8079 81 0152 GLO SWITCH 807A 3A8D 01S3 BNZ LINE 03 BR IF 807C 30E1 0154 BR SYNERR OTHERWISE ERROR 807E FB2D 0155 TE ST XRI 2D CK FOR SPACE 8080 3AE1 0156 BNZ SYNERR 8082 20 0157 DEC ASL ADJUST ASL 8083 81 0158 GLO SWITCH LOOK AT SWITCH 8084 32C6 0159 BZ EX1 IF 0 IT IS u 8086 0160 OTHERWISE IT S 8086 0161 8086 0162 THE FOLLOWING DOES M LOC COUNT AND 8086 016...

Page 104: ...sue BR LINE SHR BDF TLOOP BR TSPACE ANI IIOF 1I3B 1100 BRANCH NOT DONE BRANCH IF DONE PTER DIV BY 16 YES TYPE THEN CR DIV BY 2 NO LOOP BACK ELSE TYPE SPACE LOOP BACK THE FOLLOWING DOES lM LOC DATA COMMAND ENTER AT EX1 EFFECT OF THE FOLLOWING IS TO READ IN HEX TER INATING WITH A CR IGNORING NON HEX CHAR PAIRS EXCEPTIONS A COMMA BEFORE A CR ALLOWS THE INPUT TO CONTINUE ON THE NEXT LINE AND A SEMICOL...

Page 105: ... 0285 0286 0287 0288 0289 0290 0291 0292 0293 0294 0295 0296 0297 0298 0299 0300 0300 0301 0302 0303 0304 0305 0306 0307 0308 RC SEP RC SEP RC SEP RC 4 NOP S SUB RETURN AUX SHR PLO AUX SHIFT OUT ECHO FLAG DELAY2 DEC AUX AUX O HOLDS BASIC BIT DELAY LOA SUB SMI 1101 BNZ 1102 GLO AUX ez DEXIT DEC SUB BR DELAY2 PICK UP CONSTANT LOOP AS SPECIFIED BY CALL DON E YET POINTS SUB AT DELAY POINTER ROUTINE TO...

Page 106: ...RC 1126 SEP R5 REDUCE COUNT TO BALANCE FIXED OVERlOAD IN CAlLING DELAY AUX lse AUX 1 1 5 BIT TIME DELAY eR IF IF NO ECHO lse AUX 1 1 CR ECHO lSB AUX 1 0 READ ROUTINE READS 1 BYTE INTO CHAR 1 WHEN ENTERED VIA READAH THEN IF INPUT IS A HEX DIGIT ITS HEX VALUE IS SHIFTED INTO ASl FROM THE RIGHT AND DF 1 ELSE DF O CLOBBERS CHAR AUX O ASl ON READAH lEAVES BYTE IN D BUT CLOBBERED IF SUBR lINKAGE IS USED...

Page 107: ...ORI 80 BN4 NOBIT PHI CHAR BR LOOPS FINISHED D CHAR 1 BR IF INPUT IT A ZERO ELSE PUT OK D VALUE AWAY NOW HAVE BYTE READ INTO CHAR 1 NEXT OUT 7 DEC ST BZ READ2 OUTPUT STOP BIT BR IF 0 0 GLO CHAR BNZ REXIT CHAR 1 IS A NULL CHECK ENTRY FLAG BR IF ENTRY VIA READ CKHXE GHI CHAR SMI 41 BNF CKDEC SMI 1106 BDF NFND ADI 1110 CK FOR ASCII HEX AT TOP OF ROUTINE CK FOR A THRU F SUB NET 37 FND PLO AUX GHI ASL S...

Page 108: ...0 H2 LOItlOB BITS TO OUTPUT t 81 C2 AF 0461 TY3 PLO CHAR SAVE MAIN TALLY 81C3 0462 VALUE 81C3 E2 0463 SEX ST 81C4 0464 81C4 F80052 0465 BEGIN LDIflOO STR ST FOR START 8IT 81C7 67 0466 OUT 7 81C8 22 0467 DEC ST BACK TO WHERE 81C9 0468 IT WAS 81C9 8E 0469 GLO AUX PUT CHAR BACK 81CA 52 0470 PREBIT STR ST 81CB DC07 0471 8ITS SEP RC 1107 DELAY 1 BIT TIME 81CD 2F 0472 DEC 5HAR DECREMENT TALLY 81CE FOAEF...

Page 109: ...0553 0554 0555 0556 0557 HEX2 HX22 BR HX22 GHI CHAR ANI OF ADIIIF6 eN F ull04 ADIII07 S IIIC6 PLO AUX BR BEGIN FSYNER SEP SUB IIOA SEP SUB 1I3F LBR START GET SECOND HEX DIGIT CONVERT TO HEX IF A OR MORE ADD NET 37 ELSE ALL NET 30 STORE CHAR AWAY IF THE FOLLOWING DOES SP HHHH SU HHHH DOLLAR lDI A O INTRPT LDI A 1 INTRPT SEP SUB PLO R1 R1 IS POINTI G PHI R1 AT INTRPT SUB O READAH D1 D2 XRI 1155 ez 0...

Page 110: ...276 D4824D 0585 MSG SEP R4 ACMSGE 8279 494E5452505421 0586 T INTRPT 1100 8280 00 0586 8281 0587 8281 0588 8281 0589 8281 0590 8281 0591 8281 0592 8281 E3 0593 8282 F8EFAC 0594 8285 0595 8285 0596 8285 F880BC 0597 8288 F83FA5 0598 828B F880e5 0599 828E F800A2 0600 8291 F88CB2 0601 8294 6101 0602 8296 0603 8296 7155 0604 8298 0605 8298 0606 8298 0607 8298 0608 8298 0609 8298 0610 8298 0611 8298 0612...

Page 111: ...ET ROU TINE R4 R5 ON SAME PAGE STACK GHI R2 PHI R2 PLO R2 S I 01 PHI R2 ASSUME 4K BANKS LDIII5A STR R2 LDN XRIII5A iBNZ STACK HOMDSK OUT 5 1I0B OUT 4 1101 OUT 5 1121 SEX R2 H P 6 ANI 20 SEX RO BNZ UNIT2 OUT 5 OD UNIT1 SEX R2 iINP 6 SHR BDF U IT1 SEX RO UNIT2 0UT 5 08 OUT 4 1141 OUT 5 1121 SEX R2 INP 6 A II 20 SEX RO BNZ EXIT2 OUT 5 IIOD UNIT SEX R2 iINP 6 SHR eDF UNIT SEX RO fXIT2 0llT 1 1101 SEX ...

Page 112: ...48 9D 0711 GHI CNTER 8349 C2803F 0712 L8Z START 8RHCH IF DONE 834C 80FB18 0713 TL3A GLO PTER XRIII18 CK IF RC 834F 3A53 0714 8NZ TLX 8351 D32C 0715 SEP SU8 T 8353 80FAOF 0716 TLX GLO PTEP ANI flOF PT ER DIV BY 16 8356 3A5E 0717 BNZ TL2A 8358 D30D 0718 SEP SU8 IIOD THEN CR 835A D30A 0719 SEP SUB IIOA TY PE LF 835C 303E 0720 BR TLOOPX 835E F6 0721 TL2A SHR DIV BY 2 835F 333E 0722 BDF TLOOPX NO LOOP ...

Page 113: ... 0765 PHI R6 OF R6 837E 9F 0766 GHI RF 837F C08373 0767 lBR EXITR BRANCH TO ENTRY 8382 0768 POINT 8382 0769 UT20 VECTOR TABLE 8382 0770 ORGtl83FO 83FO C0824D 0771 OSTRNG lBR MSGE 83F3 C08298 0772 I NIT1 LBR DSKG01 83F6 C0829E 0773 INIT2 LBR DSKG02 83F9 COB281 0774 GOUT20 LBR ENTER 83FC C0816C 0775 CKHEX LBR CKHXE 83FF 0776 83FF 0777 END 0000 M 0000 0001 0000 0002 0000 0003 0000 0004 0000 0005 0000...

Page 114: ...0071 0072 0073 0074 0075 ST 02 STACK POINTER PC 03 MAIN PROGRAM COUNTER ASL OD AUX OE 1 0 PARAMETERS READAH 813e TYPE 81 A4 OSTRNG 83FO DSKGO 83F6 GOUT20 83F9 CKf IEX 83FC LDI A OCSTART 06 PLO R3 LDI A 1CSTART PHI R3 LBR DSKGO LDI 1F PLO R2 LDI 8C Pf II R2 START LDI OO PLO ASL PHI ASL CLEAR ASL PHI RA STXD CLEAR RA ASK SEP R4 ACOSTRNG OD OA T READ OO ASK1 SEP R4 ACREADAH READ A CHAR XRI OD CK FOR ...

Page 115: ...FBOD 848E 3261 84 CO FB36 84C2 0095 0096 0097 0098 0099 0100 0101 0102 0103 0104 0105 0106 0107 0108 0109 0110 0111 0112 0113 0114 0115 0116 0117 84C2 84C4 84C6 84C9 84CC 84CE 84DO 84D3 84D5 84D7 84 D9 328D 0118 LF 84DF 84EO 84E1 30A6 0119 D48573 0120 C883F9 0121 FE55 0122 3AE1 0123 D484F6 0124 33DO 0125 8DAO 0126 9DBO 0127 D483FOODOAOO 0128 EO 0129 DO 0130 D483FOODOA464F 0131 84E8 524D4154204552 ...

Page 116: ...ORE ON STACK 851C 0163 POINT TO UNIT SECT 851C 6422 0164 OUT 4 DEC R2 OUTPUT THE TRACK 851E E36511E2 0165 SEX R3 OUT 5 11 SEX R2 LOAD TRK 8522 4 C5 2 0166 LOA PTER STR RLI GET UNIT SECT STO RE ON STACI 8524 0167 POINT TO eYTE COUNT 8524 6422 0168 OUT 4 DEC R2 OUTPUT Uf IT SECT 8526 E36521 0169 SEX R3 OUT 5 21 LOAD UNIT SECT 8529 C4C4C4C4 0170 NOP NOP NOP NOP WAIT 48US FOR DISK 8520 6509 0171 OUT 5...

Page 117: ...NT FOR N 0210 0211 0212 0213 0214 0215 0216 0217 0218 0219 0220 0221 0222 0223 0224 0225 CNTOK POINT AT UNIT SECT LDX ADI 01 STXD INeR SECTOR POINT A ANI 1F MASK OUT UNITS BITS SDI 1A SECTOR 26 PDF CNTOK NO CHECK TRACK INC PTER POINT AT UNIT SECT LDX ANI CO ADI 01 STXD RESET SE T T LDX LDX ADI 01 STR PTER INCR TRK GET TRK SDI 4C PD F TRKOK TRK 76 TRACK IN RANGE OK INC PTER SEX R3 OUT 5 00 8R TRKNG...

Page 118: ...EXWT 8R IF YES REWRIT LDI 1I01 PHI RF SET WRITE MODE LDI OO STXD ZERO THE BYTE COU T POINT AT THE SECII LDX ADI 1101 STXD INC SECII AND POINT ANI 1F SDI 1A ED F WTCNT INC PTER LDX ANI MASK OUT UNIT NUMBER SECTOR 26 NO CHECK TRK POINT AT UNIT SECII CO ADI 01 STXD RESET SECT LDX ADI 1101 INC THE TRACK STR PTER WTCNT LDX GET THE TRK SDI 114C TRK I 76 E DF TRKOK1 TRACK IN RANGE OK TO INC PTER INC PTER...

Page 119: ...49 0334 86ED 542000 0334 86FO 8AFA40 0335 IT BIT 86 F3 CE 0336 86F4 F801 0337 86F6 FC30 033 86F8 BF 0339 86F9 D481A4 0340 86FC D483F02C205452 0341 8703 4143482000 0341 ERR4o RDII RPT RDOP WROP UTSPT GHI RF STXD GLO RF STXD SAVE FLAGS AND ERRO G I RA STXD GLO RA STXD SAVE RA DEC RC POI T TO UNIT SECT LDN RC ANI 7F PLO RA SAVE V IT SECTOR I DEC RC POI T TO TRK LDN RC PHI RA SAVE TRACK IN RA 1 GHI RF...

Page 120: ...EP R4 ACOSTRNG T SECTOR 00 GLO RA ANI F PHI RF GET SECTOR SEP R4 ACTYP8CD TYPE SECTOR GLO RA ANI 80 Z NOSKIP CHECK CRC F SEP R4 ACOSTRNG T SKIPPED OO bSKIP SEP R4 ACCSTRNG ODOAOO TYPE CR LF DERXT IRX RECOVER REGISTERS FROM STACK LDXA PLO RA LDXA PHI RA GET OLD RA LOXA PLO RF LDXA GET FLAGS AND ERROR CO A I 01 ORI 80 PHI RF LOXA PLC RC LDX PHI RC SEX R3 OUT 5 OP SEP R5 RETUR SET ERROR FLAG GET DCB ...

Page 121: ...AG SET 0397 CHARACTER IN RF 1 WAS A DC3 END OF FILE THE DFLAG 0398 0399 0400 0401 0402 0403 0404 0405 0406 0407 0408 0409 0410 0411 0412 0413 0414 0415 0416 ON RETURN PRNTRF GHI RF XRI el EXITDF GHI RF XRI el EXITEF PRINT1 GHI RFiXRI P 1 OUT 6 DEC HI RFiXRI BNl EXITDF LDI flOAiPHI ER PRINT1 EXITDF LDI fl01iSHR SEP Rs EXITEF SHR SEP Rs END flOA IF LINE FEED EXIT 13 IF OC3 EXIT flFFiSTR R2 INVERT DA...

Page 122: ...yer should remember his is given up to 15 trials Immediately after this CDS tells him how many digits are correctly placed and also how many belong to the set but are incorrectly placed RP X right place WP X wrong place If his guess is entirely correct CDS types WIN XXXX correct answer If his guess has reached the last of his possible trials the CDS answer is LOSE XXXX correct answer In both cases...

Page 123: ... the player has reached the last of his 15 possible trials the message YOU LOSE is displayed along with lhe correct answer 1 5 If neither of the above occurs WINILOSE the turn number is decremented by one and the player can enter a new guess 6 If the player is very anxious to know the right guess he can Resign the game by typing R in lieu of any of his guess digits Again in addition to the correct...

Page 124: ...f the other tapes as required The bottom three wires should not be moved o o 240V o 230V o WIRED FOR 115 V OPERATION AS SUPPLIED WIRED FOR 220 1 OPERATION 92CS 29610 Fig 1 Conversion for different operating voltages Appendix J Connection List for Terminal Interface Cables TELETYPE TERMINAL P1 P2 Signal 8 6 Data from TTY Current Source 7 8 Data to TTY Current Source 3 7 Data to TTY Current Return 4...

Reviews: