diff options
Diffstat (limited to 'headers/debug.h')
-rw-r--r-- | headers/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/headers/debug.h b/headers/debug.h index cb34dac..4b36710 100644 --- a/headers/debug.h +++ b/headers/debug.h @@ -1,7 +1,7 @@ // debug.h // Various functions useful for use during development. -// Converts a single character to hexadecimal +// Converts a single character to hexadecimal int dCharToNum(char c){ // 0x0 - 0x9 if (c != 0x20 && (c >= 0x30 && c <= 0x39)){ @@ -19,7 +19,7 @@ int dCharToNum(char c){ } } -// Dump a particular page in memory. +// Dump page m from memory to stdout. void dPageDump(short m){ m <<= 8; for(int i = 0; i < 256; i+=16){ |