Thanks for the info KingMike.
Thanks justin. Fixed it.
(Mega Man X1)
The patch for the number life points is working good in geigers snes debugger but not in real hardware (sd2snes)
and also not in bsnes. I should have tested it in bsnes a long time ago. There is 2 bugs in sd2snes/bsnes:
1. I am using registers for division to load the number life points and the first number is not loading the correct number
only the second is. It should be a easy fix because I am probably not allowing enough machine cycles to pass. A couple
NOP's or some code rearranging should fix that.
2. Graphics are not storing to vram for the bosses icon. Apparently in real hardware you can only write to vram at certain
times. I did not know that since I was using geigers snes debugger to create and debug my hacks. That debugger/emulator
apparently allows you to write to vram at any time. I want all of my hacks to work on real hardware so I will fix these 2 things
before I release the final patch.
The 1st should be easy fix but the 2nd might not be since I am not really sure when I am supposed to write to vram. I have
read that you cant write to vram when the screen redraws but I don't know when it is redrawing. If anyone can save me some
time on the vram issue by explaining how/when to properly write to vram it would be greatly appreciated.