> 1. Checking my HD sector 0 I think that the partitions start
> and length numbers are stored in (32 bit values) offsets Ah (length)
> and 6h (start), starting at 1FAh (partition 0). In other words, the
> sector 0 of an IDE device has:
> partition 0: start sector (32 bits) stored in 1FAh
> length stored in 1F6h
> partition 1: start sector (32 bits) stored in 1EAh
> length stored in 1E6h
> partition 2: start sector (32 bits) stored in 1DAh
> length stored in 1D6h
> partition 3: start sector (32 bits) stored in 1CAh
> length stored in 1C6h
> ...
> partition 30:start sector (32 bits) stored in 1Ah
> length stored in 16h
It is not so easy. On sector 0 you will find a table with two entries:
one for the partition 0, and another one which is actually a pointer to
another table. This other table has also two entries: one for partition
1 and another pointer, and so on. This is true for any device, not only
IDE. Sorry, I don't have the detailed information here.
> The difference between Windows and a virus? Virus is free.
...and Virus never fails.
--
Nestor Soriano <[EMAIL PROTECTED]>
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html