619 Commits

Author SHA1 Message Date
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 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 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
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 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 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
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
Zoe Roux 6693c30df2 Fixing unit tests compilation 2021-07-05 20:46:48 +02:00
Zoe Roux cb6fb8a240 Enabling the memory bus debugger 2021-07-05 00:23:48 +02:00
Zoe Roux f16815c36f Enabling more debuggers 2021-07-04 23:20:07 +02:00
Zoe Roux 15fde029a7 Starting to reenable debuggers 2021-07-04 22:57:58 +02:00
Clément Le Bihan e0d46121a8 fixing hard to track dumb mistake 2021-07-04 22:43:02 +02:00
Clément Le Bihan ba43efe262 norm fix 2021-07-04 12:12:30 +02:00
Clément Le Bihan c5696946eb adding micro QoL changes segfault found in PPU while running rom 2021-07-04 12:09:15 +02:00
Clément Le Bihan 590078bf76 fixing missunderstanding of horizontal/vertical tilemap mirroring 2021-07-04 11:50:35 +02:00
Clément Le Bihan e4249b1576 clean up a const -> constexpr 2021-07-04 10:48:02 +02:00
Clément Le Bihan 5860c10653 refactor ppu x and y and little clean up 2021-07-04 10:31:25 +02:00
Clément Le Bihan 14618417a8 fixing ppu compil 2021-07-04 09:23:22 +02:00
Zoe Roux 9a36eded32 Cleaning up 2021-07-04 02:56:44 +02:00