mirror of
https://github.com/holub/mame
synced 2025-07-02 08:39:21 +03:00
bus/a2bus: Suppress side effects of Grappler C0nX reads for debugger.
This commit is contained in:
parent
e42e059b23
commit
3e28cafa55
@ -235,10 +235,13 @@ u8 a2bus_grappler_device::read_c0nx(u8 offset)
|
|||||||
{
|
{
|
||||||
LOG("Read C0n%01X\n", offset);
|
LOG("Read C0n%01X\n", offset);
|
||||||
|
|
||||||
if (BIT(offset, 1)) // A1 - assert strobe
|
if (!machine().side_effects_disabled())
|
||||||
machine().scheduler().synchronize(timer_expired_delegate(FUNC(a2bus_grappler_device::set_strobe), this), 0);
|
{
|
||||||
else if (BIT(offset, 2)) // A2 - release strobe
|
if (BIT(offset, 1)) // A1 - assert strobe
|
||||||
machine().scheduler().synchronize(timer_expired_delegate(FUNC(a2bus_grappler_device::set_strobe), this), 1);
|
machine().scheduler().synchronize(timer_expired_delegate(FUNC(a2bus_grappler_device::set_strobe), this), 0);
|
||||||
|
else if (BIT(offset, 2)) // A2 - release strobe
|
||||||
|
machine().scheduler().synchronize(timer_expired_delegate(FUNC(a2bus_grappler_device::set_strobe), this), 1);
|
||||||
|
}
|
||||||
|
|
||||||
if (BIT(offset, 0)) // A0 - printer status
|
if (BIT(offset, 0)) // A0 - printer status
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user