www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/08/02:10:32

Date: Wed, 8 Nov 1995 08:31:47 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Justin Ward <ward AT escape DOT com>
Cc: mailing list <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: Re: How to read registers??

On Tue, 7 Nov 1995, Justin Ward wrote:

> Okay I have a feeling this question comes up a lot, but I'm new to
> this list and I haven't seen an answer to it yet. So, here goes.. how
> does one read the registers ax, bx, cx, and dx with djgpp? For some
> reason, int86(0x13, &r, &r) protection faults.. It says int 0x13 is
> not supported. This is a problem because for the function of int 0x13
> I need to use, all the information is returned in the registers, which
> means biosdisk() won't do diddlysquat for me.

It's in the FAQ.  Use the _go32_dpmi_simulate_int() function.
 
> oh and BTW where can I find the faq?

Download the file faq102.zip from the same place you get DJGPP.  The 
information you're looking for is in chapter 18 there.

- Raw text -


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