Memory map

68000 address space

68000 address space overview
AddressArea
$000000$3FFFFFCartridge slot
$400000$7FFFFFExpansion slot
$A00000$A0FFFFZ80 bus
$A10000$A10FFFI/O, etc.
$A11000$A11FFFZ80 bus control
$A12000$A120FFExpansion slot extra
$A13000$A130FFCartridge slot extra
$A14000$A14FFFTMSS ports
$C00000$DFFFFFVDP
$E00000$FFFFFFWork RAM

VDP ports

Note: all VDP ports are mirrored every other word, e.g. control port is at both $C00004 and $C00006. This allows them to be accessed by longword (which the VDP will see as two word accesses).

PSG is normally accessed by byte, so you'll generally see $C00011 instead.

List of VDP ports
AddressDescription
$C00000VDP data port
$C00004VDP control port
$C00008VDP HV counter
$C0000CVDP HV counter
$C00010PSG port
$C00014PSG port
$C00018VDP debug address port
$C0001CVDP debug data port

Accessing address range $C00020 to $C0003F hangs up.

VDP mirrors every $40 up to $DFFFFF.