Commit graph

20 commits

Author SHA1 Message Date
Richard Goedeken
9df29003e1 bugfix issue #268 - instead of setting linker flags for executable heap, use aligned malloc and mprotect to set executable status for emitted machine code from dynamic recompiler. Written by Sven Eckelmann and Richard Goedeken 2009-10-02 02:57:25 +00:00
Richard Goedeken
f33a784a2e Removed some non-ascii characters, translated some messages from French to English. From sven.eckelmann@gmx.de 2009-09-30 14:10:11 +00:00
Richard Goedeken
9f7d8ed837 Fixed warnings generated by a static code analysis in issue 152 2008-10-15 05:01:29 +00:00
Scott Knauert
b80c43a21a License header chnages for Debian inclusion (wrong FSF address), minor header style changes. 2008-10-11 05:49:44 +00:00
Richard Goedeken
210f946cae added newlines to the end of every source file which was missing one 2008-09-27 15:22:21 +00:00
Richard Goedeken
8faf80c8d7 rewrote stack alignment code in gennotcompiled() in r4300/x86/gr4300.c for bulletproof operation in OSX 2008-09-23 03:14:16 +00:00
Richard Goedeken
83e7110e31 dyna_start() fix in r4300/x86/rjump.c for OSX crash -- mark every register as trashed which is not explicitly saved/restored around call into dynarec 2008-09-22 20:18:21 +00:00
Richard Goedeken
1e5664fa4c properly save and restore the callee-saved registers of EBX, ESI, and EDI for 32-bit dynarec as the SRV4 i386 ABI requires. This may solve OSX bug with crash after closing a game 2008-09-18 02:47:06 +00:00
Richard Goedeken
85e2eb98c2 changed stack offset for 32-bit dynarec so that the stack will be 16-byte aligned under OSX and won't crash 2008-09-03 16:14:37 +00:00
Richard Goedeken
ab9ba4c64a fix hard-coded register usage in 32-bit dynarec rjump.c which was generating a GCC error under OSX 2008-09-02 21:23:45 +00:00
Louai Al-Khanji
75f324cfc6 Merge win32 branch 2008-09-01 12:44:16 +00:00
Scott Knauert
620f98bd77 Implemented parts of astrange's portability patch. Mainly header (some missed malloc, some superfluous #includes removed) and plugin makefile improvements to improve OSX portability. 2008-07-28 02:56:08 +00:00
Richard Goedeken
edbee1680a new feature: hit F9 for soft reset. According to N64 manuals, this is a 2-step operation: first an external HW2 interrupt fires, and 0.5 seconds later an NMI fires. Im not sure if the HW2 interrupt is proceeding properly; it will require some work with the debugger to walk through this. But the NMI correctly resets the CPU system and the game 2008-07-21 00:09:05 +00:00
Richard Goedeken
94636b2165 Fixed 64-bit dynarec crash in genj_idle() and genjal_idle() 2008-07-06 04:40:23 +00:00
Richard Goedeken
cd8ac0bd26 Rev 438 caused a segfault on exit when --testshots was used, and possibly could cause segfaults when exiting from normal play. This commit correctly shuts down the dynarec 2008-05-18 20:13:29 +00:00
Scott Gorman
e5f912aad8 Added better detection if emulation is stopped, allowing the recompiler to break out of the infinite loop it can get caught in. This fixes the majority known hard freezes, and increases yet again... STABILITY! 2008-05-14 18:14:36 +00:00
Richard Goedeken
9f10d202be Reverted all changes on trunk from rev 189. The reason why I made a branch was so that you would not commit these things on the trunk. 2008-04-14 11:29:15 +00:00
John Chadwick
ec8445cc55 Attempt 3 at commiting the patches.
THIS PATCH IS PRELIMINARY AND DOES NOT WORK.
It also needs some major cleanup and most plugins are not yet compiling. Going to need any help I can get here, but I'll be working on it.
2008-04-14 04:37:57 +00:00
Richard Goedeken
5f32c254fe Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
Richard Goedeken
cf8b8ca208 Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00