NASM: how to access ssd drive correctly?
问题 I need to access SSD drive with NASM 16-bit code. When accessing regular hard drive, need to set registers AX, DX, CX to choose Cylinder/Track/Sector/Number of sectors ( AH - to choose read sector function, DL - to choose drive number, CH - to choose cylinder, DH - to choose side on disk, CL - to choose sector on track, AL - to choose number of sectors). However, I suppose SSD disk has some other structure, so how to access them correctly? 回答1: Assuming translation of fake geometry into LBA