Commit Graph

  • 2f2482e950 Minor null check fix. harry 2024-02-05 18:34:03 -05:00
  • 401110bae8 Added ppu interface functions to JS engine. harry 2024-02-05 18:29:25 -05:00
  • a5071f10f0 Implemented ROM JS interface object. harry 2024-02-05 06:43:27 -05:00
  • 61da515f11 Finished remaining JS interface functions for JS emu object. harry 2024-02-05 05:56:40 -05:00
  • 1fc813803e Added JS script monitoring thread to prevent bad scripts from hanging the gui. harry 2024-02-04 22:09:59 -05:00
  • 5495c7eddc Merge pull request #699 from TheRealQuantam/luafixes2 thor2016 2024-02-04 09:07:23 -05:00
  • 4fa0d0651a Added vsync timer logic to Qt OpenGL video driver. harry 2024-01-31 07:08:08 -05:00
  • 01358407fd For Qt GUI, changed onFrameFinished callback to only update video buffer. Don't do any input processing as this will mess up when running turbo mode. Added a draw timer to SDL video renderer to better align is scheduling with the next vsync. harry 2024-01-31 06:49:54 -05:00
  • d363d04dbb For Qt GUI, add video buffer mutex to ensure clean transfer between emulation and GUI threads. Use common FCEU::mutex wrapper for cleaner code. harry 2024-01-31 05:28:41 -05:00
  • cb0edc5a21 Merge pull request #695 from negativeExponent/mapper413 thor2016 2024-01-31 04:29:21 -05:00
  • f702b5b989 Retriggering checks TheRealQuantam 2024-01-30 14:25:06 -08:00
  • 19abb0b249 Fix for build break, QJSEngine::setObjectOwnership does not exist in Qt5. Only in version 6. harry 2024-01-30 06:50:40 -05:00
  • c56b234b85 Multiple Lua support fixes: - Do not crash when a Lua script calls rom.gethash when no ROM is loaded - Do NOT assume the error message from lua_pcall will always be in stack slot 1, as sometimes it won't be TheRealQuantam 2024-01-30 02:41:42 -08:00
  • c7330d4543 Revert bad fix for not terminating script on initial error TheRealQuantam 2024-01-30 01:41:13 -08:00
  • 6b96016047 JS scripting in work. harry 2024-01-29 23:17:15 -05:00
  • 813d4c0c4b Added nullptr check in the event QStyle factory fails. harry 2024-01-29 20:19:36 -05:00
  • 5ff4edbdad Multiple Lua support fixes: - Move call to info_onstop from FCEU_LuaStop to FCEU_LuaOnStop so it will always get called - Do NOT assume the error message from lua_pcall will always be in stack slot 1, as sometimes it won't be - After calling HandleCallbackError ensure L still exists before calling lua_settop TheRealQuantam 2024-01-28 19:01:49 -08:00
  • 5631e488f4 fix indents negative 2024-01-29 07:57:43 +08:00
  • a85f348e50 For Qt GUI, edit frame throttling logic when using turbo mode or really fast emulation speed to not be so wasteful when emulation is paused. Don't make sense to waste CPU resources spinning on nothing. Fixes #681. harry 2024-01-28 08:15:00 -05:00
  • c50c1d570c Change linear filter checkbox text to not include OpenGL. This function not specific to OpenGL and works for all supported video drivers. harry 2024-01-27 19:35:01 -05:00
  • b03c9c9c8b Removed const qualifiers to fix Qt build. Different versions of Qt QJSValue don't allow the call method to called from a const object. harry 2024-01-27 01:04:48 -05:00
  • fe0496a6cf Bug fix for issue in new LUA memory hook scheme where the callbacks get unregistered from the x6502 while still running. Fixes #693 harry 2024-01-27 00:39:23 -05:00
  • a02ae8d3e0 Added memory hooks to JS engine. harry 2024-01-26 22:57:54 -05:00
  • 4f604b7708 Merge pull request #690 from negativeExponent/fix_ntsc_clip thor2016 2024-01-26 22:04:15 -05:00
  • 23cf99afe5 Added source listing to gdb debug output. harry 2024-01-26 22:00:20 -05:00
  • 3e8978c2aa Added debug script to aid in getting crash callstacks from users. harry 2024-01-26 20:33:40 -05:00
  • 82a99060e5 Use macro and minor offset adjustment negative 2024-01-25 18:10:48 +08:00
  • 8e935a05a6 Clip Left/Right Sides option now taken into account when using NTSC scaler negative 2024-01-24 14:52:45 +08:00
  • 2fce5ffe74 Added memory access functions for JS script interface. harry 2024-01-19 16:54:56 -05:00
  • 7a0be296fa Added logic to realtime update js global variable viewer. harry 2024-01-17 07:14:10 -05:00
  • 1dde9e7e75 Minor fixes for JS global variable viewer. harry 2024-01-16 22:04:00 -05:00
  • dc2d3c26aa Added global JS property tree to allow exploring of engine data. harry 2024-01-16 21:48:13 -05:00
  • 9a9f9541d6 Build fix for systems without Qt QML installed. harry 2024-01-15 20:09:25 -05:00
  • 198cdafbf8 Qt JS script engine interface in work. harry 2024-01-15 14:17:13 -05:00
  • 8e7e5e8c05 Minor refactor of script memory hook interface so that both lua and js script can coexist nicely. Script engines now register themselves with the CPU module for their functions to be called. harry 2024-01-15 09:31:53 -05:00
  • f90a269386 Build fix for Qt6. harry 2024-01-15 05:57:24 -05:00
  • e51a748a05 Qt JS engine in work. harry 2024-01-15 05:34:13 -05:00
  • ecda95ed70 Qt JS engine in work. harry 2024-01-15 04:33:27 -05:00
  • 3436e221de For Qt GUI, added initial framework for use of the Qt built-in ECMAScript (javascript based) engine. This scripting capability will allow users to load their own custom UI windows (created using Qt Creator tool) in the GUI. This is intended to serve as a the Qt GUI's functional replacement for building GUI elements using IUP in LUA scripts. This is a work in progress. harry 2024-01-14 08:58:10 -05:00
  • d742620d72 Fix 128K CHR-ROM variants for VRC5 negative 2024-01-13 09:30:42 +08:00
  • aace08d0b6 Add mapper 413 support negative 2024-01-07 22:03:33 +08:00
  • 647c08e1e6 Add support for misc rom area negative 2024-01-07 21:59:25 +08:00
  • b53d087fca Changed Qt Win64 1px fullscreen window border to be a configuration option. Doesn't seem to be necessary for all users and maybe not at all anymore. We will see if the QOpenGLWidget issue resurfaces with this setting off. Fixes #514 harry 2023-12-12 21:27:55 -05:00
  • e806a5a25a Merge pull request #676 from negativeExponent/master Alexey Cluster 2023-12-09 22:46:54 +04:00
  • 1bd7e2f5b9 Fix handling of roms with prg size below 16K negative 2023-12-08 18:31:45 +08:00
  • 72b949efcd For Qt GUI, added hot keys for certain emulation speed presets. Presets are: 1/4x, 1/2x, Normal 1x, 2x, 4x, 8x, and 16x. These hot keys can be mapped to gamepads using advanced key bindings. harry 2023-11-30 21:09:52 -05:00
  • 8600679636 Comment out warning message about debug file not being able to be opened for reading. It is normal for the file to not exist so it seems silly to warn about not being able to open it. harry 2023-11-24 09:02:50 -05:00
  • 2909846446 Upgrade appveyor macos build environment to monterey. Also auto build macos app with Qt6. harry 2023-11-17 21:57:16 -05:00
  • 5a5faa7372 More mapper 45 fixes Alexey 'Cluster' Avdyukhin 2023-10-26 23:33:49 +04:00
  • 764e1ebd76 Mapper 45 fixes Alexey 'Cluster' Avdyukhin 2023-10-26 23:19:38 +04:00
  • 33aca22af2 Issue #654 fix Alexey 'Cluster' Avdyukhin 2023-10-02 23:38:44 +04:00
  • e0138e5bfd Mapper 134 fix Alexey 'Cluster' Avdyukhin 2023-10-02 22:57:04 +04:00
  • 1ffa4d7f0c Mapper 134 CHR and PRG masks Alexey 'Cluster' Avdyukhin 2023-10-02 22:42:48 +04:00
  • d2ee6351c0 Added feature macro __FCEU_X86_TSC_ENABLE to enable usage of the X86 TSC. harry 2023-09-07 19:12:44 -04:00
  • 396096223e fix build errors from rdtsc (fixes #663) zeromus 2023-09-07 18:56:48 -04:00
  • d86c81e26e Fixed memory leak bug where FCEU_LoadGameSave and FCEU_SaveGameSave functions were not closing out their file handles. harry 2023-08-30 17:47:16 -04:00
  • 5252188010 Updated web pages and download links for 2.6.6 release. harry 2023-08-28 06:56:26 -04:00
  • 34eb7601c4 Fixed pkgconfig libarchive path for MacOSX build. v2.6.6 harry 2023-08-26 13:04:21 -04:00
  • 79147dd9e7 Updated help docs for upcoming 2.6.6 release. harry 2023-08-24 21:26:26 -04:00
  • 3981ffc8a2 Merge pull request #655 from negativeExponent/patch-2 Alexey 'Cluster' Avdyukhin 2023-08-22 23:21:14 +04:00
  • 35218bd313 Added initial web press release notes for version 2.6.6 harry 2023-08-19 21:32:21 -04:00
  • 1adbb9c91b Fix for windows appveyor pipeline. Use strawberry perl to run build script. harry 2023-07-17 21:45:01 -04:00
  • 4c28daf4a8 Write instructions now update the databus 100thCoin 2023-07-13 20:04:32 -04:00
  • dda4443ae9 Minor tscValid function correction. harry 2023-06-26 22:40:49 -04:00
  • 3f1e080672 Fix PRG in 32K bank mode negativeExponent 2023-06-27 09:03:46 +08:00
  • 99bb679ac5 Integrated suggested changes for issue #649 harry 2023-06-18 18:11:03 -04:00
  • 530fec6aff Cleanup a few hard coded constants in timeStamp.h harry 2023-05-28 11:14:01 -04:00
  • 43cd7ef60a Updated Qt driver FCEUD_GetTime and FCEUD_GetTimeFreq functions to allow for a higher timing resolution. harry 2023-05-21 18:41:24 -04:00
  • 70aa850c15 Build fix for win64 Qt GUI. harry 2023-05-21 16:56:52 -04:00
  • 1a3170fd68 Changed Qt GUI frame throttling to use new time stamp record for computing timing. This fixes an issue where frame timing starts to lose precision when application time gets to float large values by performing calcultions using integer math harry 2023-05-21 16:44:20 -04:00
  • 6fb899e9a1 Another win32 build fix. harry 2023-05-19 22:37:13 -04:00
  • 2d896c10bc Build fix for win32. harry 2023-05-19 22:35:22 -04:00
  • e597f6a4a3 Moved time stamp functions to its own file. Use new common time stamp functions in Qt GUI timing. harry 2023-05-19 22:31:01 -04:00
  • a20f6f559b Compiler warning fix for potential uninitialized var. harry 2023-05-15 21:29:42 -04:00
  • be38e34a06 For Qt GUI, added code to save/restore window geometry for ROM selection from archive dialog. harry 2023-05-15 21:11:19 -04:00
  • 584593816f Remove debug symbol save call from load symbols function so that live file edits are not overwriten. Added a save debug symbols debugger menu action so that this can be explicitly performed. Fixes issue #642. harry 2023-05-15 20:42:17 -04:00
  • 7573f1b7dc Added profiler per thread logging. harry 2023-05-13 20:26:56 -04:00
  • 58b87387eb Cleanup of Qt GUI video driver viewport loading/unloading. Use QObject::deleteLater for a cleaner shutdown of a viewport. harry 2023-05-11 08:05:14 -04:00
  • 52c53dfe5b Removed commented out code Qt GUI video interface code. harry 2023-05-10 21:30:27 -04:00
  • b125d48db5 For Qt GUI add code that forces video alpha bits to 255 for all pixels. Some video drivers aren't ignoring the alpha bits as they should so make sure they as always set to be safe. harry 2023-05-10 20:58:19 -04:00
  • 3208c01b38 Hooked up bi-linear filter for new QPainter video driver. harry 2023-05-10 00:25:07 -04:00
  • 13b52f5c8e A few corrections to the QPainter Video driver. harry 2023-05-09 23:01:53 -04:00
  • 3d6cf7a730 Added a third video driver option for Qt GUI that uses a QPainter object to render QImages to the viewport. Consolidated video driver interface into a base class so generic object pointer can be used throughout the code to control the viewport. harry 2023-05-09 22:57:05 -04:00
  • a9f4176f2b Minor profiler update harry 2023-05-09 22:53:40 -04:00
  • d0d822447d Preparing to merge debug profiler in to main dev line. harry 2023-05-09 18:28:49 -04:00
  • 157b8531a2 Added TSC timing to suppliment lower resolution time measurements. harry 2023-05-09 08:26:28 -04:00
  • 9a0578dba9 Merge branch 'master' of github.com:TASEmulators/fceux harry 2023-05-09 05:59:32 -04:00
  • 3d1062c9fe Removed debug code from mapper 342 Alexey 'Cluster' Avdyukhin 2023-05-08 19:42:58 +04:00
  • 5847c0c364 Initial add of execution profiling debug code. This code is only included in the build if the __FCEU_PROFILER_ENABLE__ macro is set. harry 2023-05-08 07:50:26 -04:00
  • 62b72b6141 Minor comments fixes Alexey 'Cluster' Avdyukhin 2023-05-08 15:17:53 +04:00
  • e95e1d1095 Mapper 342 fixes Alexey 'Cluster' Avdyukhin 2023-05-08 13:46:43 +04:00
  • f660f132af Added GNU profiler instrumentation build option to Qt GUI. harry 2023-05-07 07:37:48 -04:00
  • 94f2696a83 Merge pull request #626 from bbbradsmith/ppu_internal_memory_init thor2016 2023-05-04 20:58:47 -04:00
  • 2265f3effe Merge pull request #643 from fmahnke/mem-reg-read thor2016 2023-05-04 20:55:07 -04:00
  • 150372eeca Remove some code that was ported to FCEUX from gens, but isn't used. Fritz Mahnke 2023-04-22 22:16:06 -07:00
  • 17e04a9b74 Implement LUA function memory.registerread. Fritz Mahnke 2023-04-22 17:49:13 -04:00
  • f8b8e93eaf Mapper 342 memory optimization Alexey 'Cluster' Avdyukhin 2023-05-02 14:35:08 +04:00
  • 201cb50d89 Updated README and macOSX build from source instructions to include optional dependency libarchive. harry 2023-04-30 09:16:59 -04:00
  • 8b37ad91e5 Commit 8857f99d rollback Alexey 'Cluster' Avdyukhin 2023-04-28 17:33:05 +04:00
  • d72d9daebb Merge branch 'master' of github.com:TASEmulators/fceux Alexey 'Cluster' Avdyukhin 2023-04-28 15:02:22 +04:00