Jump to navigation Jump to search
Revision as of 02:44, 31 August 2017 by (Misleading outdated information about qb.exe requirements *removed*.)
The INTERRUPTX statement is an assembly routine for accessing computer information registers.
- CALL INTERRUPTX(intnum, inregs, outregs)
- Interrupt number is the interrupt reference vector table address. See: Ralf Brown's Interrupt List
- Inregs are the values placed into the call and outregs are the register return values.
- INTERRUPTX can use all of the TYPE values when they are required.
- NOTE: Registers are emulated in QB64; there is no support for INT 33h mouse functions above 3 or INT requests other than 33
- The TYPE definition below will work for both INTERRUPT and INTERRUPTX statement calls:
RegType.BI '$INCLUDE file can be used by INTERRUPT or INTERRUPTX
Download Ethan Winer's FREE Qbasic Book and Programs: WINER.ZIP