Path: 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 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