fdave posted on May 4 2004 at 03:06 AM said:
About the 8.3 filenames - how does that work on the GP32? I wasn't expecting it but as soon as I started dragging files across is wouldn't allow them longer than 8.3 - am I using the wong PC-Link program or something? or is the GP32 stuck with 8.3?
Usually, the GP32 only used 8.3 (like the old DOS). (GP32 = Fat12, DOS = Fat16)
When Microsoft created Win95, they invented the long filenames.
But Win95 still used the same FAT16 as DOS - so basically, there are only 8.3 filenames possible.
So MS developed a system, how the long filenames are included somewhere into the file (I don't know if this is done by using unused free attributes in the FileSystem, in the file, etc.).
That's why you can still have long filenames on the SMC using a cardreader, but they will be abbreviated to 8.3 (like DOS) when you use them under your GP32.
Basically, you just have to write a routine to read out and display the long filename.
You can find more infos on the FAT file system
here
and the definition of the LFN (Long File Names)
here.
Another way (which most emulator coders chose) is to implement one of the large game databases (which use CRC) and cache the directory, displaying the database names.