kjt_get_sector_read_addr
Created by: phil, Last modification: Tue 30 of Aug, 2011 (22:34 UTC)
kjt_get_sector_read_addr (FLOS 588+)
Action: Returns the address of the selected drive's sector read routine, also LBA variable and sector_location variable
Input Registers : A = Device to access
Output Registers:
HL = Address of sector read routine
DE = Location of the LSB of the 32bit LBA variable
BC = Location of the sector buffer location variable
Note: The sector buffer location is automatically reset to the location that the OS requires whenever a filesystem routine is called (this includes the KJT read/write sector calls.) Similarly, altering the LBA variable manually should not affect the filesystem.