🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #30383

Re: Mediach() function question

#30383
From: Allan Pratt
Date: Tue, 02 Feb 1988 20:31
17 lines
1230 bytes
in article <8801292315.AA23295@orville.nas.nasa.gov>, 
rowley@orville.nas.nasa.GOV (Karl Rowley) says:

> I have a question about the GEMDOS Mediach() function.  My MWC manual says
> this function can return a 0, 1, or 2, meaning "no", "maybe", or "yes."
> What situation would cause Mediach() to return "maybe"?

"Maybe" means that the disk was ejected, but the same disk might have
been put back in the drive.  When the drive is in this state, the next
access will cause the BIOS to check the serial number against the last
disk that was there: if they match, then the media hasn't really
changed, and the operation succeeds.  If they don't match, that
operation returns the "media changed" error. 

============================================
Opinions expressed above do not necessarily	-- Allan Pratt, Atari Corp.
reflect those of Atari Corp. or anyone else.	  ...ames!atari!apratt
Technical Details
Message-ID: <966@atari.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!portal!atari!apratt
References: <8801292315.AA23295@orville.nas.nasa.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!portal!atari!apratt
From: apratt@atari.UUCP (Allan Pratt)
Newsgroups: comp.sys.atari.st
Subject: Re: Mediach() function question
Message-ID: <966@atari.UUCP>
Date: 2 Feb 88 20:31:19 GMT
References: <8801292315.AA23295@orville.nas.nasa.gov>
Organization: Atari Corp., Sunnyvale CA
Lines: 17