Home
"user manual"
Contents
1. 2c CENTR 4HE BL END ADR DPI HL D MNEMONIC INSTR L LABEL WRITE ADR HEXADECIMAL ADR INSTR PROGRAM ASSEMBLY FORM TITLE DATE PRO LOG CORPORATION MNEMONIC LABEL INSTR ER INSTR HEXADECIMAL LINE ADR PAGE ADR R LOW RESPONSE LOW YES SET TRA ul LL eS EEPEEFEHERINIEEEPEFEPEEEEEREFEP ss eee LL E ELA T TRANSFER stige lt e 9 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION MNEMONIC lt 2 hd COMMENTS 9 4 aa 4 Eq L 14 4 N 1 54 7 a a 1 t 4 A 4 ml xd dir 4 d MODIFIER A WRITE NXT JP s sss ICP XCPT LCP RT DISP 4ASc LABEL 152 25 22 3 END WRIT LE CREAD DATA x m 2 TE TETUR ae gt lt 50 rss uS 11 hii PRO LOG CORPORATION PROGRAM ASSEMBLY FORM gt lo SCESDPEREREREBDSI HEXADECIMAL I MNEMONIC TITLE DATE ADR LABEL INSTA MODIFIER COMME
2. Vu N V In 1 Na S 0 lt 4 lt i iW lt LABEL 22 2 TET EE mi O O ea an INSTR PAGE 100001 2 77 PRO LOG CORPORATION PROGRAM ASSEMBLY FORM ADR ADR INSTR LABEL INSTR MODIFIER COMMENTS DISPLAY CURSOR PATTERN FROM REG D TURN ON ALL LED S L PLA CHARAC ASCII CHAR DISPLA N HAR 7144 Z LEFTMo DISPLA POSITION ENTE CHAR ENTR O f gt N EXIT WITH E gxiT N CaO pur Dis PLAY N ZHEK VALUES FROM MEMORY iN 2N D EA _RIGHT TO LEFT O O NID IA D NOOR IN Muhuqa aqu 325 n gt 1 d PERAR 63 100001 2 77 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION HEXADECIMAL MNEMONIC LABEL COMMENTS KD 5 D LA Q MASK E LO 1 O MA A CCU X X X X lt C DI AY A OR LOW OUTPUT MA 2 3 2 1 0 INSTR MODIFIER OR CLR CURSORS LDDI
3. 59 Q 7 lt T 55 lt lt amp lt n 2 ul 2 4 A 222825 o 8 A i FEE lt a x iz u x o 2 tu 24 5 Fu x N pO lt 2 0 J 8 s lt n A 9 19 ul u ERE ILLE LLL DISP EXT DI WRITE 21 WRITE BIT WRITE BIT P8 DI a 4 Zi fase sande dca se 100001 2 77 PROGRAM ASSEMBLY FORM TITLE DATE OR Q D AIF So NA N OPE PRO LOG CORPORATION MNEMONIC LABEL INSTR LINE ADR HEXADECIMAL PAGE ADR CSCAN KBD READ 1 KEY TS dies gt seca Pee Te ee ll ILIR NXT COLM d doceo eg EDU Wa DER 0 ROW COUNT L 100001 2 77 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION CLOSED 5 P COMMENTS AND O d 4 d C a Q J TITLE MNEMONIC INSTR MODIFIER HEXADECIMAL zx INSTR IS CA gt 9 ANA 2 Q HEX 9ASCII ipud basen or 314280 100001 2 77 APPLICATION
4. t READ 9F Ee 1 DisP amp SEND BF ADR ve KPT dL CF E XEC ADR DIS VZ DO CHG REG D F VIL I e ldi 7 ub d T xxl E x EC CWRITE ICT ASL CCC s 74 t FO REG NAME ll d FF H 2K MEMORY MAP MP 4 KEYBOARD MONITOR PGM 33 5 20 CRES E AD FAG f 1 r E rd t 7777 x j Phi 11 B j Piped ELE an ENTE I obs P 1 o qp pda F ep u it ta oe oe ae tita a ae Eg i ei FETE PEt GEG EER lg L In Lec i i kor s lola luru m w a nee an rere rir TE x 272277022920 db EEE PEPE Eee BEEBE Sass L E SEN ADR gt 158 E PAGE CLINE DST ADR LINE PAGE SST AD RAM VARIABLE MAP PROGRAM ASSEMBLY FORM PRO LOG CORPORATION TITLE MONITOR MP 4 DATE 7 52 COMMENTS CHECKSUM AGS INI ASK TER AND QE i IF TRUE TO ROM 1 NC NF QG M O MODIFIER STACK CH NOP LDPI MNEMONIC INSTR LABEL EEE ee er
5. Cl 4 O 4 14 6 du 4 4 n Uu L Lud COMMENTS i Ul 4 NO E HHHH 5 lt gt iu zu F ul x 2 DISP I Gl TE SEND PGR MNEMONIC INSTR LABEL MO ides ADR Co MEN 12221 alc 5 e mE mE 2182 Do 4 MEN 8 9 A Fr BEES E2 2 5 6j EH 8 Zz cl4 Fo 2 3 F 4 5 100001 2 77 38 u gt a a o lt lt o o c a lt o u PRO LOG CORPORATION COMMENTS MODIFIER MNEMONIC INSTR HEXADECIMAL EMEM GO FILL WITH N RE af ak 190001 2 77 lt 4 aa 4 1 d 5052199 CEREC E LEERTE ECCE EREE EIEE R R A PROGRAM ASSEMBLY FORM PRO LOG CORPORATION MNEMONIC LABEL 20 FTE XS ea rS AIL WA VOI 8 ee HERTAN E X ENTER 4 DIGIT START ADDRESS AND DISPLAY IT HL
6. PL PRO LOG STD 7000 MP4 Keyboard Monitor USER S MANUAL NOTICE The information in this document is provided for reference only Pro Log does not assume any liability arising out of the application or use of the information or products described herein This document may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of Pro Log nor the rights of others Printed in U S A Copyright 1981 by Pro Log Corporation Monterey CA 93940 All rights reserved However any part of this document may be reproduced with Pro Log Corporation cited as the source O PROGRAM MP 4 KEYBOARD MONITOR THIS PROGRAM IS INTENDED FOR USE WITH THE PRO LOG 7801 8085 oR 805 480 CPU BOARDS AND THE 303 KEYBOARD DISPLAY CARD IT PROVIDES THE SER WITH A MONITOR AND BEBUGG ING PROGRAM THAT RESIDES IN A 2 16 EPROM FROM ADDRESS 0000 To O FF HEX THE PROGRAM ALSO PROVIDES THE USER WITH SEVERAL INDEPENDENTLY ACCESSIBLE PROGRAM MODULES SUBROUTINESO THAT CAN BE CALLED BY THE USER OR MOVED INTO HIS PROGRAMS THESE INCLUDE MODULES TO ALLOW HIM TO FULLY EXERCISE THE 305 KEYBOARD AND APLHA NUMERIC DISPLAYS IN ADDITION THE CAPABILITY TO TRANSFER DATA FROM A PRO LOG PROM PROGRAMMER THE USER S SYSTEM OR VICE VERSA IS PRO VIDED WHEN UTILIZED IN CONJUNCTION WITH A PIN 11 PARALLEL INTERFACE TO PROM PROGRAMMER proouct SYSTEM DESIGNATION
7. cribed in detail in Section 8 of the respective operating manuals The M900B re quires the 9114 Parallel Interface Option which is described in Section 11 of the operating manual The M980 provides the 9814 Parallel Interface as described in Section 19 of the operating Manual In addition the PIN 114 Parallel Interface to PROM Programmer is required This consists of a 7507 I 0 Module Mounting Rack Inteface Card an RC50 6 Ribbon Cable and the 7140 Parallel Interface Adapter To effect the interface the 7507 must be inserted into the STD system rack the 7140 inserted into the 25 pin D connec tor of the PROM programmer and the RC50 6 cable connected between them Data is transferred to and from the PROM programmer via the SND and RCV commands of the Monitor The user has the choice of programming PROMs with debugged machine code directly from the system or transferring ROM based programs subroutines into the system for subsequent modification debugging The following diagrams describe the port bit assignments of the PIN 114 PORT 50 Write Data PORT 52 Read Data EIEJEJEJEIEJESES bit 7 PORT 51 Handshake ev ale Re Qu 1 m 11 handshake lines are active when i e 1 low high bit 0 bit 74 bit 0 Definitions T Transfer 5v programmer power to M Mode from A Address pgmr I Interlock pgmr
8. E Error not used by Monitor constant R Response 26 Monitor Use with M900B or M980 PROM Programmer The most serious drawback to a RAM based development tool is the volatility of the memory 11 too often RAM based programs are altered or destroyed by electrical noise power fluctuations or program bugs that overwrite the program The M900B and M980 PROM Programmers are equipped with CMOS RAM buffers that provide short to intermediate power off data retention for several minutes to several days These programmers may serve as a separate program storage medium that is totally immune to the electrical and software bugs that destroy programs In order to prevent the total or partial loss of RAM based programs it is recom mended that the user always transfer his program into the programmer buffer before execution modification or other debugging In that way a copy of the last valid program can rapidly be reloaded into RAM on request even after programmer and system power are lost It also provides the user with storage for earlier versions of his program prior to modifications Should his modification not work he can easily retrieve the earlier version and try a different solution Additionally if the M900B or M980 is equipped with an appropriate interface option and is interfaced to other systems or I 0 devices CRT TTY computers etc the programmer can serve as a temporary holding buffer Data can be transferred f
9. LN MODIFIER MNEMONIC INSTR LABEL ADR NSTR HEXADECIMAL PAGE ADR 100001 2 77 Lo 1 UIA NA CQ TG O D Q COMMENTS E NEXT B COUN PROGRAM ASSEMBLY FORM TITLE DATE BYTE MO MOVE DATA ME SET UP MODIFIER RESET E gu CPA PRO LOG CORPORATION LABEL INSTR EE EEE PAT CES E LINE ADR ADR HEXADECIMAL CU Les Ore aT ee T a CMDR RGR RGR RT sae TR T peee AIN IM EZ NO O 2d 100001 2 77 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION TART ADDRESS COMMENTS iN SUBTRACT GET F MODIFIER HL CD MNEMONIC INSTR se g azul yea ed saa ea aa TTT TEE is RT LABEL LINE 100001 2 77 LN COMMENTS SAN K PROGRAM ASSEMBLY FORM c ol 4 i i 4 1 d d 7 4 a 4 I iu _ d N ADR SE TITLE MNEMONIC gt PRO LOG CORP
10. Start Address Monitor Displays To Prompt 2nd Address Entry User Enters a 4 Hex Digit Field End Address Monitor Displays To Prompt 3rd Address Entry User Enters a 4 Digit Source Start Address 24 Monitor Displays To Prompt 4th Address Entry User Enters a 4 Digit Source End Address Monitor Displays To Prompt 5th Address Entry User Enters a 4 Digit Destina tion Start Address Monitor Displays BUSY and Changes the Addresses Change all address bytes contained in 3 byte instructions This command allows the user to change all page and line addresses contained in all 3 byte instruction operands within any area of RAM by adding or subtracting an offset to those operands The offset or displacement is computed by the Monitor from the source start and destination start addresses entered by the user If the user has developed a program in RAM and desires to relocate it to ROM he can utilize this command to change the addresses of all Jump Load and Store instructions that would be affected then transfer the altered program to the PROM programmer The converse is also true in that the user can transfer the contents of a PROM to RAM change all dependent addresses and execute the pro gram Upon selection of this command function the Monitor will prompt the entry of five 5 addresses by displaying Enter the
11. aAa GST KEY iO KEY LIST FORWARD e LN NOT 100001 2 77 PROGRAM ASSEMBLY FORM TITLE DATE PRO LOG CORPORATION MODIFIER k 4 159 OQ lt O da 5 Q HEXADECIMAL ADR PAGE ADR 100001 2 77 100001 2 77 PROGRAM ASSEMBLY FORM 1 I i 4 d 4 Y N er FT FAREEDI A 9 M 4 Li Cf HEGRE EFFE RETURER EGNE EPEPEPEEEEEFEPEEEEEEEPEPEEEFEEEEBEEE BATTLES TITT TITTET TITT TITTITT PE EEE dnas HH Ree PRO LOG CORPORATION MNEMONIC HEXADECIMAL ADR _ INSTR PAGE ADR PROGRAM ASSEMBLY FORM PRO LOG CORPORATION DATE COMMENTS u 4 carats MNEMONIC INSTR MODIFIER L INSTR LABEL LINE ADR PAGE ADR HEXADECIMAL 45 z 33 a a 5 ar N gt CY C 14 br OG ue q NN N Basse sede HEER TE i Savn EM RR E ES Tm EN NC 2 R NAE C b RE NEX ADDR KEAD BOARD LN 2 DE o e OTHERW AA Do 43 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION COMMENTS NZ lt a pee pl o
12. in dius ij PF 4 4 a Au T Y t4 Y OC I ov oja nh Y T AT Y Y 04 42 TITLE ENTR R BUFR DISP Ig MNEMONIC IN ACCEPT ENT HEXADECIMAL 100001 2 77 PRO LOG CORPORATION PROGRAM ASSEMBLY FORM STET vom aos insta taser msm ze COMMENTS ADR ADR INSTR LABEL INSTR ER cl DISPLAY MESSAGE FROM TO RI HT ADDI ORE Q F a SID OF DISPLAY EAC MS N D MESSAGE F P READ 7303 INPUT PORT J 02 640 15 7307 THERE E NO a O m 00 5 AT TS Op DELA QQ ONDS RT 2 imal ee la ole of o D AB OG 07 MIL COND MEMORY LOCATIO Ay POSITIO eeeh pr 90 21 4 x PROGRAM ASSEMBLY FORM TITLE DATE PRO LOG CORPORATION MNEMONIC HEXADECIMAL 2 2 h r dl ui 4 9 u gt gt 4 D O 9 g 9 m ui 212 gz E o Q a D A a a lt amp
13. 0000 Hex Set the desired address on the ADDRESS switches set the CYCLE COUNT switch to M1 the INSTRUCTION COUNT switch to 10 and ADDRESS INSTRUCTIONS and depress the INTERRUPT switch Now depress CLEAR The processor will stop at address 057B Hex and display F5 Single stepping from that point cycle by cycle will allow the user to see the registers being stored on the stack The data dis played will be as follows F5 A F 5 Cj D5 D E H 175 k ss where r means the contents of register r For a more in depth discussion of the analyzer functions and capabilities see the Users Manual for M824 M825 System Analyzer 28 O MONITOR PROGRAM LISTING FORWARD The following pages contain the Monitor program listing main program flow charts and pertinent memory maps The source is written STD mnemonics and utilizes only those instructions common to both the 8085 and Z80 An explanation of the mnemonics can befound on the PRO LOG STD 8085 or Z80 PROCESSOR PROGRAMMING AIDS cards in the USER MANUAL FOR M824 or M825 SYSTEM ANALYZER and in the PRO LOG MICROPROCESSOR USER S GUIDE The object or machine code listing is fully compatible for use with 8080A 8085 and Z80 microprocessors When provided by PRO LOG the program is con tained in one Intel 2716 EPROM or equivalent and resides in locations 0000 to O7FF In addition the following conventions are used throughout the program listing a Lab
14. BASIC MEMORY ADDRESSES IN HEX PORT ASSIGNMENT FOR 1 0 CONFIG DESIGNATION CLOCK STATE TIME ROM RAM FUNCTION PORT BIT DOCUMENT Ist LAST ADR 1st LAST ADR 105680 PS 1B 8085 0 32 usec 0000 07FF 2000 23FF Switch 51 IN DO 6 7801 7303 Switch S2 IN 00 7 MP 4 0800 1FFF 2400 2FFF Keyboard Inputs IN DO O thru 105685 PS 3B 780 0 40 usec D0 5 7803 7303 Empty sockets User may add MP 4 to CPU by installing ROMs Keyboard Enables OUT 00 0 thru and RAMs Additional ROM and RAM can be added with and 7701 or 7702 memory boards 00 3 Display Data OUT DO all bits OUT D1 O thru D3 Display Control 105675 PIN 114 7505 7140 RC50 6 IN 52 all bits OUT 50 all bits IN 51 0 thru 51 2 OUT 51 5 thru Programmer Data Programmer Data Programmer Hand shake in Programmer Hand shake out an C gt N N TABLE OF CONTENTS GENERAL SYSTEM REQUIREMENTS MoNITOR DESCRIPTION MoNITOR OPERATION MonrTOR PROM PROGRAMMER INTERFACE Monitor Use wirH M900B or M980 PROM PROGRAMMER Monitor Use wiTH M824 or M825 MICROPROCESSOR SYSTEM ANALYZER MONITOR PROGRAM LISTING E FORWARD MONITOR CONTROL PROGRAM FLOWCHART MONITOR PROGRAM MEMORY MAP RAM VARIABLE MEMORY MAP PROGRAM LISTING APPLICATION SOFTWARE MODULE DESCRIPTIONS PAGE 26 27 27 29 30 33 34 35 67 MP 4 KEYBOARD
15. SOFTWARE MODULE DESCRIPTIONS The enclosed software module descriptions are intended to provide the user with all the information necessary to access utilize or move the routines into his program The modules described are totally independent of requirements of the Monitor program and are intended to allow the user to fully exercise the capa bilities of the 7303 Keyboard Display Card There are several other modules available to the user that are not described herein because they were written to the specifications and tailored to the needs of the Monitor program The user is encouraged to study the listings carefully should he find it desire able to utilize those modules _ MESSAGE 0680 ENTRY ADDRESS FUNCTIONAL DESCRIPTION This module allows the user to display a message in the alpha numeric displays of the 7303 Keyboard Display Card The message can be any length and is dis played in a billboard fashion i e the message moves accross the display from right to left A new character appears at the right each 200 milliseconds and old one disappears at the left The message must be stored in memory and can be any length The first character of the message should be at the low address in the designated memory space and the end of the message at the high address The message is stored as a string of 8 bit ASCII characters with parity bit either 1 or The message body should be preceded by a string of 8 A
16. boards Monitor Description The Monitor program utilizes the eight alpha numeric displays and twenty five keys provided on the 7303 Keyboard Display Card The keyboard is divided into a Hex key pad keys O F a system RESET key and 8 function keys Each key has a removable transparent cap Labels are provided with which the user may label each of the function keys keys 10 17 by removing the cap inserting the label and replaceing the cap A keyboard layout diagram is shown in Figure 1 to facilitate labeling Data movement manipulation functions 4 SND MOV AJA RE RCV FLM CHA SET S XAD RUN Program development debugging functions BPT s EDT L mn Figure 1 7303 Keyboard Labeling Each of seven keys provides the capability of implementing the functions or commands so labeled one upper and one lower function per key To select an upper function the user first depresses the shift key 4 then the desired key To select a lower function the user merely depresses the desired key Operation is similar to that of many conventional hand held calculators The function keys are grouped by application The horizontal row of function keys provide several data movement manipulation and memory conditioning capa bilities The vertical column of function keys provide program development and debugging capabilities Upon power on or pushbutton reset the prompt word READY is displayed in the 7303 alp
17. display position number in the lower three bits of register E and the low order address of the display data table in the HL register pair MEMORY SPACE CCUPIED 0718 to 9724 Memory REQUIREMENTS ROM 13 Bytes RAM BYTES REGISTERS ALTERED BY THIS ROUTINE A C D E H L PROGRAM MoDULES UTILIZED BY THIS ROUTINE DISPLAY DDITIONAL COMMENTS 71 ISP 2N HEX 727 MopuLE Name DISP 24 HEX _ ENTRY ADDRESS 9 FUNCTIONAL DESCRIPTION This module allows the user to display the data contained in N 1 to 4 memory locations as 2 digit Hex numbers in the displays of the 7303 Keyboard Display Card The data stored at the low order address is displayed on the right and data stored at the highest address is displayed in the leftmost desired positions ENTRY REQUIREMENTS Enter this module with the number of memory locations to b displayed in register C the rightmost desired display position number in the lower 3 bits of register E and the low order address of the data in the HL register pair MEMORY SPACE CCUPTED 0727 to 072E Memory REQUIREMENTS ROM 8 Bytes RAM Bytes REGISTERS ALTERED BY THIS ROUTINE A F C D E H L PROGRAM MODULES UTILIZED BY THIS ROUTINE DISP 2HEX ADDITIONAL COMMENTS 72 MODULE Name DISP 2HEX 2 ENTRY DDRESS 72F FUNCTIONAL DESCRIPTION This module allows the user to display the contents of any desired memory location in the alpha numeric di
18. following 4 Hex digit addresses in the listed order 1 The starting address of the data whose operands are to be altered 2 The ending address of the data whose operands are to be altered 3 The source starting address i e the starting address of the area in which the program was intended to operate 4 The source end address 5 The destination start address i e the starting address of the area in which the user desires the program to execute Upon completion of the last address entry the Monitor will change all addresses required while displaying BUSY When finished the Monitor will exit to RESET and display READY If the user wishes to change addresses in segments in order to bypass data tables the first area of data must be changed with the CHAD command but subsequent areas may be changed with the AJA command The source start source end and destination start address will be retained in memory until the next CHA operation This command operates on those instructions that are common to the 8085 and Z80 If Z80 special instructions are used in the program care must be taken to insure they are not altered by this function 25 Monitor PROM Programmer Interface The Monitor program contains the necessary software to implement a direct parallel data interface with the M900 M900B M920 and M980 PRO LOG PROM Programmers The M900 and M920 must be equipped with a 9104 Parallel Interface Option which is des
19. the clock rates used with the PRO LOG 7801 8085 CPU Card Users of the 7803 Z80 CPU Card can expect a 25 increase in the delay time due to the lower clock rate 80 LONG AT 07F7 Me ENTRY ADDRESS FUNCTIONAL DESCRIPTION This module provides the user with a variable time delay routine The delay is implemented by downcounting the contents of the BC register pair 16 bits to zero The delay time can be found from the relationship AT 24 Nec t At where t is the state time of the processor is the decimal count in BC and is the number of state times executed that are not in the delay loop itself Therefore the count for any time delay can be found from the relationship Nor AT At BC 24 t Nac must be in Hex ENTRY REQUIREMENTS Enter this module with the time delay count in the BC register pair as a 16 bit binary value MEMORY SPACE OccupreD 07 7 to 7 Memory REGUIREMENTS ROM 9 Bytes RAM Byres REGISTERS LTERED BY THIS ROUTINE B C PROGRAM MODULES UTILIZED BY THIS ROUTINE None ADDITIONAL COMMENTS For the 8085 A 29 For the Z80 A 31 The longest time delay that can be handled by this routine is approximately 500 milliseconds depending on the processor clock rate 31 USER S MANUAL 1 2411 Garden Road Monterey California 93940 Telephone 408 372 4593 TWX 910 360 7082 Telex 171879 106824B 500 4 82
20. ADECIMAL COMMENTS MODIFIER L 49 d INSTR INSTR LINE ADR ADR E 5 5 4 41 ta Va d 4 ta O lt a Beer a N OK a AVE 2 4HEX 14 HL D EEEEEEEEEEEEECEREPTEELEEETEEEEET En lt 100001 2 77 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION ED s OR RY D D f DATE COMMENTS TRY COUNT 4 2 IS 5S QARU ON E x QN LD N T lt m 5 gt uj Og lt HO 9 ju 9 d gt 3 40 Y 9 7 2 v a4 dt eas O 7 926 c Y gt c a a 7 Va 1 w lt m 6 5 S gt gt 2 5 ra ua ZEE E 4 x d 2 Moa NOVA MLN O OG m OA 4099 g FEEL RN o HEXADECIMAL PAGE LINE ADR ADR INSTR PROGRAM ASSEMBLY FORM PRO LOG CORPORATION u lt a F z ul z z o v t NATED B L PLA NA 5 PUT IN DISPLAY LSD OF REG b DISPLA 2ND DI
21. I Sai EST CST PSP Erm re HE P Pr EE MC MN RTS P MNEMONIC INSTR LABEL ND LINE ADR HEXADECIMAL PAGE 100001 2 77 26 PRO LOG CORPORATION PROGRAM ASSEMBLY FORM HEXADECIMAL 5 TITLE DATE ADR ADR INSTR LABEL INSTR MODIFIER COMMENTS PLP BC PLP AF ___ a XIT IRTIS s eee CHK 7303 sac I READ 7303 INPUT PORT 72 02 4 m D DE FL 9 v gt Sh 1 IF 7305 NOT THERE FF ee O ee 3 RTS _ Fm rv pened 189 REG DUMP STPD HL T STORE REGISTER AND FLA RSAVE _ CONTENTS FOR DISPLAY px A D pm pe Pt a RSA 525248220224 D y S ed dat de QO RE u gt N 4439343 XJ 2 3352331231 54444833 AN C7 o7 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION DATE u a T MNEMONIC HEX
22. MONITOR PROGRAM General The MP 4 Keyboard Monitor Program is intended to be a program development aid and program debugging tool for the STD BUS user It is designed to be used with the PRO LOG 7303 Keyboard Display Card as the I 0 device and a 7801 8085 or 7803 Z80 CPU Card It is fully compatible and useable with the PRO LOG M900 M900B M920 and M980 PROM Programmers as well as the M824 and M825 System Analyzers In addition to providing the user with several useful editing and debugging functions there are many resident independently accessible program modules subroutines that may be called by the user or moved into his programs These include routines to fully exercise the 7303 alpha numeric displays and keyboard a variable time delay module and a Hex to ASCII conversion routine The Monitor can also double as a diagnostic tool for the engineer or technician When switches 51 and 52 on the 7303 card are closed or if the 7303 is not in place program control is transferred to address 0800 Hex ROM 1 and all monitor functions are bypassed If the Monitor PROM is retained in the finished product and if the user s permanent main program starts at address 0800 Hex the Monitor program will be transparent until the 7303 is inserted into the rack and either or both switches are not closed At that time all Monitor functions will become available to allow debugging in place Monitor resident software is provided to allow the user to tr
23. NTS 2 2 O gt gt _ SUBTRACT END ADR CUR ADR DE HL EXIT CUR END gt z 0 D i cn SPREPRRLRC ECR EXIT CUR END gt 2 0 DISPLAY ADDRESS O RAD RAM LOCATION 3531 OG 32 m Np NIG b ENTER 4 DIGIT START ADDR _ AND DISPLAY IT peel TT o e v de dad dd 100001 2 77 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION COMMENTS 3 a C 52 4 aa TITLE MODIFIER LABEL HEXADECIMAL Perg N OOM 2 N i 4 74 5 UE a 4 Pe LN 100001 2 77 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION ATA COMMENTS A 4 4 d D 4 d A d lt 51 LY d 4 d 14 HEr PETR EP EER FEET EFFE EFSF F EFFEEF na or e PB DI as
24. ORATION HEXADECIMAL 100001 2 77 PROGRAM ASSEMBLY FORM TITLE DATE PRO LOG CORPORATION COMMENTS MODIFIER MNEMONIC INSTR INSTR LINE ADR AD HEXADECIMAL lt a ND lu lt x O Y Bills r gt tuj oar 2 oa 130 4 1 gt ul oN x lt Zz lt IQ zd z tO lu 7 PER mn EER GREPE EE DN NU 9 BLANK DISPLA gem Y 4 8 lt N 4 7 A lt 0 x E Ww CY 9 A N 9 0 i tf x 2 a 5 L 5 BE ECE TENET SE oa R Vio O O NING NOVO O IU n D RR GEG Gi BGs nha S 003018 EL v 100001 2 77 55 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION DATE 0 Y 4 lt O m e Az 2 iii 15 mun uie ni at Aa y iL Eee CEPE E OEE EPERE CEE TET TRE PEPE CECE BECERA Es 4577717777474 FEL TITLE LDPI BC MODIFIER NQ BLE CST E F a ET BE
25. PPER CASE FUNCTION 0780 MONITOR PROGRAM MAIN FLOWCHARI 30 0078 gt YES NO 9970 YES NO 0082 NO g087 YES NO 008 lt gt YES NO 0091 gt YES NO 0096 5 RESET 5 BS DISPLAY EDIT 15F EDIT MEM FOR SECOND BE DISPLAY BKPT FOR SECOND TAE SET BKPT 00 7 1CA DISPLAY H EXAD FOR 34 SECOND EXEC ADR D 214 DISPLAY KSETR FOR 3 SECOND SET REG 0009 226 DISPLAY END FOR 34 SECOND SEND PGR E2 DISPLAY MOVE FOR SECOND 0404 MOVE DATA 7 DISPLAY AJAD 047A ADJUST ADR FOR SECOND 51 VES YES YES YES F4 DISPLAY RUN FD DISPLAY RECV FOR SECOND 0106 DISPLAY MEME FOR SECOND DISPLAY CHAD FOR SECOND 32 FOR SECOND LF EXEC PGM 027 PGR 0387 FILL p CHG ADR 4 OG 2 HEX CDISP 4ASC DISP F F CWRITE DATA NMT 9085 5F RDISP EDIT TABLE CA DSP TABLE I DISP HL MONITOR SEND DISPLAY COUNT 7F i kos Z L R ECV LA DJU 5 IP 80 PER ADR f CMESSAGE CREAD 7303 4 wey CREG
26. RESE L Bc EE 1 j I HL MNEMONIC INSTR LABEL LINE ADR PAGE ADR ca 24 loa 9 loo 2R C5 ES c lle 21 LOD 5 0 20 16 E CC tu 915 2 1 A Ji 28 90 2 ROT TRU rier si 100001 2 77 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION MNEMONIC u I lt I E o T Z 3 4 3 ul vi H I u J INSTR MODIFIER 4 1 a lt a 6 I 5 D N Or O Qo lt A wu 6 Qul HANS N ao Oj til O N 9 Oma ia999332533395528359133895354029 49 32039 023088552209 2 409524 3985 Mo lt O e lt 00 A f H i P Le LINE ADR INSTR HEXADECIMAL PAGE AD 100001 2 77 PROGRAM ASSEMBLY FORM TITLE DATE PRO LOG CORPORATION 100001 2 77 d 4 L 0 A d d 4 4 6 u D va DE a d a q leet TTT aaa aaa nnn nis HEEL HH LE USE LELELE E E ELE S LL
27. RY REQUIREMENTS MEMORY SPACE cCUPTED 0701 to 7DE MEMORY REQUIREMENTS ROM 14 Bytes RAM ______ BYTES REGISTERS ALTERED BY THIS ROUTINE PROGRAM MopuLEs UTILIZED BY THIS ROUTINE None ADDITIONAL COMMENTS See the 7303 USER S MANUAL for a more detailed description of the operation and control of the toggle switches and keypad 78 HEX ASCII 7E Name ENTRY ADDRESS FUNCTIONAL DESCRIPTION This module converts the lower 4 bits of register A to an 8 bit ASCII equivalent with parity bit set Upon exit the converted value is in register A ENTRY REQUIREMENTS Enter this module with the Hex value to be converted in the lower 4 bits of register A MEMORY SPACE OCCUPIED 7E to 7EC MEMORY REQUIREMENTS ROM 13 Byres RAM Bytes REGISTERS LTERED BY THIS ROUTINE A E PROGRAM MODULES UTILIZED BY THIS ROUTINE None DDITIONAL COMMENTS 79 MonuLE Name DEBOUNCE Entry Aopress PE FUNCTIONAL DESCRIPTION This module implements a 20 millisecond 25 msec for Z80 time delay for the debouncing of switches and keys although it can be used for other purposes ENTRY REQUIREMENTS None MEMORY SPACE OCCUPIED 7EE to 7F6 Memory Requirements 7 Byres RAM Byes REGISTERS ALTERED BY THIS ROUTINE None PROGRAM MODULES UTILIZED BY THIS ROUTINE LONG AT ADDITIONAL COMMENTS The delay time of this module is based on
28. SCII spaces and also followed by a string of 8 spaces The last character of the message must be an FF Hex ENTRY REQUIREMENTS Enter this module with the address of the first ASCII space that precedes the message in the HL register pair Memory SPACE OCCUPIED 2680 to G9E Memory REQUIREMENTS ROM 31 Bytes Byres REGISTERS ALTERED BY THIS ROUTINE All registers are altered PROGRAM MODULES UTILIZED BY THIS ROUTINE 200 MSEC AT DISPLAY ADDITIONAL COMMENTS 68 1 SECAT 500 MSEC AT MopuLE NAME 200 MSEC AT FUNCTIONAL DESCRIPTION 06A8 M6AB 0681 ENTRY ADDRESS p These modules provide the user with delays of 1 second 500 milliseconds and 200 milliseconds duration The timing is approximate and based on the clock rates provided on PRO LOG s 7801 8085 CPU Card For users of the 7803 Z80 CPU Card the delays are approximately 1 25 seconds 625 milliseconds and 250 milliseconds duration Entry REQUIREMENTS None Memory SPACE OCCUPIED GAB to 0686 Memory REQUIREMENTS ROM 15 RAM REGISTERS ALTERED BY THIS ROUTINE B C PROGRAM MODULES UTILIZED BY THIS ROUTINE LONG AT ADDITIONAL COMMENTS 69 BYTES FLASHER MODULE tee us ENTRY ADDRESS FUNCTIONAL DESCRIPTION This module causes the user s desired cursor pattern to be displayed over the last displayed data or message for approximately 200 milliseconds 250 msecs for Z80 All cursor segm
29. a 4 digit RAM End Address Monitor Displays DATA To Prompt a Data Entry User Enters 2 Hex Digits of Data From the Keyboard and Writes Data into RAM Block Fill a block of memory with a single data value This command allows the user to write the same data value into all RAM locations that lie between the user entered address limits inclusively The data can be any user entered 2 digit Hex value Upon selection of this command function the Monitor will prompt an address entry by displaying Enter the starting address to be written to The Monitor will prompt another address entry Enter the ending address to be written to The Monitor will now display DATA to prompt a data entry Enter a 2 digit Hex value from the keyboard The data will be displayed as it is entered Upon completion of the data entry the Monitor will display BUSY while it writes the entered data into all locations within the address field It then exits to RESET This command may also be used to test the integrity of a block of RAM Should any RAM location fail to accept the desired data execution will halt and the bad location address and data will be displayed Depressing SST will cause execution of the function to continue See Monitor Operation It is suggested to the user that prior to entering a program into RAM for develop ment or debugging the memory be filled with the data that corresponds to the un progr
30. ammed state of the PROM 00 or FF in which it will eventually reside Then if the program is subsequently transferred to the PROM programmer via the SND com mand those areas of memory not actually part of the program will remain unprogram in the PROM 17 MOVE DATA Monitor Displays To Prompt an Address Entry User Enters a 4 Digit Source Start Address Monitor Displays To Prompt a 2nd Address Entry User Enters a 4 Digit Source End Address 18 Monitor Displays To Prompt a 3rd Address Entry User Enters a 4 Digit Destina tion Start Address Monitor Displays BUSY and Moves Data RESET MOV Move a block of data to another location in RAM This command allows the user to move any size block of data from ROM or RAM to another area of RAM Both backward and forward moves are allowed As the Moni tor moves the data it clears the source area by writing 00 Hex NOP into each source location Upon selection of this command function the Monitor displays to prompt an address entry Enter the 4 digit Hex source starting address Then the Monitor will prompt a second address entry Enter the source ending address The Monitor again prompts a third address entry Enter the destination starting address At the completion of the last entry the Monitor will display and begin moving data to the new locations If any lo
31. ansfer data from the microprocessor system to the PROM programmer and vice versa This requires a PRO LOG PROM Programmer equipped with the 9104 9114 or 9814 Parallel Interface Option and a PIN 114 Parallel Interface Option for STD BUS Prototyping Systems System Requirements The Monitor program resides in one Intel 2716 EPROM or equivalent and occupies addresses 0000 through O7FF Hex Program parameters and stack operations use addresses 2000 through 204F Hex User programs must start at locations which are not part of these address fields In addition all but the first two restart lo cations are available to the user for vectored interrupt However the Non Maskable locations 0024 0026 Hex 8085 and 0066 0068 Hex Z80 are utilized in the program to cause the contents of the internal registers to be displayed in the 7303 dis plays upon the occurrence of a Non Maskable Interrupt NMI This interrupt can be generated coincident with any program address by the M824 or M825 System Ana lyzers Also restart location 0038 Hex contains an unconditional jump to location 2020 Hex in RAM The user can program an unconditional jump into locations 2020 2022 to vector his Restart 7 interrupt to any location in memory With all RAM socketed on the 7801 or 7803 CPU Card user programs and data may reside in address locations O800 1FFF ROM or 2050 2FFF RAM Additional memory may be added 4000 FFFF with the addition of PRO LOG 7701 or 7702 memory
32. ays Entry at the label DISP HEX causes the least significant 4 bits of Hex data in register D to be displayed in the display position whose number is contained in the lower three bits of register E Entry at the label DISPLAY causes the ASCII data in register D to be displayed in the display position whose number is contained in the lower three bits of register E The ASCII data can be of any parity Entry at the label STROBE causes the write line one the selected display chip to be strobed from high to low to high ENTRY REQUIREMENTS Enter DISP HEX with the Hex data to be displayed in the lower 4 bits of register D Enter DISPLAY with the ASCII data to be displayed in register D Enter both with the display position number in the lower 3 bits of register E Enter STROBE with bit 2 of register E set to to strobe the right 4 displays etc MEMORY SPACE CCUPIED 9768 to 77F Memory REQUIREMENTS ROM Bytes RAM Byres REGISTERS LTERED BY THIS ROUTINE A F D DISP HEX only PROGRAM MODULES UTILIZED BY THIS ROUTINE HEX ASCII DDITIONAL COMMENTS For a more detailed description of the operation and control of the 7303 alpha numeric displays see the 7303 USER S MANUAL 6 p READ 1 KEY READ KBD 0780 078F ENTRY DDRESS FUNCTIONAL DESCRIPTION The 7303 keypad is arranged as a 4 X 6 matrix with the key faces and positions numbered in Hex fromm to 17 This multiple entry mod
33. cation fails to accept the data execution will halt and the bad location address and data will be dis played To resume execution depress SST see Monitor Operation At the completion of the move the Monitor will exit to RESET and display READY This command can be used to move any Monitor software module into the user s program The source start and end addresses and the destination address are saved in memory for subsequent and repetitive address ajustment operations that utilize the AJA command 19 SEND PGR Monitor Samples PROM Programmer Interface Pgmr Ready Monitor Displays To Prompt an Address Entry User Resets or Initiates Programmer Interlock User Enters a 4 Digit Program mer Staring Address Monitor Displays To Prompt a 2nd Address Entry NO RECV PGR Monitor Displays NO PGMR For One Second RESET 20 User Enters a 4 Digit Program mer Ending Address Monitor Displays To Prompt a 3rd Address Entry User Enters a 4 Digit System Memory Start Address Monitor Displays BUSY and Transfers Data To From Pgr SND Send a block of data to the PROM programmer This command allows the user to transfer a block of memory data from either ROM or RAM to any PRO LOG PROM Programmer equipped with a Parallel Interface Option To use this command the PIN 114 Prototyping Syst
34. dress This command will allow the user to execute a program in RAM or ROM repeatedly The execution start address is the last address entered via the XAD command Upon selection of this command the Monitor blanks the display and LED s disables the keyboard loads the registers with the values entered via the last STR command retrieves the execution address from memory and jumps to that address 11 SET REG Monitor Displays Next Register Name and Data as REG r dd User Depresses SST or a Hex key From Keyboard as 1st Data Digit User Enters 2nd Digit of Data From Keyboard STR Pre SET Registers for program execution This command allows the user to enter a set of initial register values into memory Each time the user depresses RUN to commence execution of a program or a portion of a program these values will be loaded into the internal registers before jump ing to that program In this way program execution can be started with the pro cessor in a known state The entered values will remain the same until changed by subsequent repetition of this command Upon selection of this command function the Monitor will display REG H dd where dd is the last 2 digit Hex data entered for the initialization of the H register To enter new data depress the desired 2 Hex keys then depress the SST key To leave the data unchanged depress the SST key directly Each time the SST key is de
35. e the user to enter 2 digit Hex data As before enter the data from the Hex keypad most significant digit first The data will appear in the display as it is entered At the completion of entry depress SST and the function will continue execution Should the user enter an address or data digit in error it may be corrected by depressing the CLR key Each time the CLR key is depressed the next digit to the left will blank starting with the last entry The digit s may then be re entered All corrections must be made before SST is depressed During the course of the execution of the commands RCV MOV and FLM data is written into RAM If the RAM location fails to accept the data or ROM is written to or the address written to does not exist in the system then the execution of the function will halt and the address of the bad location and its data will be displayed To abort further execution depress RESET To continue execution depress SST Execution will continue until completion or until another bad loca tion is encountered A description of each command its suggested application and instructions for its utilization is included in the following pages Monitor Displays To Prompt an Address Entry User Enters a 4 digit Hex Start Address From Keyboard Monitor Displays Address and Data of Selected Location User Depresses SST BST or a Hex Key from Keyboard as Data Monit
36. els enclosed by apprentheses indicate subroutine entry points b Labels enclosed by brackets 1 indicate Monitor command entry points c CST mnemonic implies location is a table data byte vice instruction The flowcharts utilize standard ANSI symbols The program addresses that corres pond to each flowchart element are written above the upper left shoulder of each sysmbol If a routine that accomplishes a particular flowchart operation resides elsewhere in memory subroutines etc its address is written to the right of the symbol Two memory maps are provided a 2K ROM memory map This map indicates the relative location in ROM of each routine table and unused area b 1 Page memory map This map indicates the relative location of each RAM variable or program parameter assigned for use by the Monitor It also shows locations reserved for stack operation 11 unassigned RAM space is available for user programs and data 29 0001 CHECK FOR THE CLOSURE OF ANY STACKPOINTER 0004 CHECK IF BOTH SWITCHES ARE CLOSED OR IF 7303 NOT THERE 0007 0800 0058 YES YES BLANK ROM 1 ALL DISPLAYS g75B READ THE KEY BOARD TO IDENT IFY THE FUNC WAIT SECOND TO ENHANCE THE DISPLAY VISIBI 978g LITY _ Q6AB TION SELECTED 0040 CLEAR ALL 0070 DISPLAY CURSOR NO SEGMENTS 0749 0043 5 0075 DISPLAY READ THE READY KEYBOARD FOR U
37. em Interface to PROM Programmer must be installed to connect the microprocessor system to the programmer When using an M900 or M920 programmer only personality modules for PROMs with a 512 word capacity or greater may be used This restriction does not exist when using the buffer equipped M900B or M980 units Upon selection of this command function the Monitor determines if the PIN 114 is installed if the programmer is connected and if the programmer is turned on If any of these conditions are not true the Monitor displays NO PGMR for one second then exits to RESET and displays READY If the programmer is on line depress the RESET key on the M900 or M900B program mer to initiate the interlock If an M920 is used turn it off then on again The M980 should not be RESET the user must select Parallel Interface Option from the keyboard initially 11 but the M980 must be reset before each subsequent data transfer Next the Monitor will display ____ as an address prompt Enter 4 digit Hex programmer buffer or PROM starting address The Monitor will prompt a subsequent address entry Enter the programmer buffer or PROM ending address The Monitor will prompt a third address entry Enter the microprocessor system starting address The Monitor will then display BUSY and transfer the block of data to the PROM programmer Upon completion of the transfer the Monitor will exit to RESET and display READY after dropping the
38. ents are then turned off for approximately 500 milli seconds 625 msecs for Z80 The last displayed data or message is not changed When the cursors are on all LED s are also turned on then turned off when the cursors are removed The module can be used to flag the attention of an operator to the displayed message with a blinking pattern by accessing this module in a repetitive loop ENTRY REQUIREMENTS Enter this module with the desired cursor pattern as an 8 bit value in register D Each bit 0 7 corresponds to a display position 0 7 If the bit is 1 the cursor segment is turned on if the bit is the cursor is turned off MEMORY SPACE ccUPIED 700 to 0714 Memory REQUIREMENTs ROM 21 Bytes RAM _Bytes REGISTERS ALTERED BY THIS ROUTINE PROGRAM MopuLEs UTILIZED BY THIS ROUTINE CURSORS CLR CURSORS 200 MSEC AT 500 MSEC AT ADDITIONAL COMMENTS 0 DISP 4ASC DISP 718 71A MopuLe Name DISP 4ASC DISP N ENTRY Anpeess 27185 ___ FUNCTIONAL DESCRIPTION This multiple entry module allows the user to display 4 or N 1 to 8 ASCII characters in the alpha numeric displays on the 7303 Keyboard Display Card The ASCII data to be displayed must reside in sequential memory locations the leftmost character at the low address and the rightmost at the high address ENTRY REQUIREMENTS Enter this module with the character count 01 to 08 in register C DISP N only the leftmost
39. ha numeric displays The subsequent selection of any command will result in the display being blanked followed by the name of the command for approximately 3 4 second This verifies to the user that he has selected the desired function or command Throughout several functions the prompt word BUSY is displayed while the processor is completing the execution of that function Several other prompt words are utilized by individual routines to enhance user entry or infor mation All Monitor routines are exited by depressing the RESET key or upon completion of the function in which case control is returned to the Monitor and READY is again displayed Monitor Operation To select a specific command depress the appropriate combination of shift 4 and function key The display will blank and then the name of the function will appear centered in the display for 3 4 second SST Single Step BST Back Step and CLR Clear Entry are not commands All command functions except STR and RUN require the user to enter one or more 4 digit Hex addresses When an address entry is required the prompt ____ will be centered in the display Enter the address most significant digit first from the hex keypad As each digit is entered it will be displayed thereby replacing the prompt characters After entering all 4 digits depress SST The address will disappear and the function will continue execution Several commands EDT STR FLM may requir
40. he first byte of an instruction If this is not done the restart instruction will be misinterpreted as operand data Breakpoint Execution Upon encountering a breakpoint program execution will terminate and the register contents will be displayed starting with HL dddd where dddd is the 4 digit Hex data contained in the HL register pair At this point the user may change the data by entering 4 Hex digits of new data from the keyboard and depressing SST The data will remain unaltered by directly depressing SST at which time the next register pair name and data will be displayed in the same manner Data is displayed in the following order HL dddd DE dddd BC dddd and AF dddd After the AF register pair data is displayed execution can be resumed by depressing SST The Monitor will replace the restart instruction with the original data and execution will resume at the breakpoint address To leave the breakpoint set for subsequent executions depress RESET instead of SST Non Maskable Interrupt Service Upon the occurrence of a non maskable interrupt the register pair contents will be displayed and can be altered as described above However the Monitor will not replace the breakpoint with original data 15 FILL MEM Monitor Displays To Prompt an Address Entry User Enters a 4 digit RAM Start Address Monitor Displays ap To Prompt an Address Entry User Enters
41. ied nece eem aaa ST a HEXADECIMAL ADR INSTR PAGE AOR QD 9 5 p 5 c a QU DO NU m to 1858839235889 9 999985 DRE FH RE DISPLA gt OCCUR CNMI SVC ONL e C80 085 ONLY 8 100001 2 77 PRO LOG CORPORATION PROGRAM ASSEMBLY FORM MNEMONIC TITLE DATE 004 CLEAR ALL CURSOR N 40 2 07 On pees BT AY READY a SE el An Per ee _ 198 KEYBOARD 51 DB A B Aa 2 U OD 81448 sio 7 OD HIN ND SOS m SI SUN I O K w U E 6 m o o JO oy PROGRAM ASSEMBLY FORM TITLE DATE COMMENTS N lt X ON ADDKRE PRO LOG CORPORATION MNEMONIC PAGE AD ADR go BS 2 a REC LOCK OF DATA B MOVE REY IG j s 100001 2 77 PROGRAM ASSEMBLY FORM PRO LOG CORPORATION NUS 4 C
42. in register D 1 on off Enter CLR CURSORS directly Memory SPACE cCUPTED 0740 to 9759 Memory REQUIREMENTs ROM 26 Bytes RAM Bytes b REGISTERS LTERED BY THIS ROUTINE A F PROGRAM lopuLEs UTILIZED BY THIS ROUTINE STROBE ApDITIONAL COMMENTS For further information about the cursor control see the 7303 USER S MANUAL 74 MopuLe Name BLANK DISP 8 75B 75D ENTRY DDRESS FUNCTIONAL DESCRIPTION This multiple entry module allows the user to display the same character in all 8 displays of the 7303 Keyboard Display Card Entry at the label BLANK causes an ASCII space to be displayed thereby blanking all 8 displays Entry at the label DISP 8 causes the ASCII character contained in register D to be displayed in all 8 displays ENTRY REQUIREMENTS Enter BLANK directly Enter DISP 8 with the desired ASCII data to be displayed in register D MEMORY SPACE ccUPTED 0758 to 0766 MEMORY REQUIREMENTS ROM 12 Bytes RAM Bytes REGISTERS ALTERED BY THIS ROUTINE F E PROGRAM MODULES UTILIZED BY THIS ROUTINE DISPLAY DDITIONAL COMMENTS For further information regarding the alpha numeric display control see the 7303 USER S MANUAL lt 5 MODULE NAME DISP HEX DISPLAY 5 ADDRESS 0768 076D 0773 FUNCTIONAL DESCRIPTION This multiple entry module is the primary display control routine for the 7303 alpha numeric displ
43. interlock signal Eri Receive a block of data from the PROM programmer and store it in RAM This command allows the user to transfer a block of data from the PROM programmer PROM or buffer to system RAM 11 restrictions and interface requirements speci fied for the SND command apply as does the operating procedure further re striction exists in that the data must be transferred to valid RAM locations Should a RAM location fail to accept the data or if the RAM capacitiy of the system is exceded or if transfer is to ROM then execution will stop and the address and data of the bad location will be displayed Transfer may be resumed by depressing SST see Monitor Operation 21 ADJUST ADR Monitor Displays To Prompt an Address Entry User Enters a 4 Hex Digit Field Start Address Monitor Displays To Prompt an Address Entry User Enters a 4 Hex Digit Field End Address Monitor Displays n BUSY and Adjusts Jump Addresses RESET 22 AJA Adjust the addresses contained in 3 byte instructions after a MOVE Whenever a program or subroutine is moved from one area of memory to another it will not execute correctly unless the addresses contained in all 3 byte Jump Load and Store instructions are changed to reflect the programs s new location This includes addresses contained within the moved program and ad in other areas of memory that may refer to
44. memory is ROM or non existent in the system To continue depress SST to increment to the next location To abort depress RESET EXEC PGM EXEC ADR Monitor Displays Last Entered Execution Address for 1 second Monitor Displays To Prompt an Address Entry User Enters a 4 digit Hex Start Address From Keyboard Monitor Displays RUN User Depresses RUN Key Monitor Initial izes Registers Display LEDs Start Address USER PROGRAM 10 XAD Enter EXECUTION ADDRESS into memory This command allows the user to enter a program execution starting address into memory and is intended to allow the user to exercise programs entered into RAM or ROM Upon selection of this command the Monitor will display the last execution ad dress entered in the 7303 alpha numeric displays for approximately one second The display will then blank and the prompt will be displayed to indicate to the user that a new 4 digit Hex execution start address must be entered The user may retain the current address by depressing RESET Otherwise the user enters the new address and depresses SST After address entry the display is blanked and then RUN is displayed The program may now be executed by depressing RUN The execution address will be retained for subsequent program executions until it is changed by this command RUN the program at the previously entered execution ad
45. or Decre ments Address to Next Lower Location NO Monitor Incre ments Address NO to Next Higher Location YES User Enters NO 2nd Digit of Data from Keyboard EDT EDIT data in memory This command allows the user to display a desired address and resident data in the 7303 alpha numeric displays and modify the data if desired After entering the desired starting address the address and data will be displayed as 4 Hex digits of address and 2 Hex digits of data separated by 2 spaces AAAA DD The user may modify the data by merely depressing 2 Hex keys on the keyboard The data will be displayed as it is entered and will replace the original data SST must be depressed to enter the data into memory following data entry If the user desires not to modifiy data he may advance to the next higher location by depressing SST At that time the address will be incremented and the address and data of the next location will be displayed The user may also depress BST thereby decrementing the address to the next lower location and display its address and data To exit this command function depress RESET The purpose of this function is to allow the user to enter program and data into RAM for subsequent executuion and debugging Note If an E appears to the immediate left of the data following a data entry it informs the user that the data was not accepted i e the RAM location is bad or that area of
46. pressed the next register name and content will be displayed Depressing the SST key after the contents of the flag register F are displayed will return control to the Monitor and READY will be displayed Register name and contents are displayed in the following order He E D Ey By C A F 12 SET BKPT Monitor Displays Address Entry User Enters 4 Digit Hex Breakpoint Address RESET BKPT EXEC Monitor Displays Next Register Pair Content as rr dddd User Depresses SST or Hex Key From Keyboard as Data User Enters 2nd 3rd and 4th Digits of Regis ter Pair Data BPT Set Breakpoint at user entered address This command allows the user to enter a breakpoint at any desired address in a program that resides in RAM When the breakpoint is encountered during program execution the execution will terminate and the internal register contents will be displayed Upon selection of this command function the Monitor will display as address prompt Enter a 4 digit Hex address and depress the SST key The Moni tor will replace the original data at the designated address with a Restart 2 D7 Hex and save the original data in memory Upon depression of the SST key control will be returned to the Monitor and READY will again be displayed Care must be taken to insure that the breakpoint only be set at an address that contains t
47. rom the interfaced device or system to the programmer then transferred from the pro rammer to the Monitor system for debugging or modification Monitor Use with M824 or M825 Microprocessor System Analyzer The user may enhance the execution debugging and diagnostic capabilities of the Monitor by combining its application with the added hardware diagnostic capabil ities of the PRO LOG M824 Z80 or M825 8085 Microprocessor System Analyzer The analyzer performs the following basic functions Tracks the actual instruction sequence as the program executes and displays desired address control and data information when it occurs b Monitors control states and data passing between the processor and the system it controls and allows the user to correlate actions or reactions with program execution c Provides a multi qualified trigger to conventional oscilloscope when analog measurements are desireable The analyzer allows the user to dynamically monitor his program single step instruction by instruction or machine cycle by machine cycle through the program stop the program execution at any address and machine cycle capture data and stop the processor after any number of passes through an instruction sequence and trigger an non maskable interrupt upon the occurrence of any program address The primary debugging capabilities of the Monitor include the ability to execute any program sequence with known register conditions on en
48. splays of the 7303 Keyboard Display Card The data is dis played as a 2 Hex digit number in 2 display positions ENTRY REQUIREMENTS Enter this module with the address of the data to be displayed in the HL register pair and the desired rightmost display position number in the lower 3 bits of register E MEMORY SPACE CCUPIED 972F to 73F Memory REQUIREMENTS 17 Bytes Byres REGISTERS ALTERED BY THIS ROUTINE A F D E H L PROGRAM MopuLEs UTILIZED BY THIS ROUTINE DISP HEX ADDITIONAL COMMENTS 73 MODULE NAME CLR CURSORS CURSORS 0740 0742 ENTRY ADDRESS FUNCTIONAL DESCRIPTION This multiple entry module allows the user to display different combinations of cursors in the alpha numeric displays of the 7303 Keyboard Display Card The cursor character is a display character with all 16 segments turned on It can be displayed over existing displayed data then be turned off without altering the previously displayed data Entry at the label CLR CURSORS turns off all cursors displayed Entry at the label CURSORS causes any desired pattern of cursors on or off to be displayed in the 8 display positions The pattern is contained in register D as an 8 bit binary number Each bit position 0 to 7 corresponds directly with the 8 display positions 0 to 7 A bit set to 1 turns a cursor on a bit set to O turns a cursor off ENTRY REQUIREMENTS Enter CURSORS with the desired cursor pattern
49. the moved program s original ocation This command allows the user to adjust the move affected addresses within any field of data It may be used over as many fields as desired and over any size data field A11 adjustments made to addresses are based on the parameters of the last MOV operation i e source start source end and destination start addresses The Monitor determines the displacement source minus destination or how far the data was moved It then searches for 3 byte instructions The operand 2nd and 3rd bytes of each instruction found is examined If the operand value lies between the source start and end addresses inclusive the displacement is added or subtracted from the operand x Upon selection of this command function the Monitor displays as an address prompt Enter the 4 Hex digit starting address of the field of data to be adjusted The Monitor will then prompt a second address entry Enter the 4 digit ending ad dress of the data field The Monitor will then display BUSY as it searches for 3 byte instructions and adjust operands Upon completion the Monitor exits to RESET and displays READY NOTE This command operates only on the subset of instructions common to both 8085 and 280 If 780 special instructions are used care must be taken to insure they are not altered by this routine 25 CHG ADR Monitor Displays To Prompt ist Address Entry User Enters a 4 Hex Digit Field
50. try and the ability to set a RAM based breakpoint at which time the register contents are displayed and can be altered and execution resumed 2 When used in conjunction with the analyzer s ability to stop the processor at any address and after any number of passes through the program sequence the Monitor will permit the user to execute and exercise only those RAM and ROM based routines in which he is interested This will allow him to independently exercise external hardware items controlled by the processor system to diagnose and troubleshoot hardware problems and to debug the integration of the software and hardware Because the Monitor will display the contents of the internal registers upon the occurrence of a non maskable interrupt the analyzer s address generated interrupt can be used to effect a breakpoint in ROM or RAM The user merely sets the break point address on the analyzer switches and arms the interrupt When that address occurs on the address bus the processor will be interrupted and its register con tents displayed in the fashion discussed during the explanation of the BPT command If the 7303 Keyboard Display Card is not in place the non maskable interrupt rou tine bypasses the register display routine Instead the contents of the registers are pushed onto and pulled off of the stack and a return is executed To see the register contents at any program location place the analyzer in the STOP mode at location
51. ule detects debounces and encodes a single key closure Multiple key closures are ignored Upon exit the accumulator register A contains the encoded value of 00 to 17 that corres ponds to the positional value of the depressed key After entry into this module the keyboard will continue to be scanned for a key closure until one occurs at which time it will be processed and the routine exited Entry at the label READ 1 KEY will cause only a single key closure to be processed the key must be opened or released befor another closure can be processed Entry at the label READ KBD will cause the routine to continuously process any key closure ENTRY REQUIREMENTS None MEMORY SPACE ccuPIED 0780 to 7CF MEMORY REQUIREMENTS ROM 80 Bytes RAM Bytes REGISTERS ALTERED BY THIS ROUTINE A F PROGRAM MopuLEs UTILIZED BY THIS ROUTINE SCAN KBD DEBOUNCE DDITIONAL COMMENTS See the 7303 USERS MANUAL for more detail regarding the operation and control of the keyboard 77 MODULE NAME SCAN ALL SCAN KBD 7D1 7D6 ENTRY DDRESS amp FUNCTIONAL DESCRIPTION This multiple entry module detects if any toggle switches or keys are closed Upon exiting the routine the zero flag reflects the keyboard switch status If Z a key or switch is closed Entry at the label SCAN ALL detects the status of switches then keys Entry at the label SCAN KBD detects the status of the keys only ENT
Download Pdf Manuals
Related Search
Related Contents
Betriebshandbuch User manual Manuel d'utilisation 剣道防具セット (有)こうくう電機 06-0000-0123 notice d`installation Stûv 30 Page 1 of 4 Samsung ST700 用户手册 incontrol geschäftsbedingungen und ACI Scanner Tool user manual 1. Proper Operation Boletines técnicos Copyright © All rights reserved.
Failed to retrieve file