1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-28 01:29:44 +00:00
Commit Graph

1688 Commits

Author SHA1 Message Date
jespergravgaard
d29a935507 Updated sinusgen8 test code. 2019-10-20 20:49:31 +02:00
jespergravgaard
e0749c4ac2 Updated sinusgen8 test code. 2019-10-20 20:41:16 +02:00
jespergravgaard
7ece3b172d Added another __notconst test. 2019-10-20 20:17:23 +02:00
jespergravgaard
79e6c92dd1 Added test of __notconst directive. 2019-10-20 20:15:01 +02:00
jespergravgaard
a34abcbdff Added __notconst directive. 2019-10-20 20:01:38 +02:00
jespergravgaard
ea4563cf99 Working on constant identification. 2019-10-20 17:06:17 +02:00
jespergravgaard
bacd900a9b Added test for __ssa / __notssa. Made literal char ConstantEnumerable. 2019-10-20 14:06:54 +02:00
jespergravgaard
077f40b0d7 Added keyword directives __notvolatile, __ssa, __notssa. 2019-10-20 13:44:30 +02:00
jespergravgaard
71ce3d0438 Aligned hardcoded address register implementation between memory registers and zp registers. 2019-10-20 13:21:04 +02:00
jespergravgaard
93456f0eb0 Cleaned up code generation and register.isZp() 2019-10-20 12:12:36 +02:00
jespergravgaard
0298452244 Fixed tests. 2019-10-20 11:41:56 +02:00
jespergravgaard
dc9480a8c8 Added missing fragments. 2019-10-20 11:31:09 +02:00
jespergravgaard
9e6fcdc781 Fixed tests. 2019-10-20 03:43:58 +02:00
jespergravgaard
a8c9943b73 Fixed test data for constants. Closes #209 2019-10-20 01:48:09 +02:00
jespergravgaard
82d3cc7e68 Improved ASM name shortening to remove labels representing the same variable with different versions and the same allocation. Closes #209 2019-10-20 01:43:51 +02:00
jespergravgaard
3faf1e05d5 Memory PHI registers can now be uplifted to A/X/Y. Fixed fragment synth rule for memory. 2019-10-20 00:49:34 +02:00
jespergravgaard
fcc48de855 Implemented coalescing for main memory PHI registers. 2019-10-19 23:08:30 +02:00
jespergravgaard
40ade8e60e Adding a few more default directives to find. 2019-10-19 00:33:27 +02:00
jespergravgaard
fcf0d65bcb Adding a few directives to find. 2019-10-19 00:27:33 +02:00
jespergravgaard
ce3475f596 Implemented directive searching. Nothing to find yet. 2019-10-19 00:07:32 +02:00
jespergravgaard
23c6ab3787 Moved parser directive context to separate file. 2019-10-19 00:03:05 +02:00
jespergravgaard
b82a4277e1 Moved variable directive handling to separate file. Default implementation identical to existing features. 2019-10-18 23:56:20 +02:00
Jesper Gravgaard
8f274f18a6 Refactored directive parsing slightly. 2019-10-17 11:13:46 +02:00
Jesper Gravgaard
90b2077ac5 Changed memory area keywords to __zp / __mem / address(0xnn) / address(0xnnnn). 2019-10-17 01:27:56 +02:00
Jesper Gravgaard
c215cfed28 Fixed test data 2019-10-16 08:34:33 +02:00
jespergravgaard
689e0e1e97 Improved struct value unwinding. 2019-10-14 01:07:01 +02:00
jespergravgaard
85676bc83a Implemented support for fixed address main memory variables using __mem(0x1000) directive. 2019-10-14 00:51:19 +02:00
jespergravgaard
12aed34f2d Added test for zeropage notregister variable. 2019-10-13 23:49:52 +02:00
jespergravgaard
da2dd21514 Changed 'memory' keyword to 'notregister'. Changed default for 'notregister' variables to be on zeropage. 2019-10-13 23:36:40 +02:00
jespergravgaard
0c4e0a833c Removed support for register(NUMBER) and memory(NUMBER). Added keywords for using zeropage memory (__zp) or main memory (__mem). Added support for __zp(NUMBER) and __mem(NUMBER). 2019-10-13 22:09:33 +02:00
jespergravgaard
c231a1abe4 Added a memory area attribute to variables. 2019-10-13 13:46:01 +02:00
jespergravgaard
f2660a8680 Improved fragments. Improved printing main memory registers. 2019-10-12 11:51:55 +02:00
Jesper Gravgaard
70aa2836da Improved printing register ZP. 2019-10-12 11:40:36 +02:00
Jesper Gravgaard
3491ff02cb Merge remote-tracking branch 'origin/328-memvars' into 328-memvars 2019-10-10 08:51:35 +02:00
Jesper Gravgaard
95f3b38e7c Merge remote-tracking branch 'origin/master' into 328-memvars 2019-10-10 08:44:41 +02:00
jespergravgaard
08da28e976 Added another test for literal number type detection in ternaries. #199 2019-10-09 16:43:02 +02:00
jespergravgaard
22139da54e Added long fragment. 2019-10-09 13:41:12 +02:00
jespergravgaard
ae7a0b6fe5 Added long fragment. 2019-10-09 09:30:11 +02:00
jespergravgaard
883f90abf7 Added long fragment. 2019-10-09 09:26:57 +02:00
jespergravgaard
6961f121e7 Now there is only one ZP memory register type. 2019-10-07 07:47:44 +02:00
jespergravgaard
873adf0b26 Renaming. 2019-10-06 23:48:27 +02:00
jespergravgaard
949917f734 Fixed test. 2019-10-06 23:20:15 +02:00
jespergravgaard
b93d65423d Eliminated most register types and classes. 2019-10-06 22:41:21 +02:00
jespergravgaard
1b9e4347fc Now trying registers for boolean vars. 2019-10-06 21:11:56 +02:00
Jesper Gravgaard
9f523beeaf Eliminating ZP_BYTE/ZP_WORD/ZP_DWORD register calses & types. 2019-10-06 20:42:52 +02:00
Jesper Gravgaard
9877da213d Improved a few fragments. Moved to use the SymVar.isStorageXxx() methods. 2019-10-05 12:06:43 +02:00
jespergravgaard
358f6d0047 Added a few fragments. 2019-10-05 08:29:28 +02:00
jespergravgaard
6feeb0d842 Working on M/Z synth rules. 2019-10-04 00:20:17 +02:00
jespergravgaard
ec1087b876 Working on M/Z synth rules. 2019-10-04 00:00:41 +02:00
jespergravgaard
633cc9294b Working on M/Z synth rules. 2019-10-03 23:29:21 +02:00