- MonForceKey causes weird bugs
- 12 Sep 2013 02:31:16 pm
- Last edited by parrotgeek1 on 12 Sep 2013 03:10:53 pm; edited 1 time in total
I have been messing around with Mimas and wrote a program to open the built-in equation solver.
However:
Any help?
Code:
However:
- I lose 2 bytes of RAM every run
it messes up things like HomeRun
it makes the calc generally 3x slower (esp. graphing, apps menu) until an app is launched and quit. Note: 84+BE
attempting to fix the RAM leak by "inc de" twice results in random crashes later, and corrupted programs
JForceCmd does nothing
Any help?
Code:
org userMem-2
db $BB, $6D
kSolveRoot = $54
JForceCmd = $402A
MonForceKey = $4021
Start:
ld hl, Trampoline
ld de, $8000
ld bc, End-Trampoline
ldir
jp $8000
Trampoline:
ld hl, userMem
ld de, End-Start
bcall DelMem
ld a, kSolveRoot
bjump MonForceKey
End: