Commit Graph

148 Commits

Author SHA1 Message Date
Sergio Martin 2eee66cda8 Fixes 2024-01-16 22:39:18 +01:00
Sergio Martin 28c1be6fe7 Improving tests to include save/load full cycles and direct comparison against quicknes 2024-01-16 22:22:36 +01:00
Sergio Martin 82368f4a27 more simplifications 2024-01-16 18:49:46 +01:00
Sergio Martin eb5edf12e5 Some refactoring 2024-01-16 18:42:29 +01:00
Sergio Martin 92ad30faf8 Adding notice to CPU 2024-01-15 22:24:50 +01:00
Sergio Martin 4740e7d7cf Fixed player and some optimizations in the cpu 2024-01-15 22:19:29 +01:00
Sergio Martin a254482102 Creating emulator interface class to mix both versions. This will be useful for verification purposes. Also fixed mapper070 for quicknes 2024-01-15 20:56:58 +01:00
Sergio Martin ad9858a564 Adding no frills memcpy-based ines loader 2024-01-14 19:28:40 +01:00
Sergio Martin 5624f29ee6 Changing alignment value to 1K, which seems sufficient and doesnt alienate other functions 2024-01-14 17:44:54 +01:00
Sergio Martin d8b904f53f Some simplification 2024-01-14 17:05:10 +01:00
Sergio Martin 361b42be9c More optimizations 2024-01-14 13:51:21 +01:00
Sergio Martin a20bfd0320 Untangling code dependencies 2024-01-14 13:23:14 +01:00
Sergio Martin 7b41851e30 Putting mapper creation in the core file2 2024-01-14 12:10:53 +01:00
Sergio Martin 28da3085f2 adding the baseile quickNES from libretro as part of the benchmark 2024-01-14 11:48:26 +01:00
Sergio Martin 90f249fd16 Adding original quicknes for proper benchmark comparison and testing 2024-01-14 10:59:20 +01:00
Sergio Martin c71a339b18 Reorganizing meson files 2024-01-14 10:31:17 +01:00
Sergio Martin 520512b190 Removing NDEBUG 2024-01-14 09:19:48 +01:00
Sergio Martin 37acae846c Ensuring CPU run function starts at the beggining of a page 2024-01-14 09:17:06 +01:00
Sergio Martin dee398c8f7 Adding 1024-alignment to the cpu run function to prevent it from being split among different pages or L1i lines 2024-01-14 09:01:14 +01:00
Sergio Martin a0062b7002 Refactoring mapper creation 2024-01-14 08:18:23 +01:00
Sergio Martin dba28a6b98 Minor changes 2024-01-14 08:11:26 +01:00
Sergio Martin 57c43b6d98 using skip frames properly (no audio) 2024-01-14 06:12:32 +01:00
Sergio Martin 040d7f3939 Minor changes 2024-01-13 21:09:52 +01:00
Sergio Martin 75a58247c0 More work on the CPU 2024-01-13 20:27:52 +01:00
Sergio Martin 0240d9d1aa Working up the nes cpu 2024-01-13 20:17:41 +01:00
Sergio Martin e40e0c7888 More simplfiications 2024-01-13 20:12:03 +01:00
Sergio Martin 78414cfb6c Relocating core 2024-01-13 20:01:32 +01:00
Sergio Martin 1a6cf0b487 Reduced pc to 16 bits since overflow detection isn't even implemented 2024-01-13 19:08:42 +01:00
Sergio Martin f58b48ec6a Fixing missin warnings 2024-01-13 18:59:55 +01:00
Sergio Martin 66e6632eea Reverting changes back to 0c8318e26e since some of those commits did something that affected performance 2024-01-13 18:42:59 +01:00
Sergio Martin 95a95df8e1 More simplifications 2024-01-13 17:15:24 +01:00
Sergio Martin 13561dc134 Fixing benchmark with release compilation 2024-01-13 17:11:21 +01:00
Sergio Martin d023e639c3 More refactoring 2024-01-13 14:33:35 +01:00
Sergio Martin 1389a87ad6 Simplifying 2024-01-13 14:06:33 +01:00
Sergio Martin 8059551339 Removing unnecessary file 2024-01-13 13:48:45 +01:00
Sergio Martin 47112198ad Removing warnings 2024-01-13 13:43:20 +01:00
Sergio Martin 0c8318e26e Adding initial benchmark 2024-01-13 13:35:54 +01:00
Sergio Martin df999066a3 Adding benchmark and starting to fix warnings 2024-01-13 13:28:32 +01:00
Sergio Martin 52bb0987e3 Adding doRendering flag to disable audio/picture rendering for performance 2024-01-13 11:10:42 +01:00
Sergio Martin 86ffc7fce7 Adding halt instructions 2024-01-13 10:07:24 +01:00
Sergio Martin e1f4d956fe Adding solar jetman and ng2 2024-01-13 09:55:07 +01:00
Sergio Martin b36822dfaa Fixed playback memory use, adding super offroad and improved testing 2024-01-13 07:04:22 +01:00
Sergio Martin 1952f8a622 Adding verification for tests 2024-01-12 21:13:51 +01:00
Sergio Martin 147d0d4f52 Progress with testing 2024-01-12 19:14:57 +01:00
Sergio Martin 03e512dc12 Starting to add tests 2024-01-11 20:23:32 +01:00
Sergio Martin 16143afe0d Progress with player 2024-01-11 19:44:54 +01:00
Sergio Martin d310134441 Opening player render window 2024-01-10 20:11:49 +01:00
Sergio Martin 410bbd9338 Adding tests and moving code around 2024-01-10 19:48:57 +01:00