summaryrefslogtreecommitdiff
path: root/headers/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'headers/debug.h')
-rw-r--r--headers/debug.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/headers/debug.h b/headers/debug.h
index bb6ba40..cb34dac 100644
--- a/headers/debug.h
+++ b/headers/debug.h
@@ -33,9 +33,11 @@ void dPageDump(short m){
// Dump CPU values
void dStatusDump(void){
- printf(" acc:\t%x\n X:\t%x\n Y:\t%x\nstack:\t%x\nflags:\t%x\n", acc, X, Y, S, P);
+printf("\
+..acc:\t%x\tcycles:\t%d\n\
+....X:\t%x\tlength:\t%d\n\
+....Y:\t%x\t...add:\t%x\n\
+stack:\t%x\t.value:\t%x\n\
+flags:\t%x\n\
+", acc, idata.cycles, X, idata.length, Y, idata.add, S, idata.value, P);
}
-
-void dIdataDump(void){
- printf("cycles:\t%d\nlength:\t%d\n add:\t%x\n value:\t%x\n", idata.cycles, idata.length, idata.add, idata.value);
-} \ No newline at end of file