mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
bfm_sc2.cpp, bfm_dm01.cpp: Verify 6809 types (nw)
This commit is contained in:
parent
17cc8ea0fe
commit
eca6787e51
@ -2279,7 +2279,7 @@ void bfm_sc2_state::machine_start()
|
||||
|
||||
void bfm_sc2_vid_state::scorpion2_vid(machine_config &config)
|
||||
{
|
||||
M6809(config, m_maincpu, MASTER_CLOCK/4); // 6809 CPU at 2 Mhz
|
||||
MC6809(config, m_maincpu, MASTER_CLOCK); // MC68B09P (2 MHz bus)
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &bfm_sc2_vid_state::memmap_vid); // setup scorpion2 board memorymap
|
||||
m_maincpu->set_periodic_int(FUNC(bfm_sc2_vid_state::timer_irq), attotime::from_hz(1000)); // generate 1000 IRQ's per second
|
||||
config.m_minimum_quantum = attotime::from_hz(960); // needed for serial communication !!
|
||||
@ -3749,7 +3749,7 @@ void bfm_sc2_dmd_state::machine_start()
|
||||
|
||||
void bfm_sc2_awp_state::scorpion2(machine_config &config)
|
||||
{
|
||||
M6809(config, m_maincpu, MASTER_CLOCK/4);
|
||||
MC6809(config, m_maincpu, MASTER_CLOCK); // MC68B09P (2 MHz bus)
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &bfm_sc2_awp_state::memmap_no_vid);
|
||||
m_maincpu->set_periodic_int(FUNC(bfm_sc2_awp_state::timer_irq), attotime::from_hz(1000));
|
||||
|
||||
@ -3809,7 +3809,7 @@ void bfm_sc2_awp_state::scorpion3(machine_config &config)
|
||||
void bfm_sc2_dmd_state::scorpion2_dm01(machine_config &config)
|
||||
{
|
||||
config.m_minimum_quantum = attotime::from_hz(960); // needed for serial communication !!
|
||||
M6809(config, m_maincpu, MASTER_CLOCK/4);
|
||||
MC6809(config, m_maincpu, MASTER_CLOCK); // MC68B09P (2 MHz bus)
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &bfm_sc2_dmd_state::memmap_no_vid);
|
||||
m_maincpu->set_periodic_int(FUNC(bfm_sc2_dmd_state::timer_irq), attotime::from_hz(1000));
|
||||
|
||||
|
@ -290,7 +290,7 @@ INTERRUPT_GEN_MEMBER( bfm_dm01_device::nmi_line_assert )
|
||||
|
||||
void bfm_dm01_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
M6809(config, m_matrixcpu, 2000000); /* matrix board 6809 CPU at 2 Mhz ?? I don't know the exact freq.*/
|
||||
MC6809(config, m_matrixcpu, 8000000); // MC68B09CP (clock unknown)
|
||||
m_matrixcpu->set_addrmap(AS_PROGRAM, &bfm_dm01_device::bfm_dm01_memmap);
|
||||
m_matrixcpu->set_periodic_int(FUNC(bfm_dm01_device::nmi_line_assert), attotime::from_hz(1500)); /* generate 1500 NMI's per second ?? what is the exact freq?? */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user