People,
Here I am again with more boring questions... :)
> The hell with time! Why would you need time? Figuring these things out,
> getting the bottom out of it, that is the most fun on MSX. Knowing your MSX
> throughout, from top to bottom.
Nice, Laurens! So you will not kill me about what I'll tell now...
:)
Here is my problem:
My program access the DiskROM directly (4010h). I can read any
disk sector with it. I also use my own interrupt routine (that also calls
INT38h in MSX BIOS). I cleared the hook FD9Fh (responsible for stopping
the drive motor after 2 seconds of no use). BUT I call the stop drive
routine (stolen from FD9Fh hook) in my interrupt routine.
Well, it works nice for many MSXs, including Giovanni's Turbo-R
ST. BUT I doesn't work in my TR GT, and also doesn't work in Dal Poz's TR
ST. If I read n sectors in a row, everything goes fine. But if later, I
try reading any sector, TR hangs.
After debugging, I discovered that I can't let the drive led goes
off. If it goes off, any subsequent disk access causes a "not ready" error
in 4010h. Also, I discovered that calling 4029h (stop-all-drive-motors)
before 4010h (after the drive led goes off) I can read the disk again.
BUT, again, I can't let the dirve led goes off, or I'll get the same "not
ready" error in the next disk access.
Oh, and a interesting note: I don't need the FD9Fh hook to stop my
TR drive. It stops by itself. I wouldn't, right? With port-based FDCs, it
doesn't (that I think is the right behaviour).
So, guys, what you think of it? TR FDC is crazy? My program is
crazy? I'm crazy? I'm doing something wrong? I'm doing all wrong?
My TR has an adapted PC-drive. Maybe it makes difference?
The curious fact is that my program WORK on many MSX and TR-ST
(I didn't test in any other TR-GT except mine)...
Well, thanks for any help.
Adriano Camargo Rodrigues da Cunha ([EMAIL PROTECTED])
Engenharia de Computacao - UNICAMP
http://www.adrpage.cjb.net MSX-TR:I have one.And you?
* if u cn rd ths u 2 cn thnk up shrt clvr tglns *
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****