mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
![]() * Added Nested Task flag, and I/O Privilege flags. They aren't implemented in any way, but can now be set or reset. Can be used to detect a 80386 or later CPU. * Implemented ENTER instruction. * Made IRQ vectors treated as 8 bytes when in protected mode, and made the addresses pushed onto the stack 32-bit if the gate descriptor used is a 386 interrupt or trap gate (also when in protected mode, will always be 16-bit if in real mode). ---------- Forwarded message ---------- From: Barry Rodewald <bsr@xnet.co.nz> Date: Tue, Nov 3, 2009 at 10:12 PM Subject: i386 update To: submit@mamedev.org Hi, Here's a few small fixes for the i386 core, based from the work I've been doing on emulating the FM Towns in MESS. Mostly based from the i386 Programmer's Reference Manual. The fixes are as follows: * Added Nested Task flag, and I/O Privilege flags. They aren't implemented in any way, but can now be set or reset. Can be used to detect a 80386 or later CPU. * Implemented ENTER instruction, this is used by the FM Towns version of MS-DOS. * Made IRQ vectors treated as 8 bytes when in protected mode, and made the addresses pushed onto the stack 32-bit if the gate descriptor used is a 386 interrupt or trap gate (also when in protected mode, will always be 16-bit if in real mode). I've tested a few i386 games (Seibu SPI, PC-AT, and Wolf System) in MAME 0.135, with no obvious regressions. Diff is based on MAME 0.135. Thanks, Barry Rodewald mailto:bsr@xnet.co.nz |
||
---|---|---|
docs | ||
src | ||
.gitattributes | ||
makefile |