Alternatively, join us on Discord.

Hero Core - Issue tracker

Started by Keoni29, November 27, 2014, 10:01:02 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Keoni29

November 27, 2014, 10:01:02 pm Last Edit: December 01, 2014, 07:38:17 pm by keoni29
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.
If you like my work, why not give me an internet?

DJ Omnimaga

To report bugs, it would help if we had a copy of the latest version available somewhere :trollface:

Keoni29

November 27, 2014, 10:59:39 pm #2 Last Edit: November 27, 2014, 11:03:32 pm by keoni29
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.
If you like my work, why not give me an internet?

DJ Omnimaga

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

Keoni29

I can probably solve this memory leak today. I will most likely release a new build tonight.
If you like my work, why not give me an internet?

DJ Omnimaga

Ok good luck! (although I assume it will be tomorrow for you? :P

Do you have any clue what might cause the leak yet?

Keoni29

It is something that happens before, during or after the titlescreen. Not the main game.
If you like my work, why not give me an internet?

DJ Omnimaga

Ah ok. Is it a continuous drop or just one single memory decrease?

Streetwalrus

So it's the interrupt ? What does the interrupt do ?

Keoni29

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.
If you like my work, why not give me an internet?

pimathbrainiac

Have you tried using LnRegr? According to Runer that should fix it.
Well, I'm bach here too!

Keoni29

If you like my work, why not give me an internet?

pimathbrainiac

Hmmmm... Perhaps compile with an older version of Axe that uses L2 instead of the new RAM area for interrupt storage?
Well, I'm bach here too!

Keoni29

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.
If you like my work, why not give me an internet?

Streetwalrus

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).

Powered by EzPortal