.INCDIR "../../../include/megadrive"
.INCLUDE "../../../memorymaps/md68kjcart.i"
.INCLUDE "jcart.inc"

.ROMBANKMAP
  BANKSTOTAL 1
  BANKSIZE $4000
  BANKS 1
.ENDRO

.EMPTYFILL $00

.SMDHEADER
  SYSTEMTYPE "SEGA MEGA DRIVE "
  DEVICESUPPORT "J6"
  ROMADDRESSRANGE $000000,$003FFF
  REGIONSUPPORT "JUE"
.ENDSMD

.BANK 0 SLOT 0
.ORGA $0200
Start:
  MD_JCART_WRITE_CTRL $40
  MD_JCART_READ "d0"
  rts