Commit Graph

63 Commits

Author SHA1 Message Date
vin
858cbfba48 fix potential adc overflow flag bug 2024-06-09 15:35:31 +05:30
vin
76b9059b2e add blank todo opcode functions based on opcode json 2024-06-09 13:11:05 +05:30
vin
207c6903f5 programmatically create switch cases for opcodes based on opcode json
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-09 13:08:31 +05:30
vin
72e29b3d25 move addressing mode parsing into separate function 2024-06-08 22:08:51 +05:30
vin
1ac30a026b add adc and actually fix peek/16 2024-06-08 17:41:17 +05:30
vin
bd85b80ba7 fix peek 2024-06-04 17:48:34 +05:30
vin
36a8eefd00 shorten addressing mode enum names 2024-06-04 16:16:48 +05:30
vin
7245191e86 add peek(), peek16(), and finish lda() 2024-06-04 15:54:09 +05:30
vin
10567e0be8 load program rom into proper offset in memory 2024-05-24 12:55:44 +05:30
vin
8493837ef9 implement tax and inx and print status each time 2024-05-24 12:20:04 +05:30
vin
24ca08a83d add lda immediate and brk 2024-05-24 11:50:08 +05:30
vin
dd757c4324 start working on 6502 cpu 2024-05-20 19:39:23 +05:30
vin
5fcf579ad4 initial commit 2024-05-20 18:51:56 +05:30