From 6e7de80aba74be2cfc1e5567b3a470390968c095 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Sun, 28 Dec 2008 13:29:34 +0000 Subject: [PATCH] allow IRQ6 to be redirected to V86 machine git-svn-id: svn://kolibrios.org@980 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/sys32.inc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/kernel/trunk/core/sys32.inc b/kernel/trunk/core/sys32.inc index d9c50a300d..22d13f8c01 100644 --- a/kernel/trunk/core/sys32.inc +++ b/kernel/trunk/core/sys32.inc @@ -223,14 +223,17 @@ irqh 2,3,4,5,7,8,9,10,11 p_irq6: - save_ring3_context - mov ax, app_data ;os_data - mov ds, ax - mov es, ax - call fdc_irq - call ready_for_next_irq - restore_ring3_context - iret + save_ring3_context + mov ax, app_data ;os_data + mov ds, ax + mov es, ax + mov edi, 14 + cmp [v86_irqhooks+edi*8], 0 + jnz v86_irq2 + call fdc_irq + call ready_for_next_irq + restore_ring3_context + iret p_irq14: