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, yes with the latest files.
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 »

Some MO5 games started and running from the HxC Gotek QuickDisk emulator :

Image

Image

Image

Image

Image

Image

:D
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: Thu Aug 29, 2019 6:36 pm Hi, yes with the latest files.
Just tried the 2 images : I see the blank part as expected. If you use these files you should have the same blank.

SAM_3937.JPG
SAM_3937.JPG (182.26 KiB) Viewed 26442 times
SAM_3938.JPG
SAM_3938.JPG (171.96 KiB) Viewed 26442 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 »

New S10 image to try to read.
This time i used a new tool. Some parameters are fixed.

Code: Select all

Loading valid_s10.bin
generate_hfe_qd : Asked cellsrate -> 203128 cells/s, Real cellsrate -> 203389 cells/s
generate_hfe_qd : Asked tracklen -> 8000 ms, Real tracklen 8015.222168 ms (0x00031C00 Bytes)
generate_hfe_qd : Asked start sw pos -> 500 ms, Real start sw pos 503.468719 ms (Track Offset 0x00003200 Bytes)
generate_hfe_qd : Asked ready length -> 4520 ms, Real ready length 4531.218262 ms (End Track Offset 0x0001F400 Bytes)
generate_hfe_qd : Total final file length : 0x00032000 bytes
generate_hfe_qd : Track offset : 0x00000400, start sw file offset: 0x00003600, stop sw file offset: 0x0001F800  )
Place track data at 0x000046AF - 0x0001F685
DSKA0000.QD.zip
(52.33 KiB) Downloaded 374 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 : I will release a tool to generate qd files / analyze / extract data from qd files soon. Which OS are you using ?
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

Windows 10
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 »

So attached the tool to :

- Generate HxC QD file with the parameters you want.

- Convert MO5 QD dump to HxC QD file and check/extract MO5 sectors from the QD file .

- Analyse/Check Roland HxC QD file : Extract blocks, checks the CRC, extract the sample to wav file.

With the build-in unix currently available under Windows 10, you should be able to build this easily. Let me know if you have any difficulty/issue.

Current options :

Code: Select all

Options:
  -qdtrklen 			: QD track length (ms)
  -qdstartsw 			: QD start switch position (ms)
  -qdreadylen 			: QD ready length (ms)
  -qddatadelay 			: QD ready to data delay (ms)
  -loadraw 			: Load a raw mfm track
  -loadmo5qd 			: Load Thomson MO5 QD file
  -generate 			: Generate a HxC QD file
  -checkmo5qd 			: Test a MO5 formatted HxC QD file
  -checkrolandqd 		: Test a Roland formatted HxC QD file
  -help 			: This help
Typical usages :

Create a blank QD file with the specified parameters :

Code: Select all

 ./qdhxcfe -qdtrklen:8000 -qdstartsw:500 -qdreadylen:4520 -generate -foutput:DSKA0000.QD
Create a QD file with the specified parameters and write a data file on the track:

Code: Select all

 ./qdhxcfe -qdtrklen:8000 -qdstartsw:500 -qdreadylen:4520 -qddatadelay:168 -loadraw:valid_s10.bin  -generate -foutput:DSKA0001.QD 
Check a Roland QD and extract blocks & wav file :

Code: Select all

 ./qdhxcfe -checkrolandqd:FILE_I_WANT_TO_CHECK.QD
hxc_qd_tool.tar.gz
(38.3 KiB) Downloaded 387 times
A valid S10 track :
valid_s10.bin.zip
(52.03 KiB) Downloaded 379 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 »

One note : I suspect that there is an hardware compatibility issue between the Gotek and the S10. The Quickdisk drive bus is not open collector so the gotek signal rising time maybe too slow for the quickdisk controller to be reliable. If possible try to add a 220 ohms pull-up resistor on the data line.
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

Tried the latest file, and Illegal QD. I will add the pull up resistor to the read data line.
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 »

Fix the ready to data delay parameter:
hxc_qd_tool.tar.gz
(38.3 KiB) Downloaded 366 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 :

Have you tried the qd tool software ?
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

Hi, not had time yet, day job at Behringer getting in the way...if you send a zipped version rather than gz that will speed things up :D
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: Fri Aug 30, 2019 7:00 pm Hi, not had time yet, day job at Behringer getting in the way...if you send a zipped version rather than gz that will speed things up :D
Ok attached a native exe for any windows version (at least a Windows 95 or a Win 3.11 with the Win32s pack installed :lol: )

EDIT : Removed - updated : viewtopic.php?p=24983#p24983

And the sources are now on github :
https://github.com/jfdelnero/HXCFE_QuickDisk_Toolkit
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 »

Regarding the firmware i will enhance the low level part of the write to be able to capture non standard sequences/pattern... We maybe just don't have the right "sync word" in the image. But i still recommend to add this pull-up resistor and test if this help.
AMSynths
Posts: 85
Joined: Fri Aug 09, 2019 10:43 am

Re: 2.8" QD Disk Emulation

Post by AMSynths »

It extracted as an empty folder...
Post Reply