Oricutron HFE

Comments, problems, suggestions about Oric emulators (Euphoric, Mess, Amoric, etc...) it's the right place to ask. And don't hesitate to give your tips and tricks that help using these emulations in the best possible way on your favorite operating system.
Post Reply
User avatar
Steve M
Squad Leader
Posts: 687
Joined: Fri Mar 24, 2006 3:33 am
Location: Cumbria, UK
Contact:

Oricutron HFE

Post by Steve M »

Could Oricutron be used to load HFE files? Could it then be used to produce a disk image from the HFE file?

User avatar
iss
Wing Commander
Posts: 1252
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron HFE

Post by iss »

No, Oricutron doesn't support HFE file format at all, so far.

User avatar
Chema
Game master
Posts: 2789
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Oricutron HFE

Post by Chema »

iss wrote:
Fri Mar 19, 2021 1:29 pm
[...] so far.
That is the spirit!

User avatar
xahmol
Flying Officer
Posts: 210
Joined: Sun Jun 28, 2020 7:32 pm
Location: Utrecht, The Netherlands
Contact:

Re: Oricutron HFE

Post by xahmol »

Would love HFE support in Oricutron!
(Even better would of course be native DSK support on the Cumana Reborn)

User avatar
Chema
Game master
Posts: 2789
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Oricutron HFE

Post by Chema »

In fact it does not need to support hfe directly, but any container format for which a conversion already exists. As I said before, Amstrad edsk is rather similar to Oric dsk and the HxC software can convert from hfe to it.

I put some links do information in some other post.

User avatar
Steve M
Squad Leader
Posts: 687
Joined: Fri Mar 24, 2006 3:33 am
Location: Cumbria, UK
Contact:

Re: Oricutron HFE

Post by Steve M »

Thanks . I'll look it up again.

I just thought that as Oricutron was the main emulator these days it'd maybe be a good idea to have it able to use Hfe files - what with all the Gotek and Cumana Reborn users. The software on those doesn't offer an easy way to convert to Dsk image - but maybe Oricutron could via copying files across from an Hfe 'disk' to an Oricutron Dsk.

If this was possible I think it'd also be useful if you could add a blank disk as easily as you could on Euphoric.

User avatar
Chema
Game master
Posts: 2789
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Oricutron HFE

Post by Chema »

Mmmm... not sure I explained myself properly. I agree with you, Steve. It would be great if Oricutron supported hfe, I was just stating that, as a maybe easier alternative, it could support esdk, for which there is already a two-way conversor.

ThomH
Flying Officer
Posts: 232
Joined: Thu Oct 13, 2016 9:55 pm

Re: Oricutron HFE

Post by ThomH »

My emulator supports both CPC-style [e]DSK and HFE, from which experience probably the only helpful things I have to say are:

CPC DSK encodes things like CRC errors through the status bytes an 8272 would produce if it were to read them. It's a bit of a hassle, and difficult to verify, but not too much of an obstacle.

HFE is more of a mixed bag; the author doesn't approve of emulator usage and that's why no specs have been officially published since revision 0 of 2012. But the documented version is extremely straightforward.

Both improve on standard Oric DSKs by not requiring you to guess where the sync marks are, which is nice.

User avatar
Chema
Game master
Posts: 2789
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Oricutron HFE

Post by Chema »

ThomH wrote:
Thu Apr 29, 2021 2:24 am
My emulator supports both CPC-style [e]DSK and HFE
This is really nice! I think that eDSK is quite similar (albeit more powerful?) to the Oric DSK, so conversion/migration should not be that difficult. I know it could be a nightmare to convert all our games in all the repos, but if the emulator supports both and a conversion tool is provided, it is a matter of using the format you prefer.

eDSK is directly supported in flashfloppy and HxC firmwares (Gotek, HxC, Cumana Reborn, ...), the HxC software supports conversion to and from HFE and it is already supported in the Oric core for MiST, MiSTer and other FPGA-based solutions.

The only drawback is it is not supported in Cumulus, but it is about time we have a look at its firmware, isn't it? :wink:

ThomH
Flying Officer
Posts: 232
Joined: Thu Oct 13, 2016 9:55 pm

Re: Oricutron HFE

Post by ThomH »

Chema wrote:
Thu Apr 29, 2021 12:48 pm
This is really nice! I think that eDSK is quite similar (albeit more powerful?) to the Oric DSK, so conversion/migration should not be that difficult.
Yes, it's a very straightforward format, with the main advantage over Oric DSK being that it's overt about marking out the sectors, so you don't have to guess where the index and data address marks are. Which means a bit more dealing with file structure but not a huge amount.

Both rely on other factored-out code where helpful but I have: complete code specific to CPC DSK handling is 387 lines; that compares with 170 for the Oric DSK and 132 for 2012-era HFE.

... and most of my CPC DSK overhead is a misfortune of my own creation; in my emulator tracks lose all original context once encoded and in this case the thing isn't smart enough to spot when a modified track can cleanly replace the original in the file holder. So it always rewrites the whole file, just in case the track is now a different size, meaning that it jumps through a lot of hoops you ideally wouldn't bother with.
Chema wrote:
Thu Apr 29, 2021 12:48 pm
eDSK is directly supported in flashfloppy and HxC firmwares (Gotek, HxC, Cumana Reborn, ...), the HxC software supports conversion to and from HFE and it is already supported in the Oric core for MiST, MiSTer and other FPGA-based solutions.

The only drawback is it is not supported in Cumulus, but it is about time we have a look at its firmware, isn't it? :wink:
Yeah, I added overt support when I discovered that Oric software is available for download in Amstrad CPC disk format. Which was almost certainly from the MiST Oric core repository or from a modified fork thereof. I just want to support anything a user might somehow end up having downloaded.

User avatar
polluks
Pilot Officer
Posts: 68
Joined: Tue Jun 05, 2012 10:09 pm
Location: Germany
Contact:

Re: Oricutron HFE

Post by polluks »

cc65 development
Oric Atmos + Cumulus
Acorn Electron

Post Reply