View Single Post
Old 26 October 2018, 17:11   #2
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,480
Quote:
Originally Posted by kaffer View Post
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.
ross is offline  
 
Page generated in 0.04467 seconds with 11 queries