Path: utzoo!attcan!uunet!mcsun!unido!fauern!fauern!csbrod From: csbrod@medusa.informatik.uni-erlangen.de (Claus Brod ) Newsgroups: comp.sys.atari.st Subject: Re: TECH: How to tell if drive B is REALLY attached? Message-ID: <2875@medusa.informatik.uni-erlangen.de> Date: 11 Jun 90 13:23:50 GMT References: <7390@orca.wv.tek.com> Organization: CSD, University of Erlangen, W-Germany Lines: 19 jeff@quark.WV.TEK.COM (Jeff Beadles;685-2568;;;quark) writes: >I need to know if drive B is REALLY attached. "Drvmap" (Which, by the way is >NOT my friend :-) says that there is a drive B, even if there isn't. I'm >guessing that this is so the "logical" drive switching works. >I've seen other programs that have done this, but NOTHING in the documentation >that I have here. Can anyone shed light on this? There is an official system variable called _nflops in the $4xx area which you can use for that purpose. It contains 1 if you only have drive A and 2 for both drives. I think the address is $4A6. ---------------------------------------------------------------------- Claus Brod, Am Felsenkeller 2, Things. Take. Time. D-8772 Marktheidenfeld, West Germany (Piet Hein) csbrod@medusa.informatik.uni-erlangen.de ----------------------------------------------------------------------