Hi,
Can someone answer some questions about Sunrise IDE, please
(Jon?)?
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
Is this right? Can I rely on this?
2. IDESYS.TXT says that, when I call 7F89h (absolute sector
read) I must put the device codebyte in register A. Checking the
Drivefield of all my IDE drives I discovered that C1h is the
device codebyte for all them. I used C1h as device codebyte when
calling 7F89h and received a 08h error ("cluster not found"). I
used 01h (since bits 5,6 and 7 of device codebyte aren't used)
as device codebyte and received the same error. I used 00h as
device codebyte and the sector was read! Shouldn't this behaviour
be wrong?
3. If I have a CDROM connected to my IDE (sorry, I don't
have one at this moment), will it appear on IDE workspace? Where?
In the drive fields (IDE workspace)? In the device info field
(IDE workspace)?
Thanks for any help,
Adriano Camargo Rodrigues da Cunha ([EMAIL PROTECTED])
http://www.adrpage.cjb.net MSX: more fun per less MHz
The difference between Windows and a virus? Virus is free.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html