summaryrefslogtreecommitdiff
path: root/programs/c-ports/subeditor.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-03-17 16:37:26 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-03-17 16:40:03 -0400
commit0a2f19ea6664f661aba72803a214687e92e181d4 (patch)
tree1456aeda4ee2e4a09773bbf84be93b4b96fc1806 /programs/c-ports/subeditor.h
parent071edf621a6722f94027f37720a5a5f73d9696c0 (diff)
Cleaned up the debug prints in the C port of SuBEditor.
Diffstat (limited to 'programs/c-ports/subeditor.h')
-rw-r--r--programs/c-ports/subeditor.h39
1 files changed, 20 insertions, 19 deletions
diff --git a/programs/c-ports/subeditor.h b/programs/c-ports/subeditor.h
index f20088d..ee5536e 100644
--- a/programs/c-ports/subeditor.h
+++ b/programs/c-ports/subeditor.h
@@ -4,33 +4,34 @@
#include <string.h>
#define debug 0
+#define debug_cmd_buf 0
extern char *buffer;
extern char *cmd_buf;
-extern uint8_t scr_row = 0;
-extern uint8_t scr_col = 0;
-extern uint8_t scr_trow = 0;
-extern uint8_t scr_tcol = 0;
-extern uint16_t scr_ptr = 0;
+extern uint8_t scr_row;
+extern uint8_t scr_col;
+extern uint8_t scr_trow;
+extern uint8_t scr_tcol;
+extern uint16_t scr_ptr;
-extern uint8_t byte = 0;
-extern uint8_t mask = 0;
+extern uint8_t byte;
+extern uint8_t mask;
-extern uint8_t a = 0;
-extern uint8_t b = 0;
-extern uint8_t c = 0;
-extern uint8_t d = 0;
-extern uint8_t e = 0;
-extern uint8_t f = 0;
+extern uint8_t a;
+extern uint8_t b;
+extern uint8_t c;
+extern uint8_t d;
+extern uint8_t e;
+extern uint8_t f;
-extern uint8_t bitmask = 0;
-extern uint8_t bitabl[16];
+extern uint8_t bitmask;
+extern uint8_t bitabl[];
-extern uint8_t scr_str = 0;
-extern uint8_t scr_end = 23;
-extern uint8_t wrapped = 0;
+extern uint8_t scr_str;
+extern uint8_t scr_end;
+extern uint8_t wrapped;
extern void print_str(const char *str);
-int16_t str_cmp(const char *s0, uint16_t i, const char *s1, uint16_t j)
+int16_t str_cmp(const char *s0, uint16_t i, const char *s1, uint16_t j);
extern void subasm();