Re.USB Detection
Hello Experts,
I have tried following solution for identifying connected USB to machine,
1. Contents of registers,
ah - 0x02 (for reading boot sector),
dl - 0x00, 0x01, 0x02, 0x04, 0x80 to 0x85 (drive number)
Int 13h (bios interrupt)
and checked contents of al (which contains 512 bytes of data) but not able to get correct value of last 4 bytes which are called as MBR signature (55aa).
Please guide me how can I able to identify USB which is connected to machine (PC) and read boot sector and FAT entries of same device.
Thanks in advance,
Suraj
|