Implemented undocumented F6/1 and F7/1 TEST instructions.
Implemented undocumented F1 LOCK and ICEBP instructions. Implemented missing 286 LOADALL functionality. SMSW now sets all 12 bits to 1 on 286. Patch from Greatpsycho.
This commit is contained in:
parent
b2f018c11e
commit
4cb5ddd7f7
5 changed files with 61 additions and 12 deletions
|
|
@ -3025,6 +3025,7 @@ void execx86(int cycs)
|
|||
switch (rmdat&0x38)
|
||||
{
|
||||
case 0x00: /*TEST b,#8*/
|
||||
case 0x08:
|
||||
temp2=FETCH();
|
||||
temp&=temp2;
|
||||
setznp8(temp);
|
||||
|
|
@ -3163,6 +3164,7 @@ void execx86(int cycs)
|
|||
switch (rmdat&0x38)
|
||||
{
|
||||
case 0x00: /*TEST w*/
|
||||
case 0x08:
|
||||
tempw2=getword();
|
||||
setznp16(tempw&tempw2);
|
||||
flags&=~(C_FLAG|V_FLAG|A_FLAG);
|
||||
|
|
|
|||
Loading…
Reference in a new issue