- Fixed mapper 000 by chaning the mod operation to not disinclude 0x3FFF from being turned into 0. This fixes all issues with mapper 000 as it matches other established emulators
- Fixed all warnings other than non-disableable ones.
- Added a way to assign a test rom name so that it can start at a custom location rather than the address vector at 0xFFFC
RenDev's latest commit cleaned the 4 bytes of buffer before the
PRGROM even tho the program already accounted for that when
calculating the return address by substracting 0x4. I'm leaving his
way of dealing with the buffer since it saves 4 bytes of memory used
for nothing in my implementation.
Also cleaned the code a little, expect another commit that cleans
the code more vigurously
+ Added debug-tickonclick Make rule for manual clock operation
ROM loading did not remove the 5 bytes of padding when loading the rom. This caused the last 5 bytes of the rom to never be read. These last 5 bytes contained the vector to set the PC to during boot.
Now that that was implemented, any rom can now load rather than a Hardcoded location for all roms.
BEQ was facing some issues as well. Seems that we did not take into account negivite numbers in relation to address resolution. This has now been accounted for by typecasting the 'unsigned char' into a 'char'
Did a bunch of small fixes to the code architecture,
most notably wrote the NMI function for the CPU and
actually docked the ppu files to the rest of the project.
The PPU currently does nothing but process some registers
in a basic sense.
I (hopefully along with rendev) will start work on the
background rendering soon, I also need to fix the registers
from their current makeshift solutions to the correct loopy
ones, lots of work to be done *sigh*, but the future does
seem bright.