1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-25 11:32:07 +00:00
Commit Graph

2873 Commits

Author SHA1 Message Date
jespergravgaard
1898956932 Fixed test. 2021-08-02 08:13:50 +02:00
jespergravgaard
66cfcc4824 Fixed problem with illegal call giving exception. Closes #689 2021-08-02 08:00:08 +02:00
jespergravgaard
dbd8a3cbac Fixed problem with macros with empty parameter lists. Closes #688 2021-08-02 07:52:50 +02:00
jespergravgaard
9bcda2cb67 Added complex test for function pointers. Closes #121 2021-08-01 23:27:59 +02:00
jespergravgaard
f2f9b79ece Added support for short / long / signed types (without int). Closes #681 2021-08-01 20:52:23 +02:00
jespergravgaard
82dd27e627 Parameters and return values now work for calling convention stack. Pointers to functions with parameters/return values now work. Parameter transfer through stack of structs/unions now work. #121 2021-08-01 17:24:12 +02:00
jespergravgaard
599a757bf1 Added missing fragment and strncpy() to string.h. 2021-07-29 23:04:05 +02:00
jespergravgaard
d372383d48 Fixed problem with typedef enum. Closes #686 2021-07-29 22:29:49 +02:00
jespergravgaard
8c77cbb45a Updated cache 2021-07-29 21:14:07 +02:00
jespergravgaard
7dbb73e8bd Added support for silent truncation from int/long to char. Closes #684 2021-07-29 21:13:39 +02:00
jespergravgaard
d6179a0b3c Added support for upper case integer suffixes eg. 1234U. Closes #682 2021-07-29 19:26:36 +02:00
jespergravgaard
825a3b79a5 Added support for unsigned integer suffix U eg. 1234U. Closes #682 2021-07-29 19:12:05 +02:00
jespergravgaard
9d2e3f299e Added MEGA65 hypervisor inludes. 2021-07-29 19:01:18 +02:00
jespergravgaard
2cc8c94d63 Improved error message during preprocessor expansion. Closes #683 2021-07-29 19:00:48 +02:00
jespergravgaard
ec8c555816 Added some bits & bops from WeeIP for testing unions. #197 2021-07-28 00:23:40 +02:00
jespergravgaard
e528f44570 Working on classic unions - return values. #197 2021-07-27 23:20:25 +02:00
jespergravgaard
cf44674bee Working on classic unions. #197 2021-07-27 22:43:06 +02:00
jespergravgaard
ea70b1f2e3 Working on classic unions. #197 2021-07-27 22:32:54 +02:00
jespergravgaard
5050079229 Working in classic structs. #197 2021-07-27 20:11:30 +02:00
jespergravgaard
c67d4d6ec9 Working in classic structs. #197 2021-07-27 19:38:51 +02:00
jespergravgaard
1df68ee4d8 Working on eliminating memcpy() statements when using classic structs. #197 2021-07-27 19:11:14 +02:00
jespergravgaard
5fec69e3f1 Working on classic structs. #197 2021-07-26 12:15:15 +02:00
jespergravgaard
47d6ea3f9a Working in classic structs. #197 2021-07-25 22:30:22 +02:00
jespergravgaard
6d39582e5f Working in classic structs. #197 2021-07-25 22:06:49 +02:00
jespergravgaard
08bb1aa9a0 Working on classic structs and unions. #197 2021-07-25 02:21:45 +02:00
jespergravgaard
f50cbf3cf1 Working on classic structs and unions. #197 2021-07-25 02:21:25 +02:00
jespergravgaard
29633a2479 Working on varcall calling convention, structs and unions. #197 #372 2021-07-24 11:33:07 +02:00
jespergravgaard
fa937d4874 Added support for union default initializers (initializing the first element) including any necessary padding to reach the right byte size. #197 2021-07-23 17:26:47 +02:00
jespergravgaard
16234fefa0 Added union syntax and support for very simple unions. Still need some work to support passing as parameters and more. #197 2021-07-22 21:05:48 +02:00
jespergravgaard
eee018847c Added a test of nested struct definitions. 2021-07-22 09:14:16 +02:00
jespergravgaard
88c26c2507 Added fragments. Fixed problem in CIA timer library and tests. 2021-07-22 01:16:59 +02:00
jespergravgaard
bd15b53cab Added missing fragment 2021-07-16 13:55:58 +02:00
jespergravgaard
3dff5d04fb Fixed exception "Block referenced, but not found in program" when encountering complex if(&&). Closes #676 2021-07-07 08:47:44 +02:00
jespergravgaard
72c5c7d537 Added test. 2021-07-03 00:21:22 +02:00
jespergravgaard
6e80a72cc2 Updated caches 2021-07-03 00:19:26 +02:00
jespergravgaard
c740b9f487 Added MAKELONG4() constant identification and removed need for declaration in source. Closes #675 2021-07-02 21:56:23 +02:00
jespergravgaard
56e9346eb1 Added MAKELONG4(). Closes #675 2021-07-02 21:06:09 +02:00
jespergravgaard
1eb61b9c9d Added MAKEWORD() and MAKELONG(). Removed support for initializer lists for initializing word/dword. Closes #668 2021-07-02 00:33:29 +02:00
jespergravgaard
ff770cb0d7 Added MAKEWORD() and MAKELONG(). Removed support for initializer lists for initializing word/dword. #668 2021-07-02 00:21:25 +02:00
jespergravgaard
3013352b2e Added MAKEWORD() and MAKELONG(). Removed support for initializer lists for initializing word/dword. #668 2021-07-02 00:21:08 +02:00
jespergravgaard
79f85b439f Now synthesizing _deref_p..c. fragments using v..m. Closes #674 2021-06-30 00:58:50 +02:00
jespergravgaard
62b79212cb Now synthesizing _deref_p..c. fragments using v..m. Closes #674 2021-06-30 00:05:01 +02:00
jespergravgaard
04ce973d0d Now synthesizing _deref_p..c. fragments using v..m. Closes #674 2021-06-29 23:00:49 +02:00
jespergravgaard
a540f1015f Now synthesizing _deref_p..c. fragments using v..m. Closes #674 2021-06-29 22:54:28 +02:00
jespergravgaard
bf52297c73 Now synthesizing _deref_p..c. fragments using v..m. Closes #674 2021-06-29 00:49:38 +02:00
jespergravgaard
eec9f260df Added fallback to ZP-addressing if inline ASM instruction does not support absolute addressing. Closes #673 2021-06-26 09:46:46 +02:00
jespergravgaard
8d797ac308 Improved sign extension in fragments. 2021-06-23 09:57:58 +02:00
jespergravgaard
822d168dd8 Improved sign extension in fragments. 2021-06-23 09:40:48 +02:00
jespergravgaard
4628870166 Added missing fragments. 2021-06-21 14:29:35 +02:00
jespergravgaard
866460d942 Improved doxygen documentation. #672 2021-06-20 12:59:27 +02:00