🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mediach() function question

#30471
From: Landon Dyer
Date: Sat, 06 Feb 1988 02:48
17 lines
1066 bytes
> 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"?

When you have a situation where the BIOS can't detect (for sure) if
the media has been changed or not.  For instance, if you have a
write-protected disk in the drive, and the drive has been idle for
over a second or so, the state changes to "Maybe".

You can still yank out a non-write-protected disk and put it back in
the drive.  So the "Maybe" state really reflects the fact that the
BIOS hasn't had a chance to match disk serial numbers yet.

-Landon
-- 

I speak for me.
Technical Details
Message-ID: <7339@apple.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!amdahl!nsc!voder!apple!landon
References: <8801292315.AA23295@orville.nas.nasa.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!amdahl!nsc!voder!apple!landon
From: landon@apple.UUCP (Landon Dyer)
Newsgroups: comp.sys.atari.st
Subject: Re: Mediach() function question
Message-ID: <7339@apple.UUCP>
Date: 6 Feb 88 02:48:25 GMT
References: <8801292315.AA23295@orville.nas.nasa.gov>
Organization: Apple Computer, Inc., Cupertino, USA
Lines: 17