5 ms·
I'm the author. The reason for the single letters is that those are the actual names of the 6502 registers. Glad you like it overall. :)
by andreaorru 10y ago
I'm the author.
The reason for the single letters is that those are the actual names of the 6502 registers.
Glad you like it overall. :)
- pawadu 10y agoIt's really nice that you keep it so close to the actual hardware (not just the variable names, but also the way the logic works in for example PPU). I also love the way you use C++ templates to simplify things!
- posterboy 10y agoaccumulator xchange ... y, something stacky perhaps? program counter flagPort non maskable interrupt, interrupt request I'm sure you knew that though, it's common micro processor nomenclature.
- Two9A 10y agoSpecifically on 6502-derived processors, you have the following registers: Accumulator, X and Y indexes, Stack Pointer, Program Counter, Flags. Of these, only the Program Counter is double-width. Additionally, the zeroth "page" of memory (the lowest 256 bytes) are accessible with a dedicated addressing mode which saves space and time in the program, and can be used as a form of cache.