New demo uploaded: x16-spiral

All aspects of programming on the Commander X16.
SebastianVoges
Posts: 33
Joined: Tue Apr 28, 2020 9:14 pm

New demo uploaded: x16-spiral

Post by SebastianVoges »



12 minutes ago, MattGrandis said:




Oh, that's interesting. I'll change the code on our end so that it makes everything (manifest and filenames) uppercase, that should account for the problem in the future.



I was thinking perhaps the web emulator could do that too, make everything uppercase that is passed into the emulators host filesystem.  I am not 100% sure though if that is the right thing to do.

On https://github.com/commanderx16/x16-emulator about the Host Filesystem Interface it says: 


Quote




To avoid incompatibility problems between the PETSCII and ASCII encodings, use lower case filenames on the host side, and unshifted filenames on the X16 side.



 

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

New demo uploaded: x16-spiral

Post by Main Administrator »


Ah, lower case then! Same result, hopefully. I'm testing it now ...

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

New demo uploaded: x16-spiral

Post by Main Administrator »


Hm, this is a conundrum. File names and manifest entries are all lower case now, but it's still not working.

User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

New demo uploaded: x16-spiral

Post by StephenHorn »


Ah, I should've guessed it would be case sensitivity. Silly me, running on Windows, where the filesystem's made up and the cases don't matter. ?

Is the emulator doing any case-shifting when the hook for loading files extracts the filename?

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

New demo uploaded: x16-spiral

Post by StephenHorn »


I popped open the emulator source and it looks like "no", which means it's my fault, in my assembly source I'm specifying filenames in upper-case ASCII, which isn't going to map to unshifted PETSCII. My b. Let me make a new release and see if that fixes things.

Edit: Perfect. All fixed up.

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

New demo uploaded: x16-spiral

Post by Main Administrator »


Looking fantastic now!

Post Reply