X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Martin Str|mberg 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: References: <4a-dnX9djZFzTSLanZ2dnUVZ_rmjnZ2d 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 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