X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_dbg.c;h=7ba768df6402d5c3b33dfefb09afdc9b6d529cf2;hb=1159fe5a6cd0f8eaeee6e8584f5972d42e004073;hp=13d5846de0d99293bf2d8c107807dda32e381292;hpb=ede5cec5321f853b0c9c3485ee5cd08fb4086985;p=16.git diff --git a/src/lib/16_dbg.c b/src/lib/16_dbg.c index 13d5846d..7ba768df 100755 --- a/src/lib/16_dbg.c +++ b/src/lib/16_dbg.c @@ -1,5 +1,18 @@ +#include "src/lib/16_dbg.h" + +#ifdef __DEBUG__ +#ifdef __DEBUG_PM__ +boolean dbg_debugpm=0; +#endif +#ifdef __DEBUG_InputMgr__ +boolean dbg_testkeyin=0,dbg_testcontrolnoisy=0,dbg_notest=0; +#endif +#ifdef __DEBUG_MAP__ +boolean dbg_maptext=0; +byte *dbg_mapdata; +#endif +#endif -#include "src/16.h" // TODO: Could we also provide a build mode to emit debug to the "Bochs E9 hack?" #ifdef DEBUGSERIAL @@ -10,15 +23,6 @@ unsigned char _DEBUG_INITed = 0; struct info_8250 *_DEBUG_uart = NULL; -#ifdef __DEBUG__ -#ifdef __DEBUG_PM__ -boolean dbg_debugpm=0; -#endif -#ifdef __DEBUG_InputMgr__ -boolean dbg_testkeyin=0,dbg_testcontrolnoisy=0; -#endif -#endif - int _DEBUG_INIT() { if (!_DEBUG_INITed) { unsigned int i;