Useful stuff I found out so far (and stuff I'm still looking for...):
Code for gocha's VBx Memory Watcher:
[METROID2]
C09A,1u,Metroids remaining //wrong adress :(
C60C,1u,Metroid HP
C3D3,1u,Queen HP
----
D052,1x,Samus E Tanks
D051,1x,Samus E
D087,1x,Samus M (100)
D086,1x,Samus M
----
//Add those up for total framecount
D072,1u,Frame
D0A2,1u,Frame*256
D098,1x,Frame*256*14
//D064,1u,Anim/Shots 1 //somehow indicates number of shots on screen, but something else too
----
//Something still wrong here...
D026,2u,XPos
DE5A,2u,YPos
----
//Dont know how all of those work yet. Repeats after 256. When C416 reaches reaches 255 C415 is in/decreased accordingly
C206,1u,Screen X Pos
C416,1u,Screen X Pos 2
C205,1u,Screen Y Pos
C433,1u,Screen Y Pos 2 //This value keeps increasing during the credit roll. Not sure what that indicates. foreground movement?
C415,1u,subroom X Pos
//Couldn't find those yet
C60C,1x,Speed X
C60C,1x,Speed Y
Thanks ventuz for your PM! Most important part being "sometime VBA gives address like C432, but really it's D432".
moozooh, for example the X and Y positions that you found earlier and said you couldn't monitor are actually located at D..., not C...
Seems to be a bug/oversight in VBA.
Important values that I am looking for are:
- Number of projectiles/missiles on screen (to tell me if I can fire the next shot)
- X and Y speeds and excact positions
- Bomb Timers
Well, it's not really all that important, I'm mainly curious about the whole Memory Watch thingie.[/list]