nes-proj/tests/romimg.c

19 lines
268 B
C
Raw Normal View History

#include <mc1322x.h>
#include <board.h>
2009-04-10 20:01:57 +00:00
#include "tests.h"
2010-02-26 19:22:41 +00:00
#include "config.h"
2009-04-10 20:01:57 +00:00
void main(void) {
volatile uint8_t *data;
2010-03-09 23:23:40 +00:00
uart_init(INC, MOD, SAMP);
2009-04-10 20:01:57 +00:00
2010-02-26 19:22:41 +00:00
for(data = DUMP_BASE; data < ((uint8_t *)(DUMP_BASE+DUMP_LEN)); data++) {
2010-03-09 23:23:40 +00:00
uart1_putc(*data);
2009-04-10 20:01:57 +00:00
}
while(1);
}