Initial SiS496/497 emulation.

Fixed ESP value on ENTER when page fault after first push.
Fixed execution time of IDE Set Idle command.
Fixed head number on FDC Read Sector ID command.
This commit is contained in:
TomW 2013-07-15 18:23:26 +01:00
commit f195495f3a
7 changed files with 40 additions and 17 deletions

View file

@ -304,7 +304,7 @@ static int opENTER_w(uint32_t fetchdat)
int count = (fetchdat >> 16) & 0xff; pc++;
uint32_t tempEBP = EBP, tempESP = ESP, frame_ptr;
PUSH_W(BP);
PUSH_W(BP); if (abrt) return 0;
frame_ptr = ESP;
if (count > 0)
@ -337,7 +337,7 @@ static int opENTER_l(uint32_t fetchdat)
int count = (fetchdat >> 16) & 0xff; pc++;
uint32_t tempEBP = EBP, tempESP = ESP, frame_ptr;
PUSH_L(EBP);
PUSH_L(EBP); if (abrt) return 0;
frame_ptr = ESP;
if (count > 0)