home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4838 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.2 KB

  1. 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
  2. From: j_pan@ranger.enet.dec.com (Joanna Pan)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Calling ISR from Windows application
  5. Message-ID: <1993Jan11.151339.26243@nntpd.lkg.dec.com>
  6. Date: 11 Jan 93 15:15:12 GMT
  7. Sender: usenet@nntpd.lkg.dec.com (USENET News System)
  8. Organization: Digital Equipment Corporation
  9. Lines: 24
  10.  
  11.  
  12. I am porting a DOS application to Windows environment. Can I use in-line
  13. assembly to make an interrupt call ? It's not the regular int 21h or int 5Ch.
  14. e.g.
  15.     _asm {
  16.          push  ds
  17.          push  ax
  18.          mov   ax, 0DE11h    ; some function code
  19.          int   78h        ; call ISR
  20.          pop   ax
  21.          pop   ds
  22.          }
  23.  
  24. Can I use 32-bit registers instead of 16-bit ? If I choose to write a separate
  25. assembly file, can I write truely 32-bit programme ?
  26.  
  27. Thanks !
  28.  
  29. _______________________________________________________________________________
  30. !    Joanna Pan            email:j_pan@ranger.enet.dec.com       !
  31. !     Personal Computer Systems Group                          !
  32. !    Digital Equipment Corporation                          !
  33. !    Littleton, Massachusetts                          !
  34. -------------------------------------------------------------------------------
  35.