🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Notice diskchange

#5801
From: DJ Delorie
Date: Tue, 16 Apr 1991 13:11
11 lines
799 bytes
> How can I make my program aware that a diskette
> has been removed from a drive, and a new one
> inserted instead?

There is a special error code that the BIOS returns that is used for
this.  It reports a "diskette changed" error for the first operation
attempted on a diskette that's just been changed.

DJ
dj@ctron.com
Technical Details
Message-ID: <1428@balrog.ctron.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!balrog!ctron.com
References: <CMM.0.90.2.671783143.sverrehu@helblinde.ifi.uio.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!balrog!ctron.com
From: dj@ctron.com (DJ Delorie)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Notice diskchange
Message-ID: <1428@balrog.ctron.com>
Date: 16 Apr 91 13:11:16 GMT
References: <CMM.0.90.2.671783143.sverrehu@helblinde.ifi.uio.no>
Sender: root@balrog.ctron.com
Reply-To: dj@ctron.com
Organization: None whatsoever
Lines: 11
Nntp-Posting-Host: bragi