Rev 8725 | Go to most recent revision | Details | Compare with Previous | 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 |
||
8734 | rgimad | 19 | GFX_PIX_SIZE = 10 ; gfx cell size in pixels |
20 | |||
21 | COLOR_BACK = 0x000000 |
||
22 | COLOR_CELL = 0xade8f4 ;0xFFFFFF |
||
23 | |||
24 | IMGBUF_WIDTH = GFX_COLS * GFX_PIX_SIZE ; width in pixels |
||
25 | IMGBUF_HEIGHT = GFX_ROWS * GFX_PIX_SIZE ; height in pixels |
||
26 | IMGBUF_SIZE = IMGBUF_WIDTH * IMGBUF_HEIGHT * 3 + 16 ; size in bytes for in-memory image buffer |
||
27 | |||
8725 | rgimad | 28 | CLOCK_RATE = 1 ; in 10^-2 seconds |
29 | |||
30 | |||
31 | include '../../macros.inc' |
||
32 | purge mov, add, sub |
||
33 | |||
34 | include '../../debug-fdo.inc' |
||
35 | include '../../proc32.inc' |
||
36 | |||
37 | ;========================================= |