List of known bugs:
Player dies when stuck in a wall or facing a wall and fireing a bullet.[SOLVED]
Cut ability spawns a bullet in the left top part of the screen.[SOLVED]
Savepoint in first room does not work. Only after re-entering the room it works. [SOLVED]
Interrupts cause a memory leak.[SOLVED] booya!
Post any bugs you find here.
To report bugs, it would help if we had a copy of the latest version available somewhere :trollface:
There is this memory leak that has not been fixed yet. It corrupts the TblSet variable. I want to fix that before I release the next build.
Ah ok. I was wondering since you told us to report bugs that we find, but we can't report them if we can't play. :P
I can probably solve this memory leak today. I will most likely release a new build tonight.
Ok good luck! (although I assume it will be tomorrow for you? :P
Do you have any clue what might cause the leak yet?
It is something that happens before, during or after the titlescreen. Not the main game.
Ah ok. Is it a continuous drop or just one single memory decrease?
So it's the interrupt ? What does the interrupt do ?
It is used for playing back TIMID music, but even with no code in the isr ( immediately returning) this leak occurs. I suspect that something else is leaking into L2 which in turn causes the interrupts to behave strangely.
Have you tried using LnRegr? According to Runer that should fix it.
Yes I use that.
Hmmmm... Perhaps compile with an older version of Axe that uses L2 instead of the new RAM area for interrupt storage?
Which ram area is used with the latest version? More importantly: how come something else overwrites this reserved ram area? I am using all of L1 and GDB's for the rest.
Well L2 happens to be aligned to 256 bytes and to be of the right size for the im2 vector table so that's why most stuff stores it there. I have no idea what the issue could be.
You should try to run your program through Wabbit's debugger if you know some ASM (you can also monitor RAM from there so you can see what it overrides I guess).
I will try that and see exactly which memory locations it overwrites.
Solved the interrupts corrupting ram :D. Runer told me that interrupt data is stored in a ram area for "some sort of data about tables." The side-effect is that tableSet corrupts.
LnRegr solved the problem!
Cool beans!