Commit Graph

1500 Commits

Author SHA1 Message Date
Miodrag Milanovic
2e549870b7 i386: implemented FCLEX FPU instruction. [Barry Rodewald] 2011-07-19 08:45:07 +00:00
R. Belmont
0c20151bd4 ppc: Implemented correct BATs for 601 and memory-forced I/O controller interface accesses [R. Belmont] 2011-07-18 04:04:03 +00:00
R. Belmont
63a417e7d5 m68k: added bus error input line, fixed FMOVEM, fixed issues with HMMU [R. Belmont] 2011-07-17 05:53:41 +00:00
Angelo Salese
06276f110e Erratic timings, reverted back 2011-07-15 13:41:47 +00:00
Angelo Salese
ce6605f907 Added cycle remainder for FRC in SH-2 [Angelo Salese] (note to Arbee: please double check this) 2011-07-15 13:22:47 +00:00
R. Belmont
d914de3b4b m68k: set read/write bit properly in special status on MMU bus errors [R. Belmont] 2011-07-15 03:34:55 +00:00
Miodrag Milanovic
8355b34753 Make memset been used in cpu core in unique way (no whatsnew) 2011-07-13 18:02:27 +00:00
Miodrag Milanovic
59d3c568ca Fix for virtual overload in DSP56K (no whatsnew) 2011-07-13 07:58:54 +00:00
Miodrag Milanovic
5a59cde33d Fix for memsets in core (no whatsnew) 2011-07-13 07:35:14 +00:00
Angelo Salese
192c9e04f5 Clean-ups and version bump 2011-07-11 19:36:26 +00:00
Angelo Salese
fecff8f387 Preliminary work for ATV Track, in order to get the second SH-4 into
business [Samuele Zannoli]

Added support for dma transfers between the processor and external
devices in SH-4 CPU core [Samuele Zannoli]

Modified naomibd device so that it allocates the memory for the gdrom
data on startup based on a parameter that specifies the size in
megabytes. [Samuele Zannoli]

Added two new commands to the unidasm utility [Samuele Zannoli]
-skip <n> allows to skip the first <n> bytes from the file
-count <n> specifiest that only <n> bytes from the file must be
           disassembled
2011-07-11 15:06:19 +00:00
Miodrag Milanovic
d1227c9617 Fix assert when using M68HC05EG (no whatsnew) 2011-07-10 18:41:43 +00:00
Alex W. Jackson
e1edbacccc Implemented halt instruction in the NEC CPU core [Wilbert Pol, Alex Jackson] 2011-07-10 07:03:32 +00:00
Angelo Salese
6c5a5519a9 Added the new set 2011-07-09 18:15:21 +00:00
Miodrag Milanovic
9babf1fcf4 i386: Various fixes. [Barry Rodewald]
- Load LDT before segment registers when switching tasks,
  - Set IF after the instruction following STI,
  - Reset IF after MOV SS or POP SS for one instruction,
  - Fixed LSL instruction when modrm < 0xc0.
2011-07-06 07:08:37 +00:00
Jonathan Gevaryahu
dc74c5f753 Further upd7725 fixes, new code might actually work properly now, fixed uninitialized variables. [Lord Nightmare, Wilbert Pol] 2011-07-06 03:41:41 +00:00
Jonathan Gevaryahu
6f893c29f1 Update NEC DSP core to correctly generate the ov1 and s1 alu
flags (and hence, SGN register contents). [Lord Nightmare,
Segher, byuu, Cydrak]
2011-07-03 21:03:01 +00:00
Miodrag Milanovic
88a4d565b8 CP1610 - maskable interrupts do not latch [H@P]
* maskable interrupts that trigger while interrupts are disabled are not latched.
* fixes Activision's Dreadnaught Factor. (intv driver in MESS)
2011-06-29 13:28:29 +00:00
Curt Coder
5bdbd34778 Fixed COSMAC CPU debugger PC. [Curt Coder] 2011-06-29 07:47:50 +00:00
Angelo Salese
a23c194ed5 Port from MESS, nw 2011-06-28 14:23:18 +00:00
Curt Coder
2efa40c703 Added BUSRQ and WAIT input lines to the Z80 CPU core. [Curt Coder] 2011-06-26 17:51:00 +00:00
R. Belmont
fae75d234f SH4: Misc cleanups, added support for VERSION register. Naomi rev H BIOS now boots games. [O. Galibert, Deunan Knute, R. Belmont] 2011-06-24 00:43:24 +00:00
Miodrag Milanovic
fc82c0f03f i286 - fix for OS/2 "interrupts disabled when entering system" problem by Carl (no whatsnew) 2011-06-21 16:42:16 +00:00
Wilbert Pol
fb2496fb2d m6800.c: Prevent side-effects when the cpu is open in the debugger. (nw) 2011-06-20 20:22:58 +00:00
Miodrag Milanovic
0e8741767f i386: Fixed storing of the stack pointer when calling interrupt or trap gates that change privilege levels. Also added basic implementation of x87 FPU FDIV instruction. (no whatsnew)
i386: Added use of immediate byte when changing privilege levels via RETF. (no whatsnew)
2011-06-20 06:18:48 +00:00
Angelo Salese
e6050ace10 Cleanups and version bump 2011-06-19 19:29:25 +00:00
Miodrag Milanovic
bf0d1b0122 i286 - small fix by Carl (no whatsnew) 2011-06-19 08:47:20 +00:00
R. Belmont
0b8b7ba589 i386: fix GCC 4.6 (no whatsnew) 2011-06-18 15:51:26 +00:00
Miodrag Milanovic
291862b718 i286 - Fixes that makes OS/2 1.2 boot again by Carl (no whatsnew) 2011-06-18 05:50:04 +00:00
Miodrag Milanovic
941c72c85a i386: Implemented task gates, call gates, and task state segments (both
286 and 386).  Also inplmented triple fault CPU resets (used by OS/2).
x87: Basic implementation of FSTENV (used by OS/2).  [Barry Rodewald]
2011-06-17 07:01:45 +00:00
Miodrag Milanovic
2d60c3dba0 i286 - Fix bunch of fault restarts [Carl] 2011-06-16 05:38:49 +00:00
Miodrag Milanovic
2ad619b137 ins8250 - Fix enabling better mouse support in pc driver [Carl]
i286 - limit check of SS in push and pop instructions [Carl]
2011-06-11 10:03:11 +00:00
Miodrag Milanovic
6312851a55 i286 - core fixes enabling some progress on OS/2 1.1 by Carl (no whatsnew) 2011-06-10 08:37:19 +00:00
Miodrag Milanovic
302cef2ab1 286 - fixes the DOS/16M dos extender that comes with Lotus 123r3 [Carl] 2011-06-07 16:32:56 +00:00
Miodrag Milanovic
8014584c88 i286 - Fix for Phar Lap and Borland 16-bit DPMI servers. [Carl] 2011-06-07 06:55:01 +00:00
Angelo Salese
a449c766a2 Cleanups and version bump 2011-06-05 22:35:20 +00:00
Miodrag Milanovic
f2e42d1d49 i286 - Fix for exception handling makes bios 13 from at to pass tests, by Carl (no whatsnew) 2011-06-05 13:56:19 +00:00
Alex W. Jackson
69e571a85f i86: fix initial CS on reset 2011-06-03 16:48:24 +00:00
smf-
0aacf2ad77 removed dma trampoline from the cpu. 2011-06-02 11:01:00 +00:00
Alex W. Jackson
7a0fca46c2 nec disassembler - Only display "byte/word ptr" when it's actually needed to resolve ambiguity (same as the i386 disassembler) 2011-06-02 06:46:24 +00:00
Alex W. Jackson
6a52f841eb Fixed POP() in nec cpu core, for real this time (no whatsnew) 2011-06-02 03:35:51 +00:00
Angelo Salese
246e9482ac Added SKIT_F0 opcode to the uPD7801/uPD7810 CPU core [Angelo Salese] 2011-06-01 14:55:37 +00:00
Miodrag Milanovic
d966fe3e0d i286 - small issue fixed by Carl (no whatsnew) 2011-06-01 07:39:48 +00:00
Scott Stone
d5370bdafb Reverting of POP() (from r12754) for both v20 and v25 for now pending more information. (no whatsnew) 2011-06-01 05:56:08 +00:00
Miodrag Milanovic
9cfc7c1ee4 Fixed POP, POPF, PUSHF, and flags for V20 core [Carl] 2011-05-31 17:33:14 +00:00
Miodrag Milanovic
7418f28a63 Fixed UNSP CPU core reset [Robbbert] 2011-05-31 09:50:25 +00:00
Aaron Giles
665d213ee4 (Finally found the time to finish this....)
Low-level input upgrade. Classes now exist for input_codes, input_items,
input_devices, and input_seqs. Also created an input_manager class to
hold machine-global state and made it accessible via machine.input().
Expanded the device index range (0-255, up from 0-16), and the OSD can
now specify the device index explicitly if they can better keep the 
indexes from varying run-to-run. [Aaron Giles]

Note that I've built and run SDL on Windows, but not all the code paths
were exercised. If you use mice/joysticks extensively double-check them
to be sure it all still works as expected.

This is mainly an OSD and core change. The only thing impacting drivers
is if they query for specific keys for debugging. The following S&Rs
took care of most of that:

S: input_code_pressed( *)\(( *)([^, ]+) *, *
R: \3\.input\(\)\.code_pressed\1\(\2

S: input_code_pressed_once( *)\(( *)([^, ]+) *, *
R: \3\.input\(\)\.code_pressed_once\1\(\2
2011-05-30 19:07:19 +00:00
R. Belmont
8f7d456e70 Another missed 4.6 warning (no whatsnew) 2011-05-30 14:57:35 +00:00
Miodrag Milanovic
73323f655d idectrl - implemented verify no retry command [Carl]
i86 - Fixed imul instruction [Carl]
2011-05-30 14:25:35 +00:00
Miodrag Milanovic
c3d6f72453 Fix compile/linking issue (no whatsnew) 2011-05-30 08:11:23 +00:00