small cleanups (nw)

This commit is contained in:
cracyc 2016-03-19 09:40:47 -05:00
parent 6ad3dd52d8
commit a8d9a097c3
2 changed files with 2 additions and 31 deletions

View File

@ -38,10 +38,7 @@ public:
required_ioport m_inp3;
required_ioport m_inp4;
DECLARE_DRIVER_INIT(fruitpc);
DECLARE_READ8_MEMBER(fruit_inp_r);
virtual void machine_start() override;
virtual void machine_reset() override;
};
READ8_MEMBER(fruitpc_state::fruit_inp_r)
@ -80,10 +77,6 @@ static ADDRESS_MAP_START( fruitpc_io, AS_IO, 32, fruitpc_state )
AM_RANGE(0x03f0, 0x03f7) AM_DEVREADWRITE16("ide", ide_controller_device, read_cs1, write_cs1, 0xffffffff)
ADDRESS_MAP_END
#define AT_KEYB_HELPER(bit, text, key1) \
PORT_BIT( bit, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME(text) PORT_CODE(key1)
static INPUT_PORTS_START( fruitpc )
PORT_START("INP1")
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
@ -109,14 +102,6 @@ static INPUT_PORTS_START( fruitpc )
PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNKNOWN )
INPUT_PORTS_END
void fruitpc_state::machine_start()
{
}
void fruitpc_state::machine_reset()
{
}
static MACHINE_CONFIG_START( fruitpc, fruitpc_state )
MCFG_CPU_ADD("maincpu", I486, 66000000) // ST STPCD0166BTC3 66 MHz 486 CPU
MCFG_CPU_PROGRAM_MAP(fruitpc_map)
@ -135,10 +120,6 @@ static MACHINE_CONFIG_START( fruitpc, fruitpc_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker","rspeaker")
MACHINE_CONFIG_END
DRIVER_INIT_MEMBER(fruitpc_state,fruitpc)
{
}
ROM_START( fruitpc )
ROM_REGION( 0x20000, "bios", 0 )
ROM_LOAD( "at-gs001.bin", 0x000000, 0x020000, CRC(7dec34d0) SHA1(81d194d67fef9f6531bd3cd1ee0baacb5c2558bf) )
@ -147,7 +128,7 @@ ROM_START( fruitpc )
DISK_IMAGE( "fruit", 0,SHA1(df250ff06a97fa141a4144034f7035ac2947c53c) )
ROM_END
GAME( 2006, fruitpc, 0, fruitpc, fruitpc, fruitpc_state, fruitpc, ROT0, "<unknown>", "Fruit Land", MACHINE_NO_SOUND|MACHINE_IMPERFECT_GRAPHICS )
GAME( 2006, fruitpc, 0, fruitpc, fruitpc, driver_device, 0, ROT0, "<unknown>", "Fruit Land", MACHINE_NO_SOUND|MACHINE_IMPERFECT_GRAPHICS )
// this doesn't really belong here, but is some kind of x86 pc-like hardware, exact CPU type etc. unknown
// hardware ia by Paokai, motherboard has logos, large chip with logo too, http://www.paokai.com.tw/
@ -159,4 +140,4 @@ ROM_START( gogostrk )
DISK_IMAGE( "ggs-5-2-07", 0,SHA1(f214fd39ec8ac02f008823f4b179ea6c6835e1b8) )
ROM_END
GAME( 2007, gogostrk, 0, fruitpc, fruitpc, fruitpc_state, fruitpc, ROT0, "American Alpha / Paokai", "Go Go Strike", MACHINE_NOT_WORKING ) // motherboard is dated 2006, if the CF card string is a date it's 2007
GAME( 2007, gogostrk, 0, fruitpc, fruitpc, driver_device, 0, ROT0, "American Alpha / Paokai", "Go Go Strike", MACHINE_NOT_WORKING ) // motherboard is dated 2006, if the CF card string is a date it's 2007

View File

@ -108,16 +108,6 @@ static INPUT_PORTS_START( pcat_dyn )
// Don't use IPT_BUTTON1 or the mouse axes are mapped incorrectly
PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Mouse Button") PORT_CODE(MOUSECODE_BUTTON1)
PORT_BIT(0x0040, IP_ACTIVE_HIGH, IPT_COIN1)
PORT_START("pc_keyboard_3")
PORT_START("pc_keyboard_4")
PORT_START("pc_keyboard_5")
PORT_START("pc_keyboard_6")
PORT_START("pc_keyboard_7")
INPUT_PORTS_END
static SLOT_INTERFACE_START(pcat_dyn_com)