Overhauled and unified CD-ROM emulation;

Four CD-ROM drives are now emulated;
ATAPI DMA is now emulated;
Unified CD-ROM pass through to host drive handling;
Applied all (applicable) mainline PCem commits.
This commit is contained in:
OBattler
2017-01-16 01:49:19 +01:00
parent 0a11edd343
commit 4f7fd84229
41 changed files with 5953 additions and 5129 deletions

View File

@@ -3460,13 +3460,13 @@ static void MMX_ENTER()
addbyte(0x45);
addbyte(cpu_state_offset(ismmx));
addbyte(1);
addbyte(0x8b); /*MOV TOP, EAX*/
addbyte(0x89); /*MOV TOP, EAX*/
addbyte(0x45);
addbyte(cpu_state_offset(TOP));
addbyte(0x8b); /*MOV tag, EAX*/
addbyte(0x89); /*MOV tag, EAX*/
addbyte(0x45);
addbyte(cpu_state_offset(tag[0]));
addbyte(0x8b); /*MOV tag+4, EAX*/
addbyte(0x89); /*MOV tag+4, EAX*/
addbyte(0x45);
addbyte(cpu_state_offset(tag[4]));