Difference between revisions of "INTERRUPTX"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
imported>Clippy
Line 6: Line 6:
  
  
* Interrupt number is the interrupt referance vector table address. See ([http://www.ctyme.com/intr/cat.htm Ralf Brown's Interrupt List])
+
* Interrupt number is the interrupt reference vector table address. See ([http://www.ctyme.com/intr/cat.htm Ralf Brown's Interrupt List])
  
 
* Inregs are the values placed into the call and outregs are the register return values.
 
* Inregs are the values placed into the call and outregs are the register return values.

Revision as of 07:10, 17 September 2009

The INTERRUPTX statement is an assembly routine for accessing computer information registers.


Syntax: CALL INTERRUPTX(intnum, inregs, outregs)


  • Inregs are the values placed into the call and outregs are the register return values.
  • INTERRUPTX can use all of the TYPE values.
  • The TYPE definition below will work for both INTERRUPT and INTERRUPTX statement calls:


TYPE RegTypeX
ax AS INTEGER
bx AS INTEGER
cx AS INTEGER
dx AS INTEGER
bp AS INTEGER
si AS INTEGER
di AS INTEGER
flags AS INTEGER
ds AS INTEGER
es AS INTEGER
END TYPE


DIM SHARED inregs AS RegTypeX, outregs AS RegTypeX



See also: $INCLUDE, QB.BI


Download Ethan Winer's FREE Qbasic Book and Progams: (WINER.ZIP)


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage