www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/09/13/10:48:37

From: "Rodney W. Grimes" <rgrimes AT gndrsh DOT cdrom DOT com>
Subject: Re: How to do low level bios disk I/O
To: dj AT ctron DOT com (DJ Delorie)
Date: Mon, 13 Sep 1993 06:50:01 -0700 (PDT)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> 
> > I am doing cross developement under FreeBSD and DOS using djgpp (wonderful
> > product) and have come up against a problem I need some help with.
> 
> > I can not find out how to allocate a buffer in the lower 1Mb so that I
> > can use int 13 functions 2 and 3 to do low level disk I/O.
> 
> > I have every thing working except for this buffer, are there some magic
> > library calls to setup a bounce buffer in low memory so you can pass
> > a segmented address to the BIOS?
> 
> djgpp 1.11 will allow you to do this.  There is no way to do this in
> 1.10 without changing go32.exe itself.

Well, since I am a low unix kernel hacker (ie, locore.s is my home) I
guess I'll bite the bullet and hack it into go32.  I was really hoping
there was already support for low memory bounce buffrers  *sigh*

Code at 11:00



-- 
Rod Grimes						     rgrimes AT cdrom DOT com

- Raw text -


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