.INCDIR "../../../include/sega32x"
.INCLUDE "../../../memorymaps/md32x68k.i"
.INCLUDE "68k.inc"
.INCLUDE "macros.inc"

.ROMBANKSIZE $4000
.ROMBANKS 1

.EMPTYFILL $00

.BANK 0 SLOT 0
.ORGA $0000
Start:
  MARS_68K_ENABLE_ADAPTER
  MARS_68K_SET_FM
  MARS_68K_CMD_INT_BOTH
  MARS_68K_CLEAR_FM
  MARS_68K_SET_RV
  MARS_68K_CLEAR_RV
  move.w #MARS_VDP_MODE_256, REG_32X_VDP_MODE
  move.w #(MARS_PWM_CTRL_MONO | MARS_PWM_CTRL_ENABLE), REG_32X_PWM_CTRL
  move.w #MARS_COLOR_WHITE, REG_32X_PALETTE