summaryrefslogtreecommitdiff
path: root/src/savage_bci.h
diff options
context:
space:
mode:
authorAlex Deucher <agd5f@yahoo.com>2006-04-30 17:51:15 +0000
committerAlex Deucher <agd5f@yahoo.com>2006-04-30 17:51:15 +0000
commit6d688c993ec7baf8f00df59764dd3e04bab24e09 (patch)
tree81f74a3b06394f6f42679cb53fe3ecd706a39f11 /src/savage_bci.h
parentef46fb29088e7cc50c6072d66c6ac1fe5cd398bd (diff)
- Add exa support (solid, copy, UTS)
Diffstat (limited to 'src/savage_bci.h')
-rw-r--r--src/savage_bci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/savage_bci.h b/src/savage_bci.h
index 4fabcb7..833a55d 100644
--- a/src/savage_bci.h
+++ b/src/savage_bci.h
@@ -107,12 +107,17 @@
#define BCI_BD_TILE_NONE 0x00000000
#define BCI_BD_TILE_16 0x02000000
#define BCI_BD_TILE_32 0x03000000
+#define BCI_BD_TILE_DESTINATION 0x01000000
+
#define BCI_BD_GET_BPP(bd) (((bd) >> 16) & 0xFF)
#define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16))
#define BCI_BD_GET_STRIDE(bd) ((bd) & 0xFFFF)
#define BCI_BD_SET_STRIDE(bd, st) ((bd) |= ((st) & 0xFFFF))
#define BCI_SET_REGISTER 0x96000000
+#define BCI_SET_REGISTER_COUNT(count) ((count) << 16)
+#define BCI_BITPLANE_WRITE_MASK 0xD7
+#define BCI_BITPLANE_READ_MASK 0xD8
#define BCI_W_H(w, h) ((((h) << 16) | (w)) & 0x0FFF0FFF)
#define BCI_X_Y(x, y) ((((y) << 16) | (x)) & 0x0FFF0FFF)