;
; Sega Mega Drive/Genesis VDP register constants
;

.DEFINE MD_VDP_REG_MODE1          0
.DEFINE MD_VDP_REG_MODE2          1
.DEFINE MD_VDP_REG_PLANEA         2
.DEFINE MD_VDP_REG_WINDOW         3
.DEFINE MD_VDP_REG_PLANEB         4
.DEFINE MD_VDP_REG_SPRITE         5
.DEFINE MD_VDP_REG_BGCOLOR        7
.DEFINE MD_VDP_REG_HINT           10
.DEFINE MD_VDP_REG_MODE3          11
.DEFINE MD_VDP_REG_MODE4          12
.DEFINE MD_VDP_REG_HSCROLL        13
.DEFINE MD_VDP_REG_AUTOINC        15
.DEFINE MD_VDP_REG_PLANESIZE      16
.DEFINE MD_VDP_REG_WINDOWX        17
.DEFINE MD_VDP_REG_WINDOWY        18
.DEFINE MD_VDP_REG_DMA_LENGTH_L   19
.DEFINE MD_VDP_REG_DMA_LENGTH_H   20
.DEFINE MD_VDP_REG_DMA_SOURCE_L   21
.DEFINE MD_VDP_REG_DMA_SOURCE_M   22
.DEFINE MD_VDP_REG_DMA_SOURCE_H   23

.DEFINE MD_VDP_MODE2_DISPLAY      $40
.DEFINE MD_VDP_MODE2_VINT         $20
.DEFINE MD_VDP_MODE4_H40          $81
.DEFINE MD_VDP_DMA_ENABLE         $80
