delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/02/26/06:45:25

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Martin Str|mberg <ams AT brother DOT ludd DOT ltu DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 64-bit int? segment-offset pointers? and biosdisk.c
Date: Tue, 26 Feb 2008 12:41:09 +0100 (CET)
Organization: Aioe.org NNTP Server
Lines: 16
Message-ID: <fq0tsl$rdc$1@aioe.org>
References: <4a-dnX9djZFzTSLanZ2dnUVZ_rmjnZ2d AT comcast DOT com> <DJmdnQRh5IpcQ17anZ2dnUVZ_o6knZ2d AT comcast DOT com>
NNTP-Posting-Host: 6xMJkZBfaFBWsbyNTUVmnA.user.aioe.org
X-Complaints-To: abuse AT aioe DOT org
User-Agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (SunOS/5.9 (sun4u))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jim Michaels <jmichae3REMOVE AT thispleaseyahoo DOT com> wrote:
> as for the replacement for biosdisk.c, I am running into troubles.  it 
> seems everything revolves around the Disk Packet, which is a structure 
> of size 16 bytes.

> the problem is, the go32 libraries seem (?) to only allow allocation and 
> use of 1 block of dos memory at a time.  I need 2: 1 for the Disk 
> Packet, and 1 for the disk buffer the Disk Packet points to...

If the total size of buffer space needed is less than the transfer
buffer, use different parts of the transfer buffer for the different
blocks of memory.


-- 
MartinS

- Raw text -


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