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

55 Commits

Author SHA1 Message Date
jespergravgaard
075974063a Added -vfixlongbranch to give more info about the fix long branch pass. 2021-09-25 19:59:45 +02:00
jespergravgaard
bcc46fd8ff Added support for automatically converting function names to function pointers. Closes #702 2021-08-08 02:15:02 +02:00
jespergravgaard
5439910ae3 Improved parameter type errors to show expected and actual types. Closes #703 2021-08-07 10:32:20 +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
78e378a8e1 #666 Moved intermediate variable creation into VariableBuilder in preparation for fix of memory area. 2021-06-06 22:23:14 +02:00
Jesper Gravgaard
843baa6fb2 #666 working on memory model for intermediate vars 2021-06-06 12:19:05 +02:00
jespergravgaard
55e5e6bca2 Added a test for OutputFileManager. This fixes the problem with -o not being honored always. Closes #644 2021-05-15 12:38:53 +02:00
jespergravgaard
1d4e754f0e Added initial support for special BYTE0() and BYTE1() unary operators giving access to specific bytes. #221 2021-04-05 00:27:47 +02:00
jespergravgaard
0f01dbb700 Upgraded to KickAsm 5.19. 2021-02-07 15:16:19 +01:00
jespergravgaard
2db904f7c1 Upgraded to KickAsm 5.17. Closes #609 2021-01-04 19:58:04 +01:00
Jesper Gravgaard
056e145d2e Merged @SijmenSchoon fix for ClassCastException when declaring array with a constant that does not exist addresses. Closes #607 2021-01-04 14:38:36 +01:00
jespergravgaard
c36da71ecd Added cruncher plug-in and example programs. Closes #603 2020-12-30 23:13:55 +01:00
jespergravgaard
7c995f82a1 Added a few missing fragments. Improved fragments for if() where rvalue1==0. Closes #598 2020-12-12 00:48:31 +01:00
jespergravgaard
82a045934d Updated to ANTLR4.9. Merged Andrzej Śliwa implementation of __address() support for constant expressions branch address_with_expression_value. Closes !1 2020-12-11 01:18:36 +01:00
jespergravgaard
717add7c75 Upgraded to Atari XE/XL Format plugin 1.3 (adding support for "_Order") in the linker file. Upgraded to KickAss 65CE02 5.16.h (Fixing off-by-one bugin long branches.) 2020-12-11 00:20:23 +01:00
jespergravgaard
cb6953dd0d Upgraded to Atari XEX Format Plugin 1.2 2020-11-18 17:53:17 +01:00
jespergravgaard
762cce9720 Upgraded XES plugin for supporting older JVMs. Added better support for start address to target platforms. Closes #574 2020-11-15 10:11:43 +01:00
jespergravgaard
a67f01a61a Introduced KickAss XEX format modifier plugin https://gitlab.com/jespergravgaard/kickass-plugin-atari-xex. Changed #pragma pc() to #pragma start_address(). Added start_address to .TGT platform file. Closes #571 2020-11-15 02:15:48 +01:00
jespergravgaard
66d94d7501 Added support for passing command line options on to the assembler using -Xassembler. Closes #530 2020-11-08 12:46:42 +01:00
jespergravgaard
78508feb82 Downgraded required language level to Java 1.8. 2020-08-24 23:36:54 +02:00
jespergravgaard
a9373ff3c9 Upgraded to OpenJDK 14, Junit 5, Surefire 3.0, JaCoCo 0.8.5. 2020-08-24 21:00:16 +02:00
jespergravgaard
ed86691c25 Updated KickAsm 65CE02 to new version. Fixed INW/DEW addressing mode problem. Working on MEGA65 platform target. #507 2020-08-23 20:05:48 +02:00
jespergravgaard
0f7061bcf0 Updated KickAsm with newest version of 45GS02 CPU. Now all opcodes match between KickC and KickAsm. 2020-07-31 01:47:49 +02:00
jespergravgaard
462c05552d Added test that checks that KickC and KickAss agree on all mnemonics and opcodes. Removed discrepancies for 6502 official & illegal, 65c02 and 65ce02. 2020-07-31 00:56:22 +02:00
jespergravgaard
f62631812e Now using kickassembler-5.16-65ce02 properly. 2020-07-26 02:25:33 +02:00
jespergravgaard
afae4975f1 Updated to KickAssembler 5.16-65CE02 (my own hacked version). 2020-07-26 02:01:02 +02:00
jespergravgaard
be85d43f1c Upgraded to Kickassembler 5.16 2020-07-26 00:57:17 +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
435e358c8d Working on static initialization rewrite _init(). #257 2020-06-19 23:28:14 +02:00
jespergravgaard
6c3ba36459 Upgraded to KickAss 5.15. Fixed NES linker file. Closes #459 2020-05-25 07:44:04 +02:00
jespergravgaard
239cfdb48e Implemented #platform target() functionality configured by a TGT-file in JSON. 2020-05-11 02:36:37 +02:00
jespergravgaard
f2ece49ded Upgraded to Picocli 4.2.0. Added support for -Dname command-line option for defining a macro on the command line. 2020-05-10 00:07:12 +02:00
jespergravgaard
ab670df01f Renamed #pragma emulator. Added headers for Plus/4. Closes #436 2020-05-09 11:44:29 +02:00
jespergravgaard
ab10f2184d Upgraded to KickAsm 5.14. Fixed PETSCII encoding problem. Closes #401 2020-04-13 10:33:44 +02:00
jespergravgaard
b4787eb45c Updated to KickAss 5.13. Closes #389 2020-04-12 08:03:01 +02:00
jespergravgaard
21e4638857 Upgraded to KickAsm 5.9. Closes #272 2019-08-18 22:12:02 +02:00
jespergravgaard
a006e67f82 Upgraded to KickAss 5.8. Closes #243 2019-08-01 12:58:40 +02:00
jespergravgaard
5061a02a17 Upgraded to KickAssembler 5.7. Closes #213 2019-07-07 17:54:06 +02:00
Travis Fisher
54e79d91a1 try again update test reference. maven config for tests in parallel. 2019-04-02 21:41:57 -04:00
jespergravgaard
b777a6bd98 Updated libraries. Added packaging assembly to maven POM. 2018-09-26 19:57:15 +02:00
jespergravgaard
c05b04ff3c Created initial simple commandline using picocli. 2018-08-23 23:54:39 +02:00
Jesper Gravgaard
11b700d269 Fixed tests 2018-06-01 00:45:18 +02:00
jespergravgaard
52dd6035a0 Dropped JSON serialization. Added KickAss JAR. 2018-02-12 21:39:26 +01:00
jespergravgaard
4d46820cf4 Reformatted for code style. 2018-01-01 21:25:11 +01:00
jespergravgaard
203af62173 Refactoring fragment synthesis to allow scoring of files & synthesis. 2017-12-30 19:22:44 +01:00
jespergravgaard
7430fc1c5e Moving into the new kickc repository. 2017-12-29 10:44:25 +01:00
jespergravgaard
32d7db5ce7 Moved tests into Maven Test area to allow maven-based testing. 2017-12-28 15:34:32 +01:00
jespergravgaard
ebb71b4130 Working on support for inline constants with multiple potential types.
Improving fragment synthesis.
2017-11-26 17:38:45 +01:00
jespergravgaard
0377193ec8 Moved to maven based configuration & build. 2017-07-29 14:59:55 +02:00