2.8" QD Disk Emulation

General discussion forum - for all that doesn't fit in any other category.
Post Reply
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 »

Ok i have just fixed something. Try this firmware (v3.4.7.6) :


EDIT : Removed !


If you still have the "verify error" message after a write, update to the debug version :

EDIT : Removed !

Copy the DBG_DUMP.BIN to the stick, write to some qd files, and post back the DBG_DUMP.BIN here.
(Note : The debug infos are saved when you change/eject the currently loaded image)
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

I still have the verify errors.

I've used the debug version and written to five images

EDIT : Removed !
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 »

etaoin wrote: Tue Sep 17, 2019 8:29 am I still have the verify errors.

I've used the debug version and written to five images
Thanks : So apparently we have 6 write gate assertions (3 blocks * 2 retries i suppose) and 4 Motor-on assertions.
And most notably : No reset event at all (unless the reset line isn't wired correctly ?)

@AMSynths

I really need to understand how is this short ready is possible on the real QD without the use of the reset line :

Image

Ideally : Three screens on the real QD: One with /RY + /RS and another with /RY + /MO, and finally /RY + WG, with the short ready event fitting the oscilloscope screen.
(Think to increase the oscilloscope sample rate if possible).
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

Jeff wrote: Tue Sep 17, 2019 9:17 am Thanks : So apparently we have 6 write gate assertions (3 blocks * 2 retries i suppose) and 4 Motor-on assertions.
And most notably : No reset event at all (unless the reset line isn't wired correctly ?)
For one disk I did a disk change by mistake while the display still read 'verify error' and it immediately retried the save, maybe it didn't stop the motor there.

I double checked QD pin 8 to pin 20 so that should be ok (unless I missed a change in the wiring somewhere in this thread).

I do have a working real drive as well, but unfortunately only an analog scope so I can't really help you there.
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

By the way, I also have a Sharp MZ-800 with a QD drive, which I will try later. The QD interface will probably be identical to the MZ-1500 as the main differences between the two are in graphics and sound.
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 »

etaoin wrote: Tue Sep 17, 2019 9:47 am
Jeff wrote: Tue Sep 17, 2019 9:17 am Thanks : So apparently we have 6 write gate assertions (3 blocks * 2 retries i suppose) and 4 Motor-on assertions.
And most notably : No reset event at all (unless the reset line isn't wired correctly ?)
For one disk I did a disk change by mistake while the display still read 'verify error' and it immediately retried the save, maybe it didn't stop the motor there.

I double checked QD pin 8 to pin 20 so that should be ok (unless I missed a change in the wiring somewhere in this thread).

I do have a working real drive as well, but unfortunately only an analog scope so I can't really help you there.
This ready behaviour is a mystery if the reset signal isn't asserted... This doesn't match to any of the schematics i have here.

Anyway the probable cause if the the "verify error" message is that the ready signal is asserted for a too long time and the machine start to verify before the track start.

Even with an analog scope it is may be interesting to measure the ready signal assertion time and period on the real QD drive ? Today i am still unsure about the normal Roland QD drive rotation time and ready signal assertion time. I have got many conflicting informations about this so far.
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

Jeff wrote: Tue Sep 17, 2019 10:45 am Even with an analog scope it is may be interesting to measure the ready signal assertion time and period on the real QD drive ?
I'll see what I can do. Biggest issue is lack of memory so any one-time signals will be impossible to measure.

I do have a cheap logic probe though, I'll have a look at what that produces...
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 »

etaoin wrote: Tue Sep 17, 2019 10:56 am I do have a cheap logic probe though, I'll have a look at what that produces...
yes this may be a better solution !
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

This is a write trace.
It actually did three passes, where the third fell just off the 20s window. Not sure why three, it looks like it's only doing a write in the second pass.

Note, this is an A/B sample, so it will ask you to change the disk between saves. That might have something to do with the additional read cycle. I'll do one that is single-sided.

Let me know if you want to see something specific.
Attachments
Schermafbeelding 2019-09-17 om 11.43.31.png
Schermafbeelding 2019-09-17 om 11.43.31.png (142.42 KiB) Viewed 143753 times
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

Addition: the first read pass is of course the overwrite check where it checks if there's already something on the disk.
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

Write cycle after overwrite check (I waited for the drive motor to stop before confirming overwrite), so this is a write and verify cycle.

So you're right on the Reset line. It doesn't seem to do anything at all.
Attachments
Schermafbeelding 2019-09-17 om 12.06.13.png
Schermafbeelding 2019-09-17 om 12.06.13.png (141.89 KiB) Viewed 143748 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 »

ohh thanks a lot ! So this confirm that you have also this short ready state here :

viewtopic.php?f=2&t=773&start=375#p21408

And we can also see the 3 blocks write . :)

Can you add the others signals on the others channels ? (MO, RD data, WR data...)

Is it on the real QD drive ?

Can you export these data to a file ? i want to check some precise timing.
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

Jeff wrote: Tue Sep 17, 2019 2:23 pm Is it on the real QD drive ?
Yes, this is on the real drive.

I was just wiring it up for the full 8 channels.
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

Jeff wrote: Tue Sep 17, 2019 2:23 pm Can you export these data to a file ? i want to check some precise timing.
What format do you want?
Attachments
Schermafbeelding 2019-09-17 om 14.40.39.png
Schermafbeelding 2019-09-17 om 14.40.39.png (18.06 KiB) Viewed 143733 times
etaoin
Posts: 43
Joined: Mon Sep 16, 2019 3:10 pm

Re: 2.8" QD Disk Emulation

Post by etaoin »

full probe
Attachments
Schermafbeelding 2019-09-17 om 14.40.18.png
Schermafbeelding 2019-09-17 om 14.40.18.png (140.09 KiB) Viewed 143732 times
Post Reply