Home   I   Links   I   CV   I   Contact 
 
Emulators
Phoenix
Osmose
Mickie
OldSpark(Java)
OldSpark C++
GBA Stuff
Brain'n Bells
GBA PAC
GFX Effects
Debug-Lib
Miscellaneous
OpenGL
PSX Intro
Mame Cabinet
X86 Window Stuff
M6809 Disassembler
Julia Explorer
Mandelbrot Explorer
Debug Function

I already encounter different result, with emulator and real hardware. That's why i wrote a few debugging functions to get a kind of 'built in debugger'. It allow you to watch memory; dump register or variable, using Decimal, Hexadecimal, or Binary format. It occupies around 3.06Ko in VRam for debug fonts, and 4 color entry. Display works in tile mode only, with a 16 Color BG. Use is very easy, and take a syntax near the printf format.

ex: DBGPrintf (Xpos,Ypos,"DISPCNT %b",*(volatile u16*) REG_DISPCNT);


Get debug functions source code: gba_dbg.zip (8ko).
 
Top