mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
m6502: More interrupt fixing [O. Galibert]
This commit is contained in:
parent
b702e42b2f
commit
7217bb1762
@ -70,6 +70,7 @@ void m4510_device::device_start()
|
||||
|
||||
void m4510_device::device_reset()
|
||||
{
|
||||
m65ce02_device::device_reset();
|
||||
map_offset[0] = map_offset[1] = 0;
|
||||
map_enable = 0;
|
||||
nomap = true;
|
||||
|
@ -122,6 +122,7 @@ void m6502_device::init()
|
||||
inst_substate = 0;
|
||||
sync = false;
|
||||
end_cycles = 0;
|
||||
inhibit_interrupts = false;
|
||||
}
|
||||
|
||||
void m6502_device::device_reset()
|
||||
@ -150,7 +151,7 @@ UINT32 m6502_device::execute_max_cycles() const
|
||||
|
||||
UINT32 m6502_device::execute_input_lines() const
|
||||
{
|
||||
return 3;
|
||||
return NMI_LINE+1;
|
||||
}
|
||||
|
||||
void m6502_device::do_adc_d(UINT8 val)
|
||||
|
@ -65,6 +65,7 @@ void m6509_device::device_start()
|
||||
|
||||
void m6509_device::device_reset()
|
||||
{
|
||||
m6502_device::device_reset();
|
||||
bank_i = 0x0f;
|
||||
bank_y = 0x0f;
|
||||
}
|
||||
|
@ -92,6 +92,7 @@ void m6510_device::device_start()
|
||||
|
||||
void m6510_device::device_reset()
|
||||
{
|
||||
m6502_device::device_reset();
|
||||
dir = 0x00;
|
||||
port = 0x00;
|
||||
drive = 0x00;
|
||||
|
Loading…
Reference in New Issue
Block a user