From 080b8c12be2b4a92bc582cd1c1c44dea8a2b0513 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 30 Oct 2020 18:19:48 +0100 Subject: [PATCH] Fixed the DAA instruction on 808x, fixes the Generic XT Clone BIOS POST. --- src/cpu/808x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/808x.c b/src/cpu/808x.c index b833bf762..c9a35cedc 100644 --- a/src/cpu/808x.c +++ b/src/cpu/808x.c @@ -1901,7 +1901,7 @@ execx86(int cycs) cpu_src = 6; cpu_data = cpu_dest + cpu_src; set_of_add(8); - cpu_dest += cpu_data; + cpu_dest = cpu_data; set_af(1); } if ((cpu_state.flags & C_FLAG) || AL > (old_af ? 0x9f : 0x99)) {