Hello,
I tried out SDCard HxC Floppy Emulator on the TI99/4A. I found several problems (detailed description with possible fix later on) with it:
1.) PC99 to HFE format conversion isn't correctly implemented (works on ORDERED disks)
2.) V9T9 to HFE format conversion isn't correctly implemented (doesn't work at all for me)
3.) HFE to IMG format conversion for TI99/4A is not implemented/other track order not preserved
4.) Crash with V1.6.0.0
Is the source code up to date?
If yes, I can implement correct ones (I've already done some work here for V9T9).
===================================================================
Ad 1.)
Main problem is that code assumes that sectors are numbered from 0 .. n and therefore have a fixed location in the file, but this must not be the case!!!
Format looks like: n times sectors, where information on that particular sector is included in the sector as meta information!
Details:
ftp://ftp.whtech.com/emulators/pc99/fmt21-22.txtWhen tracks are ordered from 0 .. n on PC99 format it can be read correctly on the TI99, tested with SSSD, SSDD, DSSD, DSDD floppies generated with TI99Dir and files are made full with some content from other disks.
Output from disk.exe from Ti99sim on a non correct disk (unordered sectors):
http://www.mrousseau.org/programs/ti99s ... tml#TOC_4CE.g.:
Track: 0 Side: 0 - 0 7 5 3 1 8 6 4 2
Track: 1 Side: 0 - 6 4 2 0 7 5 3 1 8
Track: 2 Side: 0 - 3 1 8 6 4 2 0 7 5
Track: 3 Side: 0 - 0 7 5 3 1 8 6 4 2
Track: 4 Side: 0 - 6 4 2 0 7 5 3 1 8
Also 35 track floppies generated with Ti99Dir can not be converted.
Ti99sim looks like to have a correct implementation.
ti99sim-0.0.10\src\core\diskio.cpp
===================================================================
Ad 2.) In the V9T9 file format tracks are ordered in the file position dependent:
Side 0: Track 0 to Track 39
and then on Side 1 from Track 39 DOWNTO Track 0
This can be easily fixed.
===================================================================
Ad 3.) Tried the IMG export option from HFE to IMG (nearly V9T9 format): Same as 2 but an option is missing from the conversion from HFE to V9T9 that tracks are ordered differently
Side 0: Track 0 to Track 39
and the on Side 1 from Track 39 DOWNTO Track 0
Option can be easily added.
===================================================================
Ad 4.) Had a crash when selecting files. Red SDCARD led was on.
===================================================================
Resources:
Helpful programs to generate/modify floppy disks: TI99Dir
http://members.ziggo.nl/fgkaal/Software/sw_ti99dir.htmlhttp://www.mrousseau.org/programs/ti99s ... tml#TOC_4Cdisk.exe for showing/converting TI99 floppy disks.
TI99 Disk format:
http://www.texasinstrumentsnotes.info/t ... nfo-neededAny comments?
Thank you.
floppydev