Commit Graph

127 Commits

Author SHA1 Message Date
Sergio Martin 4530713b01 Created new functions for serialization and deserialization 2024-01-18 19:56:30 +01:00
Sergio Martin 17bb8c99d8 Adding smb3 for mapper 37 (4 nametable bank) testing 2024-01-17 20:28:32 +01:00
Sergio Martin ea4c425e47
Merge pull request #1 from SergioMartin86/headerOnly
A lot of optimizations and better testing
2024-01-17 18:27:42 +01:00
Sergio Martin 0accf8a5cd adding hash file cleanup 2024-01-17 18:25:55 +01:00
Sergio Martin f6d119b549 Adding saiyuuki world 2024-01-17 18:21:44 +01:00
Sergio Martin e09e0a745d Extending full cycle testing to an extra advance 2024-01-17 16:38:22 +01:00
Sergio Martin 4afe5e9f02 Fixing pop1 test 2024-01-17 08:15:32 +01:00
Sergio Martin e0973cd946 Allocating state in the heap 2024-01-17 07:09:34 +01:00
Sergio Martin a07839e5af Fixed stack overflow issue 2024-01-17 06:59:10 +01:00
Sergio Martin dd8aecbc5b Adding timeout 2024-01-16 22:48:24 +01:00
Sergio Martin f3150a8acc Adding timeout 2024-01-16 22:47:03 +01:00
Sergio Martin 2a4ecab06b Adding timeout 2024-01-16 22:45:57 +01:00
Sergio Martin 473aa03f20 Making player optional, tests obligatory 2024-01-16 22:43:03 +01:00
Sergio Martin ae2709fe70 Updating timeout 2024-01-16 22:41:45 +01:00
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 f88932e368 Added alignment option 2024-01-14 10:13:28 +01:00
Sergio Martin c18b91c70e Documenting changes 2024-01-14 09:21: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