Join us on Discord!
You can help CodeWalrus stay online by donating here.

Hero Core - Issue tracker

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

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

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?

Dream of Omnimaga

To report bugs, it would help if we had a copy of the latest version available somewhere :trollface:
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Keoni29

#2
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?

Dream of 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
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

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?

Dream of 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?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

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?

Dream of Omnimaga

Ah ok. Is it a continuous drop or just one single memory decrease?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

novenary

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?

novenary

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