** This is the quasi-official and semi-temporary T13 email list server. **
For one thing you should select the device before you send the LBA address
to the device. Beyond that proper debugging requires a lot more information
if you are writing to the hardware itself. The only way to make sure you
get adequate help is to get a trace of the actual activity on the ATA bus
and then work backwards (i.e. the problem may have nothing to do with ATA
but instead be due to a misunderstanding of how to program the hardware at
the PC level). The whole reason to use things like INT 13 is to avoid
having to worry about this level of detail.....
Jim
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 6:29 PM
To: '[EMAIL PROTECTED]'
Subject: [temp t13] Re: accessing the harddisk under DOS?
** This is the quasi-official and semi-temporary T13 email list server. **
Programing directly to the controller is just what I doing. I am now
puzzling on the software flow of UDMA transfer.
My process is like this:
send the LBA address==>select the device==>send the Write DMA command code
(CAh)==>check the status==>send data to the data register.
The LED that indicates the disk status kept lighting after the transfer
complete. What is wrong with it?
Thanks
-----Original Message-----
From: Sergei Shtylyov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 3:11 AM
To: [EMAIL PROTECTED]
Subject: [temp t13] Re: accessing the harddisk under DOS?
** This is the quasi-official and semi-temporary T13 email list server. **
> We are now developing a special storage system that operates under
>single task OS. Now we are trying to make the system work under plain DOS.
>And several problems emerged recently. One is how to start UDMA tranfer
>under DOS.
If you're using INT 13h, then either BIOS or the loadable driver for your
IDE contoller does this for you.
> Any one who had wrote such programs under DOS please help me.
I'm working on this--but without use of INT 13h, so I have to program
the IDE controllers directly...
--
Sergei Shtylyov
E-mail: [EMAIL PROTECTED]
FidoNet: 2:5020/118.24
--
If you have any questions or wish to unsubscribe send a
message to Hale Landis, [EMAIL PROTECTED] To post to
this list server send your message to [EMAIL PROTECTED]
For questions concerning Thistle Grove Industries or TGI's
list services please send email to [EMAIL PROTECTED]
--
If you have any questions or wish to unsubscribe send a
message to Hale Landis, [EMAIL PROTECTED] To post to
this list server send your message to [EMAIL PROTECTED]
For questions concerning Thistle Grove Industries or TGI's
list services please send email to [EMAIL PROTECTED]
--
If you have any questions or wish to unsubscribe send a
message to Hale Landis, [EMAIL PROTECTED] To post to
this list server send your message to [EMAIL PROTECTED]
For questions concerning Thistle Grove Industries or TGI's
list services please send email to [EMAIL PROTECTED]