14
14
#include "sound/samples.h"
15
15
#include "includes/starcrus.h"
17
static ADDRESS_MAP_START( starcrus_map, AS_PROGRAM, 8, starcrus_state )
18
18
AM_RANGE(0x0000, 0x0fff) AM_ROM
19
19
AM_RANGE(0x1000, 0x10ff) AM_RAM
22
static ADDRESS_MAP_START( starcrus_io_map, AS_IO, 8, starcrus_state )
23
23
AM_RANGE(0x00, 0x00) AM_READ_PORT("P1") AM_WRITE(starcrus_s1_x_w)
24
24
AM_RANGE(0x01, 0x01) AM_READ_PORT("P2") AM_WRITE(starcrus_s1_y_w)
25
25
AM_RANGE(0x02, 0x02) AM_READWRITE(starcrus_coll_det_r, starcrus_s2_x_w)