Manuale d’uso / di manutenzione del prodotto 6800 del fabbricante Southwest Specialty Products
Vai alla pagina 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.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Southwest Specialty Products 6800 è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Southwest Specialty Products 6800 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Southwest Specialty Products 6800 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Southwest Specialty Products 6800 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Southwest Specialty Products 6800, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Southwest Specialty Products 6800.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Southwest Specialty Products 6800. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Southwest Specialty Products 6800 insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.