Re: Another Disk Operating System for OSI Superboard II / C1P
Posted: Mon May 13, 2024 7:07 am
So my initial conversion problems were due to a file specification interpretation misunderstanding. Although I knew HxC HFE files interleave data blocks for double sided disks, they also interleave empty data when using single sided disks for some reason. Anyway Thomas pointed that out, and there are very few HFE files out there made for single sided disks to compare to!
Now there is an updated OSIHFE that understands Ye-OSI DOS disks. You can convert from HFE images to OSI dump and back as well as get directories. This doesn't help with writing to OSI systems without a Gotek drive, but it's a start.
And as a teaser, you can see it's already working in my WinOSI!
(YeDOS HFE files will not work in older WinOSI versions as it is not looking for 8N1 stream data, only 8E1, so it comes in scrambled)
Attached is the updated OSIHFE. It now converts 35 track HFE to 40 track OSI Dump for the emulator etc., but doesn't convert 40 track OSI dump to 35 track HFE (it stays 40 track currently). Since I don't have a C1P to try this on, please let me know if a conversion from YEDOS OSI dump IMG to HFE works on real hardware. Also no support for 80 track YEDOS images... Also it's lacking error checking, so garbage in->garbage out!
Now I need to update the 6502 side...
I'm sure I've forgotten something, but it's a start.
Oh, the incorrect bitrate for non-OS65D 5.25" disk types HFE conversions has finally been corrected too. So no more patching by hand...
Also it recognizes those 8" images written for 5.25" controllers as an 8" disk correctly.
-Mark
Now there is an updated OSIHFE that understands Ye-OSI DOS disks. You can convert from HFE images to OSI dump and back as well as get directories. This doesn't help with writing to OSI systems without a Gotek drive, but it's a start.
Code: Select all
C:\TEMP\YE-DOS>OSIHFE -d YE54_DEMO_35.hfe
Warning: HFE file encoding (02) is not "UNKNOWN_ENCODING"
YE-OSI DOS 3.54
SECTORS FREE 125
NAME LENGTH TYPE
DOSSUP 10 COM R a $7040-79ff
FORMAT 6 BAS RWa $0300-083a
GRDEMO 4 BAS RWa $0300-0641
CAGE 11 BAS RWa $0300-0d40
PINBAL 11 BAS RWa $0300-0daf
OSIDEM 13 BAS RWa $0300-0f0c
SPACEW 12 BAS RWa $0300-0ed0
SCRAMB 26 COM RWa $0400-1dff
PLASMA 4 COM RWa $0310-06ff
INVADE 27 BAS RWa $0300-1dff
ASM65 15 COM RWa $0400-12ff
C:\TEMP\YE-DOS>OSIHFE -i YE54_DEMO_35.hfe
HFEFile: 35 tracks, 1 sides, bitrate:250, Encoding: IBM_FM
Warning: HFE file encoding (02) is not "UNKNOWN_ENCODING"
File type YE-Dos 5.25"
Attached is the updated OSIHFE. It now converts 35 track HFE to 40 track OSI Dump for the emulator etc., but doesn't convert 40 track OSI dump to 35 track HFE (it stays 40 track currently). Since I don't have a C1P to try this on, please let me know if a conversion from YEDOS OSI dump IMG to HFE works on real hardware. Also no support for 80 track YEDOS images... Also it's lacking error checking, so garbage in->garbage out!
Now I need to update the 6502 side...
I'm sure I've forgotten something, but it's a start.
Oh, the incorrect bitrate for non-OS65D 5.25" disk types HFE conversions has finally been corrected too. So no more patching by hand...
Also it recognizes those 8" images written for 5.25" controllers as an 8" disk correctly.
-Mark