Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8725 | rgimad | 1 | ; constants for formatted debug |
2 | __DEBUG__ = 1 ; 0 - disable debug output / 1 - enable debug output |
||
3 | __DEBUG_LEVEL__ = DBG_ERR ; set the debug level |
||
4 | |||
5 | DBG_ALL = 0 ; all messages |
||
6 | DBG_INFO = 1 ; info and errors |
||
7 | DBG_ERR = 2 ; only errors |
||
8 | |||
9 | ; emulator constants |
||
10 | MAX_GAME_SIZE = 0x1000 - 0x200 |
||
11 | FONTSET_ADDRESS = 0x00 |
||
12 | FONTSET_BYTES_PER_CHAR = 5 |
||
13 | MEM_SIZE = 4096 |
||
14 | STACK_SIZE = 16 |
||
15 | KEY_SIZE = 16 |
||
16 | GFX_ROWS = 32 |
||
17 | GFX_COLS = 64 |
||
18 | GFX_SIZE = GFX_ROWS * GFX_COLS |
||
19 | GFX_PIX_SIZE = 10 |
||
20 | CLOCK_RATE = 1 ; in 10^-2 seconds |
||
21 | |||
22 | |||
23 | include '../../macros.inc' |
||
24 | purge mov, add, sub |
||
25 | |||
26 | include '../../debug-fdo.inc' |
||
27 | include '../../proc32.inc' |
||
28 | |||
29 | ;========================================= |