Rev 6267 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
895 | barsuk | 1 | ; debugging include file by barsuk |
2 | ; if DEBUG=TRUE, adds debug.inc |
||
3 | ; if DEBUG=FALSE, adds stubs for several macros from debug.inc |
||
4 | |||
5 | match =TRUE, DEBUG |
||
6 | { |
||
7 | |||
6268 | leency | 8 | include '..\..\..\..\debug.inc' |
895 | barsuk | 9 | |
10 | macro dph1 str |
||
11 | \{ |
||
12 | debug_print_hex str |
||
13 | push eax |
||
14 | mov al, ' ' |
||
15 | call debug_outchar |
||
16 | pop eax |
||
17 | \} |
||
18 | |||
19 | macro outs str |
||
20 | \{ |
||
21 | pushad |
||
22 | lea edx, [str] |
||
23 | call debug_outstr |
||
24 | popad |
||
25 | \} |
||
26 | } |
||
27 | |||
28 | match =FALSE, DEBUG |
||
29 | { |
||
30 | |||
31 | macro print message |
||
32 | \{ |
||
33 | \} |
||
34 | |||
35 | macro pregs |
||
36 | \{ |
||
37 | \} |
||
38 | |||
39 | macro dph1 str |
||
40 | \{ |
||
41 | \} |
||
42 | |||
43 | macro outs str |
||
44 | \{ |
||
45 | \} |
||
46 | |||
47 | } |