From 6fee7ccb03a15ee7f0917010de05085a99fa3ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Fri, 27 Mar 2009 18:10:35 +0000 Subject: [PATCH] immediately check for irq line activation when popf enables the interrupt flag (fixes star quest 1, thanks to ripsaw for finding this) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3331 --- src/cpu/core_dyn_x86/decoder.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cpu/core_dyn_x86/decoder.h b/src/cpu/core_dyn_x86/decoder.h index 56ebfb52..16b7e129 100644 --- a/src/cpu/core_dyn_x86/decoder.h +++ b/src/cpu/core_dyn_x86/decoder.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2002-2008 The DOSBox Team + * Copyright (C) 2002-2009 The DOSBox Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: decoder.h,v 1.55 2008-05-18 13:11:14 c2woody Exp $ */ +/* $Id: decoder.h,v 1.56 2009-03-27 18:10:35 c2woody Exp $ */ #define X86_DYNFPU_DH_ENABLED #define X86_INLINED_MEMACCESS @@ -2258,6 +2258,7 @@ restart_prefix: dyn_check_bool_exception(DREG(TMPB)); dyn_flags_host_to_gen(); gen_releasereg(DREG(TMPB)); + dyn_check_irqrequest(); break; /* MOV AL,direct addresses */ case 0xa0: