Firmware updates for the STM32/Gotek HxC floppy emulators !

Post Reply
mondo1976
Posts: 156
Joined: Mon Dec 28, 2015 3:54 pm

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by mondo1976 » Thu Dec 27, 2018 8:49 am

Forgive me if this isn't the appropriate place for a feature request, but:

Is there anyway to add a folder "lockout" feature so that only disk images can be seen when navigating in Normal mode and folders would remain invisible to the browser?

In Index mode, only DSKAxxxx files are shown, so you can add other sub-folders relative to the root and put other files in them (PDFs, backup versions of HFEs, etc.) and the Gotek will happily ignore them. But Normal mode shows any and all folders which just adds to the clutter. In other words, if I want to use Normal mode so I can use helpful filenames then I also see a bunch of folder names. The only way around this is to use Index mode, but then I lose helpful filenames.

A solution to this might be to split the USB drive into two partitions -- one FAT32 with only disk images, and the second partition with any extraneous files. But removable USB devices cannot be partitioned (or accessed) like this under Windows.

I realize this is a fairly odd usage case.

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Thu Dec 27, 2018 11:10 am

You can already "hide" these folder with the "hidden" fat attribute. I may add the unix style support (a dot on the top the file/folder name).
this doesn't fit the need ?

mondo1976
Posts: 156
Joined: Mon Dec 28, 2015 3:54 pm

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by mondo1976 » Thu Dec 27, 2018 4:17 pm

Jeff wrote:
Thu Dec 27, 2018 11:10 am
I may add the unix style support (a dot on the top the file/folder name).
this doesn't fit the need ?
That would work beautifully!

mondo1976
Posts: 156
Joined: Mon Dec 28, 2015 3:54 pm

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by mondo1976 » Fri Dec 28, 2018 12:17 am

Jeff wrote:
Thu Dec 27, 2018 11:10 am
You can already "hide" these folder with the "hidden" fat attribute.
By the way, this does not work (in my experience) -- at least with the last couple recent versions of the firmware. I have not tested this with older firmware, but FAT folders which are hidden in Windows are still very much visible on the Gotek in Normal mode.

The "Unix" solution would be ideal because then Windows could see the folders without needing to enable "Show Hidden Files" in Windows Explorer, yet would be invisible to the Gotek in Normal mode.

Best solution I currently have is to make zip/rar archives of directories I wish to see on the computer but not on the Gotek. It works, but it's not graceful.

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Sat Dec 29, 2018 1:09 am

mondo1976 wrote:
Fri Dec 28, 2018 12:17 am
Jeff wrote:
Thu Dec 27, 2018 11:10 am
You can already "hide" these folder with the "hidden" fat attribute.
By the way, this does not work (in my experience) -- at least with the last couple recent versions of the firmware. I have not tested this with older firmware, but FAT folders which are hidden in Windows are still very much visible on the Gotek in Normal mode.
weird, i have just tested the feature on the latest version and this appears to work.
mondo1976 wrote:
Fri Dec 28, 2018 12:17 am
The "Unix" solution would be ideal because then Windows could see the folders without needing to enable "Show Hidden Files" in Windows Explorer, yet would be invisible to the Gotek in Normal mode.
This is now done on with this "preview" firmware :

http://hxc2001.com/download/floppy_driv ... CUSBFE.UPD

let me know if this fine for you.

mondo1976
Posts: 156
Joined: Mon Dec 28, 2015 3:54 pm

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by mondo1976 » Sat Dec 29, 2018 9:02 pm

Jeff wrote:
Sat Dec 29, 2018 1:09 am
weird, i have just tested the feature on the latest version and this appears to work.
This is now done on with this "preview" firmware :
Yes! This works great!

Interestingly enough, it also fixed the standard FAT hidden file/folder attribute behavior, so both methods now properly do the same thing (on my end, at least).

If anyone else wants to do the Unix-like hidden folder method through Windows, rename your folder such as ".hideme." -- the extra dot on the end is the key here. Otherwise, Windows will assume you're trying to just create a file with *only* an extension and not a name.

Thank you, sir!

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Wed Jan 02, 2019 2:45 pm

FYI The HxC software and the HxC File selector for Amiga was updated :

viewtopic.php?f=1&t=950&start=15#p19495

viewtopic.php?f=1&t=3423#p19494

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Mon Jan 07, 2019 10:07 am

Firmware update ! :
07 January 2019: Firmware STM32 USB HxCFloppyEmulator v3.1.34.1a ( -> In the "Next_WIP_Alpha_Firmware_And_Tools" Folder !)

- Files & Folders names starting with '.' are now hidden.
- Firmware memory size reduced once again : More tables size optimizations.
https://hxc2001.com/download/floppy_dri ... rmware.zip

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

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Wed Jan 09, 2019 1:05 am

Firmware update ! :
08 January 2019: Firmware STM32 USB HxCFloppyEmulator v3.1.34.2a ( -> In the "Next_WIP_Alpha_Firmware_And_Tools" Folder !)

- Fix v3.1.34.1a regression : Disk density selection issues with some raw formats. Please update.
https://hxc2001.com/download/floppy_dri ... rmware.zip

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

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Thu Jan 31, 2019 1:06 am

New online service !

You can now customize the firmware on this page :

https://hxc2001.com/custom_fw/

Choose the options on the form, submit it and receive a new firmware specially built with your options some minutes later ! :D

You can disable the features you don't need and make the firmware natively more suitable to your usage...

This is currently a beta version/"proof of concept" state. Many useful options still missing. They will be added in the next days/weeks so stay tuned ! :)

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Fri Feb 01, 2019 11:50 am

More options and some fixes ! :

https://hxc2001.com/custom_fw/

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Mon Feb 04, 2019 12:52 am

New Firmware update :

Code: Select all

03 February 2019 : Firmware STM32 USB HxCFloppyEmulator v3.1.36.1a ( -> In the "Next_WIP_Alpha_Firmware_And_Tools" Folder !)

	- Direct access mode : New functions
		- Select mode (0x5) :
			Mode 0 - Flash sector access mode (Default)
			Mode 1 - Plain text browser, Entries format : "IIII;T;SSSSSSSS;File name\r\n"
			IIII = Object ID (ASCII HEX Number).
			T = Type -> 'F'=FILE, 'D'=DIRECTORY
			SSSSSSSS = File Size  (ASCII HEX Number).
			Mode 2 - Slot list mode.
		- Change Objects list ID base (0x6) (Plain text browser).
		- Select/Enter Object (0x7) (Plain text browser - Image/Directory selection or File tranfert mode).
		- Set file base offset (0x8) (File transfer mode).
		- Get current selected image (0x9).
		- Select file with path (0xA) (Select image with a plain text file path).

		- MFM & FM support. (see the customization page : https://hxc2001.com/custom_fw/)

		With these new direct access API functions small file selector/browser/swapper/loader can be developed without
		the need of any FAT32 library on resource-limited machines.
		The protocol specification document will be updated soon at this address :
		https://hxc2001.com/download/floppy_drive_emulator/SDCard_HxC_Floppy_Emulator_Direct_Access_mode.pdf
https://hxc2001.com/download/floppy_dri ... rmware.zip

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

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Tue Feb 05, 2019 8:26 am

And some fixes :
04 February 2019 : Firmware STM32 USB HxCFloppyEmulator v3.1.36.2a ( -> In the "Next_WIP_Alpha_Firmware_And_Tools" Folder !)

- Direct access mode : Some fixes for the auto disk swap ("AutoSwap") support.
https://hxc2001.com/download/floppy_dri ... rmware.zip

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

mondo1976
Posts: 156
Joined: Mon Dec 28, 2015 3:54 pm

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by mondo1976 » Tue Feb 12, 2019 4:12 am

Not exactly a bug, but...

When using the internal configuration menu, menu navigation/selection depends upon the Auto Select time value. If you don't have a select button and accidentally choose an Auto Select value of "None", it is then impossible to do anything with the menu as there is no longer any way to select menu items or parameters.

There should be a fail-safe on the Auto Select menu which overrides the "None" setting, so that if the Auto Select menu/values are "hovered" then they will be selected regardless of the Auto Select setting.

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

Re: New Alpha version Firmware - Volunteer Testers needed !

Post by Jeff » Tue Feb 12, 2019 11:33 pm

mondo1976 wrote:
Tue Feb 12, 2019 4:12 am
Not exactly a bug, but...

When using the internal configuration menu, menu navigation/selection depends upon the Auto Select time value. If you don't have a select button and accidentally choose an Auto Select value of "None", it is then impossible to do anything with the menu as there is no longer any way to select menu items or parameters.

There should be a fail-safe on the Auto Select menu which overrides the "None" setting, so that if the Auto Select menu/values are "hovered" then they will be selected regardless of the Auto Select setting.
That's why i have setup the on-demand compiler server :
https://hxc2001.com/custom_fw/

Once i have more free-time i will add a lot more options.

Post Reply