Skip to navigation

Utility routines: DOBRK

[6502 Second Processor version, I/O processor]

Name: DOBRK [Show more] Type: Subroutine Category: Utility routines Summary: Implement the OSWRCH 145 command (execute a BRK instruction)
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * JMPTAB calls DOBRK

This command doesn't appear to be used, but it would execute a BRK on the I/O processor, causing a call to BRKV. This typically points to BRBR or MEBRK, both of which print out the current system error, if there is one.
.DOBRK BRK \ Execute a BRK instruction EQUB &54 \ Error number EQUS "TEST" \ A carriage-return-terminated test string, which EQUB 13 \ doesn't appear to be used anywhere BRK \ End of the test string