Instruction/ maintenance manual of the product 6800 Southwest Specialty Products
Go to page of 19
6800 ROM MONITOR VERSON 1.0 USERS GUIDE Southwest Techni cal Products Corporation 219 W. Rhapsody San Antonio, Texas 78116 Copyright 1977, Southwest Technical Products Corporation Scanned and edited by Michael Holley Sept.
1 SWTPC SWTBUG® (SWATBUG) MONITOR ROM One of the features of the SWTPC 6800 Computer System is that the conventional programmer’s console has been replaced with a monitor ROM. The programmer’s co nsole consists of all the pretty switches and lights often found on similar microcomputers that are used to bootstrap the system after power up.
2 SWTBUG® INSTALLATION SWTBUG® is a MOS device and MOS integrated circuits are susceptible to damage by static electricity. Although some deg ree of protection is provided internally within the integrated circuits, their cost demands the utmost in care.
3 MEMORY EXAMINE AND CHANGE M (addr) The Memory Examine and Change funct ion can be used to enter machine code programs and to display and/or change the contents of memory. The Memory Examine and Change function should be used as follows: 1.) Type M .
4 The condition codes are as defined below: BIT NO. LABEL CONDITION CODE 0 C Carry - borrow 1 V O verflow 2 Z Zero 3 N Negative 4 I Interrupt mask 5 H Half carry In the above example the condition cod.
5 $R $FF DC FC 6EFD 0100 A042 REGISTER DUMP BEFORE RUNNING PROGRAM $G $R $FF DC FC 6EFD 0100 A042 NOTE R DUMP THE SAME AFTER RUNNING $J 0100 $R $FF DC FC 6EFD 0100 A042 THE SAME AFTER A JUMP $M 010A AT THIS POINT THE JUMP TO SWTBUG CONTROL $010A 7E 3F IS REPLACED BY A SWI.
6 A002 à 01 MOST SIGNIFICANT BYTE OF LO WER ADDRESS A003 à 23 LEAST SIGNIFICANT BYTE OF LO WER ADDRESS A004 à 45 MOST SIGNIFICANT BYTE OF UPPER ADDRESS A005 à 67 LEAST SIGNIFICANT BYTE OF LO WER ADDRESS Typing P would turn the punch on and output the specified memory data.
7 $M A048 $A048 01 00 $A049 03 05 $A04A F4 $P $S11300000A0501001EF023FF01A01B351B37022443 $E S105A04800050DS9 $ $ A048 and A049 are automatical ly transferred to A002 - A005 and punched to tape by the E command. A short delay follows the S9 to allow clean load - ins on cassette tape.
8 A previously set breakpoint will remain and may be changed or removed as described earlier. If, when using the B command, a non - hex value is entered the previous breakpoint will be removed and SWTBUG® control will resume. There are several t hings that one must be aware of when using breakpoints to insure proper operation.
9 VECTORED SOFTWARE INTERRUPTS Normally when encountering a SWI (3F) instruction, the computer will display the processor’s registers and SWTBUG® control will be resumed. If desired, the 3F command can be vectored to anywhere in memory, just like the NMI and IRQ interrupts.
10 PIA STROBING Use of the Control Interface for Read/Punch - On/Off Decoding SWTBUG® software contains subroutines to send out pulses to unused pins of the PIA integrated circuit on the MP - C serial control interface that can be used for automatic reader / punch c ontrols.
11 OPERATING THE MP - A PROCESSOR BOARD AT BAUD RATES HIGHER THAN 1200 BAUD When using the MP - S serial interface with an MP - A processor board, baud rate clocks for up to 9600 baud are available from the baud rate generator on the MP - A processor board.
12 NOTE: This does not mean that SWTBUG® is equipped w ith a binary loader - only certain SWTPC binary tapes that contain a special binary loader (in ASCII) will work correctly. To load the tape simply follow the instructions given for loading an ASCII tape, but keep the reader locked on.
13 GENERAL RULES FOR PROGRAM WRITING Although for a user program to be functional it need only work with the exact system it was written for, follow ing a few simple rules reduces program modifications for 6800 systems using other monitors. Following these rules will make your programs more professional and versatile.
14 SP (A008) Temporary storage location for the stack pointer. SP is used in the register dump subroutines and by the breakpoint function. PORADD (A00A) This location contains the port address used for S WTBUG’s I/O routines. PORECH (A00C) This byte tells SWTBUG® ‘s input routines whether or not to echo.
15 INHEX and INCH, temporary storage locations CKSM and both accumulators. If a non - hex value is entered, SWTBUG® control will resume. When BYTE is called as a subroutine, the computer will wait for two hex characters to be entered thru the control port.
16 ORG $100 START LDX #TEXT JSR PDATA1 JMP CONTRL TEXT FCB $0D, $0A FCC /HELLO/ FCB 4 END - The accumulator and register status after using PDATA1 is as follows: ACC A Changed during the operation ACC B UNCHANGED IXR Contains the memory location of the 04 CHANGE (E088) CHANGE is SWTBUG‘s memory examine and change function.
17 CONTRL (E0E3) This MIKBUG® equivalent sequence again resets the stack to A042. PORECH is cleared to enable echo and the subroutine SAVGET is selected to get the correct port number and type. Next, the routines PNCHOF and RDOFF generate punch and reader off commands.
18 IOUT (E240) IOUT is the PIA output routine which outputs the character in the A accumulator. OPTL (E269) OPTL is the service routine that sets up PORECH for I/O on port 0. The appropriate command P, E or L is then selected. PIAECH (E27D) This routine disables the echo on a PIA type interface.
An important point after buying a device Southwest Specialty Products 6800 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Southwest Specialty Products 6800 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Southwest Specialty Products 6800 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Southwest Specialty Products 6800 you will learn all the available features of the product, as well as information on its operation. The information that you get Southwest Specialty Products 6800 will certainly help you make a decision on the purchase.
If you already are a holder of Southwest Specialty Products 6800, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Southwest Specialty Products 6800.
However, one of the most important roles played by the user manual is to help in solving problems with Southwest Specialty Products 6800. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Southwest Specialty Products 6800 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center