delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/22/12:45:27

From: "Lanugo of the wandering souls" <lanugo AT SCEMOCHISPAMMAflashmail DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000622114334 DOT 24311G-100000 AT is>
Subject: Re: Calling an interrupt from inline assembly
Lines: 24
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <ofr45.8357$5f7.173826@news-east.usenetserver.com>
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: support AT usenetserver DOT com
NNTP-Posting-Date: Thu, 22 Jun 2000 12:35:32 EDT
Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net.
Date: Thu, 22 Jun 2000 18:38:53 +0200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii ha scritto nel messaggio ...
>
>On Wed, 21 Jun 2000, Lanugo of the wandering souls wrote:
>
>You don't need assembly for this.  Here's how to say this in C:
>
>  #include <dpmi.h>
>
>  __dpmi_regs r;
>
>  r.x.ax = 0x0013;
>  __dpmi_int (0x10, &r);
>
>
>That's it!  See sections 17.8 and 18.1-18.5 of the DJGPP FAQ for more
>details about how to call real-mode services from a DJGPP program.


Thank you very much.

Lanugo


- Raw text -


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