mirror of
https://github.com/holub/mame
synced 2025-06-04 03:46:29 +03:00
m6503/4/7: change logaddr width
This commit is contained in:
parent
0409e04151
commit
191839dd6a
@ -47,6 +47,8 @@ void m6502_device::init()
|
||||
if(mintf) {
|
||||
space(AS_PROGRAM).cache(mintf->cprogram);
|
||||
space(has_space(AS_OPCODES) ? AS_OPCODES : AS_PROGRAM).cache(mintf->csprogram);
|
||||
|
||||
// specific group 1-14 or 15-31
|
||||
if(space(AS_PROGRAM).addr_width() > 14)
|
||||
space(AS_PROGRAM).specific(mintf->program);
|
||||
else
|
||||
|
@ -19,5 +19,7 @@ m6503_device::m6503_device(const machine_config &mconfig, const char *tag, devic
|
||||
m6502_device(mconfig, M6503, tag, owner, clock)
|
||||
{
|
||||
program_config.m_addr_width = 12;
|
||||
program_config.m_logaddr_width = 12;
|
||||
sprogram_config.m_addr_width = 12;
|
||||
sprogram_config.m_logaddr_width = 12;
|
||||
}
|
||||
|
@ -19,5 +19,7 @@ m6504_device::m6504_device(const machine_config &mconfig, const char *tag, devic
|
||||
m6502_device(mconfig, M6504, tag, owner, clock)
|
||||
{
|
||||
program_config.m_addr_width = 13;
|
||||
program_config.m_logaddr_width = 13;
|
||||
sprogram_config.m_addr_width = 13;
|
||||
sprogram_config.m_logaddr_width = 13;
|
||||
}
|
||||
|
@ -19,5 +19,7 @@ m6507_device::m6507_device(const machine_config &mconfig, const char *tag, devic
|
||||
m6502_device(mconfig, M6507, tag, owner, clock)
|
||||
{
|
||||
program_config.m_addr_width = 13;
|
||||
program_config.m_logaddr_width = 13;
|
||||
sprogram_config.m_addr_width = 13;
|
||||
sprogram_config.m_logaddr_width = 13;
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ INPUT_PORTS_END
|
||||
INPUT_CHANGED_MEMBER( gottlieb_sound_p2_device::audio_nmi )
|
||||
{
|
||||
// Diagnostic button sends a pulse to NMI pin
|
||||
if (newval==CLEAR_LINE)
|
||||
if (!newval)
|
||||
m_cpu->pulse_input_line(INPUT_LINE_NMI, attotime::zero);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user