nathanfarlow / PineappleCAS

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

Issue with Error: Memory #28

Closed DragonLizardDude712 closed 3 years ago

DragonLizardDude712 commented 3 years ago

I have made sure to put it on the system's archive memory and have also downloaded the latest clibs. How much memory does it require to have available to use at all? I am using asmhook and artifice so those might be taking up too much space. Please help.

adriweb commented 3 years ago

How much free ram do you have? That's basically the most important point here.

DragonLizardDude712 commented 3 years ago

Whatever the base ram is minus like 1kb so 153kb I think

adriweb commented 3 years ago

Well, yes but no: I'm asking because there are precisely issues with memory leaks in some programs that make you lose free RAM over time and the only way to solve that is to hold the reset button for a few seconds. So... archive your things, then try that, I guess?

DragonLizardDude712 commented 3 years ago

Alright, I will try that. Thanks!

JMalland commented 3 years ago

If that doesn't work, I ended up having to update to OS version 5.6.1 and had to use the jailbreak before I could get the prgmPCAS running. It was all fine after that.

DragonLizardDude712 commented 3 years ago

I got it working! I just had to stop using ASMHook. I did find a different error, maybe. I was doing the equation: (3x^2+3x−6)/(3x+6) in a fraction form. It should simplify to x-1, but instead, it simplified to (in fraction form): (x^2/(x+2)) + (x/(x+2)) - (2/(x+2)). I don't know if this is something that needs to be fixed or is an error with the syntax. Side note, I put in the (x^2/(x+2)) + (x/(x+2)) - (2/(x+2)) to see if it just needed to simplify it again, but all it did was repeat the answer.

adriweb commented 3 years ago

pinging @jacobly0 regarding ASMHook, it's odd that it caused this issue.

DragonLizardDude712 commented 3 years ago

Idk, when I removed it I stopped getting the memory errors
But do you know what's going on with the above problem?

adriweb commented 3 years ago

No idea, that's something specific to this program here, so maybe @nathanfarlow knows

DragonLizardDude712 commented 3 years ago

Update: I fixed the issue. I simply had to upload asmhook to the archive rather than the ram after I implemented PCAS

DragonLizardDude712 commented 3 years ago

Not with the equation though

nathanfarlow commented 3 years ago

Yep PineappleCAS doesn't support polynomial division. Glad you got it running, though!