Oric floppy images support

HxC Floppy emulator support for all others computers...
Post Reply
Jeff
Site Admin
Posts: 6951
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Oric floppy images support

Post by Jeff » Mon Dec 10, 2012 11:51 pm

JihemB wrote:Hi,

I have some .DSK Oric floppy disk images that make HxCFloppyEmulator.exe (even v2 Beta) to crash while converting.
Here are two of them in case someone can see what's wrong :
https://www.rapidshare.com/files/2896436297/METEOR.DSK
https://www.rapidshare.com/files/593498502/SOLITRIA.DSK

Regards,

JihemB
I have just corrected the software to avoid the crash. i will publish the new version soon.
anyway there still a problem with these images : a bad track number (99) and a wrong geometry code (0).
How was created these images ?

JihemB
Posts: 16
Joined: Tue Jul 19, 2011 8:47 am

Re: Oric floppy images support

Post by JihemB » Wed Dec 12, 2012 11:26 pm

Hi,

Actually I downloaded these disk images (and some others) from an Oric fan site.
If the images are corrupted, it may from the source.

Good thing you corrected the software so it now no longer crashes when it reads a corrupted file.

Do you think patching the corrupted files by changing track count from 99 to 42 (which is the standard for Oric 3" disks) may fix the problem ?
I don't know what is geometry code. What could be a correct value ?

Rgs

JihemB

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

Re: Oric floppy images support

Post by Jeff » Sun Dec 16, 2012 2:25 pm

Softare updated :

http://hxc2001.com/download/floppy_driv ... 2_beta.zip

This solve the issue.

Dbug
Posts: 4
Joined: Wed Feb 20, 2013 11:30 pm

Re: Oric floppy images support

Post by Dbug » Sat Mar 23, 2019 10:16 pm

Sorry for the necromancy on this old thread, but it did not seem right to make a new thread for basically a follow up to the question :)

I'm trying to archive the content of some old 3" floppies to PC emulator format to avoid losing potentially important things, and for that I'm using a Kryoflux. It was not super clear, but I managed to extract the data into to RAW files (*_s0.raw and *_s1.raw) and my hex viewer confirms that it's indeed a "SEDORIC V3.006 etc..." file).

Now I'm trying to make an Oric emulator DSK file, and I know that the HxC Floppy Emulator can read these files, and apparently it has support for Oric DSK files (even Jasmin based on the patch notes), but when I select Export disk/Save as, I don't see any Oric option, only CPC, Thomson, Dragon, Atari, Amiga, etc...

Am I doing something wrong?

(PS: I also do have a HxC device which I use for developing/testing, and DSK -> HFE works, so maybe it's just export to DSK that does not exist?)

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

Re: Oric floppy images support

Post by Jeff » Sun Mar 24, 2019 9:48 am

This is just that there is no oric dsk writer :

https://sourceforge.net/p/hxcfloppyemu/ ... sk_loader/

Dbug
Posts: 4
Joined: Wed Feb 20, 2013 11:30 pm

Re: Oric floppy images support

Post by Dbug » Sun Mar 24, 2019 10:52 am

Well, that explains :D Thanks for the quick answer - I'm still new at this whole archiving thing - :)

I looked at the Amstrad writer, so I guess what we need is a oricdsk_loader/oricdsk_writer.c with a
int OricDSK_libWrite_DiskFile(HXCFE_IMGLDR* imgldr_ctx,HXCFE_FLOPPY * floppy,char * filename) function?

And I guess it needs to be registered somewhere in the system as well?

Looks like it would be more or less a symmetrical version of the Load_DiskFile version?

What about the change notes?
22 December 2018 : HxCFloppyEmulator 2.1.20.1
(...)
New XML format : Oric Jasmin disk format.
I did not see anything Jasmin related in the oricdsk_loader source files, which I guess makes sense since the underlying disk format is similar, what exactly does this XML Jasmin update do?

Jeff_HxC2001
Posts: 37
Joined: Sun Jan 02, 2011 2:31 am

Re: Oric floppy images support

Post by Jeff_HxC2001 » Sun Mar 24, 2019 1:54 pm

Dbug wrote:
Sun Mar 24, 2019 10:52 am
Well, that explains :D Thanks for the quick answer - I'm still new at this whole archiving thing - :)

I looked at the Amstrad writer, so I guess what we need is a oricdsk_loader/oricdsk_writer.c with a
int OricDSK_libWrite_DiskFile(HXCFE_IMGLDR* imgldr_ctx,HXCFE_FLOPPY * floppy,char * filename) function?

And I guess it needs to be registered somewhere in the system as well?

Looks like it would be more or less a symmetrical version of the Load_DiskFile version?

What about the change notes?
22 December 2018 : HxCFloppyEmulator 2.1.20.1
(...)
New XML format : Oric Jasmin disk format.
I did not see anything Jasmin related in the oricdsk_loader source files, which I guess makes sense since the underlying disk format is similar, what exactly does this XML Jasmin update do?
Yes that's it. And then you have just to add the function name in the loader structure (see the loader end of file) + update the makefile.

the xml this is just the disk layout description of the jasmin format. this is used in the raw file loader.

Dbug
Posts: 4
Joined: Wed Feb 20, 2013 11:30 pm

Re: Oric floppy images support

Post by Dbug » Sun Mar 24, 2019 2:49 pm

Ok, is there an explanation somewhere on how to rebuild all that (I'm using Visual Studio)?

I can give a shot at implementing the missing feature, as long as I don't need to spend two weeks just getting the tool rebuilt :D

Can I assume that the simplest is to do the tests with the command line version of the tool, using the right parameters to call directly the export?

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

Re: Oric floppy images support

Post by Jeff » Sun Mar 24, 2019 3:03 pm

Dbug wrote:
Sun Mar 24, 2019 2:49 pm
Can I assume that the simplest is to do the tests with the command line version of the tool, using the right parameters to call directly the export?
yes i think so.

you can build this on visual studio (you need to import the vc 6 dsp project), on cygwin or on a linux machine.

Vyper68
Posts: 4
Joined: Fri Mar 29, 2019 7:02 pm
Location: Hurworth, U.K.
Contact:

Re: Oric floppy images support

Post by Vyper68 » Fri Dec 20, 2019 1:38 pm

I have a Cumana Floppy Drive board and a Gotek with the HxC firmware. I have managed to get them to communicate with a floppy cable with pins 9 to 13 twisted. So now the power LED will light and the .hfe image of Sedoric will have two sets of letters “RA” on the left and “WE” on the right. Sadly after a short period the Oric will then say “ No Operating System on Disk “.
I used floppy manager to create the .hfe files from Oric .dsk files I have and have tried Sedoric , OricDOS and RanDOS all with the same result. I had the manager set as Shugart and so I think it should work.

Anyone had some success with this and advice, I plan to get a SD HxC from Lotharek in early 2020 as the photos I have seen mainly show that being used rather than a Gotek.

The Gotek works as it was originally for my BBC Micro and I upgraded from FlashCopy to HxC last month and it works fine on the Beeb. I am using different USB sticks for the two computers as well so there is no mixing.
Save time, see it my way.

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

Re: Oric floppy images support

Post by Jeff » Sat Dec 21, 2019 12:15 am

Vyper68 wrote:
Fri Dec 20, 2019 1:38 pm
So now the power LED will light and the .hfe image of Sedoric will have two sets of letters “RA” on the left and “WE” on the right.
The "WE" message means that a bad write happen. This probably mean that you have a problem with the write gate signal. is the floppy ribbon in good condition ?

Vyper68
Posts: 4
Joined: Fri Mar 29, 2019 7:02 pm
Location: Hurworth, U.K.
Contact:

Re: Oric floppy images support

Post by Vyper68 » Sat Dec 21, 2019 12:35 pm

Hi Jeff,
Thanks for the reply. I thought that it meant “ Write Enabled “ :oops:

The cable is new but I have just noticed that there are cat teeth marks half way along it so I need to make a new one and try again! :D :lol:
Save time, see it my way.

Post Reply