acrnsys1: Add XTAL and correct year (nw)

This commit is contained in:
Nigel Barnes 2018-05-25 11:54:37 +01:00
parent 75a36e3093
commit c94bfc2f40
2 changed files with 9 additions and 8 deletions

View File

@ -64,6 +64,7 @@ const double XTAL::known_xtals[] = {
640'000, /* 640_kHz_XTAL Resonator - NEC UPD7759, Texas Instruments Speech Chips @ 8khz */
960'000, /* 960_kHz_XTAL Resonator - Xerox Notetaker Keyboard UART */
1'000'000, /* 1_MHz_XTAL Used to drive OKI M6295 chips */
1'008'000, /* 1.008_MHz_XTAL Acorn Microcomputer (System 1) */
1'056'000, /* 1.056_MHz_XTAL Resonator - OKI M6295 on Trio The Punch h/w */
1'294'400, /* 1.2944_MHz_XTAL BBN BitGraph PSG */
1'689'600, /* 1.6896_MHz_XTAL Diablo 1355WP Printer */

View File

@ -62,12 +62,12 @@ class acrnsys1_state : public driver_device
{
public:
acrnsys1_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ttl74145(*this, "ic8_7445"),
m_cass(*this, "cassette"),
m_display(*this, "digit%u", 0U),
m_digit(0)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_ttl74145(*this, "ic8_7445")
, m_cass(*this, "cassette")
, m_display(*this, "digit%u", 0U)
, m_digit(0)
{ }
void acrnsys1(machine_config &config);
@ -267,7 +267,7 @@ INPUT_PORTS_END
MACHINE_CONFIG_START(acrnsys1_state::acrnsys1)
/* basic machine hardware */
MCFG_DEVICE_ADD("maincpu", M6502, 1008000) /* 1.008 MHz */
MCFG_DEVICE_ADD("maincpu", M6502, 1.008_MHz_XTAL) /* 1.008 MHz */
MCFG_DEVICE_PROGRAM_MAP(acrnsys1_map)
MCFG_DEFAULT_LAYOUT(layout_acrnsys1)
@ -303,4 +303,4 @@ ROM_END
***************************************************************************/
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS
COMP( 1978, acrnsys1, 0, 0, acrnsys1, acrnsys1, acrnsys1_state, empty_init, "Acorn", "Acorn System 1", MACHINE_SUPPORTS_SAVE )
COMP( 1979, acrnsys1, 0, 0, acrnsys1, acrnsys1, acrnsys1_state, empty_init, "Acorn", "Acorn System 1", MACHINE_SUPPORTS_SAVE )