delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/29/10:41:09

Date: Mon, 29 Nov 93 09:59:33 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: pratt AT cs DOT stanford DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: int86

> Could some kind soul put me out of my int86 misery by either pointing
> me at instructions for or examples of the use of int86 or telling me
> what I'm doing wrong?  When I invoke int86, everything goes smoothly
> up to where the int 0x?? (0x13, disk I/O) is executed.  Instead of
> diving into the BIOS' disk routines, an exception 19 (i.e. 0x13) is
> taken, stopping my program at that point.  This happens under all of
> go32, debug32, and aout2exe.  Someone (crt0?) is intercepting the
> interrupt before the BIOS can handle it.  Since int86 is in djgpp's
> library I took it that this means one can do BIOS calls under djgpp,
> or does that not follow?

You can't just do any interrupt from within a go32 program.  Only
those interrupts that go32 knows about can be invoked, as go32 has to
copy data between your application and DOS memory space, update
pointers, convert registers, etc.  Go32 does not support the int 0x13
calls.


- Raw text -


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