Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-29 | fix ADC bug where V is calculated with new A instead of old A | vin | |
2024-06-28 | fix status register to match nestest | vin | |
2024-06-28 | improve logging and JMP indirect | vin | |
2024-06-28 | fix more bugs | vin | |
2024-06-28 | fix JSR and RTS bug | vin | |
The stack's PUSH and PULL weren't proper and JSR was reading wrong argument it seems. | |||
2024-06-28 | start logging instructions as nestest.log has done | vin | |
2024-06-17 | start fixing bugs with memory access | vin | |
So this is why tests should be written while writing the program and instructions instead of all at once later. If this were all to be rewritten (which it probably will), I should add tests for each opcode instead of waiting until the end for ROM loading support. | |||
2024-06-17 | implement basic iNES and Mapper 0 ROM loading | vin | |
It seems like the test ROM loads fine but the instructions are not, but that's exactly what the test ROM is for I suppose. | |||
2024-06-16 | replace bit comparisons with 0 from greater than to not equal | vin | |
They're both the same and the compiler might have already optimized it away. It also conveys the message better in my opinion. | |||
2024-06-11 | add memory mirroring for system and ppu memory | vin | |
2024-06-11 | add separate implied/accumulator functions for certain opcodes | vin | |
2024-06-10 | add jsr, rti, rts | vin | |
2024-06-10 | implement untested most of stack-related opcodes | vin | |
2024-06-10 | add lsr, rol, ror | vin | |
2024-06-10 | implement tay, txa, tya | vin | |
2024-06-10 | implement sta, stx, sty | vin | |
2024-06-10 | implement se?() opcodes and remove extra 65c02 opcodes | vin | |
2024-06-09 | implement more instructions | vin | |
2024-06-09 | add opcode_mem() function to return memory address and not pre-peek | vin | |
Of course all of these opcodes need to be tested later... | |||
2024-06-09 | add memory writing functions | vin | |
2024-06-09 | implement some more instructions and branching? | vin | |
2024-06-09 | fix potential adc overflow flag bug | vin | |
2024-06-09 | add blank todo opcode functions based on opcode json | vin | |
2024-06-09 | programmatically create switch cases for opcodes based on opcode json | vin | |
The JSON is from https://github.com/ericTheEchidna/65C02-JSON/ and saved me a lot of time from writing the cases for each opcode by hand. | |||
2024-06-08 | move addressing mode parsing into separate function | vin | |
2024-06-08 | add adc and actually fix peek/16 | vin | |
2024-06-04 | fix peek | vin | |
2024-06-04 | shorten addressing mode enum names | vin | |
2024-06-04 | add peek(), peek16(), and finish lda() | vin | |
2024-05-24 | load program rom into proper offset in memory | vin | |
2024-05-24 | implement tax and inx and print status each time | vin | |
2024-05-24 | add lda immediate and brk | vin | |
2024-05-20 | start working on 6502 cpu | vin | |