🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting the Turbo mode by software

#5780
From: Sender Unknown
Date: Mon, 15 Apr 1991 06:06
17 lines
1282 bytes
eepjm@cc.newcastle.edu.au writes:

> How does one tell MS-DOS that it's in-memory copies of a disk FAT and
> directory are invalid - i.e. how can one force it to re-read the disk rather
> than rely on its obsolete in-memory copy?

This doesn't universally work across all OEM versions of DOS, but...  The
CP/M ritual of using a Control-C to force a re-read of the disk's vitals
can be found on some DOS versions.  It's not very helpful if you have even
a simple disk cache (other than BUFFERS=?? in config.sys) running.
The smart way to do it probably involves an ioctl call to the driver.
-- Bob


               Bob Izenberg
         cs.utexas.edu!dogface!bei   [ ]   "So young, so bad... So what!"
             512 346 7019                        Wendy O. Williams
Technical Details
Message-ID: <wHLF11w164w@dogface>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ceres.physics.uiowa.edu!iowasp.physics.uiowa.edu!ns-mx!uunet!fernwood!apple!usc!cs.utexas.edu!execu!sequoia!balkan!dogface!bei
References: <1991Apr10.104737.9962@cc.newcastle.edu.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ceres.physics.uiowa.edu!iowasp.physics.uiowa.edu!ns-mx!uunet!fernwood!apple!usc!cs.utexas.edu!execu!sequoia!balkan!dogface!bei
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc,aus.computers.ibm-pc
Subject: Re: Setting the Turbo mode by software
Message-ID: <wHLF11w164w@dogface>
From: ** Sender Unknown **
Date: 15 Apr 91 06:06:43 GMT
References: <1991Apr10.104737.9962@cc.newcastle.edu.au>
Lines: 17