Southwest Specialty Products 6800 Contrl E0E3, Nmiv E1A7, Search E1AE, Goto E1D0, Savget E1D3

Page 18

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. A carriage return, line

 

feed, erase to end of line (1516) and a $ is then output to the control terminal.

 

At this point SWTBUG® is ready for command input.

SFEl (E124)

SFEl is the entry point for non user-vectored software interrupt instructions. If

 

vectored software interrupts are selected, a jump is executed to the proper

 

location. If breakpoints are in use the stack pointer is not changed, the

 

processor’s registers are displayed and SWTBUG® is instructed to look for

 

the next command. If neither breakpoints or vectored software interrupts are

 

selected a register dump occurs and the CONTRL sequence is initiated.

PRINT (E130)

PRINT is the routine that actually does the dumping of the processor’s

 

registers.

LOOK (E173)

LOOK is the routine that inputs a character from the terminal and jumps to

 

the appropriate location in SWTBUG® if it is a valid command.

SFE (E18B)

Entry point for software interrupt instructions.

S9 (E190)

S and 9 string for the end of tape routine.

MTAPE1 (E193)

This is the character string containing a carriage return, line feed, erase to

 

end of line, four nulls, a S1 for tape control and 04 for PDATA1 control.

MCL (E19D)

This string contains a carriage return, line feed, three nulls, a $ and a 04 for

 

PDATA1 control.

E1A5 (E1A5)

E1A5 is a special entry location which is used by the binary load routine on

 

some SWTPC binary tapes.

NMIV (E1A7)

This routine fetches the correct jump location for a NMI.

SEARCH (E1AE)

Byte searching routine.

GOTO (E1D0)

GOTO contains the RTI instruction that is used by the G command to

 

execute a user program.

SAVGET (E1D3)

This routine saves the index register in XTEMP and tests for the appropriate

 

interface location and type. The index register is then loaded with the

 

address of this interface.

ISACIA (E1D9)

ISACIA is the routine that sees if an ACIA or PIA is present.

BILD (E1F3)

BILD is a special sequence of increment stack pointer instructions used only

 

by the binary loader on some SWTPC binary tapes.

ACIAIN (E1FF)

This is the ACIA input routine. PORECH is polled for the desired echo/don’t

 

condition. The character in the A accumulator is then output, the index

 

register and B accumulator restored and an RTS instruction executed by the

 

RES routine.

ACIOUT (E212)

This is the ACIA output routine which outputs the character in the A

 

accumuator, and recovers the B accumulator and index register.

IN1 (E223)

IN1 is the PIA input routine which inputs a character from the control terminal

 

and stores it in the A accumulator. The correct echo/non echo condition is

 

selected and the B accumulator and index register are restored.

17

Image 18
Contents ROM Monitor Verson Users Guide Swtpc Swtbug Swatbug Monitor ROM Swtbug Installation ResetSwtbug Operation Memory Examine and Change M addr Register Dump Function RBIT no Label Condition Code BITGO to USER’S Program Function G CT-1024 Clear Screen Command CAscii Tape Punch Command P Jump to USER’S Program JaddrLeast Significant Byte of Lower Address END of Tape Command EMost Significant Byte of Lower Address Most Significant Byte of Upper AddressOptional Port Command O not zero Tape Loader Function LSoftware Breakpoints Baddr Jump to Prom Program Z Disk Boot DDo not This is OK Byte Search F high address low address byteVectored Software Interrupts Using NON-MASKABLE InterruptsUsing Maskable IRQ Interrupts Vectored INPUT/OUTPUTPIA Strobing Use of the Control Interface for Read/Punch-On/Off DecodingBaud Rate Compatibility Loading Binary Tapes Thru SwtbugSpecial Notes on Using AN Acia and Program Modifications Blkjak Swtpc 6800 Black Jack ProgramCO-RES Ver .0 and 1.01 Acia Modifications Program Description Memory DiagnosticsGeneral Rules for Program Writing Temporary Storage LocationsSwtbug Subroutine and Text String Description Outee ACC a ACC B Cksm IXR UnchangedOuthr E06B LDA aFCB Start LDX #TEXT JSR PDATA1 JMP Contrl TextFCC /HELLO ENDSearch E1AE Contrl E0E3Nmiv E1A7 Goto E1D0PNCHS9 E31E Clear E2CCBreak E2D9 Pnchon E34D