Mercurial > repos > blastem
comparison vdp.h @ 43:3fc57e1a2c56
Add debug render mode and fix vertical flip bit for bg tiles
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 09 Dec 2012 18:40:45 -0800 |
parents | 898e3d035f42 |
children | 3b79cbcf6846 |
comparison
equal
deleted
inserted
replaced
42:6653e67a6811 | 43:3fc57e1a2c56 |
---|---|
15 #define MAX_DRAWS_H32 32 | 15 #define MAX_DRAWS_H32 32 |
16 #define MAX_SPRITES_LINE 20 | 16 #define MAX_SPRITES_LINE 20 |
17 #define MAX_SPRITES_LINE_H32 16 | 17 #define MAX_SPRITES_LINE_H32 16 |
18 #define MAX_SPRITES_FRAME 80 | 18 #define MAX_SPRITES_FRAME 80 |
19 #define MAX_SPRITES_FRAME_H32 64 | 19 #define MAX_SPRITES_FRAME_H32 64 |
20 | |
21 #define FBUF_BIT_PRIORITY 0x1000 | |
22 #define FBUF_SRC_MASK 0xE000 | |
23 #define FBUF_SRC_A 0x0000 | |
24 #define FBUF_SRC_W 0x2000 | |
25 #define FBUF_SRC_B 0x4000 | |
26 #define FBUF_SRC_S 0x6000 | |
27 #define FBUF_SRC_BG 0x8000 | |
20 | 28 |
21 enum { | 29 enum { |
22 REG_MODE_1=0, | 30 REG_MODE_1=0, |
23 REG_MODE_2, | 31 REG_MODE_2, |
24 REG_SCROLL_A, | 32 REG_SCROLL_A, |