2.8" QD Disk Emulation
Re: 2.8" QD Disk Emulation
A read data test trace is attached, the Ready signal is lagging behind the read data, which is how its shown in the Timing Diagram. It also de-asserts before the read has completed.
- Attachments
-
- Real QD - Ready and Read Data
- RealQD - Read Cycle - Ready and Read Data .jpg (103.22 KiB) Viewed 19223 times
Re: 2.8" QD Disk Emulation
The Read cycle has a big pause of read data at the start followed by lots of smaller pauses before its a continuous data stream. I was not expected this...although the Timing Diagram does seem to show the main gap.
The read data is active as soon as the drive starts spinning (MO) and then Ready asserts, and the data keeps going for 7ms then stops for 20ms before getting into a read data stream which is not yet contiguous until 170ms.
Does the Gotek fw work in this way?
The read data is active as soon as the drive starts spinning (MO) and then Ready asserts, and the data keeps going for 7ms then stops for 20ms before getting into a read data stream which is not yet contiguous until 170ms.
Does the Gotek fw work in this way?
- Attachments
-
- RealQD - Read Cycle Glitches Detail - Ready and Read Data .jpg (104.81 KiB) Viewed 19222 times
-
- RealQD - Read Cycle Glitches - Ready and Read Data .jpg (107.25 KiB) Viewed 19222 times
Re: 2.8" QD Disk Emulation
That's interesting. But this is expected too : Because of the WG 168ms delay this part is probably not formatted and you read back noises. We can edit the track data in the QD file to mimic this if needed.AMSynths wrote: Thu Aug 29, 2019 12:55 pm The Read cycle has a big pause of read data at the start followed by lots of smaller pauses before its a continuous data stream. I was not expected this...although the Timing Diagram does seem to show the main gap.
The read data is active as soon as the drive starts spinning (MO) and then Ready asserts, and the data keeps going for 7ms then stops for 20ms before getting into a read data stream which is not yet contiguous until 170ms.
Does the Gotek fw work in this way?
But i note that the real track data start is Ready + 168ms. I have a similar delay with the MO5 machine.
Re: 2.8" QD Disk Emulation
I think so. I can reconvert it if you want.AMSynths wrote: Thu Aug 29, 2019 11:57 am The sample data extract should be at 30kHz which gives a very nearly full sample time of 1.098 seconds. Can GoldWave be set to 30k?
But anyway the sample data is for sure valid : the block CRC is valid !
Re: 2.8" QD Disk Emulation
Yesterday i have checked the glitches positions on your captures and the block positions in the formatted QD : The glitches position match to the blocks header positions. the WG is unasserted then asserted right before starting a new block. The question is : Is it a programming side effect or is it intentional to produce something on the "tape" to use this as an sector index marker ?AMSynths wrote: Thu Aug 29, 2019 12:26 pm More tests with F1 and F2 saves shows the 1st glitch interrupts the write data stream as well. I was thinking that the early stages of the write data will be the 8kb of wave and performance parameters, followed by the sample data. But that doesn't make sense as the QD is only 64kB...
What i miss is the QD controller MB87013 IC datasheet.
Re: 2.8" QD Disk Emulation
This is quite interesting ! We have finally something different !AMSynths wrote: Thu Aug 29, 2019 11:07 am Latest fw loaded. 000 and 003 give I/O Error 3 - S-10 Has Broken Down, with 002 giving Illegal QD. There was no 001.
Save still gives Verify Error. I will do some traces of the real QD

Can you try to read these images ? :
Re: 2.8" QD Disk Emulation
Both fail with Illegal QD
Re: 2.8" QD Disk Emulation
ok and with these ?
(part 1) (part 2)
Re: 2.8" QD Disk Emulation
They all fail - first 4 with Illegal QD immediately after the Check QD message on the sampler, and 0004 fails with I/O Error 3 at the same point.
Re: 2.8" QD Disk Emulation
This is interesting because the only thing do is moving the ready signal on the track. Maybe that the S10 see something with the 0004 image but something else is failing. When i read the service manual i have the feeling that the S10 check QD the rotational speed/ready window. Unfortunally i don't find the Error 3 meaning in the service manual. But i will now set the ready duration to 4.5s.AMSynths wrote: Thu Aug 29, 2019 4:06 pm They all fail - first 4 with Illegal QD immediately after the Check QD message on the sampler, and 0004 fails with I/O Error 3 at the same point.
Re: 2.8" QD Disk Emulation
Hi, I/O Error 3 is explained in the diagnostic section - "suspective QD" also cpu and MB89251 uSART chip
Re: 2.8" QD Disk Emulation
New try : Blanked/read pause added at the track beginning (track shifted and not shifted).AMSynths wrote: Thu Aug 29, 2019 4:46 pm Hi, I/O Error 3 is explained in the diagnostic section - "suspective QD" also cpu and MB89251 uSART chip
Re: 2.8" QD Disk Emulation
Fails with I/O Error 3...
Re: 2.8" QD Disk Emulation
There is some Famicom info here, not sure if you have seen it already...
https://nesdev.com/FDS%20technical%20reference.txt
https://nesdev.com/FDS%20technical%20reference.txt