background image

User Manual for the  RCA

 

Microboard  Computer Development

 

System (MCDS)

CDP18S693 and CDP18S694

MPM-293A

S u g g e s 'e d   P rice  $10.00

Summary of Contents for CDPl8S693

Page 1: ...User Manual for the RCA Microboard Computer Development System MCDS CDP18S693 and CDP18S694 MPM 293A Sugges ed Price 10 00 ...

Page 2: ...e RCA Microboard Computer Development System MCDS CDP18S693 and CDP18S694 Solid State Brussels Buenos Aires Hamburg Madrid Mexico City Milan Montreal Paris Sao Paulo Somerville NJ Stockholm Sunburyon Thames Taipei Tokyo ...

Page 3: ...488834 1 The software described in this manual is copyrighted by Corporation Information furnished by RCA is beiieved to be accurate and reliable However no responsibility is assumed by RCA for its use nor for any infringements 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 Copyrig...

Page 4: ...ata on tape and start execution of programs The BASIC3 interpreter 12 kilobytes features full floating point arithmetic line editing capability and trace debugging for program creation The audio cassette tape system provides for economical storage and retrieval of programs or data The CDP18S694 has all the features of the CDP18S693 plus the following In an additional three RO M set on the CDP18S65...

Page 5: ...el I O Interfacing 45 I O Expansion 46 System Signals in I O Interfacing 47 Page 9 Using the Cassette Tape D rive 49 Operation 49 System Care 49 Controls 49 10 Usingthe PROM Programmer 51 Installation 51 Memory Organization and U se 51 Software Considerations 52 Precautions 53 Operations and Commands 54 Examples of Compound Operations 58 Appendix A Specifications for the Microboard Computer Develo...

Page 6: ...ot use a Fig 1 CDP18S693 M icroboard Computer DevelopmentSystem configuration A cable CDP18S516 is provided for connecting the user s data terminal to the system The cable is labeled EIA and is keyed at the 10 pin connector end P1 to plug into J2 EIA of the CDP18S601 The otherend is a standard EIA RS232C 25 pin delta connector that mates with the connector on the data terminal No handshaking lines...

Page 7: ... the power supply and the cassette tape system power cable Next place the RESET RUN switch in the run position Press the carriage return key on the terminal and the system should respond with an asterisk indicating that the system is ready to accept user commands If an asterisk prompt is not received the user should examine all connections and restart the system with the RESET RUN switch and then ...

Page 8: ...results Examples D02F8 8 CR D02F8 02FF CR Both of these examples produce the same output I Commands Name Purpose Format Action Examples Memory Insert To alter the contents of memory beginning at the specified address I START ADDR SPACE DATA CONT CR A memory location is accessed at the specified START ADDR The DATA required is one byte specified by two hex digits The CONT option allows data to be c...

Page 9: ...es S02F8 63 71 00 0F C0 CR The current data of 63 is changed to 71 The 00 data is retained and the 0F is changed to C0 S02F8 7F 00 C0 H 82 LF 02FC 52 AE LF 02FD 00 F8 n 40 23 A3 CR In this example the 71 00 and C0 are retained and the 11 is changed to 82 Each LF causes the next address to be typed followed by its data P Commands Name Program Run Purpose To allow a user program to be run beginning ...

Page 10: ...mples the system response is indicated byan underline Hence the total number of l s in the eight intelligence bits is always an even number Some data terminals may be set up to generate either even or odd parity UT62 ignores the parity bit so either even or odd parity is acceptable LOGIC I LOGIC 0 2 3 4 5 6 7 8 i H ID I ID ID ID D ID IP l i i L_ u_ ACTUAL J DATA BITS B INTELLIGENCE BITS 7 DATA BIT...

Page 11: ...is reserved for the operating constant control constant 0 or 1 added to the timing parameter TP discussed above RF 1 is used in certain cases to pass the byte being read or typed between the calling routine and these subroutines When READ is exited it leaves the input byte in RF 1 When TYPE is entered at location 81A4 the byte to be typed is taken from RF 1 All routines alter RE 0 and RF 0 They al...

Page 12: ...xcept DELAY use R3 as program counter exit with SEP5 and modify registers X D DF RE RF and location M R2 2 DELAY routine uses RC as program counter exits with SEP3 after incrementing R3 and alters registers X D DF and RE 3 READ and READAH exit with R3 pointing back at READAH 4 All five TYPE routines exit with R3 pointing at TYPE5 All TYPE routines modify register RD 5 R0 R1 and R4 1 are altered by...

Page 13: ...ed are now in RD The READ routine at 8l3E could be used similarly to enter characters however READ only enters them one at a time into RF l and D writing over the previous entry Note that even though incoming data is entered into D the subroutine return program alters D Therefore valid data will only be found in RF l and RD when READAH is used if the standard subroutine call and return programs ar...

Page 14: ...alized before the call is made RA must contain the number of locations to be filled RB must contain the lowest address of the area to be filled and RD 0 the data to be placed in memory FILL also returns to the user program via SEP R5 The following example using SCRT will initialize one page of memory to 00 beginning at address 0200 FILL 824B LDI 0l PHI RA LDI 02 PHI RB LDI 00 PLO RA PLO RB PLO RD ...

Page 15: ...er RF 1 A three byte memory table given in Table III holds the current block number the tape drive selected and the current byte count in the selected block At the time the call is placed register C should be pointing at byte 3 of this table On return register RF 1 contains the byte read from tape and the table is updated by 1byte Register RC is unchanged When the byte count reaches 384 180H it is...

Page 16: ... out that quantity Another technique is to change the table to a count of 383 17FH This technique will write the final byte in the block buffer and cause the buffer to be written to tape REWIND TAPE The TAPE REWIND subroutine at location 8504H is used to enable the REM input on Cassette Tape units The prompt REWIND THEN HIT ANY KEY is written on the Video Monitor screen Table lll Read write RAM ta...

Page 17: ...seudocode Line editing is also available in BASIC3 to enable program modification without requiring the retyping of a new line On the CDPl8S694 programs can be created edited and loaded by using the text editor The editor stores text in ASCII code on tape which can then be loaded into BASIC3 by the user declaring the tape as the input device through the DIN command BASIC3 also allows calls to user...

Page 18: ...is used Typically modifications at this point merely involve insertion and deletion of single characters 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 t...

Page 19: ... which will contain the created file An existing input file may be modified edited by reading portions of it into the buffer then using CRE commands to alter the contents of the buffer and finally writing the results onto the output file Typically the output file is a new version of the input file After an editing session the new version is retained and the old version is discarded although it may...

Page 20: ... Normally then the LF character should not appear at any point in the buffer Whenever CRE transmits a CR character to the terminal it automatically appends to it the LF six NULL field to maintain the tape formatjust discussed It is conceivable that due to the user error one or more lines on the input file or in the buffer may exceed the 78 data character length restriction For example data alterat...

Page 21: ...rs to the right with m n then the operation will stop after the buffer pointer has been incremented by only n CRE Command Operation Command Strings On entry CRE types the following message MCDS TAPE EDITOR VERSION X X and then follows with its user prompt The prompt always indicates that CRE is ready to receive a new user command from the keyboard and has executed the previous one After receiving ...

Page 22: ...errupting CRE Execution The user may at any time stop CRE execution by depressing and holding the BREAK key on the keyboard This key is used for example to stop a long typeout On receipt of the BREAK CRE stops execution at whatever point was reached and returns to the command input mode by issuing another prompt To assure the clean entry of succeeding commands the RUBOUT key should be depressed to...

Page 23: ...ea available for the buffer will be proportionally reduced The SAVE area is not automatically cleared by a GET command Several GET commands may be issued against the same SAVE area It is good practice therefore to clear the SAVE area when it is no longer needed in order to make that area available to the buffer This step is accomplished by typing 0X zero X If an attempt is made to save more lines ...

Page 24: ...Table IV CRE Command Summary Meaning Move pointer to BEGINNING of buffer Move pointer to END of buffer Step pointer right or left by n CHARACTERS Step pointer down or up by n LINES APPEND lines to end of buffer from input tape Reposition pointer to beginning of APPENDed area DELETE n characters after or before pointer KILL n lines after or before pointer INSERT text at present pointer position Pos...

Page 25: ...aracters CRE has found an invalid command in a command string XXX X is that part of the string not executed Filled work space warning CRE ran out of work space during an execution XXX X is the unprocessed part of the command string There is not enough room in the SAVE area The specific character sequence was not found between the pointer s previous position and the end of the buffer CRE ran out of...

Page 26: ...ters read from the input file are loaded into the buffer as is On output each HORIZ TAB buffer character is converted into the required number of spaces extending the line length in the process Thus HORIZ TAB characters cannot appear on the output tape The TAB character can be used to produce straight columns in a source file Note As a special case CRE interprets a text beginning with a HORIZ TAB ...

Page 27: ... by WRITE s Finally a GET or GnW will complete the sequence When appending to the end of a file one has the alternative of removing after the last APPEND the dummy termination line via a Z lK command string Operation then is as in the CREATE mode For this case the final DC3 line must later be inserted to the end of the file Deleting a Section in a File To delete a section in a file first copy up t...

Page 28: ...ir 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 CANT FIND message For ...

Page 29: ...creates machine code that is simpler to debug The following material describes how to use the Assembler and explains in detail the Assembler s treatment of a source file and the form of the Level I assembly language Using the Assembler The Assembler is called from the UT62 monitor program by the user typing an A The system searches memory for the top of free RAM types the Assembler title and then ...

Page 30: ...gical facility provided by an assembler to aid in the output code generating process is its ability to construct and reference a symbol table A symbol is a sequence of one to six alphanumeric characters beginning with a letter Each programmer defined symbol is given an entry in this table where it is assigned a two byte value which is often an address value equal to the location counter contents a...

Page 31: ...nts defined later Any character within a text constant has no special punctuation significance to CRA Thus a symbol definition is indicated to CRA by the occurrence of or immediately after a leading sequence of alphanumeric characters in a statement When a symbol is equated to a register number only a decimal or a hexadecimal number should appear on the right side of the equation For example COUNT...

Page 32: ...to be specified In most cases however the operation mnemonic must be followed by an operand The form of the operand i e the additional information which the programmer needs to supply to fully define the instruction depends on the type of instruction The four operand forms follow Register operands Many instructions e g INC LDA etc include a hex digit identifying one of the scratchpad registers The...

Page 33: ...ics DC ORG PAGE and END Additional Notes 1 As noted earlier a space is not permitted within a syntactic entity symbol mnemonic constant etc A space is not permitted between a symbol being defined and the following colon or equals sign Note however that a space within a text constant is permitted It is translated into its ASCII equivalent code There is a case where a space is required as a punctuat...

Page 34: ...8 LDI 14 LSKP FOR 300 BAU D 0035 0059 0035 F804B0 0060 B1200 LDI 04 PHI FLAG FOR 1200 BAU D 0038 0061 0038 D48774 0062 SEP C ALL A FN D TA P G ET THE TAPE 003B 0063 003B D48502 0064 M O RLST SEP C A LL A R EAD T READ A BYTE FROM TAPE 003E 3BAE 0065 B N F PRO M PT PAR ITY ERROR ABO R TS 0040 3FAE 0066 BN4 PRO M PT BREAK KEY ABO R TS 0042 0067 0042 9FFB13 0068 C H K O U T GHI CHAR XRI EOF EOF M EANS...

Page 35: ... possible that an error at one point in a source line may be interpreted by CRA as an error at a different point For example in TTEXT COMMENT a single quote is missing after TEXT It will not be detected until the end of the line In fact if the comment happens to end in a single quote the error will go undetected Further and more important it is possible for the error code to indicate one type of e...

Page 36: ...s found an invalid character This error code may be caused by an uneven number of hex digits 10 MISSING TRAILING QUOTE IN TEXT CONSTANT Note that the error marker will not appear because this error is always detected at the end of a line 11 PERIOD ERROR Either illegal use of a single period or a missing period beginning a comment 12 LEADING CHARACTER ERROR At the beginning of a statement a leading...

Page 37: ... and is reinitializedto lookatthe nextone the intervening semicolon is merely ignored Thus it is not really mandatory that the semicolon be used between two statements on a line if the first is known not to contain errors Clearly however it is a necessary practice not only for readability but also forverification purposes TABLE VIII Summary of CRA Error Messages Error Code Meaning 01 UNRECOGNIZED ...

Page 38: ...de Any one of these registers may be dynamically designated as the program counter thereby giving the system multiple program states Each register may also be used for data storage or as memory pointers for subroutines I O stacks and the like One register each is designated for DMA and Interrupt pointers The CDP1802 provides a serial data out connection Q and four external flag input pins EF1 thro...

Page 39: ...T62 are given in Chapter 2 The chassis provided with the CDP18S693 development System can accommodate six Micro board modules in addition to the CDP18S601 and CDP18S652 supplied with the System Because the chassis utilizes the RCA COSMAC Microboard Universal Backplane See Table IX for the Backplane Connector Pin List the Development System can be readily expanded with any of the Microboard Table I...

Page 40: ...E command from the CPU to the memories Address lines are stable at this time Actual writing or latching occurs at the trailing edge MRD A READ command from the CPU to the memories and a direction indicator for I O data transfers In the I O instructions it corresponds to N3 N register internal to the CPU which distinguishes I O inputs from outputs MRD must be used to condition output drivers in all...

Page 41: ...evice to load the memory without the need for a bootstrap loader It modifies the IDLE condition so that termination of the DMA IN operation does not force execution of the next instruction DMA in requests then load memory starting from location zero for as many bytes as there are DMA IN requests Reset Mode Registers I N and Q are reset IE is set and 0 s Vss are placed on the data bus TPA and TPB a...

Page 42: ...bination with any of the other three types No other combination may be used One to four ROM s may be used Two types of links are provided and must be made up by the user to suit the particular ROM configuration selected The first link type is for accommodating the type of ROM selected CDP1834 2708 2758 or 2716 The second link type is for selecting the memory address space to be occupied by the ROM...

Page 43: ... lower 1 kilobyte segments of the 4 kilobyte block In other words its 1 kilobyte will wrap through the lower 2 kilobytes of the 4 kilobyte block If it is in socket XU24 it will wrap through the upper 2 kilobytes of the 4 kilobyte block A 2 kilobyte ROM may be placed in either socket XU24 or socket XU25 while the other is occupied by a 1 kilobyte ROM Socket XU27 low 2 kilobytes and socket XU26 high...

Page 44: ...mance all appropriate CPU signals are wired directly from the CDP1802 to the backplane When additional modules are used the capacitive loading on all signals should be minimized by the use of input and output buffers such as types CD4049 CD4050 CDP1856 CDP1857 orthe like In addition each memory module must latch the high order address bits with the TPA trailing edge and provide the decoding for me...

Page 45: ...y be either linear or binary encoded The I O addresses are effectively increased to 96 and 1530 respectively One of the input instructions is also reserved for reading back to the CPU the latched group number In the Microboard system the following conventions are established The 61 output instruction is used to transmit the group number The output data byte is latched and decoded by any Microboard...

Page 46: ...able XlV Parallel I O Interface Signals and Pin Connections P2 Pin Signal Pin Signal 1 B2 P 2 GND 3 B1 P 4 B3 P 5 B0 P 6 B4 P 7 BSTB P 8 B5 P 9 BRDY P 10 B6 P 11 AD7 P 12 B7 P 13 AD6 P 14 GND 15 AD5 P 16 CLEAR N 17 AD4 P 18 GND 19 AD3 P 20 Q P 21 AD2 P 22 GND 23 AD1 P 24 EF4 N 25 AD0 P 26 EF3 N 27 ASTB P 28 GND 29 ARDY P 30 5V 31 EF2 N 32 5V 15V 33 EF1 N 34 12V 15V BRDY and group select generates ...

Page 47: ... in the bidirectional mode In the bit programmable mode each line in AD0 AD7 and B0 B7 is programmed to be either input or output In addition the handshaking lines are programmed to be input or output lines unless Port A is bidirectional in which case it uses all four handshaking lines The handshaking lines when used as data lines are accessed by a write control for output lines and read status fo...

Page 48: ...xternal flag signals are pulled up to VD Dthrough 22 kilohm resistors on the CDP18S601 In order for an external flag to play a functional role in a COSMAC based system it must be tested by the program at the time when action is required Further in programs which incorporate a periodic flag test there must be some means for the interface logic to sense that the flag stimulus has caused a response I...

Page 49: ...ing the interrupt would put its address on the data bus where it can be examined by the CPU and used to vector to the right routine Additional hardware would be required if the possibility of simultaneous interrupts exists A good programming technique is to put the bytes 7l and 00 a the first two instructions in the program That will disable interrupts until the programmer is ready for them At tha...

Page 50: ...inning of the tape is skipped Each byte is serialized into a 10 bit word consisting of a start bit 8 bits of data and a parity bit odd If a parity error is encountered on tape read during a block the system issues the message PARITY BAD THIS BLOCK Parity errors can be generated by a dirty or worn tape dirty tape heads or improper level settings on the tape drive unit for volume or tone The tone co...

Page 51: ...e J command prompts the user to rewind tapes and enables the remote line on both tape drive units At this time the rewind button is active When rewind is finished the user simply types any key and the tapes are once again under system control The user can now press the play or record buttons in preparation for a tape read or write operation ...

Page 52: ...en the module is to be used for programming PROM s the user should remove the top cover and exchange the PROM Programmer module for the Microboard module in the top slot By having the PROM programmer module in the top slot access is provided to the three PROM programming sockets An external power supply is required as a programming voltage to be connected to jack J3 labelled PROG PWR The voltage r...

Page 53: ...ing page specified for the appropriate number of bytes Thus the data to be programmed must be contiguous in the buffer area Software Considerations General Procedure The PROM Programmer software is designed to prompt each step of a procedure so that operation of the system is self explanatory and it is hoped relatively error proof For each type of operation except SAVE the user is asked to identif...

Page 54: ...kind in which an incorrect though valid response is made must be corrected by pressing the RESET button on the MCDS and restarting the program with the monitor program s P command For example if a V command is inadvertently entered instead of the P command the program should be restarted to correct the situation Precautions A PROM should never be inserted or removed with power on The user should a...

Page 55: ...programmed is already in the buffer RAM The next prompt is PAGE asking for the first page on which data is located Data is taken from that page and subsequent pages as required for the PROM being programmed If the user enters the letter T indicating data tobe programmed is on a tape file the program will ask for the unit by typing TAPE The user should respond with either a 0 or a 1 Next the progra...

Page 56: ...s later in this section for details on the file reader operation Procedure A verify operation is automatically done after a PROGRAM or COPY operation If there are no errors the DONE message appears Any mismatch between a PROM address and the corresponding buffer address results in an error listing such as ERR M 0800 FF PROM 00 This error listing says that location 0800 in the RAM buffer contains a...

Page 57: ...umber entered 1 page for 1702 or CDP18U42 4 pages for a 2758 etc This command is used in verifying that a PROM has been completely erased The erased PROM is VERlFY ed against a buffer filled with l s or 0 s as appropriate Example Fill RAM pages B through E with 0 s 4 pages MCDS PRQM PROGRAMMER VER X F V P C S J U F TYPE 2708 2708 IS 4 PG DEVICE LOGIC P N N PAGE B DONE MCDS PROM PROGRAMMER VER X F ...

Page 58: ...e program will restart from the beginning Format errors detected on the cassette will cause the program to type the following messages and restart from the beginning FORMAT ERROR LOAD ABORTED When loading starts the message LOADING is typed At the completion of a successful load the word COMPLETED is added to the sentence The program then goes automatically into the program or verify operation NOT...

Page 59: ...42 s on tape to make a CDP1831 ROM with address range 0100 02FF MCDS PROM PROGRAMMER VER X F V P C S J U C COPY 1ST PROM INTO PG 8 TYPE 1842 LOGIC P N P PAGE 8 DONE MCDS PROM PROGRAMMER VER X F V P C S J U C COPY 2ND PROM INTO PG 9 TYPE 1842 LOGIC P N P PAGE 9 DONE MCDS PROM PROGRAMMER VER X F V P C S J U S PAGES 2 TAPE 1 LOWEST PROM ADDRESS XX00 0100 DONE Example 4 Program two 2708 s from a file ...

Page 60: ... Text Editor ROM based Level I Assembler ROM based Memory 1 0 and Control Specifications RAM 4 kilobytes on CDP18S601 at OOOOH OFFFH 1 kilobyte on CDP18S652 at 8C00H 8FFFH ROM 4 sockets for up to 8 kilobytes on CDP18S601 2 kilobytes preprogrammed with UT62 on CDP 18S652 12 kilobytes preprogrammed with BASIC3 on CDP18S652 6 kilobytes preprogrammed with Editor Assembler on CDP18S652 Parallel I O 20 ...

Page 61: ... TAPE R RUN EDITOR E RUN ASSEMBLER A RUN BASIC B WRITE TAPE W REWIND TAPES j COPY TAPE TO SCREEN C AND RUN PROGRAM P TAPE READ LOADS MEMORY FROM TAPE TAPE WRITE SAVES MEMORY ON TAPE FROM START TO END ADDRESS AS SPECIFIED ALSO INCLUDED ARE THE STANDARD READ AND TYPE ROUTINES WHICH PROVIDE COMMUNICATION WITH THE USERS TERMINAL UPON INVOCATION THE CONTENTS OF THE CPU REGISTERS ARE SAVED IN RAM AT 8C0...

Page 62: ...X OE AUX 1 HOLDS BIT TIME CONSTANT CHAR OF STORES ASCII I O FLAG OF FLAGS FOR TAPE RAM ROM ALLOCATIONS RDBUFF 8E7F TOPSTK 8CFF WRAM 8ClF WRTBUF 8E80 UT62 8000 ROM BASED PROGRAM HIGH ORDER ADDRESS VALUES ABAS B0 AEDIT 90 AASM 9B PRMPGR E0 ASCII CONTROL CHARACTERS NULL 00 COMMA 2C SEMCOL 3B BS 08 LF OA CR OD EOF 13 SPACE 20 CRLF ODOA NULL COMMA SEMICOLON BACK SPACE LINE FEED CARRIAGE RETURN END OF F...

Page 63: ...AGE DONE 8027 3A0F 0146 BNZ LOOP NEXT BYTE 8029 i 0147 8029 C08381 0148 UT62A LBR INIT 802C 0149 802C D480FE 0150 START SEP CALL A TIMALC 802F 0151 802F 0152 802F 0153 OUTPUT THE UTILITY PROMPT 802F 0154 802F 0155 802F D483FF 0156 PRMPT SEP CALL A TPOFF TURN OFF TAPES SEL RCA GRP 8032 D483F0 0157 SEP CALL A OSTRNG OUTPUT PROMPT TO USER TERMINAL 8035 0D0A2A00 0158 A CRLF PROMPT 0 8039 0159 8039 016...

Page 64: ...D ISPLY T I A IN S E R T T M A MOVE T F A F IL L T S A SU BST T P A R U N T R A TPLOAD T J A TPW IND T W A TPWRIT T E A EDITO R T A A ASSEMB T B A B A SIC T Z A PROM IT T C A TPSCRN 0 MEMORY DISPLAY INSERT INTO MEMORY MOVE A BLOCK OF MEMORY F IL L A BLOCK OF MEMORY BYTE SUBSTITUTION RUN A USER PROGRAM READ FROM TAPE TO MEMORY REWIND TAPES WRITE ONTO TAPE FROM MEMORY START THE EDITOR START THE ASSE...

Page 65: ...EP CALL A READHX GET ANY CHANGE 8D5B 0258 GLO ASL STR SRC RESTORE THE DATA INTO THE CELL lB 0259 INC SRC OPEN THE NEXT CELL 30A0 0260 BR DECODE EXAMINE INPUT i 0261 DC17 i 0262 0UT1 SEP DELAY 17 9BBF 0263 GHI SRC PHI CHAR ROUTINE TO OUTPUT A HEX PAIR D481AE 0264 SEP CALL A TYPE2 AND A SPACE 8BBF 0265 GLO SRC PHI CHAR D481AE 0266 SEP CALL A TYPE2 D483F02000 0267 SEP CALL A OSTRNG SPACE 0 D5 0268 SE...

Page 66: ... ZERO 8114 3719 0322 B4 INCR BRANCH IF NO 8116 lF 0323 INC CHAR Y ES SET SWITCH 8117 0324 8117 371E 0325 ZERO B4 DAUX LOOK FOR A CHANGE TO 1 8119 0326 8119 lE 0327 INCR INC AUX SET UP FOR 20 INST LOOPS 81IA F807 0328 LDI 7 81IC 300D 0329 BR TC2 811E 0330 811E 2E2E 0331 DAUX DEC AUX DEC AUX 8120 8EF901BE 0332 GLO AUX ORIl P H I AUX 8124 DCOC 0333 SEPDELAY OC WAIT 8126 3F2C 0334 BN4 WAIT BR IF LF NO...

Page 67: ...CHAR SHR PHI CHAR NEXT BIT 8160 3369 0386 BDF NEXT 8162 F980 0387 ORI 80 8164 3F49 0388 BN4 NOBIT BR IF INPUT W AS ZERO 8166 BF 0389 PHI CHAR 8167 304B 0390 BR BIT CONTINUE 8169 0391 8169 7A 0392 NEXT REQ OUTPUT STOP BIT 816A 3240 0393 BZ READ2 I F D 0 CHAR 1 IS A NULL 816C 8F 0394 GLO CHAR CHECK ENTRY 816D 3A39 0395 BNZ REXIT ENTERED VIA READ 816F 0396 816F 9FFF41 0397 CKHXE GHI CHAR SMI 41 CHECK...

Page 68: ... 45 0446 TYPE5 LDA R5 81A1 38 0447 SKP 81A2 0448 81A2 46 0449 TYPE6 LDA R6 81A3 38 0450 SKP 81A4 J 0451 81A4 9FAE 0452 TYPE GHI CHAR PLO AUX 81A6 FBOA 0453 XRI LF 81A8 3ABF 0454 BNZ TY5 81AA F88B 0455 LDI 8B 81AC 30C1 0456 BR TY6 81AE 0457 81AE 9FF6F6F6F6 0458 TYPE2 GHI CHAR SHR SHR 81B3 FCF6 0459 ADI F6 81B5 3BB9 0460 BNF TY4 81B7 FC07 0461 ADI 7 81B9 0462 81B9 FFC6AE 0463 TY4 SMI C6 PLO AUX 81BC...

Page 69: ...INC SP 81FC 02AD 0508 LDN R2 PLO ASL 81FE 309F 0509 BR TEXIT RESTORE USER S RD 0 8200 0510 8200 8200 8200 8200 8200 8200 8200 8200 8200 8200 8200 8203 8203 8207 820B 820E 8210 FB0D 8212 3A46 8214 D487EA 8217 D487EA 9DBB 8DAB F800ADBD 9FFB20 3231 8217 8219 821C 821E 8221 8B52 8DF7AA 9B32 9D77BA 333F 8223 8223 8D52 8225 8BAD 0511 0512 0513 0514 0515 0516 0517 0518 0519 0520 0521 0522 0523 0524 0525 ...

Page 70: ...XT CELL 824A 2A 0567 DEC CNT REDUCE BYTE COUNT 824B 8D5B 0568 USRFIL GLO ASL STR SRC LOAD THE DATA USER ENTRY PT 824D BA 0569 GLO CNT LOOP UNTIL COUNT 0 824E 3A49 0570 BNZ NXTCEL 825 0 9A 0571 GHI CNT 8251 3A49 0572 BNZ NXTCEL 8253 D5 0573 SEP R5 EX IT THE CALL 8254 0574 8254 0575 8254 0576 ROUTINE TO READ FROM TAPE TO SCREEN 8254 0577 AFTER EACH 20 RETURNS ROUTINE OUTPUTS AND 8254 0578 WAITS FOR ...

Page 71: ...4 3246 0624 BZ PRMPT2 ANYTHING ELSE 82B6 0625 82B6 12 0626 MRLST1 INC SP RESTORE IOCB POINTER 82B7 72AC 0627 LDXA PLO RC 82B9 02BC 0628 LDN SP PHI RC 82BB 3068 0629 BR MORLST 82BD 0630 82BD 0631 82BD 0632 OUTPUT 82BD 0633 FORMATS AND OUTPUTS M EMORY DATA BEGINNING 82BD 0634 AT THE ADDRESS IN REG SRC FOR THE NUMBER 82BD 0635 OF BYTES SPECIFIED IN REG CNT 82BD 0636 REG USED SRC CNT CHAR 82BD 0637 82...

Page 72: ... PROMPT 8303 0685 8303 0686 SUBROUTINE TO GET THE ADDRESSES FOR OTHER ROUTINES 8303 0687 8303 D48200 0688 READAD SEP CALL A OPTION DETERMINE THE MODE 8306 FB20 0689 XRI SPACE MUST BE A SPACE 8308 3A60 0690 BNZ ERRl ELSE ERROR 830A ADBD 0691 PLO ASL PHI ASL CLEAR INPUT REGISTER 830C D487EA 0692 SEP CALL A READHX INPUT THE CONSTANT 830F FBOD 0693 XRI CR CR TERMINATES 8311 3A60 0694 BNZ ERRl ELSE ERR...

Page 73: ...PAGE 8363 0744 8363 0745 8363 0746 DESC STANDARD CALL AND RETURN 8363 0747 REG USED SP PC CALL RETURN LINK STACK 8363 0748 8363 0749 ORG UT62 0363 8363 0750 STANDARD CALL 8363 0751 8363 D3 0752 EXITC SEP PC GO TO IT 8364 i 0753 8364 E2 0754 CALLR SEX SP SET R X 8363 9673 0755 GHI LINK STXD SAVE THE CURRENT LINK ON 8367 8673 0756 GLO LINK STXD THE STACK 8369 93B6 0757 GHI PC PHI LINK 836B 83A6 0758...

Page 74: ... NOTHING IS PERMITTED 83A7 0806 BETWEEN MEMBERS OF THE PAIR ROUTINE IS TERMINATED 83A7 0807 WITH A RETURN EXCEPT AFTER A 83A7 0808 REG USED ASL SRC CHAR 83A7 0809 83A7 0810 83A7 F800BDAD 0811 INSERT LDI 0 PHI ASL PLO ASL CLEAR INPUT REGISTER 83AB 0812 83AB D487EA 0813 FSTHEX SEP CALL A READHX WAIT FOR FIRST NON HEX INPUT 83AE FB20 0814 XRI SPACE FIR ST NON HEX MUST BE 83B0 3A60 0815 BNZ ERRl A SPA...

Page 75: ...NTER2 C087F0 0857 GOUT62 LBR RENTER C0816F 0858 CKHEX LBR CKHXE 0859 0860 0861 TAPES OFF ROUTINE E3 0862 TPOFF SEX PC 6102 0863 OUT BDSEL TAPEIO SELECT TAPE BD 6400 0864 OUT TPESEL TPEOFF OUTPUT OFF BITS 6101 0865 OUT BDSEL TRMINL SELECT RCA GRP D5 0866 SEP R5 RETURN TO CALLER 9 0867 9 0868 9 0869 REGISTER SAVE ROUTINES 9 0870 SAVES THE CONTENTS OF REGISTERS TMPRG1 7 0871 TMPRG2 8 TMPRG3 9 AND CNT...

Page 76: ...TR SP ELSE TEST FOR UP OR DOW N 8DF7 0919 GLO DEST SM DIRECTION OF THE MOVE 9B52 0920 GHI SRC STR SP 9D77 0921 GHI DEST SMB 334D 0922 BDF MOVUP j 0923 0B5D 0924 MOVDN LDN SRC STR DEST DO THE MOVE DOW N AND 8A 0925 GLO CNT AND CHECK IF DONE 3A48 0926 BNZ MOVDNl 9A 0927 GHI CNT 3272 0928 BZ USRBYE EXIT TO CALLER 0929 lBlD 0930 MOVDNl INC SRC INC DEST ADJUST THE POINTERS 2A 0931 DEC CNT REDUCE THE BY...

Page 77: ...81 XRI 5A CHECK FOR EOF DC3 32F9 0982 BZ PRMPT4 308C 0983 BR READZ 0984 j 0985 0986 READ THE HEX ADDRESS D482F0 0987 READXl SEP CALL A RDHEX IGNORE ALL TILL HEX DIGIT 33B2 0988 BDF READX2 THEN GET SECOND ONE FB2E 0989 XRI 2E UNLESS WHICH MEANS COMMENT 3AA0 0990 BNZ READXl D48542 0991 READXA SEP CALL A READT THEN IGNORE ALL TILL END OF LINE FBOD 0992 XRI CR 3AA9 0993 BNZ READXA 30A0 0994 0995 BR RE...

Page 78: ...046 REWIND SEP CALL A OSTRNG 8507 0D0A524557494E 1047 A CRLF T REWIND THEN HIT ANY KEY 0 850E 442C5448454E20 1047 8515 48495420414E59 1047 851C 204B455900 1047 8521 E3 1048 SEX PC 8522 6102 1049 OUT BDSEL TAPEIO 8524 64C0 1050 OUT TPESEL BTHDRV 8526 6101 1051 OUT BDSEL TRMINL 8528 D4813E 1052 SEP CALL A READ WAIT FOR KEY 852B C083FF 1053 LBR TPOFF 852E 1054 852E D48504 1055 TPWIND SEP CALL A REWIN...

Page 79: ...5 STR PTR 8550 lC 1096 INC PTR 8551 F8805C 1097 LDI 8 0 STR PTR 8554 D48676 1098 SEP CALL A RDBLOK GET NEXT BLOCK FROM TAPE 8557 3B7A 1099 BNF TAG1 I F NO PARITY ERR 8559 12 1100 INC SP OTHERWISE SET PARITY FLAG 855A F80073 1101 LDI 0 STXD 855D 9C73 1102 GHI PTR STXD SAVE IOCB 855F 8C73 1103 GLO PTR STXD 8561 D483F0 1104 SEP CALL A OSTRNG 8564 0D0A5041524954 1105 A CRLF T PARITY BAD 856B 8570 5920...

Page 80: ... IT TO 0 85BD 5ClC 1152 STR PTR INC PTR 85BF F8005C 1153 LDI 0 STR PTR 85C2 1154 85C2 FFOO 1155 EXWT SMI 0 85C4 D5 1156 SEP R5 85C5 1157 85C5 1158 85C5 1159 MESSAGE FOR NO RAM AT A LOCATION FOR STORE OF A READ 85C5 1160 85C5 1161 85C5 9C73 1162 NOTRAM GHI RC STXD 85C7 8C73 1163 GLO RC STXD 85C9 D483F0 1164 SEP CALL A OSTRNG 85CC 0D0A4E4F205241 1165 A CRLF T NO RAM 0 85D3 4D204000 1165 85D7 98BF 11...

Page 81: ... LDRCNT 8625 99 1217 GHI LDRCNT 8626 3A21 1218 BNZ LEADER 8628 F810A7 1219 SET1 LDI 10 PLO PARITY PRESET PARITY EVEN 862B F808A9 1220 LDI 8 PLO BITCNT PRESET BIT COUNTER 862E 8B 1221 GLO BLKFLG 862F 3237 1222 BZ NOTBLK 8631 4CB7 1223 LDA PTR PHI BYTSTR STORE THE BYTE TO BE WRITTEN 8633 F800AB 1224 LDI 0 PLO BLKFLG CLEAR THE BLOCK FLAG 8636 C8 1225 LSKP I T IS THE BLOCK START 8637 1226 8637 4AB7 12...

Page 82: ...UFFER 8676 1278 EXITS WITH DF AS PARITY FLAG 0 IS GOOD 8676 1279 8676 1280 8676 D48407 1281 RDBLOK SEP CALL A REGSAV 8679 F87FAA 1282 LDI A 0 RDBUFF PLO BUFPTR 867C F88EBA 1283 LDI A l RDBUFF PHI BUFPTR 867F BF 1284 PHI FLAG IN ITIA LIZE BLOCK FLAG TO SET 8680 F800AF 1285 LDI 0 PLO FLAG AND PARITY FLAG TO GOOD 8683 F81DA8 1286 LDI A O RDBIT PLO BITRDR 8686 F883B8 1287 LDI A l R D B IT PHI BITRDR 8...

Page 83: ...GHI TMPRG1 SHRC PHI TMPRGl DEC BITCNT SEP BITRDR GLO BITCNT BNZ SHIFT GLO PARITY SHR LSDF GHI PC PLO FLAG GHI FLAG BZ BYTE DEC PTR DEC PTR KEEP SHIFTING THE BIT INTO THE MSB POSITION ASSEMBLE THE BYTE READ PARITY ON LAST PASS FOR NO PARITY ERROR ELSE SET PARITY FLAG I S IT BLOCK POINT TO BLOCK GHI TMPRGl STR PTR WRITE IT TO IOCB INC PTR INC PTR POINT TO HOM E LDI 0 PHI FLAG RESET BLK FLAG BR STRT1...

Page 84: ...8798 1426 8798 1427 WRTD2 GLO SRTADD ANI lF CHECK IF 32 PAIRS OF DATA ARE BNZ WRTDl PRINTED IN ONELINE SEP CALL A WRITEX T A C R L F 0 ENDS THE HEX DATA ON A LINE SEP CALL A WRTH WRITE THE NEXT ADDRESS WRTDl LDA SRTADD PHI TMPRG3 STORE THE DATA BYTE SEP CALL A ASCIl BR CKEND F IN IS H SEP CALL A WRITEX CR EOF 0 LDI 80 PLO TMPRG3 LDI FE PHI TMPRG3 FILBFR LDI EOF PHI CHAR SEP CALL A TWRITE INC TMPRG...

Page 85: ...C 1454 FIXERR GHI SP PHI PTR POINT PTR TO IOCB AREA 87B1 82AC 1455 GLO SP PLO PTR 87B3 lC lC 1456 INC PTR INC PTR 87B5 lC 1457 INC PTR POINT TO HOM E IN IOCB 87B6 D5 1458 SEP R5 87B7 1459 87B7 1460 87B7 1461 ROUTINE TO OUTPUT ASCII BYTE TO TAPE 87B7 1462 87B7 1463 87B7 99 1464 ASCII GHI TMPRG3 DO THE HIGH NIBBLE 87B8 F6F6F6F6A9 1465 SHR SHR SHR SHR PLO TMPRG3 87BD D487C8 1466 SEP CALL A ASCIIR 87C...

Page 86: ...ITS ARE ENTERED 87EA 1500 87EA 1501 87EA D4813B 1502 READHX SEP CALL A READAH 87ED 33EA 1503 BDF READHX 87EF D5 1504 SEP R5 87F0 1505 8 7F0 1506 87F0 1507 ENTRY POINT FOR BASIC BYE COM M AND AND FOR GENERAL REENTER 87F0 1508 87F0 1509 87F0 1510 ORG 87F0 87F0 1511 87F0 F8F7A0 1512 RENTER LDI A O RENTRl PLO R0 CAN BE ENTERED WITH X 87F3 F887B0 1513 LDI A 1 RENTR1 PHI R0 AND P SET TO 87F6 DO 1514 SEP...

Page 87: ...8 6 ___ User Manual for Microboard Computer Development System CDP18S693 CDP18S694 ...

Page 88: ...nterference will show up as PARITY BAD errors during tape read If these errors occur make sure the tape recorder is as far away from noise sources especially CRT s as possible Metal enclosed CRT s such as RCA model TC1110 are suggested Under extreme conditions it may be necessary to shield the recorders Pick up from noisy power lines may also cause PARITY BAD errors during tape read Runningthe tap...

Page 89: ...Terminal Interface Cable CDP18S516 CDP18S516 EIA RS232C Terminal P1 P2 Signal 1 1 Ground 6 2 2 Data to MCDS 7 3 3 Data to Terminal 8 10 7 Signal Ground 9 7 5 Clear to Send l0 Held High by MCDS 6 6 8 Data Set Ready Held High by MCDS ...

Page 90: ...PLO AN D R N 0 GET HIGH REG N GHI 9N R N 1 D PUT HIGH REG N_____________ PHI________ BN D R N 1______________ LOGIC OP E R A T IO N S 4_____________________ OR OR n M R x OR D D OR I M M E D IA T E ORI F9 M R P OR D D R P 1 R P EXC LUSIVE OR XOR F3 M R X XOR D D EX CLUSI VE OR IM M E D IA TE XRI FB M R P XOR D D R P 1 R P AN D A N D F2 M R X A N D D D A N D IM M E D IA TE AN I FA M R P A N D D D R...

Page 91: ...BGE OR G R E A T E R SHORT BRA N CH IF DF 0 BNF 3 B IF DF 0 M R P R P 0 SHORT BRA N CH IF MINU S BM ELSE R P 1 R P SHORT BRA N CH IF LESS BL SHORT B RA N CH IF Q 1 BQ 31 IF Q 1 M R P bR P 0 ELSE R P 1 R P SHORT BR AN CH IF Q 0 BNQ 39 IF Q 0 M R P h R P 0 ELSE R P 1 R P SHORT BR AN CH IF EF1 1 B1 34 IF EF1 1 M R P R P 0 EF1 V s s ELSE R P 1 R P SHORT B RA N CH IF EF1 0 BN 1 3C IF EF1 0 M R P R P 0 ...

Page 92: ... R P ELSE CO NTINUE LONG SKIP IF D F 1 LSDF CF IF DF 1 R P 2 R P ELSE CO NTINUE LONG SKIP IF DF 0 LSNF C7 IF DF 0 R P 2 R P ELSE CONTINUE LONG SKIP IF Q 1 LSQ CD IF Q 1 R P 2 R P ELSE CO NTINUE LONG SKIP IF Q 0 LSNQ C5 IF Q 0 R P 2 R P ELSE CONT IN UE LONG SKIP IF lE 1 LSI E CC IF IE 1 R P 2 R P ELSE CO NTINUE_____________ C O N T R O L INSTRUCTION S IDLE m T 0 0 W A IT FOR DM A OR INTERRUP T M R ...

Page 93: ...N S F E R OUT PU T 1 OUT 1 61 M R X B U S R X 1 R X N LINES 1 OUTPUT 2 OUT 2 62 M R X B U S R X 1 R X N LINES 2 O UT PU T 3 OUT 3 63 M R X H B U S R X 1 R X N LINES 3 OUTPUT 4 OUT 4 64 M R X h B U S R X 1 R X N LINES 4 OUTPUT 5 OUT 5 65 M R X B U S R X 4 1 R X N LINES 5 OUTPUT 6 OUT 6 66 M R X h B U S R X 1 R X N LINES 6 OUTPUT 7 OUT 7 67 M R X B U S R X 1 R X N LINES 7 INPUT 1 INP 1 69 BUS M R X ...

Page 94: ...IFICANT HEX DIGIT 0 1 2 3 4 5 6 7 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 and 7 as if they were column 4 and 5 codes 92CS 34736 ...

Page 95: ...94 Appendix G Logic Diagram Layout Diagram and Parts List for CDP18S652 Microboard Combination Memory and Tape I O Control Module Fig E1 Logic diagram of CDP18S652 memory portion ...

Page 96: ...Appendix G Logic Diagram Layout Diagram and Parts List for CDP18S652 95 Fig G2 Logic diagram of CDP18S652 control and RAM portion ...

Page 97: ...2 R24 1 megohm 0 25 W R2 R4 R9 R10 R20 R23 R27 R28 22 kilohms 0 25 W RN1 resistor network 10 kilohms U1 U2 U7 U8 U15 U16 BASIC3 EPROM s U3 UT62 EPROM PU4 U9 U10 Editor Assembler EPROM U5 CA3401 E U6 CDP1858CE U11 U12 CD4011UBE U17 U37 CD4001 UBE U18 CD4023BE U19 U20 CD4013BE U21 U23 RAM 1024X 4 U25 U26 CDP1866CE U27 CD4069UB U28 CD4042BE U30 U35 CD4050BE U31 U32 CDP1856CE U33 CD4017BE U36 CDP1853C...

Page 98: ...ic on the PROM Programmer module The execution of output instruction 61 generates a clock input to the flip flop The D input of that flip flop is connected by a link to one of nineteen possible signals The high order four bits of the data bus are decoded into fifteen lines the decode of all zero is not used the low order four bits are supplied directly Thus a total of nineteen unique addresses is ...

Page 99: ...tware at the start of an operation to make sure the switch is in the correct position before proceeding If some other piece of user installed hardware not covered by a group select is connected to EF1 some alternative arrangement will have to be made Three LED status indicators are provided on the edge of the Module The one labeled PROG will be ON when a PROM is actually being programmed and OFF a...

Page 100: ...Appendix H Hardware Description for PROM Programmer Module 99 Fig H3 Control logic of PROM programmer module ...

Page 101: ...100 User Manual for Microboard Computer Development System CDP18S693 CDP18S694 Fig H4 Address and data logic of PROM programmer module ...

Page 102: ...Appendix H Hardware Description for PROM Programmer Module 101 Fig H5 Programming logic of PROM programmer module Fig H 6 Pow er supply of PROM programmer module ...

Page 103: ...R8 CR9 LED red J1 jack black J2 jack green J3 jack yellow Q1 Q2 Q6 2N2907 Q3 Q4 Q5 2N2222 R1 R6 R19 R20 10 kilohms 5 0 25 W R2 R4 R5 R18 3000 ohms 5 0 25 W R3 1000 ohms 5 0 25 W R7 R10 R16 4700 ohms 5 0 25 W R8 47 ohms 5 0 25 W R9 R11 100 ohms 5 0 25 W R12 R21 6800 ohms 5 0 25 W R13 910 ohms 5 0 25 W R14 R17 200 ohms 5 0 25 W S1 3PDT switch S2 3PDT switch U1 U6 U12 U14 U15 U16 CDP1852E U2 CD4097BE...

Page 104: ...PROM Spckets 1 for 1702 CDP18U42 1 for 2704 2708 1 for 2716 2758 Plugs into Microboard chassis Assigned to Group Select 4 Power Supplies External Programming Power See Manufacturer s data specifications sheet LED Indications Power ON to PROM External Programming Power ON Programming ON Switches Power to PROM ON OFF Selector Switch Programming Times 2708 2 minutes 45 seconds 2716 1 minute 45 second...

Page 105: ...ination The CDP18S601 Microboard Computer has both an RS 232C and a 20 mA loop connector The serial printer can gets its input from the alternate unused terminal connector For parallel printer application the CDP18S646 Microboard printer interface can be installed in the system and the following Editor command typed N AAB100P100K ESC ESC This sequence operates like the serial printer sequence exce...

Page 106: ... 58 Connection list for interface cables 88 Constants address CRA 31 Constants binary CRA 30 Constants decimal CRA 30 Constants explicit CRA 30 Constants expression CRA 30 Constants hexadecimal CRA 30 Constants text CRA 30 Controls on tape unit 49 Copy operations C command 56 Correcting PROM programmer typing errors Correcting typing errors CRE 21 COSMAC Resident Assembler CRA 28 CRA directives 32...

Page 107: ...S specifications 59 Memory addressing 42 Memory buffer format 19 Memory expansion 42 Memory FILL routine example 13 Memory map PROM programmer 52 Memory map 42 Memory modules available 42 Memory MOVE routine example 42 Memory MOVE routine example 13 Memory organization PROM programmer 51 Microboard computer CDP18S601 37 Microboard Computer Development System specifications 59 Mnemonics CRA 31 Modi...

Page 108: ...ymbol definitions CRA 30 Symbol table CRA 29 Symbol table for sample program 33 System cable connections 5 System care 49 System operation tests 6 System setup 5 System signals I O interfacing 47 System signals 39 40 System startup 5 Tape considerations 49 Tape file format 19 Tape handling precautions 87 Tape load 7 Tape READ and WRITE routines 14 Tape READ routines 14 Tape recommendations 49 Tape...

Page 109: ... and CDPl8S694 tested as Devices Theverifiedtestreportisgivenbelow subsets of the CDPl8S695 comply with the FCC Radiated Emissions Antenna Frequency Reading Factor ytfV m at 3 Meters 47 80 9 65 48 80 9 65 49 80 9 65 50 80 9 65 79 80 11 80 86 80 11 80 Line Conducted Emissions Side A Side B Frequency Reading Signal Level Reading Signal Level 0 45 kHz 60 220 60 220 1 5 MHz 60 220 60 220 29 8 MHz 60 2...

Reviews: