Quote:
Originally Posted by kaffer
My problem is to write a custom bootblock which can determine which floppy unit number it was loaded from. Equivalently, to determine which floppy unit number the trackdisk.device IOReq passed in register a1 is associated with.
|
I've faced the same problem.
The easiest way I found is to use a long value in boot block (a unique tag) and then test in every attached drive for this tag.