Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Michael.3545

Pages: 1 ... 4 5 [6]
76
Axe / Re: The Case of the Missing RAM
« on: June 24, 2010, 01:03:09 pm »
Click here for the .8xp file.  If there is a better way of posting code, could you tell me?

77
Axe / The case of the decreasing RAM
« on: June 24, 2010, 12:41:31 pm »
Axe is amazing.  In fact, it is so amazing, that it made me sign up for a forum, an act which I am rarely caught doing.  But to get down to the meat of the problem I am having, a password program I am working on has developed the uncanny ability to eat RAM.  In fact, each time i get the password wrong, then right, it eats 572 bytes of RAM.  I believe that this may have something to do with the assembly code I am using to give the program the ability to turn off the calculator.

This code is EF0850C9

which via the use of calcsys' hex editor and decompiler, I have discovered translates to:
bcall 5008
ret

After testing the code to see if it was the culprit, I learned that every time this code is ran, it eats 6 bytes of ram.
If you factor 572, you get 2, 2, 11 and 13.  So no matter how many times you loop that code, you can't lose 572 bytes.  

Oh, and I looked through all of the symbols and the VAT section of calcsys, and couldn't find anything that matched the size of my missing bytes.  The have been eaten, I tell you!

Does anyone have any idea what could be causing this?

If you want, I could post the source, but it is 516 bytes large and I have no idea exactly what portions are related to the problem.

Pages: 1 ... 4 5 [6]