🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7950

Re: problems using int 25h

#7950
From: Auke Reitsma
Date: Sun, 31 Mar 1996 09:40
18 lines
1299 bytes
doc@uiuc.edu (Jim Marco) wrote:

> I'm trying to write a program (in Turbo C 2.0) that scans the hard disk looking
> for certain file signatures.  I want this program to scan sector by sector, so
> I tried using int 25h via the Turbo C absread() command.  The problem is, the
> program works as intended on drive C: which is a 20 meg PC-DOS 5.0 partition,
> but not on drive D: which is a 300 meg partition (same OS).  The call keeps
> returning a "sector not found" error even for low sector values.  Can anyone
> shed any light on this?  Thanks in advance.

TC2 does not have support for disks larger than 30 MB.
I believe SNIPPETS has a replacement absread() ...
You should be able to find Snippets at ftp.brokersys.com /pub/snippets


Greetings from Delft, The Netherlands.

Auke Reitsma
Technical Details
Message-ID: <4jljvc$4p5@altrade.nijmegen.inter.nl.net>
Path: arc1-ca.pugleaf.net!Inter.NL.net!usenet
References: <4jjsfv$g41@vixen.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!Inter.NL.net!usenet
From: Auke.Reitsma@net.HCC.nl (Auke Reitsma)
Newsgroups: comp.os.msdos.programmer,comp.lang.c
Subject: Re: problems using int 25h
Date: Sun, 31 Mar 1996 09:40:44 GMT
Organization: Inter.NL.net, The Internet Provider in The Netherlands.
Message-ID: <4jljvc$4p5@altrade.nijmegen.inter.nl.net>
References: <4jjsfv$g41@vixen.cso.uiuc.edu>
Reply-To: Auke.Reitsma@net.HCC.nl
NNTP-Posting-Host: rt99-8.rotterdam.nl.net
X-Newsreader: Forte Free Agent 1.0.82