1
0
Fork 0

Add 32-bit lss and cleared out 32-bit xlat for now.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@954
This commit is contained in:
Sjoerd van der Berg 2003-04-21 07:49:44 +00:00
parent 96600069ec
commit 84f547974f
2 changed files with 6 additions and 2 deletions

View file

@ -507,7 +507,7 @@ static OpCode OpCodeTable[1024]={
{L_MODRM ,5 ,0 ,M_GRP_1 },{L_MODRM ,7 ,0 ,M_GRP_1 },
{L_MODRM ,5 ,0 ,M_GRP_CL },{L_MODRM ,7 ,0 ,M_GRP_CL },
{L_Ib ,O_AAM ,0 ,0 },{L_Ib ,O_AAD ,0 ,0 },
{D_SETALC ,0 ,0 ,0 },{D_XLAT ,0 ,0 ,0 },
{D_SETALC ,0 ,0 ,0 },{0 ,0 ,0 ,0 },
/* 0x2d8 - 0x2df */
{L_MODRM ,0 ,0 ,0 },{L_MODRM ,0 ,0 ,0 },
{L_MODRM ,0 ,0 ,0 },{L_MODRM ,0 ,0 ,0 },
@ -662,7 +662,7 @@ static OpCode OpCodeTable[1024]={
/* 0x3b0 - 0x3b7 */
{0 ,0 ,0 ,0 },{0 ,0 ,0 ,0 },
{0 ,0 ,0 ,0 },{L_MODRM ,O_BTRd ,0 ,0 },
{L_MODRM ,O_SEGSS ,S_SEGGd,M_Efd },{L_MODRM ,O_BTRd ,0 ,0 },
{L_MODRM ,O_SEGFS ,S_SEGGd,M_Efd },{L_MODRM ,O_SEGGS ,S_SEGGd,M_Efd },
{L_MODRM ,0 ,S_Gd ,M_Eb },{L_MODRM ,0 ,S_Gd ,M_Ew },
/* 0x3b8 - 0x3bf */

View file

@ -61,6 +61,10 @@ switch (inst.code.save) {
reg_16(inst.rm_index)=inst.op1.w;
CPU_SetSegGeneral((SegNames)inst.code.extra,inst.op2.w);
break;
case S_SEGGd:
reg_32(inst.rm_index)=inst.op1.d;
CPU_SetSegGeneral((SegNames)inst.code.extra,inst.op2.w);
break;
case S_PUSHw:
Push_16(inst.op1.w);
break;