Jump to navigation Jump to search
The INTERRUPT statement is an assembly routine for accessing computer information registers.
- Registers are emulated in QB64 to allow older programs to be compiled. To enable mouse input in your programs, the recommended practice is to use _MOUSEINPUT and related functions.
- Registers are emulated in QB64 and there is no support for intNum 33h mouse functions above 3 or intNum requests other than 33.
- inRegs are the values placed into the call and outRegs are the register return values.
- Available in QuickBASIC versions 4 and up and required an external library to be loaded. QB64 emulates the statement without an external library.
- intNum is the interrupt reference vector table address. For historic reference, see: Ralf Brown's Interrupt List
- The TYPE definition below will work for both INTERRUPT and INTERRUPTX statement calls
- INTERRUPT can use all of the below TYPE elements when they are required.
- QBasic's RegType.BI $INCLUDE file can be used by INTERRUPT or INTERRUPTX