PCem
changeset 118:07168c9bdd22
Added REP NOP / PAUSE instruction, needed for Windows 2000 installer. Patch from SA1988.
| author | TomW |
|---|---|
| date | Tue Jul 08 22:06:48 2014 +0100 |
| parents | a6ce8addfffa |
| children | e4da69090d05 |
| files | src/386.c |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/src/386.c Tue Jul 08 21:03:34 2014 +0100 1.2 +++ b/src/386.c Tue Jul 08 22:06:48 2014 +0100 1.3 @@ -663,6 +663,9 @@ 1.4 if (c > 0) { firstrepcycle = 0; pc = ipc; if (ssegs) ssegs++; } 1.5 else firstrepcycle = 1; 1.6 break; 1.7 + case 0x90: case 0x190: /*REP NOP*/ 1.8 + case 0x290: case 0x390: 1.9 + break; 1.10 case 0xA4: case 0x1A4: /*REP MOVSB*/ 1.11 if (c>0) 1.12 {
