History of
src
/
sixtypical
/
gen6502.py
@master
git clone https://git.catseye.tc/SixtyPical/
-
Arrange license info in repo to follow REUSE 3.0 convention.
Chris Pressey
2 months ago
-
Make all serialize() methods take addr() as an arg, not kwarg.
Chris Pressey
5 years ago
-
--output cmdline argument, serialize() returns an array of bytes.
Chris Pressey
5 years ago
-
Compile code for saving a, x, or y on the stack.
Chris Pressey
6 years ago
-
Compile byte-table add, sub, cmp, and, or, xor, shl, shr, inc, dec.
Chris Pressey
6 years ago
-
Generate zero-page code for and, or, and xor, when possible.
Chris Pressey
6 years ago
-
Support branching and looping on the `n` flag.
Chris Pressey
6 years ago
-
Support of NOP opcode.
Chris Pressey
6 years ago
-
Compile copy[]+y.
Chris Pressey
6 years ago
-
Attempt to add Zero Page addressing; the emitter may need rethink.
Chris Pressey
6 years ago
-
First pass of buffer, pointer, copy b, [p] + y, indirect indexed.
Chris Pressey
6 years ago
-
{Low,High}AddressByte emittables to fix copy, make indirect call!
Chris Pressey
8 years ago
-
Parse indirect calls, but break evaluator.
Chris Pressey
8 years ago
-
Solve this by defining an `Offset` emittable.
Chris Pressey
8 years ago
-
Implement 'with interrupts off'.
Chris Pressey
8 years ago
-
AbsoluteX, AbsoluteY addressing modes in 6502-code generator.
Chris Pressey
8 years ago
-
Compile `repeat` loops.
Chris Pressey
8 years ago
-
Get serialization of relative labels correct.
Chris Pressey
8 years ago
-
Pass address when serializing. Still wrong, of course.
Chris Pressey
8 years ago
-
Implement compiling `if`, but we need relative addressing first.
Chris Pressey
8 years ago
-
Compile the rest of the instructions.
Chris Pressey
8 years ago
-
Compiler object, labels, compile 'call'... It prints 'A'!
Chris Pressey
8 years ago
-
6502 opcodes are Emittables. Can compile simple programs now!
Chris Pressey
8 years ago
-
Wire up the compiler and wring out obvious bugs.
Chris Pressey
8 years ago
-
Add Emitter framework, and 6502 Generator (will likely change.)
Chris Pressey
8 years ago