home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!ranger.enet.dec.com!j_pan
- From: j_pan@ranger.enet.dec.com (Joanna Pan)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Calling ISR from Windows application
- Message-ID: <1993Jan11.151339.26243@nntpd.lkg.dec.com>
- Date: 11 Jan 93 15:15:12 GMT
- Sender: usenet@nntpd.lkg.dec.com (USENET News System)
- Organization: Digital Equipment Corporation
- Lines: 24
-
-
- I am porting a DOS application to Windows environment. Can I use in-line
- assembly to make an interrupt call ? It's not the regular int 21h or int 5Ch.
- e.g.
- _asm {
- push ds
- push ax
- mov ax, 0DE11h ; some function code
- int 78h ; call ISR
- pop ax
- pop ds
- }
-
- Can I use 32-bit registers instead of 16-bit ? If I choose to write a separate
- assembly file, can I write truely 32-bit programme ?
-
- Thanks !
-
- _______________________________________________________________________________
- ! Joanna Pan email:j_pan@ranger.enet.dec.com !
- ! Personal Computer Systems Group !
- ! Digital Equipment Corporation !
- ! Littleton, Massachusetts !
- -------------------------------------------------------------------------------
-