summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mcs96/i8x9x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mcs96/i8x9x.cpp')
-rw-r--r--src/devices/cpu/mcs96/i8x9x.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/devices/cpu/mcs96/i8x9x.cpp b/src/devices/cpu/mcs96/i8x9x.cpp
index 071d7351042..cd6a742d76b 100644
--- a/src/devices/cpu/mcs96/i8x9x.cpp
+++ b/src/devices/cpu/mcs96/i8x9x.cpp
@@ -364,14 +364,22 @@ void i8x9x_device::trigger_cam(int id, u64 current_time)
case 0x8: case 0x9: case 0xa: case 0xb:
ios1 |= 1 << (cam.command & 3);
- pending_irq |= IRQ_SOFT;
- check_irq();
+ break;
+
+ case 0xf:
+ ad_start(current_time);
break;
default:
logerror("%s: Action %x unimplemented\n", tag(), cam.command & 0x0f);
break;
}
+
+ if(BIT(cam.command, 4))
+ {
+ pending_irq |= BIT(cam.command, 3) ? IRQ_SOFT : IRQ_HSO;
+ check_irq();
+ }
}
void i8x9x_device::set_hso(u8 mask, bool state)