Browse Source

[WIP] Update zz9000.h

vblank-busyloop
Bjorn Astrom 8 months ago
parent
commit
470c8b15e8
1 changed files with 51 additions and 9 deletions
  1. +51
    -9
      rtg/zz9000.h

+ 51
- 9
rtg/zz9000.h View File

@@ -98,14 +98,14 @@ typedef volatile struct MNTZZ9KCXRegs {
} MNTZZ9KCXRegs;

enum zz_reg_offsets {
REG_FW_VERSION = 0x00,
REG_ZZ_HW_VERSION = 0x00,
REG_ZZ_MODE = 0x02,
REG_ZZ_CONFIG = 0x04,
REG_ZZ_SPRITE_X = 0x06,
REG_ZZ_SPRITE_Y = 0x08,
REG_ZZ_PAN_HI = 0x0A,
REG_ZZ_PAN_LO = 0x0C,
REG_ZZ_HDIV = 0x0E,
REG_ZZ_VCAP_MODE = 0x0E,
REG_ZZ_X1 = 0x10,
REG_ZZ_Y1 = 0x12,
@@ -120,10 +120,10 @@ enum zz_reg_offsets {
REG_ZZ_FILLRECT = 0x22,
REG_ZZ_COPYRECT = 0x24,
REG_ZZ_FILLTEMPLATE = 0x26,
REG_ZZ_SRC_HI = 0x28,
REG_ZZ_SRC_LO = 0x2A,
REG_ZZ_DST_HI = 0x2C,
REG_ZZ_DST_LO = 0x2E,
REG_ZZ_BLIT_SRC_HI = 0x28,
REG_ZZ_BLIT_SRC_LO = 0x2A,
REG_ZZ_BLIT_DST_HI = 0x2C,
REG_ZZ_BLIT_DST_LO = 0x2E,

REG_ZZ_COLORMODE = 0x30,
REG_ZZ_SRC_PITCH = 0x32,
@@ -172,9 +172,9 @@ enum zz_reg_offsets {

REG_ZZ_ETH_TX = 0x80,
REG_ZZ_ETH_RX = 0x82,
REG_ZZ_UNUSED_REG84 = 0x84,
REG_ZZ_UNUSED_REG86 = 0x86,
REG_ZZ_UNUSED_REG88 = 0x88,
REG_ZZ_ETH_MAC_HI = 0x84,
REG_ZZ_ETH_MAC_HI2 = 0x86,
REG_ZZ_ETH_MAC_LO = 0x88,
REG_ZZ_UNUSED_REG8A = 0x8A,
REG_ZZ_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