🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5784

OS friendly disk stuff

#5784
From: C Adams
Date: Fri, 12 Oct 1990 04:37
20 lines
1264 bytes
I am writing a program that uses more than 1 disk.  I would like
to come up with my own requester if the disk is not in the drive, 
instead of my screen being thrown to the back, workbench brought to
the front and the system message appearing.

I need to know how to find out what disk is in the drive and whether
it is write protected, using some method that is OS friendly. (if
there is one)

I have heard that I can use FindTask(null) to find my task 
structure and then modify one of the entries to make the requester
appear on my own screen, but that sounds like a bit of a hack to me.

Any method of either making requesters appear on my screen or finding
out what disk is in the drive would be ok.

********************************************************************
Colin Adams         Life's funny but I don't laugh
Email Address -     cpca@marlin.jcu.edu.au
********************************************************************
Technical Details
Message-ID: <1028@iceman.jcu.oz>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!iceman!cpca

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!iceman!cpca
From: cpca@iceman.jcu.oz (C Adams)
Newsgroups: comp.sys.amiga.tech
Subject: OS friendly disk stuff
Message-ID: <1028@iceman.jcu.oz>
Date: 12 Oct 90 04:37:56 GMT
Organization: JCUNQ, Townsville, Qld, Australia
Lines: 20