summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/apogee.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/apogee.c')
-rw-r--r--src/mess/drivers/apogee.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/mess/drivers/apogee.c b/src/mess/drivers/apogee.c
index 593c4d184c4..6bbc1c97e18 100644
--- a/src/mess/drivers/apogee.c
+++ b/src/mess/drivers/apogee.c
@@ -28,14 +28,14 @@ public:
/* Address maps */
static ADDRESS_MAP_START(apogee_mem, AS_PROGRAM, 8, apogee_state )
- AM_RANGE( 0x0000, 0x0fff ) AM_RAMBANK("bank1") // First bank
- AM_RANGE( 0x1000, 0xebff ) AM_RAM // RAM
- //AM_RANGE( 0xec00, 0xecff ) AM_RAM // Timer
- AM_RANGE( 0xed00, 0xed03 ) AM_DEVREADWRITE("ppi8255_1", i8255_device, read, write) AM_MIRROR(0x00fc)
- //AM_RANGE( 0xee00, 0xee03 ) AM_DEVREADWRITE("ppi8255_2", i8255_device, read, write) AM_MIRROR(0x00fc)
- AM_RANGE( 0xef00, 0xef01 ) AM_DEVREADWRITE("i8275", i8275_device, read, write) AM_MIRROR(0x00fe) // video
- AM_RANGE( 0xf000, 0xf0ff ) AM_DEVWRITE_LEGACY("dma8257", i8257_w) // DMA
- AM_RANGE( 0xf000, 0xffff ) AM_ROM // System ROM
+ AM_RANGE( 0x0000, 0x0fff ) AM_RAMBANK("bank1") // First bank
+ AM_RANGE( 0x1000, 0xebff ) AM_RAM // RAM
+ //AM_RANGE( 0xec00, 0xecff ) AM_RAM // Timer
+ AM_RANGE( 0xed00, 0xed03 ) AM_DEVREADWRITE("ppi8255_1", i8255_device, read, write) AM_MIRROR(0x00fc)
+ //AM_RANGE( 0xee00, 0xee03 ) AM_DEVREADWRITE("ppi8255_2", i8255_device, read, write) AM_MIRROR(0x00fc)
+ AM_RANGE( 0xef00, 0xef01 ) AM_DEVREADWRITE("i8275", i8275_device, read, write) AM_MIRROR(0x00fe) // video
+ AM_RANGE( 0xf000, 0xf0ff ) AM_DEVWRITE_LEGACY("dma8257", i8257_w) // DMA
+ AM_RANGE( 0xf000, 0xffff ) AM_ROM // System ROM
ADDRESS_MAP_END
/* Input ports */
@@ -144,15 +144,15 @@ static const cassette_interface apogee_cassette_interface =
/* F4 Character Displayer */
static const gfx_layout apogee_charlayout =
{
- 8, 8, /* 8 x 8 characters */
- 256, /* 256 characters */
- 1, /* 1 bits per pixel */
- { 0 }, /* no bitplanes */
+ 8, 8, /* 8 x 8 characters */
+ 256, /* 256 characters */
+ 1, /* 1 bits per pixel */
+ { 0 }, /* no bitplanes */
/* x offsets */
{ 0, 1, 2, 3, 4, 5, 6, 7 },
/* y offsets */
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
- 8*8 /* every char takes 8 bytes */
+ 8*8 /* every char takes 8 bytes */
};
static GFXDECODE_START( apogee )
@@ -162,17 +162,17 @@ GFXDECODE_END
/* Machine driver */
static MACHINE_CONFIG_START( apogee, apogee_state )
- /* basic machine hardware */
- MCFG_CPU_ADD("maincpu", I8080, XTAL_16MHz / 9)
- MCFG_CPU_PROGRAM_MAP(apogee_mem)
- MCFG_MACHINE_RESET_OVERRIDE(apogee_state, radio86 )
+ /* basic machine hardware */
+ MCFG_CPU_ADD("maincpu", I8080, XTAL_16MHz / 9)
+ MCFG_CPU_PROGRAM_MAP(apogee_mem)
+ MCFG_MACHINE_RESET_OVERRIDE(apogee_state, radio86 )
MCFG_I8255_ADD( "ppi8255_1", radio86_ppi8255_interface_1 )
//MCFG_I8255_ADD( "ppi8255_2", apogee_ppi8255_interface_2 )
- MCFG_I8275_ADD ( "i8275", apogee_i8275_interface)
- /* video hardware */
+ MCFG_I8275_ADD ( "i8275", apogee_i8275_interface)
+ /* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_UPDATE_DEVICE("i8275", i8275_device, screen_update)
MCFG_SCREEN_REFRESH_RATE(50)
@@ -205,4 +205,4 @@ ROM_END
/* Driver */
/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */
-COMP( 1989, apogee, radio86,0, apogee, apogee, radio86_state,radio86, "Zavod BRA", "Apogee BK-01", 0)
+COMP( 1989, apogee, radio86,0, apogee, apogee, radio86_state,radio86, "Zavod BRA", "Apogee BK-01", 0)