2 #ifndef _SRC_LIB_16_DBG
\r
3 #define _SRC_LIB_16_DBG
\r
5 #include "src/lib/16_head.h"
\r
6 #include "src/lib/16_tdef.h"
\r
9 #define __DEBUG_InputMgr__
\r
10 #define __DEBUG_MAP__
\r
11 //#define __DEBUG_PM__
\r
12 //#define __DEBUG_MM__
\r
17 extern boolean dbg_debugpm;
\r
19 #ifdef __DEBUG_InputMgr__
\r
20 extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest;
\r
22 #ifdef __DEBUG_MAP__
\r
23 extern boolean dbg_maptext;
\r
24 extern byte *dbg_mapdata;
\r
29 # include <hw/8250/8250.h>
\r
31 void _DEBUGF(const char *fmt,...);
\r
32 void _DEBUG(const char *msg);
\r
35 static inline void _DEBUGF(const char *fmt,...) {
\r
38 static inline void _DEBUG(const char *msg) {
\r
42 static inline int _DEBUG_INIT() {
\r
47 #endif // _SRC_LIB_16_DBG
\r