New HxC Floppy Emulator software for Windows and Mac OS X !

General information and announcements - please read it first before posting.
Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

New HxC Software version ! : HxCFloppyEmulator 2.1.21.3

https://hxc2001.com/download/floppy_dri ... r_soft.zip

https://hxc2001.com/download/floppy_dri ... _notes.txt

28 January 2019 : HxCFloppyEmulator 2.1.22.3

Raw loader: Fix global disk bitrate value. (HD disks bitrate issue)

17 January 2019 : HxCFloppyEmulator 2.1.22.2

CPCDSK loader: v2.1.20.1 Regression fixed. (null sector data length field support).

15 January 2019 : HxCFloppyEmulator 2.1.22.1

Track editor : New Side1 add/delete button.
HFE v3 loader: Regression fixed.

Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

New HxC Software version ! : HxCFloppyEmulator 2.1.21.3

https://hxc2001.com/download/floppy_dri ... r_soft.zip

https://hxc2001.com/download/floppy_dri ... _notes.txt
29 March 2019 : HxCFloppyEmulator 2.1.23.1

New XML format : Coat-A-Matic 9400 / Robox RC9400 format.

Amiga Image loader (ADF, DMS,...) : Fix the v2.1.20.1 left sector(s) field regression !
Update recommended for Amiga users !

Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

New HxC Software version ! : HxCFloppyEmulator 2.1.24.1

https://hxc2001.com/download/floppy_dri ... r_soft.zip

https://hxc2001.com/download/floppy_dri ... _notes.txt
22 May 2019 : HxCFloppyEmulator 2.1.24.1

DEC RX02 M2FM encoding/decoding support added.

HFEv3 : weakbits support added.

Acorn ADF support : regression fixed.

Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

New HxC Software version ! : HxCFloppyEmulator 2.2.2.1

HxCFloppyEmulator_soft.zip

hxcfloppyemulator_soft_release_notes.txt
8 December 2019 : HxCFloppyEmulator 2.2.2.1

-> macOS Catalina support : Switch to 64bits build + minimum OS version needed changed to 10.9 (Mavericks)

-> Internal environment variables support to tweak/change the default internal library settings/behavior.

-> Script support introduced.

-> GUI : New advanced parameters window added.

-> GUI : Script execution menu entry added.

-> Command line tool : Script execution option added.

-> Floppy Stream dump analysis bitmap export support. (Stream HFE, SCP, KryoFlux Raw)

-> SPS CAPS library loader support added for Linux.

-> SCP loader : Fix/set the number of heads to 2 when the number of head(s) field is set to 0.

-> New files Support : Kurzweil K25 (K2500) and K26 (K2600) file support.

-> Game Doctor SF3 / SF7 file support added.

-> zlib updated to v1.2.11

-> FLTK updated to v1.3.5 for all platforms.

-> Linux build : Automatic FLTK package download and preparation.
FLTK build : Use the fltk automatic flags to match with your graphic stack.

-> General : Lots of code fixes and improvements !

JimDrew
Posts: 30
Joined: Fri Dec 06, 2013 7:52 am

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by JimDrew »

"-> SCP loader : Fix/set the number of heads to 2 when the number of head(s) field is set to 0."

Just wanted to confirm that you know that this field set to 0 = both heads, 1 = bottom head only, 2 = top head only.

Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

JimDrew wrote:
Tue Jan 07, 2020 12:37 pm
"-> SCP loader : Fix/set the number of heads to 2 when the number of head(s) field is set to 0."

Just wanted to confirm that you know that this field set to 0 = both heads, 1 = bottom head only, 2 = top head only.
No i didn't. :wink:

JimDrew
Posts: 30
Joined: Fri Dec 06, 2013 7:52 am

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by JimDrew »

Hi Jeff!

I just found an issue with the .scp encoding for single-sided disks. I had a bunch of people recently trying to convert .dsk and .dmk TRS-80 disk images to .scp format. The HxC conversion for a 40 track single-sided image comes out as 20 tracks (2 heads), and a 80 track single-sided image comes out as 40 tracks (2 heads). The disk ID also seems to be Atari ST.

Per the .scp specification, with a single sided image you should be skipping every other TDH entry. Even TDH entries are the bottom head, and odd TDH entries are the top head. You should also be setting the HEAD byte (0x0A) to 1 (not 0 or 2) in these cases to indicate a single bottom head. There's not likely to be too many images with just the top head, but it's there for completeness. When imaging a double-sided disk (like Amiga, IBM 1.44MB, Atari ST, etc.) this is automatic. I am not sure if I made this very clear, so I have revised the specification. In my software I don't look at anything except the TDH entries. I know if an entry contains 0x00000000 then there is no data for that head (top or bottom). So, I don't really need to know how many heads were actually used in the image via the HEAD byte (0x0A). It's just there to make it easy for whatever is looking at the data to display the number of heads used.

So, as a recap - single sided disks use the bottom head only and so there should be 40 entries (for 40 tracks) or 80 entries (for 80 tracks) that use TDH entries 0,2,4,6, etc.

Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

JimDrew wrote:
Sat May 09, 2020 6:45 pm
So, as a recap - single sided disks use the bottom head only and so there should be 40 entries (for 40 tracks) or 80 entries (for 80 tracks) that use TDH entries 0,2,4,6, etc.
Ok please test this version and tell me if this solve the issue :

https://hxc2001.com/download/floppy_dri ... p_test.zip

JimDrew
Posts: 30
Joined: Fri Dec 06, 2013 7:52 am

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by JimDrew »

Thanks for the quick response, I will check it out!

JimDrew
Posts: 30
Joined: Fri Dec 06, 2013 7:52 am

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by JimDrew »

OK, the head byte (0x0A) is set to 1 correctly, but the TDH entries are all still sequential. With a single-sided image file only the even entries (0,2,4,6, etc.) should be used. The bottom head is the even entries and the top head is the odd entries. When dumping a double-sided disk, like Amiga this is automatic because both heads for each track are dumped.

The disk ID is also still showing as Atari ST.

I converted a .dmk image of a TRS-80 disk (40 tracks, single-sided - correctly reported by HxC). See the two screenshots I made of what HxC generated and what it needs to generate.

HxC Generated:
hxc_generated.jpg
hxc_generated.jpg (233.95 KiB) Viewed 2594 times

What needs to be generated:
should_be_generated.jpg
should_be_generated.jpg (234.09 KiB) Viewed 2594 times
You can see that every other TDH entry is skipped (these are the top-head entries that are skipped). I hope this clears it up. Let me know if you have any questions! Thanks!

Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

Ok got it ;)

JimDrew
Posts: 30
Joined: Fri Dec 06, 2013 7:52 am

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by JimDrew »

Great! Also don't forget to change this "fix" you made to earlier version:

-> SCP loader : Fix/set the number of heads to 2 when the number of head(s) field is set to 0.

This field should be 0 when both heads are included in the image. It should be 1 for just the bottom head, and 2 for just the top head.

Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

JimDrew wrote:
Fri May 15, 2020 7:17 am
Great! Also don't forget to change this "fix" you made to earlier version:

-> SCP loader : Fix/set the number of heads to 2 when the number of head(s) field is set to 0.

This field should be 0 when both heads are included in the image. It should be 1 for just the bottom head, and 2 for just the top head.
yes but this appears to be the current implementation, isn't it ?

Jeff
Site Admin
Posts: 7282
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by Jeff »

JimDrew wrote:
Tue May 12, 2020 1:00 am
OK, the head byte (0x0A) is set to 1 correctly, but the TDH entries are all still sequential. With a single-sided image file only the even entries (0,2,4,6, etc.) should be used. The bottom head is the even entries and the top head is the odd entries. When dumping a double-sided disk, like Amiga this is automatic because both heads for each track are dumped.

The disk ID is also still showing as Atari ST.

I converted a .dmk image of a TRS-80 disk (40 tracks, single-sided - correctly reported by HxC). See the two screenshots I made of what HxC generated and what it needs to generate.

You can see that every other TDH entry is skipped (these are the top-head entries that are skipped). I hope this clears it up. Let me know if you have any questions! Thanks!
New version :
https://hxc2001.com/download/floppy_dri ... _test2.zip
Hope this is ok now.

JimDrew
Posts: 30
Joined: Fri Dec 06, 2013 7:52 am

Re: New HxC Floppy Emulator software for Windows and Mac OS X !

Post by JimDrew »

Jeff wrote:
Sun May 17, 2020 11:39 pm
JimDrew wrote:
Fri May 15, 2020 7:17 am
Great! Also don't forget to change this "fix" you made to earlier version:

-> SCP loader : Fix/set the number of heads to 2 when the number of head(s) field is set to 0.

This field should be 0 when both heads are included in the image. It should be 1 for just the bottom head, and 2 for just the top head.
yes but this appears to be the current implementation, isn't it ?
The head byte value has always been the case... 0 = both heads, 1 = bottom head only, 2 = top head only. Single sided disks will always have a value of either 1 or 2 (most likely 1 unless you deliberately dumped just the top side, which is possible but unlikely).

I will check out the new version. Thanks!

Post Reply