finished the tile deduplication and tilemap generation in pngdump
[mdlife] / src / debug.c
index 05f0cd9..4616177 100644 (file)
@@ -104,8 +104,7 @@ struct frame {
 
 void exc_dump(unsigned int num, struct frame *frm)
 {
-       dbg_setcursor(0, 0);
-       printf("num addr: %x\n", &num);
+       dbg_setcursor(1, 1);
 
        if(num < sizeof exc_str / sizeof *exc_str) {
                printf("Exception %xh: %s\n", num, exc_str[num]);
@@ -115,5 +114,4 @@ void exc_dump(unsigned int num, struct frame *frm)
 
        printf("status: %x\n", frm->status);
        printf("pc: %x\n", frm->pc);
-       printf("fmt: %x / vector: %x\n", frm->fmtoffs >> 12, frm->fmtoffs & 0xfff);
 }