I'm getting myself used to x86 assembly, so I figured I'd start with some 16-bit programs. To test myself, I'm creating a program that will load data off a disk, copy it to memory, and then use it for the next bit. It's going to replace the MBR, so I can only use basic interrupts (the full thing is going to be a sort of "joke virus" for my use only).
The interrupt to read data off a disk and place it in memory requires arguments in CHS format, however my main drive is an SSD. I can't find anything online that will help me in this situation, because SSDs obviously do not work on cylinders.
My question is, is there any way to "convert" a logical sector number on my SSD to a CHS tuple to trick the program, or is that impossible?