Commit graph

  • a1a993917a Added missing shader source files into VS2008 project (not needed for build, just for reference) Nik Henson 2012-01-16 22:15:59 +0000
  • b7242d27e8 Added CThread::Sleep && CThread::GetTicks methods Nik Henson 2012-01-16 22:07:17 +0000
  • 67036014f8 Fixed Unix Makefile to link okay on Ubuntu 11.10 (archive libraries needed to be referenced at end of linker options) Nik Henson 2012-01-02 17:37:34 +0000
  • 2ece814f43 Assigned new version number: 0.3a-WIP. Bart Trzynadlowski 2011-12-27 19:16:22 +0000
  • 532eafef55 Fixed a bug w/ Read16() -- was not casting to a pointer properly, caused Scud Race to crash. Bart Trzynadlowski 2011-12-26 07:15:32 +0000
  • bdf11c765f Preliminary backface culling fix. Matrices which effectively change the polygon winding without changing the Z component of the polygon normal are tested for when appending items to the display list. If necessary, the polygon winding is changed on the fly to ensure visibility is correct. This code desperately needs to be optimized. Note: Not yet thoroughly tested. Bart Trzynadlowski 2011-12-26 06:10:55 +0000
  • a71af94edb Fixed ROM banking -- appears to fix the sounds in Daytona 2 PE and VON2 but otherwise has not been extensively tested. The high 8MB of the 68K address is treated as a single window into the 16MB sample ROM, and can point either to the low or high 8MB bank. Bart Trzynadlowski 2011-12-23 21:06:45 +0000
  • 4c3d6e1abf Fixed a MAGIC_NUMBER comment typo. Bart Trzynadlowski 2011-12-23 21:03:24 +0000
  • 885d946458 Small bug fix Nik Henson 2011-12-23 19:34:50 +0000
  • 68554108ac Small tweak to improve startup time Nik Henson 2011-12-23 12:39:34 +0000
  • b9375bb09b Optimisations to improve performance when running with debugger. Now runs at about 2/3 speed of full speed of emulator, rather than 1/3 like before. Nik Henson 2011-12-23 12:01:31 +0000
  • 2e337459cd Added missing DirectX include and library paths to project Nik Henson 2011-11-06 12:11:25 +0000
  • 622046828c Added quotes around paths in post-build events to allow for spaces in directory names Nik Henson 2011-11-06 12:10:57 +0000
  • a6b31b72c1 Fixed incorrect ZLib paths Nik Henson 2011-11-05 21:08:49 +0000
  • 8f0e0edbb2 Updated comment in DIR.txt (again!) Nik Henson 2011-11-05 20:59:38 +0000
  • 4f7c0381ba Updated comment in DIR.txt. Nik Henson 2011-11-05 20:58:31 +0000
  • 4c26932322 Removed sub-directories of Libraries as are created when user unzips source archives, so might be confusing. Nik Henson 2011-11-05 20:55:56 +0000
  • 1451f8c81e Added DIR.txt to explain purpose of Libraries directories Nik Henson 2011-11-05 20:47:20 +0000
  • fc27908238 Added place holder directories for third-party libraries (eg ZLib and SDL) Nik Henson 2011-11-05 20:45:45 +0000
  • 663a7f919c Changes to Supermodel VS2008 solution to ensure it will now build completely from scratch: - added projects to build third-party libraries ZLib and SDL (expects source code to be present in Libraries directory) - moved Musashi68K into its own directory - tidied up some config options Nik Henson 2011-11-05 20:35:56 +0000
  • dfa77e9207 Added support for joystick sliders to input system. Added extra debugging output to calibration input detection routine (activated by pressing Shift). Nik Henson 2011-11-01 23:24:37 +0000
  • e431b79f57 Fixed small bug which meant wasn't correctly clearing SCSP structures on initialisation. Nik Henson 2011-11-01 23:16:36 +0000
  • a18c26025f Added separate Musashi68K project that compiles and runs m68kmake to build required Musashi68K file. Updated solution so that with above change it will now build Supermodel completely from scratch. Nik Henson 2011-11-01 23:13:26 +0000
  • e6fd2e2240 Added DirectInputConstForceLeftMax and DirectInputConstForceRightMax options to allow different force feedback strengths in each direction. DirectInputConstForceMax still works as before but these new options will override it for the given direction if they are specified. Nik Henson 2011-10-02 20:53:12 +0000
  • 46211fdcbd Fixed a comment in default ini file. Bart Trzynadlowski 2011-09-30 16:48:12 +0000
  • 0c4f93897f Force feedback fixes in DirectInputSystem.cpp: - Fixed bug which meant right constant force was not being capped to DI_EFFECTS_MAX - Made sure all values are being clamped to sensible ranges Nik Henson 2011-09-25 22:46:58 +0000
  • 06594a5170 Minor document update (for v0.2a -- the last one this time ;)) Bart Trzynadlowski 2011-09-24 22:45:40 +0000
  • 63a791df76 Documentation for v0.2a completed. Bart Trzynadlowski 2011-09-24 21:35:23 +0000
  • d2b381ce8b - Documentation updates. - Added fflush() to config dialog output where it was missing. Bart Trzynadlowski 2011-09-24 20:54:47 +0000
  • 7f97346fc9 - Tweaked some error messages and comments. Hopefully, this is the last update for v0.2a's code. - Documentation updates. Bart Trzynadlowski 2011-09-24 01:49:48 +0000
  • b6923aeb9b Added Visual Studio 2008 Project/Solution files as an alternative way to build Supermodel on Windows. Nik Henson 2011-09-23 22:25:36 +0000
  • 83067f076f - Only player 1 crosshair is shown by default now. - Tweaked Makefiles a bit. - More documentation updates. - Changed version string to 0.2a in preparation for the final release :) Bart Trzynadlowski 2011-09-23 07:18:40 +0000
  • 33f35effaf - Tweaked text in input configuration dialog. - Changed version string to 0.2a-RC3 because RC2 build was sent out to testers earlier. Bart Trzynadlowski 2011-09-22 18:15:29 +0000
  • 4527014e75 - Getting/setting MPEG playback position also includes the end offset. Hopefully will fix save states from crashing when reloaded sometimes in DSB1 and DSB2 games. Bart Trzynadlowski 2011-09-22 18:04:39 +0000
  • a1346b57f5 - Changed spelling of some messages in drive board code. - Added an extra blank line after info display in CModel3. - Cleaned up comments in Main.cpp. - More document updates. Fixed '-no-music'->'-no-dsb', 'EmulateMusic'->'EmulateDSB'. Bart Trzynadlowski 2011-09-22 17:28:49 +0000
  • 2a314041ad Commented out verbose/debug output in drive board code for release. Bart Trzynadlowski 2011-09-22 09:02:50 +0000
  • 08fe5bb91b More to-do notes for README.txt. Bart Trzynadlowski 2011-09-22 08:20:04 +0000
  • 813675de38 More updates to README.txt. Almost done. Bart Trzynadlowski 2011-09-22 08:12:22 +0000
  • d00b03f65b Force feedback no longer available as an option on non-Windows builds. Bart Trzynadlowski 2011-09-22 07:24:15 +0000
  • f69bdb91b8 - Updates to UNIX and OSX Makefiles. Bart Trzynadlowski 2011-09-22 07:14:23 +0000
  • 46bc52bb12 - Changed save state error messages slightly. - Wrapped rows that exceed 80 columns in Supermodel.ini. - Added some member and function comments to a few header files. - Changed version string to 0.2a-RC2 in anticipation of sending another release candidate build to testers. - Added GAME_INPUT_RALLY flag to dirtdvlsa, eca, and ecax. - Configuration dialog no longer refers to Sega Rally 2 and Dirt Devils; instead, "Miscellaneous Driving Game Buttons" - More additions to README.txt. Bart Trzynadlowski 2011-09-22 06:11:47 +0000
  • 206ef1aca4 Changes to get debugger classes to compile under Linux Nik Henson 2011-09-21 23:49:55 +0000
  • 232da52dd0 Changes to get debugger classes to compile under Linux Nik Henson 2011-09-21 23:48:33 +0000
  • eaa3bbf8b7 Changes to get debugger classes to compile under Linux Nik Henson 2011-09-21 23:47:11 +0000
  • 773c2ec9ad Fix to get InputSystem.cpp to compile under Linux again after updates today Nik Henson 2011-09-21 23:45:49 +0000
  • 55e6a843bb Added copyright headers to all debugger files and replaced C standard library headers with c++ versions Nik Henson 2011-09-21 22:53:41 +0000
  • cb2b8f9235 Tweaked header comment! Nik Henson 2011-09-21 22:32:16 +0000
  • dba953d1a0 Added copyright header to file Nik Henson 2011-09-21 22:31:27 +0000
  • b87f24cdf2 Removed DirectInputEffectsGain force feedback configuration parameter as it's not that useful as it's easier to adjust effects individually Nik Henson 2011-09-21 22:28:13 +0000
  • 0528a4f0c6 Changes to input system: - altered PrintSettings to output all settings for attached controls, even if no different to defaults - added option on calibration screen to detect an axis simply by moving the axis Nik Henson 2011-09-21 22:15:16 +0000
  • c0dc0b83b6 Changes to DirectInputSystem: - corrected axis identification code as was not enumerating axes properly in all cases - added fallback which just adds all axes if there is any hint of an irregularity whilst enumerating axes Nik Henson 2011-09-21 22:08:36 +0000
  • 71cef1aad0 Un-broke Windows Makefile. Bart Trzynadlowski 2011-09-21 19:14:04 +0000
  • 24f46e9f86 Updated UNIX Makefile, fixed some syntax errors. Bart Trzynadlowski 2011-09-21 19:12:50 +0000
  • a720bdad1c Minor updates to README.txt. Bart Trzynadlowski 2011-09-21 08:48:51 +0000
  • 473249d318 More work on README.txt. Bart Trzynadlowski 2011-09-19 10:00:16 +0000
  • ee471539c5 - Fixed newlines in logs. - Set default PowerPC frequency to 50 MHz. - Minor tweak to help text. - More README.txt updates. Bart Trzynadlowski 2011-09-19 03:56:15 +0000
  • c61c4d6ce1 Fixed mistake in previous commit! Nik Henson 2011-09-18 23:38:15 +0000
  • d80c7b97ad Added missing memory regions for DSB CPUs Nik Henson 2011-09-18 23:35:22 +0000
  • 46067d48d9 Updated Makefile with new debugger classes. Nik Henson 2011-09-18 22:51:05 +0000
  • f695ff7094 CModel3::StopThreads() now makes sures threads are paused before deleting thread objects. Nik Henson 2011-09-18 22:49:21 +0000
  • 5a0f038171 Changes to allow debugging of Musashi 68K core: - added methods to attach/debug debugger. - added instruction hook & callback to m68kconf.h and added hooks into CMusashi68KDebug to allow debugger to control execution. - added methods to allow reading/writing of 68K registers (for all registers and for a given context, rather than just current one). Nik Henson 2011-09-18 22:44:20 +0000
  • c155ae7503 Small cosmetic changes... Nik Henson 2011-09-18 22:31:42 +0000
  • 65536fd0fe Changes to allow debugging of Z80 core: - added methods to attach/detach debugger. - added hooks into CZ80Debug to allow debugger to control execution. - added methods to allow reading/writing of Z80 registers. Nik Henson 2011-09-18 22:21:14 +0000
  • 041e6659b3 Changes due to updates in debugger classes. Nik Henson 2011-09-18 22:13:20 +0000
  • 5f82fd79c3 Small bug fix in INIFile.cpp - was not parsing negative numbers. Nik Henson 2011-09-18 22:03:06 +0000
  • c8f4fbc901 Added includes for new debugger header files Musashi68KDebug.h & Z80Debug.h Nik Henson 2011-09-18 22:01:35 +0000
  • e8e02ba685 Changes to debugger classes: - updated debugger classes to compile again with all recent changes. - improved debugger classes to allow them to work in multi-threaded emulator and be able to handle CPUs on different threads. - added debug classes for new Z80 and Musashi 68K CPU cores. - added logging of cycle counts and frames. - moved all Supermodel specific code & configuration to CSupermodelDebugger. - added all Model 3 CPUs (PPC, sound board 68K, DSB 68K/Z80 and drive board Z80) to CSupermodelDebugger. - added persisting of custom entry points in saved debug state to CCodeAnalyser. - fixed bug with listing I/O ports in CConsoleDebugger and added displaying of cycle counts and CPU speeds when listing CPUs. Nik Henson 2011-09-18 21:59:23 +0000
  • b9430cd988 Changes to input system: - Joystick axis saturation values can now range from 1-200 rather than just 1-100. This lets the user make axis less sensitive, if required. - Added joystick axes calibration menus to -config-inputs. - Moved DirectInput & XInput feedback settings out of CDirectInputSystem and into COSDConfig (so that they can be configured per-game). - DirectInput mode now only grabs background access to keyboard, mice and joystick when configuring inputs, otherwise it only grabs foreground access. Other changes: - Main.cpp now ensures all Model3 threads are paused before shutting down. Nik Henson 2011-09-18 21:44:40 +0000
  • f0697dbc84 - Tweaked formatting of help message Bart Trzynadlowski 2011-09-17 23:42:42 +0000
  • 45603b5549 - Tweaked comments in Supermodel.ini - More work on README.txt - Tweaked some error/info messages. Bart Trzynadlowski 2011-09-17 23:41:12 +0000
  • 58954ee4cc Small updates: - added methods to CModel3 to access sound board and drive board - added methods to CSoundBoard to access 68K and DSB (if attached) - added methods to CDSB1 & CDSB2 to access Z80 & 68K respectively - small code tweak in DriveBoard.cpp - comment tweaks in Model3.h & Model3.cpp Nik Henson 2011-09-15 21:10:38 +0000
  • 1629cd711c - Updated README (far from finished). - Music volume cannot be changed if game has no DSB. - Extra hardware (DSB, drive board) is printed in information display when ROM is loaded. Bart Trzynadlowski 2011-09-15 07:13:19 +0000
  • 9ff9f3c28f Now always saves feedback effect configuration (this way, defaults do not have to be defined in multiple places). Bart Trzynadlowski 2011-09-14 23:29:04 +0000
  • ab719720c7 Renamed drive board ROMs to MAME's naming convention. Bart Trzynadlowski 2011-09-14 22:46:15 +0000
  • 8276a4452f -Updated copyright information in Makefiles. -Updated README.txt revision log. Bart Trzynadlowski 2011-09-14 19:09:23 +0000
  • 2f5bf43bda Updated copyright information and added headers to all remaining files except debugger. Bart Trzynadlowski 2011-09-14 19:08:43 +0000
  • 5bf4a6d52b - Added mutex for MIDI FIFO access to SCSP.cpp. Bart Trzynadlowski 2011-09-14 07:38:56 +0000
  • d200dff89e - Changed EmulateSCSP -> EmulateSound and -no-scsp -> -no-sound. - Changed gear shifting behavior: neutral gear has its own button now. - Removed SUPERMODEL_SOUND. - DirectInput is the default input system for Windows now. - Multi-threading is on by default, replaced -multi-threaded w/ -no-threads. - Made crosshairs larger and more visible. - Added Nik to co-author list and began updating file copyright notices. - Fixed Virtua Striker 2 input names (player 2 inputs end with the number 2 instead of 1). - Added documentation to a Docs/ subdirectory. - Exported all default input configurations to Supermodel.ini and added that to the repository. Internally, Supermodel initializes all controls to "NONE" now. Bart Trzynadlowski 2011-09-14 06:16:22 +0000
  • d34223ebd2 Improved way constant force and vibrate effects are combined to control left and right vibration motors under XInput Nik Henson 2011-09-13 22:50:50 +0000
  • f6af182467 Added comment Nik Henson 2011-09-13 22:46:21 +0000
  • ca8d838826 Added stopping of all force feedback effects on reset (just in case some were playing at that point) Nik Henson 2011-09-13 22:45:32 +0000
  • c10e839dc0 Added a scissor box to clip viewable area. Prevents garbage in the "overscan" areas due to renderer creating viewports that exceed intended display area. Bart Trzynadlowski 2011-09-13 06:30:42 +0000
  • fdedc60f84 Constant force commands for XInput devices fixed so that they will stop when 0 force is applied. Bart Trzynadlowski 2011-09-13 02:39:48 +0000
  • 02c0c32398 Fixed a possible INI file problem: unterminated strings will end at a newline now. Bart Trzynadlowski 2011-09-12 23:09:06 +0000
  • e223d388eb Driveboard changes: - added notification message if drive board is disabled when loading incompatible save state - removed some superflous print statements, but have kept in printing out of force feedback commands for now (which have also been made more visual) - made sure that feedback state is reset in SendStopAll() Nik Henson 2011-09-12 21:07:03 +0000
  • 75d446c272 Changes to Audio.cpp: - audio buffer is now kept as full as possible with new audio buffering method rather than just half full like before (this is okay now that buffer overruns have been eliminated) - altered minimum size of audio buffer so that audio still works with a zero latency setting (obviously there will still be some latency) Nik Henson 2011-09-12 21:03:16 +0000
  • b0bda2c356 Added note to command line options indicating that force feedback is experimental still Nik Henson 2011-09-12 20:08:50 +0000
  • dc368c1edd Added configuring of DirectInput and XInput force feedback parameters via config file Nik Henson 2011-09-12 20:05:58 +0000
  • 8dfb033034 Changed drive board logic slightly for stopping vibrate effect as wasn't always cancelling the effect in Daytona 2 Nik Henson 2011-09-12 19:55:53 +0000
  • e6f19c40ef Fixed 68K save state problem: pending interrupts were not being saved, sometimes causing the DSB2 to take an invalid interrupt (from the sound board 68K) after loading a save state. Save states are no longer compatible with previous revision. Bart Trzynadlowski 2011-09-12 18:14:49 +0000
  • cf73207c98 - Nik's new decoupled audio code with fixes to minimize overruns. - VBlank timing: increased to 20% of a frame. Bart Trzynadlowski 2011-09-12 05:43:37 +0000
  • 4c18925679 Fixed bug with loading/saving of state - it wasn't persisting the ram array properly Nik Henson 2011-09-11 18:55:13 +0000
  • 5b5d24293f Fixed bug which was crashing emulator when loading/saving state of games that do not use the drive board Nik Henson 2011-09-10 21:00:33 +0000
  • 0716285fc2 Fixed error reporting for -input-system option. Bart Trzynadlowski 2011-09-09 21:59:23 +0000
  • e724d0ec0b Fixed error message when multiple files detected on command line. Bart Trzynadlowski 2011-09-09 20:41:55 +0000
  • 0495421cbc DriveBoard changes: - fixed bug in SendConstantForce which was sending incorrect values at times - removed friction effect for now, until can determine its exact command seq - added checking of compatibility of saved state and temporary disabling of drive board if not compatible Nik Henson 2011-09-09 07:18:52 +0000
  • b76b43cc93 - Fixed drive board. Now determines whether it is attached and enabled in Reset(). Bart Trzynadlowski 2011-09-08 17:58:25 +0000
  • 11d1d61bc2 - Removed BOOL and replaced it with native C++ type, bool. - Removed TRUE and FALSE, changed to 'true' and 'false' keywords. Bart Trzynadlowski 2011-09-08 06:34:18 +0000
  • abd86a5624 - Cleaned up game names (primary sets no longer have revision labels in title). - Added volume controls to UI. - Renamed "Sega Rally Controls" to "Sega Rally/Dirt Devils Controls" (even though Dirt Devils has no hand brake). - Hooked up gear shifting and view change for Dirt Devils. - Removed debug printf()'s from DSB.cpp. - Removed debug printf() from Real3D.cpp. - Disabled assertions in SCSPDSP.cpp. - Converted all error messages in Amp library to Supermodel format. Bart Trzynadlowski 2011-09-08 05:08:16 +0000
  • 4040b7eeee Forgot to disable drive board if ROM not loaded. Bart Trzynadlowski 2011-09-08 01:13:25 +0000