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.
User avatar
Steve M
Squad Leader
Posts: 787
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: 1641
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: 3014
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
Flight Lieutenant
Posts: 437
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: 3014
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: 787
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: 3014
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: 238
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: 3014
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: 238
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 pmeDSK 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: 76
Joined: Tue Jun 05, 2012 10:09 pm
Location: Germany
Contact:

Re: Oricutron HFE

Post by polluks »

cc65 development
Oric Atmos + Cumulus
Acorn Electron
User avatar
rampa
1st Star Corporal
Posts: 14
Joined: Wed Jan 04, 2023 10:35 pm
Contact:

Re: Oricutron HFE

Post by rampa »

ThomH wrote: Thu Apr 29, 2021 4:27 pm
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.
I am to blame of that :-)

On the fpga, is very didifcult to deal with raw images (as each disk has a "random" number of sectors per track) and eDSK was easy to preprocess in a state machine, ending on a mfm image and knowing all the parameters.

What is your emulator? does it support OSX? if so can be very helpful for me to debug disk problems. (only had a couple of problems this years.... but fixing them was a pain.....

on the thread topic. There is another well documented preservation format SCP https://www.cbmstuff.com/downloads/scp/ ... _specs.txt

I was temnpted of using this instead of edsk... but filesize of .scp and .hfe can be hugue..... and i need as much free bram as i can.

Code: Select all

-rw-rw-r--@   1 rampa  staff   134656 29 sep  2014 Oricium12.dsk
-rw-r--r--    1 rampa  staff   527872 10 ene 22:21 Oricium12.hfe
-rw-r--r--    1 rampa  staff  3509780 10 ene 22:20 Oricium12.scp
-rw-r--r--    1 rampa  staff    97024 10 ene 22:19 Oricium12_edsk.dsk
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Oricutron HFE

Post by Dbug »

Huge file formats are a real pain.

The thing is, I don't know of any Oric software having a special formatting made specially as a protection purpose, with faked data, etc... it's not like on the Atari ST, Amiga or Apple II where people have been creative with specially made formats, so having a super ultimate "preservation" format that makes every single disk 10 times (or more) bigger and more complex means that Oric software collections took more room, making tools to handle these formats pretty much requires having to use some dedicated libraries, but it also means that you have to convert everything when you want to use a floppy emulator.

Having to convert everything from DSK to HFE to use them on Cumana Reborn is a pain, that's one of the reasons why I like the Cumulus: I can just copy my (Oric) DSK to the SD card and get the data back without having to do any conversion.
User avatar
Symoon
Archivist
Posts: 2307
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France

Re: Oricutron HFE

Post by Symoon »

Dbug wrote: Wed Jan 11, 2023 8:46 amThe thing is, I don't know of any Oric software having a special formatting made specially as a protection purpose, with faked data, etc...
The only one I know of is XL-DOS. Add to this it's the ancestor of Sedoric (IIRC), that's two reasons for it not being used I suppose.
User avatar
Steve M
Squad Leader
Posts: 787
Joined: Fri Mar 24, 2006 3:33 am
Location: Cumbria, UK
Contact:

Re: Oricutron HFE

Post by Steve M »

Tetrix had some weird thing where if you tried to copy the disk you got a corrupted one. There was a special master disk for making copies IIRC.
Post Reply