mirror of
https://github.com/holub/mame
synced 2025-06-05 04:16:28 +03:00
gatron.cpp updates.
Defined CPU clock and some spacing (nw)
This commit is contained in:
parent
340c206fc7
commit
1fe9a995cf
@ -337,6 +337,8 @@
|
|||||||
|
|
||||||
|
|
||||||
#define MASTER_CLOCK XTAL(16'000'000)
|
#define MASTER_CLOCK XTAL(16'000'000)
|
||||||
|
#define CPU_CLOCK MASTER_CLOCK / 24 // 666.66 kHz, guess...
|
||||||
|
|
||||||
|
|
||||||
/****************************
|
/****************************
|
||||||
* Read/Write Handlers *
|
* Read/Write Handlers *
|
||||||
@ -568,7 +570,7 @@ GFXDECODE_END
|
|||||||
MACHINE_CONFIG_START(gatron_state::gat)
|
MACHINE_CONFIG_START(gatron_state::gat)
|
||||||
|
|
||||||
/* basic machine hardware */
|
/* basic machine hardware */
|
||||||
MCFG_DEVICE_ADD("maincpu", Z80, MASTER_CLOCK/24) /* 666.66 kHz, guess */
|
MCFG_DEVICE_ADD("maincpu", Z80, MASTER_CLOCK/24)
|
||||||
MCFG_DEVICE_PROGRAM_MAP(gat_map)
|
MCFG_DEVICE_PROGRAM_MAP(gat_map)
|
||||||
MCFG_DEVICE_IO_MAP(gat_portmap)
|
MCFG_DEVICE_IO_MAP(gat_portmap)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user