1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-09-26 20:54:35 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Chris Pressey
0d3ac8c247 {Low,High}AddressByte emittables to fix copy, make indirect call! 2015-10-22 16:20:10 +01:00
Chris Pressey
2dc4dd988e Parse indirect calls, but break evaluator. 2015-10-20 09:33:30 +01:00
Chris Pressey
04de73d04d Solve this by defining an Offset emittable. 2015-10-19 08:55:47 +01:00
Chris Pressey
645079f03a Implement 'with interrupts off'. 2015-10-18 23:15:40 +01:00
Chris Pressey
f4186c5f22 AbsoluteX, AbsoluteY addressing modes in 6502-code generator. 2015-10-18 17:47:45 +01:00
Chris Pressey
c5998ed240 Compile repeat loops. 2015-10-18 13:55:40 +01:00
Chris Pressey
b794d8d273 Get serialization of relative labels correct. 2015-10-17 18:11:23 +01:00
Chris Pressey
a5c3b4725d Pass address when serializing. Still wrong, of course. 2015-10-17 16:51:35 +01:00
Chris Pressey
b6bb64528f Implement compiling if, but we need relative addressing first. 2015-10-17 16:34:02 +01:00
Chris Pressey
479b484313 Compile the rest of the instructions. 2015-10-17 16:17:35 +01:00
Chris Pressey
643a48a2c5 Compiler object, labels, compile 'call'... It prints 'A'! 2015-10-17 15:06:50 +01:00
Chris Pressey
5b429adfd9 6502 opcodes are Emittables. Can compile simple programs now! 2015-10-17 11:08:25 +01:00
Chris Pressey
c0243ee6ba Wire up the compiler and wring out obvious bugs. 2015-10-17 10:17:44 +01:00
Chris Pressey
bb7fbcda6c Add Emitter framework, and 6502 Generator (will likely change.) 2015-10-16 22:59:35 +01:00