nathanfarlow / PineappleCAS

A generic computer algebra system targeted for the TI-84+ CE calculators
MIT License
186 stars 9 forks source link

Error: Memory with new GUI #8

Closed nathanfarlow closed 5 years ago

nathanfarlow commented 5 years ago

It seems that we might be pushing the size limits of the binary with the addition of the gui code. When running the program, the calculator displays the Error: Memory screen. The compressed size is 34609 bytes and the decompressed size is 106498 bytes. I'm hoping we can find a way around this by using clever tricks with app vars or updating the toolchain compression or something because otherwise we will need to trim back code and might not have enough room for the TI-BASIC interface.

@adriweb is also kindly looking into the problem so I created the issue to discuss here.

adriweb commented 5 years ago

@adriweb is also kindly looking into the problem.

Yep, although right now I'm about to make a "big" PR with bug fixes and warning fixes :)

nathanfarlow commented 5 years ago

Music to my ears!

nathanfarlow commented 5 years ago

Well the problem goes away for now if the program is ran when archived. This is what it should be anyway to prevent PCAS from deleting itself with a ram clear. If the calculator's version is the latest this is for the better. I guess we will reopen this issue if the problem comes back.

nathanfarlow commented 5 years ago

Quick update: I couldn't replicate the program on an actual calculator: the program runs just fine in RAM and archive. Seems like it might be a CEmu issue

guan-kevin commented 5 years ago

Capture1-1568331209700 Tried both RAM and archive, no luck.

adriweb commented 5 years ago

Archive all the data you care about, hold the reset button on the back of the calc for like 2 seconds, then press on and try again.

guan-kevin commented 5 years ago

Archive all the data you care about, hold the reset button on the back of the calc for like 2 seconds, then press on and try again.

Awesome, it works after I reset and run in archive.