about summary refs log tree commit diff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h b/config.h
index dc5778a..a0d6073 100644
--- a/config.h
+++ b/config.h
@@ -1,8 +1,14 @@
 #ifndef _CONFIG_H_
 #define _CONFIG_H_
 
+#define DEBUG 1
+
 #define INSTRUCTIONS_PER_SECOND 700
 #define GAME_LOAD_LOCATION 0x200
 #define FONT_LOAD_LOCATION 0x50
 
+
+#define dbgprintf(fmt, ...) \
+     do { if(DEBUG) fprintf (stdout, fmt, ##__VA_ARGS__); } while(0)
+
 #endif