diff options
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |