summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/debug.h b/debug.h
index 887fcbc..85520ca 100644
--- a/debug.h
+++ b/debug.h
@@ -2,7 +2,7 @@
// Various functions useful for use during development.
// Converts a single character to hexadecimal
-int dChar2Num (char c) {
+int dCharToNum(char c){
// 0x0 - 0x9
if (c != 0x20 && (c >= 0x30 && c <= 0x39)){
return (c - 0x30);
@@ -31,6 +31,7 @@ void dPageDump(short m){
}
}
-void dStatusDump(){
- printf("acc:\t%x\nX:\t%x\nY:\t%x\nstack:\t%x\nflags:\t%x\n", acc, X, Y, S, P);
+// 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);
} \ No newline at end of file