ATAPI Function 18 (12h) - Get Track Info

Description
AtapiAtapiAtapi
Input

AH

12h

BL

TrackNumber

ESI

devicecode ('cda',0 or 'cdb',0 etc.)
Output

EDX

StartSector(LBA)

CX

Sectors(LBA)
Errorcodes

None

None
Notes
Seems to be having problems on some cdrom-stations. For some reason they only return a few (about 20-30) bytes, so the rest of the track info table is garbage (fixed values though, but different on other stations, hmmm...)
Development Status
Complete

Back