summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-04-20 14:08:13 +1000
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-04-20 14:08:13 +1000
commit1bf33140ce7e858ee7fe1a416e7ebfd586f024b3 (patch)
tree6e909e8f28b6308c8f1a2954e390a26714ac8717 /debug.h
parentc138759ebf4194a73364a79a9acc87f54dcc73bc (diff)
Call now uses correct addressing
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index 0ef38ce..bb6ba40 100644
--- a/debug.h
+++ b/debug.h
@@ -34,4 +34,8 @@ 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);
+}
+
+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