home *** CD-ROM | disk | FTP | other *** search
- CLIPINT (er, INTERRUPT) - Michael Brill
- ---------------------------------------
- This represents well over, well, about 4 minutes of furious typing. Although
- certainly no breakthrough in the world of CS, this little function,
- nevertheless, has it's uses.
- It goesa thisa way:
-
- INTERRUPT(int#,ax,bx,cx,dx)
-
- where: int# - the interrupt you wish to execute
- ax - the value of the AX register before the interrupt is executed
- bx - the value of the BX register before the interrupt is executed
- cx - the value of the CX register before the interrupt is executed
- and so on
-
- It RETURNS what is left in AX after in the interrupt has been executed... some-
- times this means something, sometimes it doesn't - I can never tell, so I'll
- leave that to you.
-
- There are well over 100 things this function can do, such as getting/setting
- modes, checking printers, plotting dots, equipment checking, scrolling,
- re-booting, and so on. The demo is crap but you'll get the idea.
- Hope it works. ...Michael
-