mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
st2xxx: Improve notes; remove unnecessary override (nw)
This commit is contained in:
parent
f3c0972c20
commit
e89f009945
@ -12,15 +12,21 @@
|
|||||||
clock generators, power management and PSG channels for speaker
|
clock generators, power management and PSG channels for speaker
|
||||||
output. Each MCU also has numerous pins dedicated to LCD segment
|
output. Each MCU also has numerous pins dedicated to LCD segment
|
||||||
drivers, an external bus addressing several MB of off-chip
|
drivers, an external bus addressing several MB of off-chip
|
||||||
memory using multiple chip select signals, or both. Program ROM,
|
memory using multiple chip select signals, or both.
|
||||||
whether internal or external, is banked to a greater or lesser
|
|
||||||
extent except on the smallest single-chip ST20XX models.
|
On all ST2XXX MCUs but the smallest single-chip ST20XX models,
|
||||||
|
4000–7FFF (nominally program memory) and 8000–FFFF (nominally
|
||||||
|
data memory) are bankswitched over all internal and external ROM,
|
||||||
|
and interrupt vectors are read from 7Fxx rather than FFxx. The
|
||||||
|
ST22XX and ST26XX series use a separate, auto-incrementing bank
|
||||||
|
register for DMA reads from the 8000–FFFF area, and will also
|
||||||
|
switch 4000–7FFF to a different bank during interrupt service if
|
||||||
|
the IRREN bit in the SYS register is set.
|
||||||
|
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include "st2xxx.h"
|
#include "st2xxx.h"
|
||||||
#include "r65c02d.h"
|
|
||||||
|
|
||||||
st2xxx_device::st2xxx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, address_map_constructor internal_map, int data_bits, u16 ireq_mask)
|
st2xxx_device::st2xxx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, address_map_constructor internal_map, int data_bits, u16 ireq_mask)
|
||||||
: r65c02_device(mconfig, type, tag, owner, clock)
|
: r65c02_device(mconfig, type, tag, owner, clock)
|
||||||
@ -84,11 +90,6 @@ void st2xxx_device::device_reset()
|
|||||||
m_lymax = 0;
|
m_lymax = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<util::disasm_interface> st2xxx_device::create_disassembler()
|
|
||||||
{
|
|
||||||
return std::make_unique<r65c02_disassembler>();
|
|
||||||
}
|
|
||||||
|
|
||||||
u8 st2xxx_device::acknowledge_irq()
|
u8 st2xxx_device::acknowledge_irq()
|
||||||
{
|
{
|
||||||
// IREQH interrupts have priority over IREQL interrupts
|
// IREQH interrupts have priority over IREQL interrupts
|
||||||
|
@ -66,7 +66,6 @@ protected:
|
|||||||
virtual void device_resolve_objects() override;
|
virtual void device_resolve_objects() override;
|
||||||
virtual void device_reset() override;
|
virtual void device_reset() override;
|
||||||
|
|
||||||
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
|
|
||||||
virtual void do_exec_full() override;
|
virtual void do_exec_full() override;
|
||||||
virtual void do_exec_partial() override;
|
virtual void do_exec_partial() override;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user