View Single Post
Old 25 July 2017, 23:15   #23
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 856
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..
Attached Files
File Type: s GETBOOTD.S (222 Bytes, 51 views)
File Type: s THEBOOT2.S (6.0 KB, 56 views)
hooverphonique is offline  
 
Page generated in 0.04902 seconds with 12 queries