flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Dex4u 10 Jul 2005, 16:32
As far as i know this is the normal,as my driver does the same, but i do not do reset, i thought it may be not doing the reset, but as you get the same problem and do it must not be that.
As some cd driver seem to work better than others, dvd driver need more try than cd drives also read cd-rw is better than cd-r, you need to try then a delay and try again about 5 time if not give error. I think windows/ linux does the same, but hides it . |
|||
![]() |
|
Octavio 07 Aug 2005, 11:34
For writing a cd driver i´m reading this doc: mmc4r05a.pdf
have done a few tests with some commands, and have a few problems with ´GET CONFIGURATION´ command. When this command is send to the device, the reponse is variable length, i read the reponse data testing bit 3 of ide status port, the device sends 60 bytes of data, but the data lenght in the feature header descriptor is 96 bytes,what is happening? all the other data is ok with the documentation. I have already tried to add delays or force to read 96 bytes. |
|||
![]() |
|
Dex4u 07 Aug 2005, 12:16
I do not use that command,but if you do the number of byte to read and acknowledge them and you still only get 60 bytes, then maybe the doc wrong as a lot of doc on ATAPI are full of mastakes.
|
|||
![]() |
|
Matrix 07 Aug 2005, 13:08
These are interesting things
i havent seen complete informations on ata read write either, but you can realize the reading retries with: spinning up disc, focusing and seeking optical head to track 0, getting toc. there must be a disk spin up, seek complete, disk read function somewhere. |
|||
![]() |
|
Octavio 07 Aug 2005, 22:46
Octavio wrote: the device sends 60 bytes of data, but the data lenght in the feature header descriptor is 96 bytes,what is happening? ![]() |
|||
![]() |
|
Dex4u 08 Aug 2005, 01:10
Thats a easy mistake to make
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.