Chris Pressey
|
24f093b1db
|
Make all serialize() methods take addr() as an arg, not kwarg.
|
2018-09-06 18:11:47 +01:00 |
|
Chris Pressey
|
0a91d6bbc0
|
Rename method for more distinction/clarity.
|
2018-09-06 17:21:43 +01:00 |
|
Chris Pressey
|
4bba75857f
|
--output cmdline argument, serialize() returns an array of bytes.
|
2018-09-06 16:18:41 +01:00 |
|
Chris Pressey
|
c11869f322
|
Not making any promises, but reduce the errors under Python 3.
|
2018-09-05 21:45:58 +01:00 |
|
Chris Pressey
|
eadf1eb4ae
|
A byte or word table can be initialized with a list of constants.
|
2018-03-29 11:09:02 +01:00 |
|
Chris Pressey
|
0093c7b7d9
|
First cut at support for targetting the Atari 2600.
|
2018-03-28 14:20:53 +01:00 |
|
Chris Pressey
|
548905dce4
|
Initialized byte tables need not have all 256 bytes initialized.
|
2018-02-02 16:31:23 +00:00 |
|
Chris Pressey
|
f87bcf5ee4
|
Initial work on initialized byte tables.
|
2017-12-12 16:41:49 +00:00 |
|
Chris Pressey
|
bef1aba8ce
|
Do not assume every label refers to a word-sized chunk of memory.
|
2017-12-11 10:42:42 +00:00 |
|
Chris Pressey
|
404f8c72a3
|
We really need to review how storage location labels are emitted.
|
2017-12-08 16:59:31 +00:00 |
|
Chris Pressey
|
c8c69a2a7d
|
Fix problem with test case, and with serializing as zero page.
|
2017-11-24 13:42:14 +00:00 |
|
Chris Pressey
|
e41dd1aa01
|
Attempt to add Zero Page addressing; the emitter may need rethink.
|
2017-11-24 13:09:10 +00:00 |
|
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
|
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
|
e62fd85ccf
|
Compile access of defined memory locations.
|
2015-10-17 15:46:28 +01:00 |
|
Chris Pressey
|
a3160a5166
|
Call defined routines.
|
2015-10-17 15:23:00 +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 |
|