Previous 199869 Revisions Next

r24681 Friday 2nd August, 2013 at 20:40:49 UTC by Carl
(MESS) pc9801: make 9801ux boot (nw)
i386: fix smsw undocumented behavior (nw)
[src/emu/cpu/i386]i386op32.c
[src/mess/drivers]pc9801.c

trunk/src/emu/cpu/i386/i386op32.c
r24680r24681
31113111      case 4:         /* SMSW */
31123112         {
31133113            if( modrm >= 0xc0 ) {
3114               STORE_RM32(modrm, cpustate->cr[0] & 0xffff);
3114               // smsw stores all of cr0 into register
3115               STORE_RM32(modrm, cpustate->cr[0]);
31153116               CYCLES(cpustate,CYCLES_SMSW_REG);
31163117            } else {
31173118               /* always 16-bit memory operand */
trunk/src/mess/drivers/pc9801.c
r24680r24681
38383838   ROM_LOAD( "bios_ux.rom", 0x28000, 0x18000, BAD_DUMP CRC(97375ca2) SHA1(bfe458f671d90692104d0640730972ca8dc0a100) )
38393839   // floppy recalibration happens too fast so skip this test
38403840   ROM_FILL(0x3f60a, 1, 0xff)
3841   // correct checksum
3842   ROM_FILL(0x3fffe, 1, 0x9a)
38413843
38423844   ROM_REGION( 0x10000, "sound_bios", 0 )
38433845   ROM_LOAD( "sound_ux.rom", 0x0000, 0x4000, CRC(80eabfde) SHA1(e09c54152c8093e1724842c711aed6417169db23) )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team