From f02439758ee681130093e689d4d8a4b377ca462f Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 17 Sep 2007 20:46:29 +0000 Subject: [PATCH] fixed a possible deadlock in DrZ80 git-svn-id: file:///home/notaz/opt/svn/PicoDrive@253 be3aeb3a-fb24-0410-a615-afba39da0efa --- cpu/DrZ80/drz80.s | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/cpu/DrZ80/drz80.s b/cpu/DrZ80/drz80.s index 53f4c98..16f09af 100644 --- a/cpu/DrZ80/drz80.s +++ b/cpu/DrZ80/drz80.s @@ -6669,11 +6669,14 @@ opcode_DD_NF: ;@ mov r0,#0xFD00 ;@ orr r0,r0,r1 ;@ b end_loop + opcode_DD_NF2: - mov r0,#0xDD0000 - orr r0,r0,#0xCB00 - orr r0,r0,r1 - b end_loop + fetch 15 +;@ notaz: we don't want to deadlock here +;@ mov r0,#0xDD0000 +;@ orr r0,r0,#0xCB00 +;@ orr r0,r0,r1 +;@ b end_loop ;@ADD IX,BC opcode_DD_09: @@ -8068,8 +8071,8 @@ opcode_ED_BB: ;@from the DD location but the address of the IY reg is passed instead ;@of IX -end_loop: - b end_loop +;@end_loop: +;@ b end_loop -- 2.39.2