Commit graph

495 commits

Author SHA1 Message Date
Nik Henson 8e2e8adeb3 Changes to debugger classes:
- fixed step-out to work properly
- added ability to enable/disable debugging of individual CPUs
Changes to console-based debugger:
- tidied up syntax and split some commands out to make easier to use
- implemented missing commands (loademustate, saveemustate, resetemu, configinput, configallinputs, help)
- added new commands (nextframe, enablecpu, disablecpu, removeallcomments)
- added ability to redirect command output to a file
2011-06-28 23:20:19 +00:00
Nik Henson 0153a02b19 Added version of ConfigInputs that doesn't take display dimensions 2011-06-28 23:16:40 +00:00
Nik Henson 9416f9c521 New debugger classes - implementations for ppc and Turbo68K CPU cores 2011-06-28 00:29:20 +00:00
Nik Henson 7ea5d31b6c Added ENABLE_DEBUGGER option to include built-in console-based debugger in emulator 2011-06-28 00:27:16 +00:00
Nik Henson 8a9924b884 Changes for new built-in console-based debugger (only compiled in if SUPERMODEL_DEBUGGER defined):
- added code to create debugger object and attach it to system,
 - added new command lines options -enter-debugger and -disable-debugger,
 - added new UI input to halt execution and enter debugger (default Alt+B),
 - added new CLogger class to route all output via debugger if required.
2011-06-27 23:44:51 +00:00
Nik Henson 036c371592 Added headers for new debugger classes 2011-06-27 23:22:50 +00:00
Nik Henson 2465354ef6 New CLogger class that handles logging from Supermodel. Added so that log messages can be routed through debugger if required, rather than printed to console. 2011-06-27 23:21:43 +00:00
Nik Henson aa0c598a4c Added hooks into debugger classes 2011-06-27 23:19:22 +00:00
Nik Henson 46944e8c96 Added option to call user supplied debug function before every instruction 2011-06-27 23:10:51 +00:00
Nik Henson 809892c69c Added check for error that occurs when calling CoInitialize from a managed context 2011-06-27 23:06:08 +00:00
Nik Henson 7f53bd4816 Added new UI input to break execution and enter debugger (default mapping Alt+B) 2011-06-27 23:04:34 +00:00
Nik Henson efefc65ecf Removed couple of debugger commands that not yet working 2011-06-27 23:01:15 +00:00
Nik Henson eddc1df03a New debugger classes 2011-06-27 22:55:03 +00:00
Nik Henson 187f0016fb Fixed small bug with formatting in DecodeSigned16 2011-06-27 19:53:24 +00:00
Nik Henson 2800f86935 Small change to allow Supermodel to compile under Linux 2011-06-22 20:46:53 +00:00
Nik Henson 2e14ec3e6e Small code tidy up (moved some code out of header file into cpp file where it belongs) 2011-06-22 20:18:40 +00:00
Nik Henson 9297c5b8d2 Modified Windows Makefile to fix conditional compiling and also to allow building of 64-bit version of emulator. 2011-06-22 13:08:25 +00:00
Nik Henson e8782b98fa Changes relating to input system:
- Added ability to configure axis min, centre and max values in INI file.  This allows some types of steering wheel pedals that use an inverted value range to work properly with the emulator.
 - Modified CINIFile to read and write signed numbers (needed for above change).
 - Added check at configuration start for "bad" input sources such as axes that are wrongly calibrated or buttons that are always triggering a value.  Otherwise they cause the configuration loop to wait indefinitely for the axis or button to be released.
 - Removed superfluous check for XInput devices when XInput is not enabled in CDirectInputSystem.
 - Improved force beedback code in CDirectInputSystem and also added the extra feedback effects needed so far for drive board emulation.
2011-06-22 13:06:52 +00:00
Nik Henson 5e247021be Changes relating to input system:
- Fixed bug with mapping of multiple assignments.
- Added new ! operator for input mappings, which lets the user specify that an input must not be active.
- Added option to print info about input system (such as settings and detected keyboards, mice and joysticks) during input configuration.
- Added new trigger input for lightgun games with a configurable option to automatically pull trigger when offscreen input is activated (this makes playing with the mouse easier as the gun can be reloaded with single mouse button, rather than having to press both
 buttons at the same time).
- Added -xinput command line option that switches to using XInput API rather than DirectInput for XBox 360 controllers (this allows the XBox 360 controller's two triggers to be read independently which works better for driving games when they are mapped to accele
rator and brake).
- Added initial version of force feedback implementation to DirectInputSystem (this still needs work).
2011-06-05 20:53:39 +00:00
Bart Trzynadlowski c69067e0be Importing Makefiles (which are currently somewhat broken). 2011-04-24 01:21:48 +00:00
Bart Trzynadlowski 783446fca2 Fixing import mistake: moving source code to trunk/Src. 2011-04-24 01:19:40 +00:00
Bart Trzynadlowski 636a898698 Fixing import mistake: moving source code to trunk/Src. 2011-04-24 01:17:34 +00:00
Bart Trzynadlowski 77cb1b8a76 Initial import of new Supermodel code. 2011-04-24 01:14:00 +00:00
Bart Trzynadlowski 1848a427ec Original Supermodel code moved to tags/Original. 2011-04-24 01:06:44 +00:00
Bart Trzynadlowski a390d45c77 Original Supermodel code moved to tags/Original. 2011-04-24 01:04:56 +00:00
Bart Trzynadlowski 7260a4d953 Original Supermodel code moved to tags/Original. 2011-04-24 01:04:28 +00:00
Bart Trzynadlowski 858aaa3f54 Original Supermodel code moved to tags/Original. 2011-04-24 01:03:37 +00:00
Bart Trzynadlowski cfff37f170 Original Supermodel code moved to tags/Original. 2011-04-24 01:02:31 +00:00
Bart Trzynadlowski ac14fc95e4 Original Supermodel code moved to tags/Original. 2011-04-24 00:57:43 +00:00
Bart Trzynadlowski 41c73d6806 Original Supermodel code moved to tags/Original. 2011-04-24 00:56:32 +00:00
Bart Trzynadlowski 0dd3d9eaac Original Supermodel code moved to tags/Original. 2011-04-24 00:56:08 +00:00
Bart Trzynadlowski 187c62d3b1 Original Supermodel code moved to tags/Original. 2011-04-24 00:55:39 +00:00
Ville Linde 74d1cec9b8 2006-08-06 01:15:52 +00:00
Ville Linde a90668f4b6 2006-08-06 01:15:06 +00:00
Ville Linde 6be3d81e7b 2006-08-02 19:46:50 +00:00
Ville Linde d1cad8cd68 2006-07-18 01:02:45 +00:00
Ville Linde ae99e68715 2006-07-17 13:21:55 +00:00
Ville Linde 3647f61213 2006-07-17 13:17:50 +00:00
Ville Linde 57e8694a3f Fixed VF3 and Scud Race 2006-07-17 11:17:01 +00:00
Ville Linde c144b3a961 2006-07-14 16:06:49 +00:00
Ville Linde 7af5561c48 2006-07-12 19:11:46 +00:00
Ville Linde 83f2c2259c 2006-07-12 18:56:25 +00:00
Ville Linde b4f2c7d9fe 2006-07-12 16:18:04 +00:00
Ville Linde a1c9f6cf92 2006-07-12 13:53:14 +00:00
Ville Linde 9788eb4750 2006-07-12 13:51:25 +00:00