772 Commits

Author SHA1 Message Date
Zoe Roux
563e5eda31 Merge pull request #50 from AnonymusRaccoon/PPU
Ppu Cleanup and memory optimization (16Mo less mem)
2021-07-13 23:31:43 +02:00
Clément Le Bihan
8d18ca89dc adding documentation 2021-07-13 23:18:32 +02:00
Clément Le Bihan
5784f86457 moving inline function definition in header file and using C++ for instead of for_each for screen rendering 2021-07-13 23:03:29 +02:00
Clément Le Bihan
f094b57c87 using C++ for loops instead of std::for_each when possible 2021-07-13 22:50:00 +02:00
Clément Le Bihan
9692120626 misc fixes 2021-07-13 22:18:55 +02:00
Clément Le Bihan
2913e9eb2c CMakeLists.txt fix 2021-07-13 22:02:17 +02:00
Clément Le Bihan
a835bd17b5 moving PPU Registers into separate file and some name cleanup 2021-07-13 22:00:09 +02:00
Clément Le Bihan
6964290dcf transforming the addBuffer function into a templated function to save time with level etc 2021-07-12 00:43:08 +02:00
Clément Le Bihan
8a158bbeb3 renaming getRealColor to CGRAMColorToRGBA and finishing great random test on 8bpp rander 2021-07-12 00:17:12 +02:00
Clément Le Bihan
09520658a1 adding test for render in 2bpp and using mesen formula for getRealColor function 2021-07-11 20:10:39 +02:00
Clément Le Bihan
8a84258c5a adding tests for the getPalette function 2021-07-11 19:15:46 +02:00
Clément Le Bihan
7e2281a640 adding tests on getPixelReferenceFromTile tests 2021-07-11 18:22:57 +02:00
Clément Le Bihan
a5bcc7da17 adding python script 2021-07-11 17:52:27 +02:00
Clément Le Bihan
83ce8c6148 adding python script 2021-07-11 17:29:52 +02:00
Clément Le Bihan
5e72662d88 removing debug print in tests 2021-07-09 14:02:15 +02:00
Clément Le Bihan
08259d018f Reenable 8bpp test with new vram test 2021-07-09 13:57:29 +02:00
Clément Le Bihan
3002f9272e adding unit tests for TileRenderer but 8bpp test isn't finished 2021-07-09 01:17:37 +02:00
Clément Le Bihan
3a70bb9af0 Merge branch 'master' of github.com:AnonymusRaccoon/ComSquare into PPU 2021-07-08 23:34:49 +02:00
Clément Le Bihan
a9995d7b15 Merge pull request #46 from AnonymusRaccoon/catch
Global clean up
2021-07-08 17:57:53 +02:00
Zoe Roux
96e23e0400 Fixing PR feedback 2021-07-08 15:49:42 +02:00
Clément Le Bihan
c6899c6b63 push unit test passed 2021-07-08 01:09:26 +02:00
Clément Le Bihan
c50df5ecda Merge branch 'catch' of github.com:AnonymusRaccoon/ComSquare into PPU
# Conflicts:
#	CMakeLists.txt
#	sources/PPU/Background.cpp
#	sources/PPU/Background.hpp
#	sources/PPU/PPU.hpp
2021-07-08 01:07:19 +02:00
Clément Le Bihan
79dcdebf70 more clean up using 4 backgrounds is working nicely 2021-07-08 00:51:06 +02:00
Clément Le Bihan
3964da9526 general clean up 2021-07-08 00:48:10 +02:00
Clément Le Bihan
5527a19348 really fixing ppu x and y 2021-07-08 00:28:05 +02:00
Clément Le Bihan
11c5ac8476 fixing ppu x and y 2021-07-08 00:13:59 +02:00
Clément Le Bihan
948b4cb51a fixing unit tests ci 2021-07-07 01:08:10 +02:00
Clément Le Bihan
8a4a515d4c updating debug registers result is better but it's weird 2021-07-07 01:05:23 +02:00
Clément Le Bihan
3e73370a9a try to make priority work but not yet functionnal 2021-07-07 00:40:50 +02:00
Clément Le Bihan
9f0f03ebed removing half of backgrounds (priority not functional) 2021-07-06 23:52:24 +02:00
Zoe Roux
8d973739af Fixing tests includes 2021-07-06 23:35:56 +02:00
Zoe Roux
4cf32f7e57 Fixing build CI 2021-07-06 23:30:08 +02:00
Zoe Roux
2bd63a8455 Fixing the CI 2021-07-06 23:28:31 +02:00
Zoe Roux
16eb04ba5d Fixing the APUs deebugger 2021-07-06 23:24:45 +02:00
Clément Le Bihan
213f1608a7 splitting more conveniently drawTile function 2021-07-06 23:13:37 +02:00
Zoe Roux
6d236d5827 Merge branch 'catch' of github.com:AnonymusRaccoon/ComSquare into catch 2021-07-06 23:06:07 +02:00
Zoe Roux
44361c8482 Cleaning up rom data 2021-07-06 23:06:02 +02:00
Clément Le Bihan
6e37b8f250 fixing small error 2021-07-06 22:45:58 +02:00
Clément Le Bihan
513edf3434 rm comment 2021-07-06 22:44:05 +02:00
Clément Le Bihan
a3ddadacc5 opti in addBuffer (use of std::for_each) 2021-07-06 22:43:26 +02:00
Clément Le Bihan
00435259c4 opti in Merge2DArray 2021-07-06 22:33:01 +02:00
Clément Le Bihan
b336a63769 moving addBuffer to utils 2021-07-06 22:21:11 +02:00
Clément Le Bihan
f8a500972a renamming _tileMapsConfig to _tileMapMirroring 2021-07-06 22:14:54 +02:00
Clément Le Bihan
33e444248a fixing zoe brilliant idea 2021-07-06 22:12:34 +02:00
Zoe Roux
0d0dbc9b02 Fixing the rom reset and adding an open rom button 2021-07-06 20:46:36 +02:00
Zoe Roux
c38dfefd73 Fixing some tests 2021-07-06 18:23:22 +02:00
Zoe Roux
37ced8e553 Updating to catch 3 2021-07-06 17:51:19 +02:00
Zoe Roux
0287effdb5 Creating a logger 2021-07-06 16:04:13 +02:00
Zoe Roux
7a51648ac9 Reenabling APUs debugger 2021-07-06 14:40:58 +02:00
Zoe Roux
f189821764 Reenabling the CPU debugger 2021-07-06 12:45:27 +02:00