djpadbit / fxgnuboy

Gnuboy port to the Casio FX range of calculators
4 stars 0 forks source link

Program resets calculator on fx-9750GIII #2

Open TextureOverload opened 1 year ago

TextureOverload commented 1 year ago

I don't think it's compatible, but i'll take a shot in the dark. Is it compatible, or will it ever be? Thanks :)

djpadbit commented 1 year ago

It's not compatible with the newer calculators as one of the memory addresses I used to store some data is now used by the OS. It wouldn't be too much of a problem to modify the emulator to support them but it could impact performance quite a bit.

For reference, it's used in theses areas (I think i forgot some places too, it's been almost 3 years) https://github.com/djpadbit/fxgnuboy/blob/9177627ca3667fd842789a08d832d1d1117d086d/gnuboy-fx/lcd.c#L16 https://github.com/djpadbit/fxgnuboy/blob/9177627ca3667fd842789a08d832d1d1117d086d/gnuboy/lcd.c#L31-L33 https://github.com/djpadbit/fxgnuboy/blob/9177627ca3667fd842789a08d832d1d1117d086d/gnuboy-fx/main.c#L57 https://github.com/djpadbit/fxgnuboy/blob/9177627ca3667fd842789a08d832d1d1117d086d/gnuboy/lcd.c#L68-L69 https://github.com/djpadbit/fxgnuboy/blob/9177627ca3667fd842789a08d832d1d1117d086d/gnuboy-fx/rombank.c#L38-L41

And is defined in the "sections.ld" file.

You could just remove the attribute and reduce the sizes of the rombanks and lcd cache to try to fit everything into normal memory but i don't know if it will run any good.

Dodecahedron7777 commented 10 months ago

Could you try?