Article View: comp.sys.amiga.tech
Article #10268ACTION_DISK_CHANGE
From: Arne Nordmark
Date: Sat, 12 Nov 1988 19:48
Date: Sat, 12 Nov 1988 19:48
34 lines
1844 bytes
1844 bytes
The AutoDiskChange program that appeared in .binaries recently
doesn't seem to work on an A2000 with one internal and one external floppy.
Only the internal drive (unit 0) notices when you change disks.
You still have to manually DiskChange the external drive (unit 2).
The reason is that there is *no* unit 1!
And the program requires (of some obscure reason) that the units must
be "in order", i.e. You can have unit 0,1 or unit 0,1,2 but not 0,2.
I have written a replacement program which handles all configurations
of drives, but I can't find the documentation for the packet
ACTION_DISK_CHANGE anywhere.
I disassembled ARPs DiskChange command, but to my suprise it doesn't
use that packet at all! Instead it sends two ACTION_INHIBIT packets,
one to inhibit the drive, and one to turn it on again.
I now use this ARP kludge in my AutoDiskChange and it works ok.
But it doesn't work well with programs like Format and DiskCopy which
inhibit the drives themselves, they get seriosly messed up.
So I would really appreciate if some helpful person could give me
a description of how you use the ACTION_DISK_CHANGE packet.
Thank you for you help!
- Gunnar
SNAIL: Gunnar Nordmark VOICE: (+46) 8 - 755 42 52
Nora strand 5
S-182 34 DANDERYD EMAIL: gno@stacken.kth.se
SWEDEN gno@SESTAK.BITNET
"Words, words, words." William Shakespeare
Technical Details
Message-ID:
<631@draken.nada.kth.se>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!enea!kth!draken!nordmarkShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!enea!kth!draken!nordmark From: nordmark@nada.kth.se (Arne Nordmark) Newsgroups: comp.sys.amiga.tech Subject: ACTION_DISK_CHANGE Summary: how do you use it? Keywords: FFS, DOS Message-ID: <631@draken.nada.kth.se> Date: 12 Nov 88 19:48:41 GMT Reply-To: gno@stacken.kth.se (Gunnar Nordmark) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 34