Commit Graph

5787 Commits

Author SHA1 Message Date
Christian Speckner 5a3ec4a8bc Stub vcslib. 2024-07-25 23:10:05 +02:00
Christian Speckner 9e1c416f5d Fix data segment mapping. 2024-07-24 23:26:56 +02:00
Christian Speckner 87f5c91c8f Start hooking up ARM: memory map. 2024-07-24 23:17:17 +02:00
Christian Speckner cbe3fb3308 Seems addend is calculated differently. 2024-07-23 23:10:28 +02:00
Christian Speckner 33a83c42a4 Write out elf image for debugging. 2024-07-23 22:28:34 +02:00
Christian Speckner a3cd0625c5 Finish (untested) cortex M0. 2024-07-23 22:00:17 +02:00
Stephen Anthony 48728e532e Fix Xcode build issues. 2024-07-23 12:50:46 -02:30
Christian Speckner 061b0124a4 Start to adapt thumbulator. 2024-07-21 22:23:26 +02:00
Christian Speckner 1e4ab23283 Finalize linker tests. 2024-07-18 22:39:07 +02:00
Christian Speckner 367bdeb56f More relocation tests. 2024-07-15 22:50:23 +02:00
Christian Speckner d68850d466 Tests for jump / call relocation. 2024-07-15 22:27:30 +02:00
Stephen Anthony 1e964828b4 Fix some warnings/suggestions from clang-tidy.
@DirtyHairy, hope you don't mind.
2024-07-15 13:21:26 -02:30
Christian Speckner 3f5c331024 More tests. 2024-07-14 20:28:40 +02:00
Christian Speckner 92d5478e02 More linker tests. 2024-07-14 11:22:30 +02:00
Christian Speckner 428d36943e Fix test setup, first slab of linker tests. 2024-07-13 23:30:21 +02:00
Christian Speckner 4d722c4622 Refactor to prepare for unit tests. 2024-07-13 22:05:02 +02:00
Christian Speckner 0978806ae4 Typo. 2024-07-13 21:50:45 +02:00
Christian Speckner 21c80981cd Introduce a separate segment for rodata. 2024-07-13 21:43:57 +02:00
Christian Speckner e8cbfabb79 cs 2024-07-13 20:44:02 +02:00
Christian Speckner 885c404f20 Wording. 2024-07-12 23:33:57 +02:00
Christian Speckner 9c1231bd61 Refactoring. 2024-07-12 23:23:27 +02:00
Christian Speckner dfdcddbf2e Init an preinit arrays. 2024-07-12 23:05:11 +02:00
Christian Speckner c407fedcd2 Refactoring, fixes, lookup tables. 2024-07-12 21:52:18 +02:00
Christian Speckner 0584a25eae Fixes + stubs. 2024-07-11 23:19:06 +02:00
Christian Speckner 69c916d2a8 BL / B.W encoding tests 6 fixes. 2024-07-11 23:19:06 +02:00
Christian Speckner 4f4f4d5a0d Formatting. 2024-07-11 23:19:06 +02:00
Stephen Anthony bfaeea96f6 Fix build and warnings for Xcode project. 2024-07-11 13:16:38 -02:30
Christian Speckner b7e3de0423 Logging. 2024-07-11 00:57:34 +02:00
Christian Speckner 2fff5ec118 Pull in gtest for unit tests. 2024-07-11 00:57:16 +02:00
Christian Speckner a606d294a4 Refactoring, fix external function pointers. 2024-07-10 08:35:47 +02:00
Christian Speckner 5a7a72c745 Logging. 2024-07-10 08:28:45 +02:00
Christian Speckner 135349ed6b Woefully untested ELF linker. 2024-07-09 20:11:35 +02:00
Christian Speckner 4c44735f40 More cleanup. 2024-07-07 13:20:10 +02:00
Christian Speckner c581fd7be3 Refactoring. 2024-07-07 09:34:17 +02:00
Christian Speckner 7386424ccc Cleanup. 2024-07-07 09:25:37 +02:00
Christian Speckner dce21239b6 Fixes, load and parse relocations. 2024-07-05 23:57:12 +02:00
Christian Speckner 5fd00ec763 Include info in section. 2024-07-05 23:00:33 +02:00
Christian Speckner 9cc43a80e5 Style, paranoia. 2024-07-05 22:57:24 +02:00
Stephen Anthony 21921584ed Fix Windows build. 2024-07-04 20:40:07 -02:30
Christian Speckner ae36e141f0 Parse symbols. 2024-07-04 23:27:14 +02:00
Christian Speckner 192870dc2b Minor refactoring. 2024-07-04 22:04:06 +02:00
Christian Speckner be80e6b0f7 Port and hook up ELF basic parser. 2024-07-02 22:39:05 +02:00
Christian Speckner cccc92020a Style. 2024-07-01 00:09:56 +02:00
Christian Speckner 4e6d009435 Refactoring, properly model bus activity. 2024-07-01 00:08:36 +02:00
Christian Speckner fe6e67de32 Boot into overblank. 2024-06-30 17:16:32 +02:00
Stephen Anthony 69b300b6f9 Fix file permissions. 2024-06-30 11:29:29 -02:30
Christian Speckner 41c8bff0c6 Fix ELF signature detection, read value stream. 2024-06-30 11:56:07 +02:00
Christian Speckner 8eb0d72eac Fix windows build. 2024-06-30 11:03:05 +02:00
Christian Speckner 4248f5b916 Fix division by zero. 2024-06-30 11:00:46 +02:00
Christian Speckner 905f5eee90 Sttub and hook up ELF cartridge. 2024-06-30 10:30:41 +02:00
Stephen Anthony b477cb56bc Fix warning from clang-tidy.
Original code is left there, commented out, since the intent isn't clear.
2024-06-14 21:41:53 -02:30
Stephen Anthony 903f376958 Replace Map::find with Map::contains where appropriate. 2024-06-14 18:51:58 -02:30
thrust26 207b2b81e9 Merge branch 'master' of https://github.com/stella-emu/stella 2024-06-14 09:20:15 +02:00
thrust26 1a8f394754 small disassembler fix to avoid dirty mirror addresses in code 2024-06-14 09:19:51 +02:00
Stephen Anthony 15e2376896 Oops, pruned a little too much in last commit. 2024-06-13 20:49:53 -02:30
Stephen Anthony 91757f695c Remove workaround for missing C++20 support.
Since this is only one required of many, and the rest can't be worked around, there's really no point to keep this one either.
2024-06-13 20:35:58 -02:30
thrust26 cd24689b20 Enhanced E7 disassembling 2024-06-12 14:05:43 +02:00
thrust26 5c0856c7a4 fixed underflow in FrameLayoutDetector 2024-06-12 09:48:53 +02:00
Stephen Anthony 1c2dceab2b libretro: Fix Makefile for recently added cart classes. 2024-06-07 22:34:09 -02:30
thrust26 d65eaac19c improved disassembly of immediate color loads 2024-06-05 19:32:40 +02:00
Stephen Anthony 9e37452bab Updated Xcode project for CartJANE. 2024-06-05 11:19:23 -02:30
thrust26 bd757e7d2f Added JANE bankswitching (for Tarzan prototype) 2024-06-05 15:27:41 +02:00
thrust26 2d0de2b415 Merge branch 'master' of https://github.com/stella-emu/stella 2024-06-04 09:51:58 +02:00
thrust26 b246dcb2cf added check which ignores invalid frames (too many scanlines) during frame detection (fixes Tarzan) 2024-06-04 09:51:47 +02:00
Stephen Anthony 4ea3ef32c3 Update Xcode project. 2024-06-03 11:50:18 -02:30
thrust26 2a09855224 Merge branch 'master' of https://github.com/stella-emu/stella 2024-06-03 13:27:23 +02:00
thrust26 40ba8969ea added option to enable thumb cycle counting via emulated ROM 2024-06-03 13:27:10 +02:00
Christian Speckner dbffd5cebb Add W(T)F8 to XCode build. 2024-06-01 00:10:47 +02:00
thrust26 02e35daa3c updated doc for WF8 2024-05-30 19:48:50 +02:00
thrust26 d259b33bc6 added WF8 (Todo: doc) 2024-05-30 19:25:36 +02:00
thrust26 12cb8c07ca added WF8 detection and test ROMs
(cherry picked from commit 28050d5d9cfa502b4f0214c2b9e322a36dc0c4bf)
2024-05-30 19:20:15 +02:00
thrust26 2317cfd3c5 fix Linux builds
(cherry picked from commit 2ed846e53004a535c68153057d0646e04f9d4302)
2024-05-30 19:14:13 +02:00
thrust26 80c9b93ad6 added missing new files
(cherry picked from commit 29c5578f8cb014b57740bc56e5382fa303449b8a)
2024-05-30 19:14:13 +02:00
thrust26 f65a7b79bd added WF8 bankswitching (TODO: doc and autodetect)
(cherry picked from commit 4814f216cd69f5382b85f961e8729c4fc28f115e)
2024-05-30 19:14:12 +02:00
Stephen Anthony 49166ca994 Attempt to fix C++20 'compliant' compilers that don't actually support <numbers>. 2024-05-13 21:00:15 -02:30
Stephen Anthony cd1095b0b6 More 'using enum' in places where it seems appropriate. 2024-05-12 18:24:55 -02:30
Stephen Anthony bff2fdd817 Fix spelling mistake in nearestNeightBour.
Use new C++20 feature 'using enum ...' in switch statements.
I'm not convinced this is best in all cases; for now I use it sparingly.
2024-05-10 21:21:03 -02:30
Stephen Anthony 7d99a6132d Fixed string vs. string_view code that works in VS but not gcc/clang. 2024-05-10 20:51:40 -02:30
Stephen Anthony a8a23f6112 Convert stringstream::str() to stringstream::view() where applicable. 2024-05-10 20:33:04 -02:30
Stephen Anthony fd35ce623b Revert "More cleanups."
This reverts commit bda71d1eb6.

Oops, a little too eager here.
2024-05-09 20:10:55 -02:30
Stephen Anthony bda71d1eb6 More cleanups. 2024-05-09 19:59:51 -02:30
Stephen Anthony 7e6880908b More C++20 additions, fix Windows build failures. 2024-05-09 19:50:19 -02:30
Stephen Anthony 06370ecffd Oops, forgot an include in last commit. 2024-05-09 19:29:40 -02:30
Stephen Anthony 7a85faef55 Some C++20 additions. 2024-05-09 19:26:20 -02:30
thrust26 2d57f9e028 made joystick default controller for libretro.cxx
fixed libretro VS project
2024-05-09 18:34:41 +02:00
Eric Warmenhoven 9f13401d0d
On older Xcode/g++ versions the c++20 standard was called c++2a. (#1031) 2024-05-09 10:47:50 -02:30
Stephen Anthony 6de7ae9dd8 Simplified Windows InnoSetup for 64-bit only builds. 2024-05-08 20:17:50 -02:30
Stephen Anthony 362a3b837a Remove 32-bit builds; going forward, only 64-bit is supported. 2024-05-08 19:44:13 -02:30
Stephen Anthony 08773fd7ac Fix CI compiling for Windows. 2024-05-08 19:35:32 -02:30
Stephen Anthony ce6cc2ef02 Move codebase to requiring C++20, and fix resultant non-standard code. 2024-05-08 19:13:23 -02:30
thrust26 4aba8a1955 improved QuadTari auto detection and setup 2024-05-07 17:14:40 +02:00
thrust26 c713f4f3fa enabled warning for extra qualifier errors 2024-05-06 21:33:43 +02:00
thrust26 91d92b7ca0 fixed compile error 2024-05-06 20:44:01 +02:00
thrust26 bede5cc0ca added auto detection for QuadTari controllers 2024-05-06 19:32:14 +02:00
thrust26 68e671169f minor property update (2/2) 2024-05-04 00:12:10 +02:00
thrust26 00ca0cf30c Merge branch 'master' of https://github.com/stella-emu/stella 2024-05-03 07:56:19 +02:00
thrust26 6f81cc08c5 minor property update 2024-05-03 07:56:03 +02:00
Stephen Anthony 4c04c4baad Fixes for suggestions from clang-tidy. 2024-05-01 17:25:29 -02:30
Stephen Anthony 09be43c506 Minor syntax corrections. 2024-04-04 14:25:47 -02:30
lodefmode 98b2b9b1c3
MVC: Stay in title mode when valid file not found. (#1023) 2024-04-04 14:18:32 -02:30
thrust26 21f26885e4 Fixed MVC debugger crash 2024-03-07 20:55:29 +01:00
thrust26 cd46d87777 Fixed PlusROM detection (fixes #1021) 2024-03-07 18:28:52 +01:00
thrust26 a311e1d714 another overflow fix (see #1017) 2024-03-03 11:56:45 +01:00
Christian Speckner 92a7137d01 Fix overflow. 2024-03-03 11:31:18 +01:00
thrust26 13d782b149 fixed #1018 2024-02-29 21:17:37 +01:00
Stephen Anthony 4557099e5d Refactor a little; SDL-specific header stuff should stay in SDL_lib.hxx. 2024-02-02 11:23:36 -03:30
Stephen Anthony 444dfdc4a9 libretro: fix #1013 2024-02-02 11:10:13 -03:30
Stephen Anthony 9ad90d9f47 Disable various URL buttons if using a version of SDL that doesn't support it. 2024-02-02 00:29:29 -03:30
Stephen Anthony ac51eb10ad Fixed minor clang warning. 2024-02-01 12:29:57 -03:30
Christian Speckner 5a39e9666b Fix life display in solaris. 2024-01-31 21:07:22 +01:00
thrust26 34a9df151a fixed and adjusted build w/o IMAGE_SUPPORT 2024-01-31 19:57:42 +01:00
thrust26 4388c7aad6 fixed #1011 2024-01-30 17:27:53 +01:00
thrust26 4acf4e3a73 made random hotspots peeks a developer option
added check for duplicate hotkeys
2024-01-30 15:40:48 +01:00
Stephen Anthony b83a74d256 Fix minor warnings from clang. 2024-01-26 13:08:24 -03:30
thrust26 0aeffe0392 enhanced and optimized auto-phosphor 2024-01-25 12:24:18 +01:00
thrust26 274490128f added many phosphor properties 2024-01-24 13:24:56 +01:00
thrust26 a430ad6927 added auto-phosphor (resolves #1009) 2024-01-24 11:24:21 +01:00
thrust26 d2c36ae159 slightly optimized movementTick
copied movementTick comments from ball to player and missile
2024-01-20 10:29:34 +01:00
thrust26 9476bddf17 updated WhatsNewDialog 2024-01-18 16:15:02 +01:00
thrust26 a11618e80b some random ROM polishing 2024-01-13 11:16:47 +01:00
thrust26 6d2c97a667 minor property updates 2024-01-12 19:51:53 +01:00
thrust26 14df3bc79a added random ROM loading option (resolves #995) 2024-01-11 10:11:20 +01:00
thrust26 39caf7d629 more work on bezel name properties 2024-01-07 10:50:10 +01:00
thrust26 92307092b8 cleaned and updated bezel name properties 2024-01-06 12:00:54 +01:00
thrust26 ecdacfb924 added detected bezel name to GameInfoDialog 2024-01-06 10:28:02 +01:00
thrust26 ddb6f49e59 fixed empty file listing bug 2024-01-06 10:26:20 +01:00
thrust26 cafe2acbcf block keyboard directory navigation in files-only mode 2024-01-05 22:39:36 +01:00
thrust26 cf20011628 added file browser button for bezel selection 2024-01-05 22:23:44 +01:00
thrust26 5642b4ff56 fixed swapped parameters 2024-01-05 22:16:52 +01:00
lodefmode 402ee101c8
Reach first/last movie frame, show both fields and mute. (#1003) 2024-01-04 08:52:04 +01:00
thrust26 b338b68b69 added lots of bezels (using ChatGpt and Python) 2024-01-03 21:39:27 +01:00
Stephen Anthony a404902294 Bumped copyright for 2024. Happy New Year for anyone following these commits! 2024-01-01 12:38:25 -03:30
thrust26 0bc9c5667a final update for 2023 (properties again) 2023-12-31 16:53:08 +01:00
thrust26 6cbf3ca83b updated properties (mostly PAL-60 added) 2023-12-29 13:06:58 +01:00
thrust26 4c04b1399e updated/added properties for Turbo 2023-12-13 20:17:23 +01:00
thrust26 8fe2adf28a worked on PAL palette (brighter) 2023-11-26 15:43:19 +01:00
Stephen Anthony e05761311a clang-tidy: Fix a few remaining warnings. 2023-11-17 18:58:05 -03:30
Stephen Anthony c3b81d00ae Minor fixes for Xcode. 2023-11-17 12:40:01 -03:30
Stephen Anthony 78187876db clang-tidy: convert 'endl' to '\n' for performance. 2023-11-16 14:34:02 -03:30
Stephen Anthony 27c3e09b94 clang-tidy: Remove redundant header includes. 2023-11-16 12:26:39 -03:30
thrust26 e788e55f53 fixed spelling 2023-11-14 20:32:48 +01:00
thrust26 365ae01764 Merge branch 'master' of https://github.com/stella-emu/stella 2023-11-14 20:30:57 +01:00
thrust26 efa09ebcbb added trace logging like z26 (fixes #204) 2023-11-14 20:30:42 +01:00
Stephen Anthony 3544270f58 Fix 'dangling else' warning from clang. 2023-11-08 19:07:38 -03:30
thrust26 d6224a8a6e Revert "enhanced color switches"
This reverts commit ece9d507d5.
2023-11-04 17:50:26 +01:00
thrust26 ece9d507d5 enhanced color switches
enhanced Stella version information
2023-11-04 17:37:29 +01:00
Stephen Anthony 341c6d860c Updated included libpng and zlib to latest release. 2023-10-25 22:18:46 -02:30
thrust26 b7a89b3f5f Merge branch 'master' of https://github.com/stella-emu/stella 2023-10-16 17:42:25 +02:00
thrust26 cacee1528e fixed missing events in debugger 2023-10-16 17:42:18 +02:00
Stephen Anthony e601801764 Fixes for suggestions from clang-tidy. 2023-10-15 13:53:46 -02:30
thrust26 bc109182a0 Merge branch 'master' of https://github.com/stella-emu/stella 2023-10-02 10:04:17 +02:00
thrust26 28d21eb42b added that peeks to ROM hotspots return random values 2023-10-02 10:04:05 +02:00
Stephen Anthony 85f2304443 Fix minor warnings from clang. 2023-09-23 18:34:02 -02:30
lodefmode b2004d0c49
Movie Cart PAL format (#990)
* MVC format expanded to include vsync, vblank, overscan, visible, and framerate.
Allows for playback of various formats including, PAL.

* Match MovieCart title screen format to detected timing.
Does not affect encoded video content, just title screen.

* simple moviecart PAL examples

---------

Co-authored-by: LoDef Mode <lodef.mode@gmail.ca>
2023-09-16 15:43:25 +02:00
thrust26 afe84954a8 fixed comments and minor enhancement in CartFE 2023-09-15 13:52:39 +02:00
thrust26 dedeaf0849 minor RomImageWidget polishing 2023-09-15 11:10:34 +02:00
thrust26 ec5e3fbe17 changed FE bankswitching code to support up to 8 banks 2023-09-15 08:44:02 +02:00
thrust26 13d8e8e842 fixed warnings 2023-09-14 20:01:13 +02:00
thrust26 6f7c96aef1 fixed build without image support 2023-09-14 19:37:27 +02:00
Stephen Anthony c6e72beeff Fix ROM audit in Windows (fixes #988). 2023-09-12 19:42:15 -02:30
Stephen Anthony e030c8dea9 Fix missing first char when navigating ZIP files (fixes #989). 2023-09-12 13:57:23 -02:30
thrust26 cc9d26b37b minor property fix 2023-09-12 16:44:56 +02:00
thrust26 d08d6668d1 enhanced CartCV to support small ROMs (Part 3) 2023-09-12 11:22:45 +02:00
thrust26 3043acba1e enhanced CartCV to support small ROMs (Part 2) 2023-09-11 23:41:23 +02:00
thrust26 811bcfdf30 enhanced CartCV to support small ROMs 2023-09-11 22:26:01 +02:00
Stephen Anthony 74b682e572 Add bezel class to Xcode project. 2023-09-05 14:03:45 -02:30
Stephen Anthony dc1825f81f Fix minor warnings from clang. 2023-09-02 01:08:05 -02:30
thrust26 2ab1fc7107 added ROM image widget to tab order and moved event handling into it
added launcher list paging events for controllers
2023-09-01 11:44:59 +02:00
thrust26 68833dc904 some polishing for LauncherDialog (incl. doc) 2023-08-31 23:11:13 +02:00
thrust26 a948a7a9f9 fixed #984 2023-08-31 21:43:10 +02:00
thrust26 caa8cb72c0 added keyboard and controller support for image zooming 2023-08-31 19:57:45 +02:00
thrust26 065c0243d6 reworked some comments 2023-08-31 18:09:19 +02:00
thrust26 fefec189b0 added launcher image zooming 2023-08-31 17:59:51 +02:00
Christian Speckner 667ea467fc Never use alpha blending for source surfaces in QIS. 2023-08-30 22:40:52 +02:00
Christian Speckner 0c44764693 Account for HiDPI scaling when validating QIS blitter. 2023-08-30 22:40:31 +02:00
Christian Speckner 7c5d302f4f Fix allocation. 2023-08-29 23:33:04 +02:00
thrust26 374b49bf21 fixed build without IMAGE_SUPPORT 2023-08-29 23:20:19 +02:00
thrust26 1f40abef3f next oops 2023-08-29 16:41:09 +02:00
thrust26 c96c410c26 a few more bezel property updates 2023-08-29 16:19:05 +02:00
thrust26 b3a5d04544 Improved error handling when loading bezels 2023-08-29 13:51:10 +02:00
thrust26 7d7d574bcd minor CartDetector and property update 2023-08-29 13:50:23 +02:00
thrust26 deea1e37ea fixed zoom when switching bezel paths 2023-08-28 11:16:27 +02:00
thrust26 c2460b7c17 extended list of known renderers to latest SDL 2023-08-28 09:07:22 +02:00
thrust26 074c6ae4ca fixed zoom clamping 2023-08-27 22:39:50 +02:00
thrust26 0367923a77 Revert "experimenting with not clearing the framebuffer during emulation"
This reverts commit bd778e3c2b.
2023-08-27 22:37:55 +02:00
thrust26 647f3d48a5 improved the code for rendering non-rounded bezels only on load (this should work) 2023-08-27 16:57:36 +02:00
thrust26 e76b91720d minor zoom fix 2023-08-27 11:13:37 +02:00
thrust26 21879be8ab fixed BrowserDialog reuse
defined bezel help links
2023-08-27 11:05:33 +02:00
thrust26 bd778e3c2b experimenting with not clearing the framebuffer during emulation
added rounded bezel auto-detection and handling
2023-08-27 10:16:45 +02:00
thrust26 37422a838f oops 2023-08-27 08:14:02 +02:00
thrust26 03049ff93a reversed parameter order in FrameBuffer::renderTIA 2023-08-27 08:00:14 +02:00
Stephen Anthony 47661d0acd libretro: fix build issues with new bezel code. 2023-08-26 14:42:52 -02:30
thrust26 3f05523e16 fix current zoom level when enabling bezels 2023-08-26 18:21:58 +02:00
Stephen Anthony 1c126218b6 Fixes for warnings from clang. 2023-08-26 12:23:06 -02:30
thrust26 df34de46ab aligned VS project filters with folder structure 2023-08-26 14:54:07 +02:00
thrust26 adc7a3ce5e Merge remote-tracking branch 'remotes/origin/feature/bezels' 2023-08-26 14:06:31 +02:00
thrust26 682fb6ccc4 the usual IX fix 2023-08-26 14:02:44 +02:00
thrust26 3f1d5d644b added bezel hotkeys
renamed bezel settings
moved Bezel class to common
2023-08-26 13:50:39 +02:00
thrust26 b38c3a42b2 more bezel property updates 2023-08-26 13:39:10 +02:00
thrust26 328ef01423 added more bezel properties 2023-08-26 09:03:44 +02:00