So here we go.. a couple of pieces of code. I don't remember how they work in detail, but that can be worked out by looking at them..
TheBoot can be written directly to floppy using the asmone WS/CC commands, then reboot and experiment (I don't have any drives other than df0: atm). A1 contains the trackdisk.device io request when entering the bb code. I think it enables/disables drives by writing/clearing a longword representing the pulse train emitted on the RDY pin by extra drives (more on that can be found here on the board in other threads).
The other piece of code let's you detect the boot drive, so you only disable 'extra' drives (on V36+, you can boot off of any floppy drive).
Hope that helps..
|