mirror of
https://github.com/ApacheThunder/nCard_USB_Examples.git
synced 2025-06-19 03:35:35 -04:00

* 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.
16 lines
260 B
C
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);
|
|
|
|
|