background image

OMEN ALPHA   

========= 

OMEN Computers - - - 

https://github.com/osmibity

 - - - Page:  13 

 
             MON85 reserves two "restart" interrupts:  RST 0 is similar to a 

          physical RESET,  causes  a  cold  restart  of  the  monitor.  This 

          instruction should be used with CAUTION during a debugging session 

          because  any  breakpoints  set  in  the  user  program   will   be 

          "forgotten",  and not properly removed.  RST 1 is used by MON85 to 

          regain   control   at   breakpoints.   Opcodes   of   breakpointed 

          instructions are replaced by RST 1 whenever the  user  program  is 

          executed,  and are restored whenever the  monitor  is  re-entered. 

          This insures that the operation of breakpoints is  transparent  to 

          you during the debugging session. 

 

             If for any reason a 'RST 1' ($CF) instruction is encountered in 

          the user program  (and is not a breakpoint),  command mode will be 

          entered without the '** Breakpoint' message. 

 

             All  other  "restart"  interrupts  are   re-vectored   to   the 

          corresponding locations in the first page of  memory  occupied  by 

          the user program (as identified by the 'U' command). 
 

 

       1.2 Breakpoints 
 

             MON85 allows you to set breakpoints in your program,  such that 
          you  will  be  given  control  whenever  the  program  reaches   a 
          breakpoint,  and can examine or change things  before  proceeding. 

          MON85 also allows you to TRACE a program, so that you can see each 
          instruction and register contents as it executes. 
 

             MON85 is completely transparent to  the  program  being  tested 
          (unless timing loops are interrupted with BREAKPOINTS  or  TRACE). 
          When a breakpoint is encountered,  or an  instruction  is  traced, 

          MON85 uses one stack entry on the user program stack.  Since  this 
          consists of a PUSH and a POP, it should not affect any information 
          stacked by the user program. However, you should be aware of this, 

          in case you are examining the  stack,  or  your  program  trys  to 
          reclaim data already popped from  the  stack.  (It  is  very  poor 
          practice,  to write programs which depend on  the  stack  contents 

          below the stack pointer). 
 
             When a breakpoint is encountered, the message '** Breakpoint n' 

          is printed where n is the number of the breakpoint (0-7). If TRACE 
          is ON, no other action is taken, otherwise command mode is entered 
          (If the  'A'  switch  (see below)  is ON the  registers  are  also 

          displayed). 
 
 

    2. MON85 COMMANDS 
 
          The following commands are recognized by MON85, and may be entered 

       whenever MON85 is in COMMAND MODE,  which is indicated by the  'C>  ' 
       prompt: 
 

       2.1 A ON|OFF 
 
          This switch turns ON or OFF the automatic register  display  which 

          occurs whenever a breakpoint is encountered or an  instruction  is 
          stepped in trace mode  (see below).  The default value for 'A'  is 
          ON. 

 
       2.2 B [0-7 address] 

 

          Sets one of eight breakpoints [0-7] at the specified address. Once 

Содержание Alpha

Страница 1: ...OMEN ALPHA OMEN Computers https github com osmibity Page 1 OMEN Alpha issue 4 Technical Documentation...

Страница 2: ...RODUCTION The OMEN Alpha computer kit is a low cost computer trainer based on the Intel 80C85 CPU It has these features 80C85 CPU working at 1 8432 MHz 32 kB RAM 32 kB EEPROM Serial port up to 115 200...

Страница 3: ...crystal 4 Connect the power adapter and check 5 Insert the CPU into its socket keep the proper orientation and try to power it up Check if oscillator lives at CPU pin 37 6 Insert the essential ICs 74...

Страница 4: ...are for OMEN Alpha issue 4 is the Dave Dunfield s MON85 Serial Monitor improved by Roman Borik Usage is described on the https 8bt cz mon85 or see the Appendix 1 You can invoke the installed Tiny BASI...

Страница 5: ...JP3 JP4 Parallel ports See below The square marks the pin 1 JP5 EEPROM write enable Short pins 1 2 to disable writing or short pins 2 3 to enable writings Pin 1 is on the left pin 3 is next to the JP5...

Страница 6: ...N ALPHA OMEN Computers https github com osmibity Page 6 PARALLEL PORTS JP2 GND PA7 PA6 PA5 PA4 Vcc PA0 PA1 PA2 PA3 JP3 GND PB7 PB6 PB5 PB4 Vcc PB0 PB1 PB2 PB3 JP4 GND PC7 PC6 PC5 PC4 Vcc PC0 PC1 PC2 P...

Страница 7: ...D5 8 D6 9 D7 10 A0 11 A1 12 A2 13 RD 14 IO1 20h 27h 15 IO2 10h 17h 16 IO3 30h 37h 17 IO4 08h 0Fh IOx signals are decoded by 74138 18 IO5 28h 2Fh 19 IO6 18h 1Fh 20 IO7 38h 3Fh 21 Vcc 22 GND 23 RST7 5 s...

Страница 8: ...OMEN ALPHA OMEN Computers https github com osmibity Page 8...

Страница 9: ...ALPHA OMEN Computers https github com osmibity Page 9 PERIPHERAL IC ADDRESSES ACIA 6850 DEh Controll Register Status Register DFh Data Register PPI 8255 04h PORT A 05h PORT B 06h PORT C 07h Control p...

Страница 10: ...OMEN ALPHA OMEN Computers https github com osmibity Page 10 MEMORY MAP 0000h 7FFFh EEPROM 32k 8000h FFFFh System RAM...

Страница 11: ...y Page 11 APPENDIX 1 The MON85 Manual MON85 A Software Debug Monitor For the 8085 8080 Dunfield Development Systems High quality tools for Embedded Development at low prices http www dunfield com Copy...

Страница 12: ...e 8085 specific SIM and RIM instructions or the 5 type interrupt vectors MON85 must be installed beginning at location 0000 in the 8085 processor memory map allowing it to intercept the interrupt vect...

Страница 13: ...ows you to TRACE a program so that you can see each instruction and register contents as it executes MON85 is completely transparent to the program being tested unless timing loops are interrupted wit...

Страница 14: ...or 3 bytes ascii is ASCII representation of opcodes all non printable characters are displayed as dots and instruction is the assembly language instruction and operands which opcodes represents 2 5 E...

Страница 15: ...ne calls when in trace mode see below When S is set ON subroutines will be be traced in the normal fashion When set OFF subroutines calls are not traced and trace will resume at the next instruction f...

Страница 16: ...oad command is performed MON85 initializes U to the address contained in the first download record If no address is specified MON85 will display the current user program starting address 2 16 This com...

Страница 17: ...switched on are displayed Entering a space executes this instruction and returns to the T prompt with the next instruction Instructions LXI DAD INX DCX displays argument SP rather than S Commands tha...

Отзывы: