From 7df073a06ac9185eb1b075813d1b6aea1f14e2d7 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 1 Oct 2018 13:41:05 +0100 Subject: [PATCH] rc2014-tiny: update to new irq logic --- Kernel/platform-rc2014-tiny/rc2014.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-rc2014-tiny/rc2014.s b/Kernel/platform-rc2014-tiny/rc2014.s index e896695c..5e957a62 100644 --- a/Kernel/platform-rc2014-tiny/rc2014.s +++ b/Kernel/platform-rc2014-tiny/rc2014.s @@ -284,7 +284,7 @@ rom_control: push bc ; Messy - clean me up! ld c,a push hl - ld a,i + ld a,(_int_disabled) push af ld a,c di @@ -295,7 +295,8 @@ rom_control: out (0x38),a ; anything toggles no_work: pop af - jp po, was_di + or a + jr nz, was_di ei was_di: pop hl pop bc -- 2.34.1