mirror of
https://github.com/holub/mame
synced 2025-05-30 01:23:07 +03:00
extra fixed return value for nfb96b
This commit is contained in:
parent
f114ddb36e
commit
470e18976c
@ -5694,9 +5694,8 @@ static DRIVER_INIT( schery97 )
|
|||||||
|
|
||||||
ROM[i] = x;
|
ROM[i] = x;
|
||||||
}
|
}
|
||||||
|
|
||||||
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x1d, 0x1d, 0, 0, fixedvala8_r);
|
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x1d, 0x1d, 0, 0, fixedvala8_r);
|
||||||
|
|
||||||
|
|
||||||
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x2a, 0x2a, 0, 0, fixedvalb4_r);
|
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x2a, 0x2a, 0, 0, fixedvalb4_r);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -5794,6 +5793,11 @@ static READ8_HANDLER( fixedval96_r )
|
|||||||
return 0x96;
|
return 0x96;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static READ8_HANDLER( fixedvalaa_r )
|
||||||
|
{
|
||||||
|
return 0xaa;
|
||||||
|
}
|
||||||
|
|
||||||
static DRIVER_INIT( fbse354 )
|
static DRIVER_INIT( fbse354 )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@ -5810,9 +5814,12 @@ static DRIVER_INIT( fbse354 )
|
|||||||
}
|
}
|
||||||
ROM[i] = x;
|
ROM[i] = x;
|
||||||
}
|
}
|
||||||
|
// nfb96b needs both of these
|
||||||
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x23, 0x23, 0, 0, fixedval80_r);
|
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x23, 0x23, 0, 0, fixedval80_r);
|
||||||
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x6e, 0x6e, 0, 0, fixedval96_r); // csel96b
|
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x5a, 0x5a, 0, 0, fixedvalaa_r);
|
||||||
|
|
||||||
|
// csel96b
|
||||||
|
memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x6e, 0x6e, 0, 0, fixedval96_r);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user