delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/06/23:48:46

From: Prashant Ramachandra <rprash AT wilco-int DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Message-ID: <5BF60CD649EDD411A04600B0D049F53AFFA989@hydmail02.hyd.wilco-int.com>
Subject: RE: DOS system call
Date: Tue, 7 Aug 2001 09:05:33 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

On Tuesday, August 07, 2001 8:46 AM, Brent Ritchie
[SMTP:azreal AT cyberbeach DOT net] wrote:

>         is there a tutorial or faq for using system calls to dos?

If you mean you want to call the functions in INT21h, you can use
__dpmi_int.

For example:

__dpmi_regs regs;
regs.h.ah = 2;
regs.h.dl = 'x';
__dpmi_int (0x21, &regs);

Please see the FAQ for more on this. And beware when using real mode
pointers.
--
Prashant TR <tr AT midpec DOT com>  Web: http://www.midpec.com/

--------- I'm not accountable for anything below this ---------


This message is confidential and may also be legally privileged.  If you are not the intended recipient, please notify us immediately.  You should not copy it or use it for any purpose, not disclose its contents to any other person.  The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco International

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019