bradgrantham / apple2e

Apple //e
19 stars 3 forks source link

extract addressing modes from cpu6502.h cases #48

Open bradgrantham opened 3 years ago

bradgrantham commented 3 years ago

Lots of duplication could be leading to cut-and-paste errors in instructions. Make some kind of "effective address" function that takes an enum or something to calculate the address based on ZPG or ABS, indirect X, indirect Y, indirect, etc.