nCard_USB_Examples/dsmouse/arm9/source/debug.h
ApacheThunder e5a90c1121 Add source code.
* Initial commit of modified source code.
* Arm7 for both apps appears to be some form of template arm7 setup.
Perhaps from the ancient version of libnds this used to use. I just used
the default arm7 template code from current version of libnds...seems to
do the job.
2023-10-21 23:41:46 -05:00

16 lines
260 B
C

#ifdef ARM9
#else
#include<gba.h>
#endif
#define consolecls() iprintf ("%c[222J",0x1B)
#define consolesetxy(x,y) iprintf ("%c[%d;%dH",0x1B,x,y)
#define testb(c,b) (c&b)
#define REG_KEY *(volatile u16*)0x4000130
void delay();
void showmem(u32 base);