1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-22 21:29:50 +00:00
Commit Graph

2760 Commits

Author SHA1 Message Date
jespergravgaard
85714461d5 Updated fragment cache. 2021-10-14 08:16:35 +02:00
jespergravgaard
040c915d0c Added missing test and fragments. 2021-10-14 08:08:26 +02:00
jespergravgaard
a74a36df35 Added missing test. 2021-10-14 08:07:42 +02:00
jespergravgaard
e826accb9c Fixed problem where constant bool return causes ASM compile error. Closes #719 2021-10-14 08:02:06 +02:00
jespergravgaard
a69fb9c419 Added fragments from @Majikeyric 2021-10-13 22:20:34 +02:00
jespergravgaard
a391f9cd76 Added fragments from @Majikeyric 2021-10-13 21:29:46 +02:00
jespergravgaard
fbb15ea4a3 Added fragments from @Majikeyric 2021-10-12 08:26:15 +02:00
jespergravgaard
929ecd9cc0 Updated two tests. 2021-10-11 08:00:48 +02:00
jespergravgaard
d6af9dd779 Added two fragments for @Sepa. 2021-10-11 07:48:38 +02:00
jespergravgaard
049bceeaf5 Added Z-register optimizations for mega65gs02 CPU. Thanks @Majikeyric. Closes #718 2021-10-08 01:31:00 +02:00
jespergravgaard
ecf476c6a6 Added missing fragments for @Sepa. 2021-10-07 07:11:49 +02:00
jespergravgaard
30a36580a9 Added missing fragments for @Sepa. 2021-10-07 07:11:12 +02:00
jespergravgaard
1c941b86a6 Added support for specifying CONIO screen/color address and default text color using a #define. Thanks to @Sepa for contributing the code. 2021-10-05 22:08:56 +02:00
jespergravgaard
47e2bfbd19 Added fragments from Eric Majikeyric 2021-10-02 10:14:29 +02:00
Jesper Balman Gravgaard
45987ac075 Update README.md 2021-09-29 07:49:24 +00:00
jespergravgaard
66dd973795 Added nightly build. 2021-09-29 08:38:26 +02:00
jespergravgaard
2b79836d2a Fixed tests. 2021-09-28 00:01:07 +02:00
jespergravgaard
c1e7d37ac7 Updated too kickasm 5.22. Fixed tests. 2021-09-27 23:37:44 +02:00
jespergravgaard
a570dd36d6 Updated too kickasm 5.22 2021-09-27 23:00:31 +02:00
jespergravgaard
7122972d7c Improved #pragma zp_reserve in example code. 2021-09-27 00:44:49 +02:00
jespergravgaard
40043c195b Improved #pragma zp_reserve in example code. 2021-09-27 00:33:45 +02:00
jespergravgaard
ec78f4932c Added a few fragments and a test of an array of structs with a function pointer. 2021-09-27 00:06:43 +02:00
jespergravgaard
5f7d7c45be Added CBM keyboard test using GETIN(). 2021-09-26 22:27:44 +02:00
jespergravgaard
3e979a4ebb Merge remote-tracking branch 'origin/master' 2021-09-26 00:34:21 +02:00
jespergravgaard
04734ee965 Updated to KickAss 5.21 2021-09-26 00:34:10 +02:00
jespergravgaard
5b7bec66e8 Added #pragma resource() for resource files resource files not referenced in inline KickAsm (for instance in the linker file). Closes #664 2021-09-25 22:04:47 +02:00
jespergravgaard
9fc9d525cf Added test. 2021-09-25 21:33:23 +02:00
jespergravgaard
063512c3f1 When fixing long branch fails the compile stops with KickAss error output. 2021-09-25 21:22:20 +02:00
jespergravgaard
075974063a Added -vfixlongbranch to give more info about the fix long branch pass. 2021-09-25 19:59:45 +02:00
Jesper Gravgaard
5d6fcca6c2 Allocation of zp/memory to variables is now prioritized by the calculated weight of the variable. This ensures that the most used variables are kept on zeropage when variables spill over into main memory. Closes #712 2021-09-23 08:24:56 +02:00
Jesper Gravgaard
1f91617ad1 Renamed non-relocatable variables to hardware/hardcoded. #712 2021-09-23 07:49:19 +02:00
Jesper Gravgaard
74cc8bd1f6 Added support for non-relocatable main memory variables. #712 2021-09-23 07:43:24 +02:00
jespergravgaard
d09f4e2219 added test refs 2021-09-03 17:56:28 +02:00
jespergravgaard
be69833ff2 Added test with working work-around for #717. 2021-09-02 07:56:03 +02:00
jespergravgaard
1f133e34e9 Added very naive support for zeropage overflow to main memory upon exhaust. TODO - overflow low priority variables. #712 2021-08-17 07:48:58 +02:00
jespergravgaard
1294d0b7a2 Fixed multiplication rewriting to shift/add to also support const*var. Closes #201 2021-08-15 00:47:58 +02:00
jespergravgaard
db4fe786a7 Fixed multiplication rewriting to shift/add to also support const*var. Closes #201 2021-08-15 00:47:48 +02:00
jespergravgaard
31ecd6a2c5 Added support for passing NULL-parameters. Closes #706 2021-08-15 00:02:46 +02:00
jespergravgaard
93d19035ca Added test demonstrating problem with NULL parameter. #706 2021-08-14 23:24:13 +02:00
jespergravgaard
39f79b668b Fixed test. Added struct_model to platform .TGT-file. Closes #716 2021-08-13 22:50:09 +02:00
jespergravgaard
940e0813be Added sprintf(). Closes #715 2021-08-13 22:31:54 +02:00
jespergravgaard
5e18953517 Added test. 2021-08-13 22:03:52 +02:00
jespergravgaard
48f4e99826 Added support for snprintf(). Closes #698 2021-08-13 21:22:17 +02:00
jespergravgaard
ea760e4731 Added support for snprintf(). Closes #698 2021-08-13 20:06:59 +02:00
jespergravgaard
72471bbcd0 Rewrote printf() to use a putc() function pointer. Working on #698 2021-08-13 09:19:33 +02:00
jespergravgaard
728a5ae7e3 Removed ASM directive keywords (resource/uses/clobbers/bytes/cycles). Closes #696 2021-08-11 00:55:08 +02:00
jespergravgaard
650592fc66 Added commandline option -struct_model to specify the struct model. Closes #707 2021-08-11 00:25:57 +02:00
jespergravgaard
8a38c2a887 Using C declaration format for types in logs, errors, comments and more. 2021-08-10 17:48:55 +02:00
jespergravgaard
ac9dbc88a8 Added toCDecl() that cn print variables and types in standard C declaration format. 2021-08-10 00:54:20 +02:00
jespergravgaard
dfa0109613 Added advanced call fragment. 2021-08-09 01:54:22 +02:00