🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Wanted: How to tell if drive B is REALLY attached?

#2413
From: Michael B. Vederman
Date: Sun, 16 Jul 1989 16:37
39 lines
1736 bytes
In article <3904@orca.WV.TEK.COM> jeff@quark.WV.TEK.COM (Jeff Beadles) writes:
>
>The title pretty well tells it all.  I need to know if drive B is attached.
>The functions that I've seen thus far always report two drives, and want the
>user to swap.
>
>I would prefer a "legal" way to do this so my application will work under any
>of the various TOS's.
>
>Please reply via email, and I'll summarize to the net.
>
>Thanks
>	-Jeff
>-- 
>Jeff Beadles		jeff@quark.WV.TEK.COM or uunet!tektronix!quark.wv!jeff

line eater
line eater
line eater
line eaters unite!

There really is no need to send to you so you can summarize, there is one way
that is WELL documented (and one not so well documented way).

WELL documented:

variable $4a6 - _nflops - number of floppy disks actually attached to the
                system (0, 1, or 2)

Not well documented: After appl_init one of the outint locations has the
                drive map (I can't remember off hand).

- mike

-- 
for (;;)                              : Use ATARINET, send an interactive
        do_it(c_programmers);         : message such as:
                                      : Tell UH-INFO at UHUPVM1 ATARINET HELP
University Atari Computer Enthusiasts : University of Houston UACE
Technical Details
Message-ID: <807@uhnix2.uh.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!texbell!nuchat!moray!uhnix1!uhnix2!uace0
References: <3904@orca.WV.TEK.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!texbell!nuchat!moray!uhnix1!uhnix2!uace0
From: uace0@uhnix2.uh.edu (Michael B. Vederman)
Newsgroups: comp.sys.atari.st
Subject: Re: Wanted:  How to tell if drive B is REALLY attached?
Message-ID: <807@uhnix2.uh.edu>
Date: 16 Jul 89 16:37:54 GMT
References: <3904@orca.WV.TEK.COM>
Reply-To: uace0@uhnix2.UUCP
Distribution: na
Organization: University of Houston
Lines: 39