summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/alphasma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/alphasma.c')
-rw-r--r--src/mess/drivers/alphasma.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mess/drivers/alphasma.c b/src/mess/drivers/alphasma.c
index 9f649d96c3c..bee18832333 100644
--- a/src/mess/drivers/alphasma.c
+++ b/src/mess/drivers/alphasma.c
@@ -21,7 +21,7 @@ class alphasmart_state : public driver_device
public:
alphasmart_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu")
+ m_maincpu(*this, "maincpu")
{ }
required_device<cpu_device> m_maincpu;
@@ -37,7 +37,7 @@ public:
static ADDRESS_MAP_START(alphasmart_mem, AS_PROGRAM, 8, alphasmart_state)
ADDRESS_MAP_UNMAP_HIGH
AM_RANGE( 0x0000, 0x7fff ) AM_RAM
- AM_RANGE( 0x8000, 0xffff ) AM_ROM AM_REGION("maincpu", 0)
+ AM_RANGE( 0x8000, 0xffff ) AM_ROM AM_REGION("maincpu", 0)
ADDRESS_MAP_END
static ADDRESS_MAP_START(alphasmart_io, AS_IO, 8, alphasmart_state)
@@ -61,21 +61,21 @@ void alphasmart_state::machine_start()
static const hc11_config alphasmart_hc11_config =
{
- 0, //has extended internal I/O
+ 0, //has extended internal I/O
192, //internal RAM size
0x00 //registers are at 0-0x3f
};
static HD44780_INTERFACE( alphasmart_4line_display )
{
- 4, // number of lines
- 16, // chars for line
- NULL // pixel update callback
+ 4, // number of lines
+ 16, // chars for line
+ NULL // pixel update callback
};
static MACHINE_CONFIG_START( alphasmart, alphasmart_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", MC68HC11, XTAL_8MHz/2) // MC68HC11D0, XTAL is 8 Mhz, unknown divider
+ MCFG_CPU_ADD("maincpu", MC68HC11, XTAL_8MHz/2) // MC68HC11D0, XTAL is 8 Mhz, unknown divider
MCFG_CPU_PROGRAM_MAP(alphasmart_mem)
MCFG_CPU_IO_MAP(alphasmart_io)
MCFG_CPU_CONFIG(alphasmart_hc11_config)
@@ -97,7 +97,7 @@ MACHINE_CONFIG_END
/* ROM definition */
ROM_START( alphasma )
ROM_REGION( 0x8000, "maincpu", 0 )
- ROM_LOAD( "alphasmartpro212.rom", 0x0000, 0x8000, CRC(896ddf1c) SHA1(c3c6a421c9ced92db97431d04b4a3f09a39de716) ) // Checksum 8D24 on label
+ ROM_LOAD( "alphasmartpro212.rom", 0x0000, 0x8000, CRC(896ddf1c) SHA1(c3c6a421c9ced92db97431d04b4a3f09a39de716) ) // Checksum 8D24 on label
ROM_REGION( 0x0860, "hd44780", ROMREGION_ERASE )
ROM_LOAD( "44780a00.bin", 0x0000, 0x0860, BAD_DUMP CRC(3a89024c) SHA1(5a87b68422a916d1b37b5be1f7ad0b3fb3af5a8d))
@@ -105,4 +105,4 @@ ROM_END
/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */
-COMP( 1995, alphasma, 0, 0, alphasmart, alphasmart, driver_device, 0, "Intelligent Peripheral Devices", "AlphaSmart Pro", GAME_NOT_WORKING | GAME_NO_SOUND )
+COMP( 1995, alphasma, 0, 0, alphasmart, alphasmart, driver_device, 0, "Intelligent Peripheral Devices", "AlphaSmart Pro", GAME_NOT_WORKING | GAME_NO_SOUND )