2.8" QD Disk Emulation

General discussion forum - for all that doesn't fit in any other category.
Post Reply
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

Hi,
This is just development....once the software is done it will be very easy to update the Gotek drive. I will be selling adapter kits which include a PCB with sockets for the cables and stand offs to mount the Gotek into the sampler. The standard QD drive cable does need some minor modification at one end, and the Gotek casing needs some adjustment with a craft knife. 😊😊 So I plan to provide the drive, cable and adapter kit, along with a USB stick with the factory samples, so its “plug and play”.

Best regards Rob
Jeff
Site Admin
Posts: 8247
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: 2.8" QD Disk Emulation

Post by Jeff »

I have checked the read support : I have connected 2 goteks together and made a QD file copy from one gotek to the other one : The CRCs in the destination gotek are fine.

one thing we didn't check : What is the read pulse width coming from the real QD drive ? Maybe the gotek pulse width are currently too short for the s10/s220.
Jeff
Site Admin
Posts: 8247
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: 2.8" QD Disk Emulation

Post by Jeff »

New fw : read pulse width increased
HxCUSBFE.UPD
(61 KiB) Downloaded 248 times

+

news images to try to read :
Shift_And_WriteSplice.zip
(158.9 KiB) Downloaded 333 times
DSKA0000.QD : Shifted track
DSKA0001.QD : "Write spliced" track
DSKA0002.QD : Shifted + "Write spliced" track
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

I loaded the latest fw but verify error on save
I will try reading the files this evening and do a trace of the real QD read signal
Jeff
Site Admin
Posts: 8247
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: 2.8" QD Disk Emulation

Post by Jeff »

AMSynths wrote: Wed Aug 28, 2019 9:37 am I loaded the latest fw but verify error on save
I will try reading the files this evening and do a trace of the real QD read signal
Ok

First try to read the 3 above images.

Then if this doesn't work i think we should have a look around the write splice/(the WG "glitches") :

Can you redo this ? :
viewtopic.php?f=2&t=773&start=120#p21092
With the WG signal and the Writedata signal ? I want to know what does the S10 at this place (before, under and after the WG "glitch"). These WG glitches appears to be placed right before the blocks headers. Pure speculation but maybe this is a part of the synchronisation to read the block since the MFM synchronisation "word" doesn't have any missing clock.

(Btw have a logic analyser able to capture this WG / Writedata flux ?)
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

No logic analyser (yet) but I will do some testing and getting some detailed traces. On real and emulation
Jeff
Site Admin
Posts: 8247
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: 2.8" QD Disk Emulation

Post by Jeff »

(Just for fun) i am finally able to extract the sample data to a wave file. :D
solo.png
solo.png (48.36 KiB) Viewed 21288 times

The SoloSyn.4 sample wave file :
SoloSyn_4.wav.zip
(41.15 KiB) Downloaded 344 times
Jeff
Site Admin
Posts: 8247
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: 2.8" QD Disk Emulation

Post by Jeff »

AMSynths wrote: Wed Aug 28, 2019 2:08 pm No logic analyser (yet) but I will do some testing and getting some detailed traces. On real and emulation
The Write gate + ready signal may be interesting too.

Have you an external trigger ? If possible, use the external trigger on the Ready signal and the use the ch1 & ch2 on WG + write data.
Trackdriver
Posts: 4
Joined: Tue Aug 27, 2019 9:46 pm

Re: 2.8" QD Disk Emulation

Post by Trackdriver »

AMSynths wrote: Tue Aug 27, 2019 10:14 pm Hi,
This is just development....once the software is done it will be very easy to update the Gotek drive. I will be selling adapter kits which include a PCB with sockets for the cables and stand offs to mount the Gotek into the sampler. The standard QD drive cable does need some minor modification at one end, and the Gotek casing needs some adjustment with a craft knife. 😊😊 So I plan to provide the drive, cable and adapter kit, along with a USB stick with the factory samples, so its “plug and play”.

Best regards Rob
Good to hear :) I'm looking forward to this!
Jeff
Site Admin
Posts: 8247
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: 2.8" QD Disk Emulation

Post by Jeff »

New fw to use attached (some fixes) :
HxCUSBFE.UPD
(61 KiB) Downloaded 268 times
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

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
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

Write Traces
180ms delay time between Ready assert and Writing of Data
Attachments
180ms delay time between Ready assert and Writing of Data
180ms delay time between Ready assert and Writing of Data
RealQD - Write Cycle - Ready to Write Data Delay Time.jpg (81.31 KiB) Viewed 21237 times
Write Cycle, second Ready assert is the Read Verify
Write Cycle, second Ready assert is the Read Verify
RealQD - Write Cycle - Ready and Write Data.jpg (86.46 KiB) Viewed 21237 times
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

The two glitches in the Write Gate appear to be consistent across all saves, now I have the scope at a high resolution.
Both glitches are around 50us in duration, and the first one does not interrupt the write data clocking but the second one does.
They appear around 220ms and 440ms after the write data is asserted
This is in fast save mode without any checking of the QD

The QD head moves back to the edge of the disk as soon as SAVE is pressed, write starts once the head is in position and continues to the end.
Then the read cycle commences with another pass of the disk surface, and then the verification error message

Let me know what further traces will be useful!

Looks like 4 data blocks then 1 short data block with the 2nd glitch in it, then 38 data blocks.
Attachments
RealQD - Write Gate Glitch 290819.jpg
RealQD - Write Gate Glitch 290819.jpg (106.23 KiB) Viewed 21236 times
2nd glitch detail
2nd glitch detail
RealQD - Write Gate - 2nd Glitch Detail 290819.jpg (91.68 KiB) Viewed 21236 times
1st glitch detail
1st glitch detail
RealQD - Write Gate - 1st Glitch Detail 290819.jpg (91.32 KiB) Viewed 21236 times
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

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?
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

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...
Post Reply