1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-07-12 06:29:05 +00:00
Commit Graph

2064 Commits

Author SHA1 Message Date
jespergravgaard
34e9c50775 Fixed comments. 2020-06-27 20:59:59 +02:00
jespergravgaard
aee57979ef Now comments on global variables are no longer destroyed. However some comments appear twice! 2020-06-27 20:32:09 +02:00
jespergravgaard
e09a0718d0 Fixed scope comparison. 2020-06-27 12:21:29 +02:00
jespergravgaard
3d4d114522 Added more tests for __address(). Added error when using __address on a local array variable. 2020-06-27 11:11:03 +02:00
jespergravgaard
597b0e3a77 Merged master. 2020-06-23 18:56:34 +02:00
Jesper Gravgaard
8e176ea4fb Merge remote-tracking branch 'origin/master' 2020-06-23 12:36:39 +02:00
Jesper Gravgaard
1df68736a0 Added missing fragment for @Stephan Kleinert. 2020-06-23 12:36:24 +02:00
jespergravgaard
0f7c6733f7 Fixed problem where functions without body produced an empty block. 2020-06-23 00:42:14 +02:00
jespergravgaard
f2314caadb Removed inline kickasm parse trick that created a statement and then deleted it again. 2020-06-23 00:22:56 +02:00
jespergravgaard
3781096d01 Removed support for inline kickasm in the global scope. Now only kickasm inside functions (code) or kickasm as initializer for arrays are supported. 2020-06-22 23:53:34 +02:00
jespergravgaard
f027b58a16 Removed support for pc parameter on inline kickasm Closes #479, #480 2020-06-22 08:16:47 +02:00
jespergravgaard
3692797650 Removed support for pc parameter on inline kickasm Closes #479, #480 2020-06-22 00:26:44 +02:00
jespergravgaard
cb1b9bece1 Implemented support for __address() on arrays. Removed support for pc parameter on inline kickasm. Closes #480. Closes #479 2020-06-22 00:07:59 +02:00
jespergravgaard
804d39cf0a Working on static initialization rewrite _init(). #257 2020-06-21 11:19:32 +02:00
jespergravgaard
a989e63f5b Working on static initialization rewrite _init(). #257 2020-06-21 10:23:04 +02:00
jespergravgaard
d129efb95f Working on static initialization rewrite _init(). #257 2020-06-21 08:04:55 +02:00
jespergravgaard
f4ef60e822 Working on static initialization rewrite _init(). #257 2020-06-20 21:31:49 +02:00
jespergravgaard
57d5d4500b Working on static initialization rewrite _init(). #257 2020-06-20 01:00:57 +02:00
jespergravgaard
ea52aa7f2b Working on static initialization rewrite _init(). #257 2020-06-19 23:43:56 +02:00
jespergravgaard
435e358c8d Working on static initialization rewrite _init(). #257 2020-06-19 23:28:14 +02:00
jespergravgaard
5779f3169b Working on static initialization rewrite _init(). #257 2020-06-19 01:23:34 +02:00
jespergravgaard
dc4102d680 Working on static initialization rewrite _init(). #257 2020-06-18 10:01:45 +02:00
jespergravgaard
69c1659a72 Merge remote-tracking branch 'origin/master' into 257-init 2020-06-16 23:41:14 +02:00
jespergravgaard
4bf19bdbec Added VS.Code CC65 task. 2020-06-16 23:40:22 +02:00
jespergravgaard
83480c69dc Added strcpy() test. 2020-06-16 23:30:38 +02:00
jespergravgaard
91e2a45287 Working on #257 static initialization. Started on procedure by procedure compilation. 2020-06-15 22:23:06 +02:00
jespergravgaard
b23059ccc6 Updated manual PDF. 2020-06-14 14:04:45 +02:00
jespergravgaard
be9ca0c060 Improved release script. Updated fragment cache file. 2020-06-14 13:49:20 +02:00
jespergravgaard
6d40e87d6c Moved NES test. 2020-06-14 13:10:26 +02:00
jespergravgaard
6c0210b704 Added static init test. #257 2020-06-10 07:12:10 +02:00
jespergravgaard
0d9d6f8d54 Changed NES CPU to allow illegal opcodes. 2020-06-08 00:33:18 +02:00
jespergravgaard
7928b2920a Added nes-dxycp.c 2020-06-07 03:56:27 +02:00
jespergravgaard
b53392f5fd NES conio.h now working reasonably well. There is a few issues with __bbegin and data in ROM/RAM. 2020-06-06 13:36:03 +02:00
jespergravgaard
d40ff86b03 Added a const parenthesis test. #470 2020-06-06 08:48:00 +02:00
jespergravgaard
ba90f9ea65 Added NES conio initial support. (scrolling not working atm.) 2020-06-06 01:19:28 +02:00
jespergravgaard
709039de87 Added missing c-file. 2020-06-05 17:02:38 +02:00
jespergravgaard
60f344fd5f Improved implementation of ASM symbol name logic. 2020-06-05 17:01:37 +02:00
jespergravgaard
7efe019e40 Fixed String consolidation problem with local labels shadowing global labels. Split conio.c into platform-specific files. Closes #472 2020-06-05 16:35:14 +02:00
jespergravgaard
e4e641cf7a Changed fragments to the void pointer type to make them more general. Closes #467 2020-06-04 22:16:41 +02:00
jespergravgaard
9d607e0471 Fixed the 2 remaining minus implemented using adc. #470 2020-06-04 21:53:57 +02:00
jespergravgaard
5d1aff1630 Added a cache for improved performance. 2020-06-03 01:08:16 +02:00
jespergravgaard
bff7cd7f9f Also hashing in the synthesis rules. Closes #469 2020-06-03 00:04:58 +02:00
jespergravgaard
b73601f483 Added hash and lastModified check to the fragment synthesis cache. Location of cache changed to always be inside fragments-folder. Cache is enabled by default and can be disabled by command-line switch. #469 2020-06-02 23:28:32 +02:00
jespergravgaard
558e19f47f Added CPU-specific fragment caches. Using the caches when testing (for better performance). #469 2020-06-02 01:56:23 +02:00
jespergravgaard
9953c1d379 Slight optimization not initializing exception stack trace on every usage. 2020-06-01 22:34:21 +02:00
jespergravgaard
513a71ce64 Optimized block successor closure slightly. 2020-06-01 22:17:01 +02:00
jespergravgaard
0359c85846 More void-pointer synthesis. Fragment test is showing some performance issues. #449 2020-05-31 08:09:15 +02:00
jespergravgaard
08d90f90d9 Introduces void-pointer synthesis. This enables removal of a lot of pointer fragments. #449 2020-05-30 23:12:44 +02:00
jespergravgaard
74d83caaf9 Added a bunch of missing fragments from G. B. @agpxnet. #449 2020-05-30 13:28:46 +02:00
jespergravgaard
7c124f3fa8 Added a bunch of missing fragments from G. B. @agpxnet. #449 2020-05-30 13:28:21 +02:00