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

1778 Commits

Author SHA1 Message Date
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
jespergravgaard
40279db29c Fixed test. 2019-10-12 11:26:14 +02:00
jespergravgaard
6018f85dae Added missing fragment for lin0287 2019-10-12 08:23:05 +02:00
jespergravgaard
8a560d8edd Added missing fragment for lademan12 2019-10-12 08:18:35 +02:00
jespergravgaard
3866dad904 Added proper error message with line number. 2019-10-12 08:10:43 +02:00
jespergravgaard
b00bb06783 Optimized ROL 6/7. Thanks to Travis Fisher! 2019-10-11 20:44:33 +02:00
jespergravgaard
8cc3691884 Added missing ROR fragments. 2019-10-11 08:42:51 +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
jespergravgaard
78d316e7db Working on M/Z synth rules. 2019-10-03 22:58:34 +02:00
jespergravgaard
a494e06e4b Fixed test. 2019-10-03 18:34:55 +02:00
jespergravgaard
d60a275a68 Added 2 fragments from Travis Fisher 2019-10-03 10:45:48 +02:00
jespergravgaard
812546d603 Fixed NPE if ranged loop-variable is not declared. Closes #333 2019-10-03 10:41:10 +02:00
jespergravgaard
f4206a2e84 Optimized fragments in test (still needs proper handling of CPU aspects). Added error when encountering unsupported const parameters. Closes #331 2019-10-03 10:29:58 +02:00
jespergravgaard
ec6139de54 Updated fragment test data #328 2019-10-02 08:27:48 +02:00
jespergravgaard
ce0377e155 Changed Z-fragments to M-fragments. Added z-to-m synth. 2019-10-02 01:07:42 +02:00
jespergravgaard
75dbe31cef Progress on memory variables. Added identification of identical memory registers. #328 2019-10-01 22:28:54 +02:00
jespergravgaard
7b7d7de49d Progress on memory variables. Avoided const/alias/... passes. Added new register type and the first few fragments. The first few tests working. #328 2019-09-30 23:57:27 +02:00
jespergravgaard
cfff09e038 Added fragments from Paul Gardner-Stephen. 2019-09-30 08:15:07 +02:00