Commit Graph

6192 Commits

Author SHA1 Message Date
TheRealQuantam 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
2024-01-28 19:01:49 -08:00
negative 5631e488f4
fix indents 2024-01-29 07:57:43 +08:00
harry 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. 2024-01-28 08:15:00 -05:00
harry c50c1d570c Change linear filter checkbox text to not include OpenGL. This function not specific to OpenGL and works for all supported video drivers. 2024-01-27 19:35:01 -05:00
harry 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. 2024-01-27 01:04:48 -05:00
harry fe0496a6cf Bug fix for issue in new LUA memory hook scheme where the callbacks get unregistered from the x6502 while still running. Fixes #693 2024-01-27 00:39:23 -05:00
harry a02ae8d3e0 Added memory hooks to JS engine. 2024-01-26 22:57:54 -05:00
thor2016 4f604b7708
Merge pull request #690 from negativeExponent/fix_ntsc_clip
Clip Left/Right Sides option now taken into account when using NTSC s…
2024-01-26 22:04:15 -05:00
harry 23cf99afe5 Added source listing to gdb debug output. 2024-01-26 22:00:20 -05:00
harry 3e8978c2aa Added debug script to aid in getting crash callstacks from users. 2024-01-26 20:33:40 -05:00
negative 82a99060e5
Use macro and minor offset adjustment 2024-01-25 18:10:48 +08:00
negative 8e935a05a6
Clip Left/Right Sides option now taken into account when using NTSC scaler 2024-01-24 14:52:45 +08:00
harry 2fce5ffe74 Added memory access functions for JS script interface. 2024-01-19 16:54:56 -05:00
harry 7a0be296fa Added logic to realtime update js global variable viewer. 2024-01-17 07:14:10 -05:00
harry 1dde9e7e75 Minor fixes for JS global variable viewer. 2024-01-16 22:04:00 -05:00
harry dc2d3c26aa Added global JS property tree to allow exploring of engine data. 2024-01-16 21:48:13 -05:00
harry 9a9f9541d6 Build fix for systems without Qt QML installed. 2024-01-15 20:09:25 -05:00
harry 198cdafbf8 Qt JS script engine interface in work. 2024-01-15 14:17:13 -05:00
harry 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. 2024-01-15 09:31:53 -05:00
harry f90a269386 Build fix for Qt6. 2024-01-15 05:57:24 -05:00
harry e51a748a05 Qt JS engine in work. 2024-01-15 05:34:13 -05:00
harry ecda95ed70 Qt JS engine in work. 2024-01-15 04:33:27 -05:00
harry 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. 2024-01-14 08:58:10 -05:00
negative d742620d72
Fix 128K CHR-ROM variants for VRC5 2024-01-13 09:30:42 +08:00
negative aace08d0b6
Add mapper 413 support 2024-01-07 22:03:33 +08:00
negative 647c08e1e6
Add support for misc rom area 2024-01-07 21:59:25 +08:00
harry 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 2023-12-12 21:27:55 -05:00
Alexey Cluster e806a5a25a
Merge pull request #676 from negativeExponent/master
Fix handling of roms with  prg size below 16K
2023-12-09 22:46:54 +04:00
negative 1bd7e2f5b9
Fix handling of roms with prg size below 16K
Fix https://github.com/TASEmulators/fceux/issues/675
2023-12-08 18:39:15 +08:00
harry 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. 2023-11-30 21:09:52 -05:00
harry 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. 2023-11-24 09:02:50 -05:00
harry 2909846446 Upgrade appveyor macos build environment to monterey. Also auto build macos app with Qt6. 2023-11-17 21:57:16 -05:00
Alexey 'Cluster' Avdyukhin 5a5faa7372 More mapper 45 fixes 2023-10-26 23:33:49 +04:00
Alexey 'Cluster' Avdyukhin 764e1ebd76 Mapper 45 fixes 2023-10-26 23:19:38 +04:00
Alexey 'Cluster' Avdyukhin 33aca22af2 Issue #654 fix 2023-10-02 23:38:44 +04:00
Alexey 'Cluster' Avdyukhin e0138e5bfd Mapper 134 fix 2023-10-02 22:57:04 +04:00
Alexey 'Cluster' Avdyukhin 1ffa4d7f0c Mapper 134 CHR and PRG masks 2023-10-02 22:42:48 +04:00
harry d2ee6351c0 Added feature macro __FCEU_X86_TSC_ENABLE to enable usage of the X86 TSC. 2023-09-07 19:12:44 -04:00
zeromus 396096223e fix build errors from rdtsc (fixes #663) 2023-09-07 18:56:48 -04:00
harry d86c81e26e Fixed memory leak bug where FCEU_LoadGameSave and FCEU_SaveGameSave functions were not closing out their file handles. 2023-08-30 17:47:16 -04:00
harry 5252188010 Updated web pages and download links for 2.6.6 release. 2023-08-28 06:56:26 -04:00
harry 34eb7601c4 Fixed pkgconfig libarchive path for MacOSX build. 2023-08-26 13:04:21 -04:00
harry 79147dd9e7 Updated help docs for upcoming 2.6.6 release. 2023-08-24 21:26:26 -04:00
Alexey 'Cluster' Avdyukhin 3981ffc8a2
Merge pull request #655 from negativeExponent/patch-2
MMC5: Fix PRG in 32K bank switching
2023-08-22 23:21:14 +04:00
harry 35218bd313 Added initial web press release notes for version 2.6.6 2023-08-19 21:32:21 -04:00
harry 1adbb9c91b Fix for windows appveyor pipeline. Use strawberry perl to run build script. 2023-07-17 21:45:01 -04:00
100thCoin 4c28daf4a8 Write instructions now update the databus
This corrects open bus execution following write instructions.
2023-07-14 14:28:21 -07:00
harry dda4443ae9 Minor tscValid function correction. 2023-06-26 22:40:49 -04:00
negativeExponent 3f1e080672
Fix PRG in 32K bank mode
PRG register $5117 value is used for the entire $8000-$FFFF CPU range in 32K mode.

See https://www.nesdev.org/wiki/MMC5#PRG_mode_($5100) in PRG bankswitching
2023-06-27 09:03:46 +08:00
harry 99bb679ac5 Integrated suggested changes for issue #649 2023-06-18 18:11:03 -04:00