Skip to content

Commit

Permalink
Added dummy SGDT 0F 01 /0 opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed May 31, 2021
1 parent 268166b commit 9715a2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/emu/run0f.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
_0f_0x01:
nextop = F8;
switch((nextop>>3)&7) {
case 0: /* SGDT Ed */
GET_ED;
ED->word[0] = 0x7f; // dummy return...
ED->word[1] = 0x000c;
ED->word[2] = 0xd000;
break;
case 1: /* SIDT Ed */
GET_ED;
ED->word[0] = 0xfff; // dummy return, like "disabled"
Expand Down

0 comments on commit 9715a2f

Please sign in to comment.