o start to do the mmio debug in asm

This commit is contained in:
David Voswinkel
2009-05-18 10:03:15 +02:00
parent 1075795ef4
commit ef69ab4ab3
14 changed files with 1640 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ void main(void) {
word crc01;
word crc02;
padStatus pad1;
char line_header[32] = "OK";
char line_header[32] = "OK2";
char packet[4] = "TEST";
initInternalRegisters();
@@ -39,13 +39,10 @@ void main(void) {
*(byte*) 0x2100 = 0x0f; // enable background
enableDebugScreen();
writeln(line_header,0);
for (i=0;i<4;i++){
*(byte*) 0x3000=packet[i];
*(byte*) 0x700010=packet[i];
}
//writeln(line_header,1);
printDebugScreen(line_header,0);
printf("Debugging console test\n");
printf("test me\n");
printDebugScreen(line_header,1);
while(1){
while(!pad1.start) {