Previous 15994 Revisions Next

r3143 Monday 1st September, 2008 at 19:59:54 UTC by Wilbert Pol
[ODYSSEY2] Updated to use mcs48.
[src/mess/drivers]odyssey2.c
[src/mess/video]odyssey2.c

src/mess/video/odyssey2.c
r3142r3143
66
77#include "driver.h"
88#include "deprecat.h"
9#include "cpu/i8039/i8039.h"
109#include "includes/odyssey2.h"
1110
1211
src/mess/drivers/odyssey2.c
r3142r3143
77***************************************************************************/
88
99#include "driver.h"
10#include "cpu/i8039/i8039.h"
10#include "cpu/mcs48/mcs48.h"
1111#include "includes/odyssey2.h"
1212#include "devices/cartslot.h"
1313#include "sound/sp0256.h"
r3142r3143
2020
2121static ADDRESS_MAP_START( odyssey2_io , ADDRESS_SPACE_IO, 8)
2222   AM_RANGE( 0x00,       0xff)      AM_READWRITE( odyssey2_bus_r, odyssey2_bus_w)
23   AM_RANGE( I8039_p1,    I8039_p1)   AM_READWRITE( odyssey2_getp1, odyssey2_putp1 )
24   AM_RANGE( I8039_p2,    I8039_p2)   AM_READWRITE( odyssey2_getp2, odyssey2_putp2 )
25   AM_RANGE( I8039_bus, I8039_bus)   AM_READWRITE( odyssey2_getbus, odyssey2_putbus )
26   AM_RANGE( I8039_t0,  I8039_t0)  AM_READ( odyssey2_t0_r )
27   AM_RANGE( I8039_t1,  I8039_t1)   AM_READ( odyssey2_t1_r )
23   AM_RANGE( MCS48_PORT_P1,   MCS48_PORT_P1)   AM_READWRITE( odyssey2_getp1, odyssey2_putp1 )
24   AM_RANGE( MCS48_PORT_P2,   MCS48_PORT_P2)   AM_READWRITE( odyssey2_getp2, odyssey2_putp2 )
25   AM_RANGE( MCS48_PORT_BUS,   MCS48_PORT_BUS)   AM_READWRITE( odyssey2_getbus, odyssey2_putbus )
26   AM_RANGE( MCS48_PORT_T0,   MCS48_PORT_T0)  AM_READ( odyssey2_t0_r )
27   AM_RANGE( MCS48_PORT_T1,   MCS48_PORT_T1)   AM_READ( odyssey2_t1_r )
2828ADDRESS_MAP_END
2929
3030static ADDRESS_MAP_START( g7400_io , ADDRESS_SPACE_IO, 8)
3131   AM_RANGE( 0x00,      0xff)      AM_READWRITE( g7400_bus_r, g7400_bus_w)
32   AM_RANGE( I8039_p1,  I8039_p1)  AM_READWRITE( odyssey2_getp1, odyssey2_putp1 )
33   AM_RANGE( I8039_p2,  I8039_p2)  AM_READWRITE( odyssey2_getp2, odyssey2_putp2 )
34   AM_RANGE( I8039_bus, I8039_bus) AM_READWRITE( odyssey2_getbus, odyssey2_putbus )
35   AM_RANGE( I8039_t0,  I8039_t0)  AM_READ( odyssey2_t0_r )
36   AM_RANGE( I8039_t1,  I8039_t1)  AM_READ( odyssey2_t1_r )
32   AM_RANGE( MCS48_PORT_P1,   MCS48_PORT_P1)  AM_READWRITE( odyssey2_getp1, odyssey2_putp1 )
33   AM_RANGE( MCS48_PORT_P2,   MCS48_PORT_P2)  AM_READWRITE( odyssey2_getp2, odyssey2_putp2 )
34   AM_RANGE( MCS48_PORT_BUS,   MCS48_PORT_BUS) AM_READWRITE( odyssey2_getbus, odyssey2_putbus )
35   AM_RANGE( MCS48_PORT_T0,   MCS48_PORT_T0)  AM_READ( odyssey2_t0_r )
36   AM_RANGE( MCS48_PORT_T1,   MCS48_PORT_T1)  AM_READ( odyssey2_t1_r )
3737ADDRESS_MAP_END
3838
3939static INPUT_PORTS_START( odyssey2 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team