TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Don Guy
date: 1996-10-17 10:27:12
subject: direct disk access in a DOS program

All,

I asked this a short time ago in a local programming echo, and was more or
less told to reboot. :) Is anyone aware of a more elegant sol'n?


Ä Net249: Programming (1:249/176) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PROG249 Ä
 Msg  : 69 of 75 +70 72                     Loc Scn From : Don Guy         
   1:249/176       Tue 15 Oct 96 10:36 To   : All Subj : direct disk
reads...
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
{Greetings and Salivatations, All!}

 begin

Anyone 'round here have any experience accessing drives via BIOS function 13,02?
An assignment at the college has us reading boot sectors, and analyzing the
information found in there.

If I run the program under plain ol' DOS, I haven't a problem. Whiz! Bang! and
there are all the dirty details of the diskette.

Try running the same program under a DOS session in OS/2, and success is
variable. Sometimes info is dropped, others it claims that floppies are
unreadable. It somehow managed to crash the DOS session once last night, What
really amuses me is that it appears to force a reset to *both* floppy drives,
whether I ask it to or not! :/

Anywho, if there's a work around that someone would be willing to share, I'd
appreciate it muchly!

 end;
     {Don}



... TV Truth: Good guys always shoot better than bad guys.
--- GoldED/2 2.51.A0901+



-Don


... Chinese chefs do it gingerly....
--- GoldED/2 2.51.A0901+

--- Squish/386 v1.11
* Origin: Extreme Impossibility (1:249/176)
* Origin: Extreme Impossibility [Kingston, Ontario, Canada] (1:249/176)
* Origin: Extreme Impossibility (1:249/176)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 249/176 100 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.