delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/02/26/04:46:42

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Tue, 26 Feb 2008 03:41:21 -0600
Date: Tue, 26 Feb 2008 01:41:19 -0800
From: Jim Michaels <jmichae3REMOVE AT THISPLEASEyahoo DOT com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 64-bit int? segment-offset pointers? and biosdisk.c
References: <4a-dnX9djZFzTSLanZ2dnUVZ_rmjnZ2d AT comcast DOT com>
In-Reply-To: <4a-dnX9djZFzTSLanZ2dnUVZ_rmjnZ2d@comcast.com>
Message-ID: <DJmdnQRh5IpcQ17anZ2dnUVZ_o6knZ2d@comcast.com>
Lines: 33
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 24.20.110.103
X-Trace: sv3-eqv1HI2SXSLsctN9G0YocANPtnGkY2hsXXdb6lRJ7AHJqRzGm2/4Gb/ehCpUDZA4DvRlS2K3X8fv4Lu!oKtUwiMW/KZ089iA1CF3Ga9SEMDvTEpHbPF8+PEJp3xMXX44K/SqWT821k96MkGNSbG41+Sq+raN!evVtxnorMmjNCIEdK32SvRE6ziGY4Q==
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.37
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jim Michaels wrote:
> does gcc handle a 64-bit int in 2.03?  if so, what type is it called?
> 
> I was hoping to see if I could rewrite the existing biosdisk library 
> with the new int13h extensions (as of 1995).
> http://www.phoenix.com/NR/rdonlyres/9BEDED98-6B3F-4DAC-BBB7-FA89FA5C30F0/0/specsedd11.pdf 
> 
> contains a reference to these, which refer to LBA methods of accessing 
> the disk as well as chs, but using subfunctions 41-4e, and there is an 
> eject media check function in int 15h.  similar documents exist.
> 
> biosdisk.c contains code that is now out of date for modern sized disks.
> 
> 

I found out that 64-bit int type is long long.

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...

so what do I do now?

it compiles now, but that's about it.  testing reveals it doesn't work. 
  However, I do know that the interrupts themselves do work.  it's my code.

-- 
  Jim Michaels
  for email, edit the address

- Raw text -


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