Jesse Dean
895a9d3d48
Rewrite of debugger memory breakpoint trap. Memory breakpoints are now
...
trapped by functions injected into the memory function tables.
New setup should be MUCH faster, and more flexible
2008-12-22 04:54:03 +00:00
Jesse Dean
a6860ca17b
Correct debugger handling of delay slots, breakpoints on those slots now work,
...
and the order is cyple-by-cyle. Also removed seperate version string for
debugger, fixed the appearance of the disassembler including the quality of
disassembled opcodes. Allow frontend to close program even if execution is in
step mode. Added ZZT32 as contributor to decoder.c and cleaned up a lot of
the garbage dumped to stdout & stderr.
2008-12-16 06:28:15 +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
Jesse Dean
edc7158e84
Added recomph.h to includes fixed implicit fucntion declaration warnings
...
in recomp.c
2008-09-25 22:41:12 +00:00
Scott Knauert
96b12bf090
Minor bug fixes to allow for compiling with -Wall. NOTE: there appears to be some header missing with the 32-bit dynarec as currently -Wall gives many implict warnings for r4300/recomp.c. This is primarily why I did not attempt to enable -Wall in pre.mk.
2008-09-25 21:52:01 +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
8112736d57
reverted unfinished work accidentally committed in last rev
2008-09-04 12:29:32 +00:00
Richard Goedeken
59b67c69de
fixed makefile breakage introduced in rev 1000
2008-09-04 12:26:29 +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
Scott Knauert
0cc9a0b087
Fixed makefile issue for mupen64plus, removed warning on non wn32 systems.
2008-09-03 00:16:22 +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
10709ef7c6
Fix up various things that broke in the merge.
2008-09-01 14:55:44 +00:00
Louai Al-Khanji
75f324cfc6
Merge win32 branch
2008-09-01 12:44:16 +00:00
Scott Knauert
bc2476ede2
Removed defunct and unlicensed VCR functions, and language files. FSF address fixes.
2008-08-19 04:28:04 +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
Scott Knauert
8f8b089899
Add OSX malloc.patch to trunk as <malloc.h> is non standard and there is no reason not to #include <stdlib.h> instead. In the process did some minor janitorial work on Gtk GUI, cleaning up extra #includes no longer needed (mainly non-RCS rom cache), gui_messages of messagetype = 1 would never occur, and gcc found a bug in filefrompath().
2008-07-26 10:04: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
145e2309ea
bugfix: 64-bit problem causing GUI crashes - gotta save/restore all the callee-saved registers around the dynarec
2008-07-17 02:56:25 +00:00
Richard Goedeken
96556138a8
merged in r4300 reset/execute cleanup from r0344-soft-reset branch
2008-07-13 02:54:50 +00:00
Richard Goedeken
94636b2165
Fixed 64-bit dynarec crash in genj_idle() and genjal_idle()
2008-07-06 04:40:23 +00:00
Scott Knauert
b2c2462587
Integrated 2 icons out of 4 icons into theme which I missed, deleted 2 extra unused icons. We now actually make use of the config integration with MainWindowWidth/Height. Many Gtk GUI statusbar improvements. Implemented a unified console/GUI/OSB main_message function as per Richards suggestions. This is a little rough, I'd like suggestions to improve it and include the confirm message code.
2008-06-23 05:32:45 +00:00
Richard Goedeken
9eebbdb55b
Rom Cache System has landed in the trunk.
2008-06-19 04:29:35 +00:00
Richard Goedeken
38e92c3a76
Merged r0286-debugger branch into trunk
2008-06-06 18:25:59 +00:00
Richard Goedeken
44738c78b2
Removed NoAudioDelay core option to resolve issue #48 . The Mupen64 v0.5 readme.pdf states that this option is not needed for Mupen64 v0.5, so I believe that it is unnecessary and can be removed
2008-06-03 03:43:00 +00:00
Richard Goedeken
85b700e9cb
Moved osd.cpp from main/ into opengl/, moved screenshot code from main.c into opengl/screenshot.cpp, refactored screenshot mechanism to grab screenshots without the OSD overlay
2008-05-18 20:54:10 +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
Richard Goedeken
12842f44b8
New feature: On Screen Display. Merged branch r0261-OSD-ebenblues up until rev 450 into trunk
2008-05-16 04:46:48 +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
94df76d563
Testing SVN changes to ignore whitespace and deleted files in email diffs
2008-05-01 13:31:17 +00:00
Richard Goedeken
149494a7a4
Cleaned up white space and dead code in interupt.c
2008-05-01 13:22:14 +00:00
Richard Goedeken
47623cc7e6
reverted changes in 287 because debugger has a branch
2008-04-23 12:29:16 +00:00
Jesse Dean
e2fb5b7dd2
Initial cleanup of debugger & gtk gui code to allow use of DBG=1 flag. Code now compiles, and debugger shows up,
...
although at this time it does little else, and does prevent emulation from running properly. --Jes
2008-04-23 11:25:24 +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
5d42cd6e7d
Removed register dump at r4300 termination; it's not needed
2008-04-13 17:06:14 +00:00
James Hood
5f40aa84cc
-major cleanup of the cheat code.
...
-Changed name of cheat config file to cheats.cfg. File is now read in on startup and written out on exit.
-Changed cheat config file format to the following:
{Some Game's CRC}
name=Some Game
[Cheat Name 1]
enabled=1
XXXXXXXX YYYY <-- cheat code (address, new value)
XXXXXXXX YYYY
XXXXXXXX YYYY
[Cheat Name 2]
enabled=0
XXXXXXXX YYYY
XXXXXXXX YYYY
XXXXXXXX YYYY
{Another Game's CRC}
name=Another Game
...
Here's the cheats.cfg I used for testing:
{635a2bff 8b022326}
name=SUPER MARIO 64
[Super Mega Jumps]
enabled=1
8133b176 0008
[Jesus Mode Mario]
enabled=1
81381764 0800
81381766 0024
81000090 3c04
81000092 8034
81000094 8484
81000096 b1e6
81000098 4484
8100009a 3000
810000a0 4680
810000a2 3120
810000a4 4604
810000a6 903c
810000ac 4500
810000ae 0002
810000b4 4600
810000b6 2486
810000b8 080e
810000ba 05db
810000bc e712
2008-04-09 06:59:41 +00:00
Richard Goedeken
7faa48b4ba
Removed tabs from interupt.c
2008-04-08 15:52:37 +00:00
Scott Gorman
66799c770a
gameshark functionality.
2008-04-08 07:02:37 +00:00
Richard Goedeken
02cb12172b
Added NO_ASM makefile parameter to compile mupen64plus with no dynarec or mmx/sse code. This is useful for building on non-intel architectures like PPC or Sparc. glide64 and rice video will probably not work
2008-04-07 03:14:17 +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
83c354233e
Removed PPC dynarec stub functions; I want to do this a different way to support more linux architectures than just PPC by totally detaching the dynarec. Nobody's going to be merging a PPC dynarec anytime soon anyway
2008-04-03 03:14:03 +00:00
John Chadwick
714e0038d6
- Stub PPC dynarec
2008-04-03 01:31:27 +00:00
John Chadwick
e878a013b0
- Re-add dynarec... Strange SVN problem destroyed it instead of creating a new stub.
2008-04-03 01:30:40 +00:00
John Chadwick
b864c5aae2
- Stub PPC's dynarec
2008-04-03 00:58:00 +00:00
James Hood
74a6a52a02
-Fixed LIRC support (it was broken during gui/nogui merge).
...
-Separated LIRC functions into new lirc.c file so they can be used in gui or nogui build.
-Added pause/continue functionality to LIRC.
-Made it so LIRC commands work while emulation is paused.
-Added wiki page on how to setup LIRC for Mupen64Plus.
-Fixed minor bug with g_EmulationRunning (it was being set to 1 during stopEmulation).
2008-03-25 05:40:42 +00:00
Richard Goedeken
cf8b8ca208
Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254
2008-03-15 14:33:00 +00:00