mist-devel / c64

C64 core
12 stars 13 forks source link

prg injection is unreliable #11

Open rittwage opened 1 year ago

rittwage commented 1 year ago

Certain PRG files do not run properly after injection.

Example: swinth.prg, fort apocalypse.prg

gyurco commented 1 year ago

Well, fully emulating the LOAD command can be tricky. Even vice chooses a different way - creates a virtual D64 and loads the PRG with the BASIC from it.

gyurco commented 1 year ago

...however try this, might improve the situation a bit. C64_mist-230331.zip

rittwage commented 1 year ago

Yes, this is better. This fixed swinth.prg. FortApocalypse.prg could just be an issue with my file.

rittwage commented 1 year ago

Fort Apocalypse.zip

This goes crazy on the core. Works in VICE and on real C64.

gyurco commented 1 year ago

For me, it's the same with Vice and MiST - an upper HUD appears, then nothing happens.

rittwage commented 1 year ago

Hmm... I downloaded VICE 3.7 (windows x64) and drag/drop it in and it runs for me normally.

gyurco commented 1 year ago

Then it must be some unusal setting.

gyurco commented 1 year ago

BTW, I extracted the PRG from https://csdb.dk/release/?id=19268, and it works on MiST. fort apocalypse.zip

rittwage commented 1 year ago

Yes, that Fort Apocalypse PRG is a bad example. The game does normally work, just that version acts funny. I have verified the same thing happens when run in D64, so it's not the PRG injection causing any issue with it. Also, the same thing happens in the MiSTer core, so it's not anything with MiST either. If I run into any others with this new binary, I will report it.