summaryrefslogtreecommitdiff
path: root/cpu.c
AgeCommit message (Expand)Author
2024-09-01add basic ppu register readingvin
2024-09-01add preliminary apu register supportvin
2024-07-21rename struct Rom to struct romvin
2024-07-21start implementing PPUvin
2024-07-20fix rest of logging format issuesvin
2024-07-20fix status flag bug in ASL and ROLvin
2024-07-20replace tabs with spaces to better match nestest.logvin
2024-07-07fix warnings and move cpu registers+flags to headervin
2024-07-04implement all of the nestest unofficial opcodes and fix branch cyclesvin
2024-07-04add preliminary implementation of the unofficial opcodesvin
2024-07-04start implementing unofficial opcodesvin
2024-07-04achieve cycle accuracy for official opcodesvin
2024-07-03finalize trace logging to match nestest.log minus PPU cyclesvin
2024-07-03improve branching cycle accuracyvin
2024-07-03fix SBC bug in the rewrite and improve loggingvin
2024-07-03call opcode function pointer instead of using switch casevin
2024-06-30start refactoring opcode defs into an arrayvin
2024-06-30combine macro for updating N and Z status flagsvin
2024-06-30fix alignment of logging with ABS_X and ZP_Xvin
2024-06-30fix indirect JMP bug where the high byte does not increment out of pagevin
2024-06-30fix incorrect argument for INCvin
2024-06-30fix incorrect argument for ASL and LSRvin
2024-06-30fix JSR, RTS, and RTIvin
2024-06-30change SBC to be ADC with one's complement instead of two'svin
2024-06-29fix status flag ordering shenanigansvin
2024-06-29fix ADC bug where V is calculated with new A instead of old Avin
2024-06-28fix status register to match nestestvin
2024-06-28improve logging and JMP indirectvin
2024-06-28fix more bugsvin
2024-06-28fix JSR and RTS bugvin
2024-06-28start logging instructions as nestest.log has donevin
2024-06-17start fixing bugs with memory accessvin
2024-06-17implement basic iNES and Mapper 0 ROM loadingvin
2024-06-16replace bit comparisons with 0 from greater than to not equalvin
2024-06-11add memory mirroring for system and ppu memoryvin
2024-06-11add separate implied/accumulator functions for certain opcodesvin
2024-06-10add jsr, rti, rtsvin
2024-06-10implement untested most of stack-related opcodesvin
2024-06-10add lsr, rol, rorvin
2024-06-10implement tay, txa, tyavin
2024-06-10implement sta, stx, styvin
2024-06-10implement se?() opcodes and remove extra 65c02 opcodesvin
2024-06-09implement more instructionsvin
2024-06-09add opcode_mem() function to return memory address and not pre-peekvin
2024-06-09add memory writing functionsvin
2024-06-09implement some more instructions and branching?vin
2024-06-09fix potential adc overflow flag bugvin
2024-06-09add blank todo opcode functions based on opcode jsonvin
2024-06-09programmatically create switch cases for opcodes based on opcode jsonvin
2024-06-08move addressing mode parsing into separate functionvin