www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/18/21:17:03

From: fredex AT fcshome DOT stoneham DOT ma DOT us
Message-Id: <199608190110.VAA00292@fcshome.stoneham.ma.us>
Subject: off topic: need DOS internals info
To: djgpp AT delorie DOT com
Date: Sun, 18 Aug 1996 21:10:49 -0400 (EDT)

I must make my apologies up front, because I KNOW this is off-topic.
The only reason I'm posting it here is because I hope some of those here
who know something of DOS internals can point me to where I can find the
info I need. (I've already asked in DOS programmer newsgroups but have
no replies yet).

I'm working with a program which needs to modify the Drive Parameter
Block (which it can locate via the List of Lists) to fool DOS into
thinking it knows the attributes of a floppy diskette. The real diskette
may not contain a DOS filesystem, but will be formatted in a track/
sector layout like a real DOS formatted diskette.

Problem I'm having is that even though the DPB gets set to the right
values (of this I'm sure!) DOS does not seem to use those values for
the next access of the drive, but rather the values of the last diskette
it actually looked at (which may have been of a different capacity).

I know little of what goes on inside DOS, other than what I can glean
from Ralf Brown's Interrupt List. If someone here can point me to a
web/ftp site (or other place) where I can find DOS internals info that
may help me with this problem (or if anyone here KNOWS the info) I'd be
indebted for life ! ;-)

TIA

Fred
-- 
-------------------------------------------------------------------------------
 .----    Fred Smith    /                        Office: fred AT computrition DOT com 
( /__  ,__.   __   __ /  __   : /                                 508-663-2524 
 /    /  /   /__) /  /  /__) .+'           Home: fredex AT fcshome DOT stoneham DOT ma DOT us 
/    /  (__ (___ (__(_ (___ / :__                                 617-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------

- Raw text -


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