1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-02 22:49:37 +00:00
Commit Graph

2342 Commits

Author SHA1 Message Date
jespergravgaard
9b5d3f8190 Fixed off-by-one problem in multiplexer. Improved mega65 conio. 2020-12-24 01:54:13 +01:00
jespergravgaard
9e1a2a3684 Merge remote-tracking branch 'origin/master' into master 2020-12-22 10:25:20 +01:00
jespergravgaard
274764931c minor changes 2020-12-22 10:25:17 +01:00
jespergravgaard
7a8a42bb03 Added support for @nooptimize ASM tag. #599 2020-12-21 17:49:10 +01:00
jespergravgaard
bda0f28414 Removed unused clob-fragments. #599 2020-12-21 15:07:57 +01:00
jespergravgaard
ea97e20319 Changed interrupt clobber handling to use (new!) ASM tags instead of replacing the fragment. #599 2020-12-21 15:05:10 +01:00
jespergravgaard
0bdaa77876 Changed align() to __align(). Closes #600 2020-12-21 09:22:44 +01:00
jespergravgaard
da789e007f Removed support for programs without segments. Closes #465 2020-12-21 08:57:41 +01:00
jespergravgaard
089125ff5e Implemented new interrupt system supporting more platforms and CPUs. Closes #599 2020-12-21 01:04:34 +01:00
jespergravgaard
cd6c33a92c CX16 sprite example is now a 256-color 64*64 TUT sprite. #581 2020-12-17 23:34:39 +01:00
jespergravgaard
e6962d38ac CX16 sprite example is now a 256-color 64*64 TUT sprite. #581 2020-12-17 23:23:46 +01:00
jespergravgaard
559d4f65c7 Extended sprite CX16 example. #581 2020-12-17 09:28:45 +01:00
jespergravgaard
e4349daaf6 Extended sprite CX16 example. #581 2020-12-17 09:26:34 +01:00
jespergravgaard
dbaea05623 Added a sprite CX16 example. #581 2020-12-16 22:24:38 +01:00
jespergravgaard
2d58a799d5 Improved simple VRAM example. #581 2020-12-15 01:00:39 +01:00
jespergravgaard
02e57b06cb Improved raster bars. Added simple VRAM example. #581 2020-12-15 00:42:52 +01:00
Jesper Gravgaard
1e13b733ca Fixed VIA addresses. #581 2020-12-14 18:09:53 +01:00
Jesper Gravgaard
205ce4eb6c Added 6522 VIA#1 and VIA#1 to CX16. #581 2020-12-14 13:33:10 +01:00
jespergravgaard
0af602beb5 Added Commander X16 Platform Target and example program. #581 2020-12-14 01:52:55 +01:00
jespergravgaard
2f695a3724 Added Commander X16 Platform Target and example program. %581 2020-12-14 01:29:39 +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
df62ca5c9f Merged improved integer type inference by @tfisher98. Closes !2, #594, #334, #199 2020-12-12 00:02:55 +01:00
jespergravgaard
78d961fd19 Merged improved integer type inference by @tfisher98. Closes !2, #594, #334, #199 2020-12-12 00:01:15 +01:00
jespergravgaard
8a89a4e0a1 Merged branch ignoring trailing whitespace in reference files. Closes !4 2020-12-11 01:26:42 +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
Andrzej Sliwa
6116709c7e Merge branch 'master' into address_with_expression_value 2020-12-10 18:37:56 +01:00
Andrzej Sliwa
cee9bbb3f7 Merge branch 'master' into stripping_to_string_outputs_for_statetments 2020-12-10 18:37:28 +01:00
jespergravgaard
21e12bde0a Fixed problem with local variable not shadowing global functions. Closes #597 2020-12-09 22:42:17 +01:00
Andrzej Sliwa
3bf8a6f55e fixed problem with triming on string comparisions 2020-12-09 16:33:57 +01:00
Andrzej Sliwa
6466419fd1 removed verbose log from unit test 2020-12-09 13:00:02 +01:00
Andrzej Sliwa
9a3244bfc0 removed verbose log from unit test 2020-12-09 12:22:51 +01:00
Andrzej Sliwa
e8155008a2 added support for expressions in __address 2020-12-09 12:18:07 +01:00
jespergravgaard
49b58cc610 Removed test that does not contribute. 2020-12-06 21:08:22 +01:00
jespergravgaard
d3dbba3383 Fixed test data. 2020-12-06 16:59:54 +01:00
jespergravgaard
19a80842e2 Fixed problem with fragment. Thanks @mark.j.fisher. Closes #591 2020-12-06 13:57:44 +01:00
jespergravgaard
6c8c63f7b1 Optimized tests from @IcePic. Closes #514 2020-12-06 11:46:31 +01:00
Travis Fisher
b9b5baf2ea update test reference 2020-12-05 23:30:34 -05:00
Travis Fisher
6f521cd197 Merge branch 'master' into revised-attempt-improved-type-inference 2020-12-05 23:13:24 -05:00
Travis Fisher
a23e5c2848 add reference files for issue-594-case.c 2020-12-05 22:55:23 -05:00
Travis Fisher
3ee2792070 add additional step in pass2 to finalize all numbers 2020-12-05 22:26:41 -05:00
Travis Fisher
4dcff649b7 passnaddnumbertypeconversions back to original 2020-12-05 21:27:52 -05:00
Travis Fisher
33764d4466 add test case 2020-12-05 21:23:38 -05:00
jespergravgaard
deba5a27c4 Updated fragment cache. 2020-12-06 02:26:33 +01:00
jespergravgaard
ee37ed3496 Added missing fragments for Travis Fisher. Closes #585 2020-12-06 02:06:47 +01:00
jespergravgaard
50b8c78dfa Added missing fragments for Janne Johansson. Closes #293 2020-12-06 01:56:33 +01:00
jespergravgaard
f1605bb085 Added missing fragments for Travis Fisher 2020-12-06 01:43:36 +01:00
jespergravgaard
1b283b3084 Added missing fragments for Richard-William Loerakker 2020-12-06 01:13:48 +01:00
jespergravgaard
abb946cca8 Merged 372-varcall into master. 2020-12-06 00:48:41 +01:00
jespergravgaard
c1af79cf47 Added missing ref files. 2020-12-05 23:56:32 +01:00
jespergravgaard
8b6fabc9c8 All tests are now passing. __varcall works reasonably well for non-struct variables. Added some missing fragments and some new tests. 2020-12-05 23:56:01 +01:00
Travis Fisher
4aec255c95 add type cast in simple assignment of numbers; allow integer constants to be finalized to a fixed value; bugfix memcpy 2020-12-04 23:38:14 -05:00
jespergravgaard
28729cbd45 Added new MEGA65 DMA methods and tests. Added a missing fragment. 2020-12-03 01:52:49 +01:00
jespergravgaard
63bc6e0a8e Merge remote-tracking branch 'origin/master' into master
# Conflicts:
#	src/main/fragment/cache/fragment-cache-csg65ce02.asm
#	src/main/fragment/cache/fragment-cache-mega45gs02.asm
#	src/main/fragment/cache/fragment-cache-mos6502.asm
#	src/main/fragment/cache/fragment-cache-mos6502x.asm
#	src/main/fragment/cache/fragment-cache-wdc65c02.asm
2020-12-03 01:38:25 +01:00
jespergravgaard
340db44a84 Added new MEGA65 DMA methods and tests. Added a missing fragment. 2020-12-03 01:37:58 +01:00
jespergravgaard
34a5ca474a Struggling with struct return values. 2020-11-23 11:46:54 +01:00
jespergravgaard
19893e25f6 Added test with 16bit types. 2020-11-23 10:08:11 +01:00
jespergravgaard
381799bbea Rudimentary return value working. TODO: Passing using registers, Live ranges, Entry Points. 2020-11-22 22:39:15 +01:00
jespergravgaard
3be0b5d2d4 Updated test data. 2020-11-22 22:30:24 +01:00
jespergravgaard
2479fc08db The first small test of calling convention VAR is working. TODO: return values, live ranges, allow registers for parameter/return transfer, entry points. 2020-11-22 22:29:48 +01:00
jespergravgaard
6cc6242a54 Fixed a few comments. Added kbhit() check at end of eightqueens. 2020-11-21 14:17:19 +01:00
jespergravgaard
5c0618f9e8 Added missing fragments and a few new pretty hairy synthesis rules.. Closes #577 2020-11-20 23:01:01 +01:00
jespergravgaard
9a38de88ce Added a few missing fragments. Closes #449 2020-11-20 20:46:42 +01:00
jespergravgaard
cb6953dd0d Upgraded to Atari XEX Format Plugin 1.2 2020-11-18 17:53:17 +01:00
Jesper Gravgaard
4d70e8c410 Fixed problem with specifying absolute paths for source files. Closes #576 2020-11-15 20:12:45 +01:00
jespergravgaard
511e47f69e Added support for string encoding suffixes as: ASCII, at: ATASCII, sa: Screencode Atari. Closes #575 2020-11-15 17:51:04 +01:00
jespergravgaard
18e50a245b Using full path for VS.code clickyness. 2020-11-15 14:43:22 +01:00
jespergravgaard
4b543b7de5 Now formatting errors according to GCC standard format. Thanks @RoyJacobs. Closes #551 2020-11-15 14:15:07 +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
Roy Jacobs
a0137d78da Try to infer as much context as possible from existing CompileErrors and clean up their syntax a bit 2020-11-08 21:11:03 +01:00
Roy Jacobs
2084df4a18 Format CompileErrors using new ErrorFormatter class when compiling through the main KickC class 2020-11-08 21:11:03 +01:00
jespergravgaard
bca3622d55 Improved error when emulator cannot be found. Closes #506 2020-11-08 13:02:07 +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
78571d56ee Changed sinus to sine for better english. Closes #565 2020-11-08 10:48:03 +01:00
jespergravgaard
0136093db0 Initializing cursor position in conio/stdio for C64/PLUS4/VIC20. Closes #521 2020-11-08 10:17:22 +01:00
jespergravgaard
2a0efd5f5b Fixed multiplexer tests. 2020-11-08 08:36:09 +01:00
jespergravgaard
d905298115 Improved test. 2020-11-06 08:21:23 +01:00
jespergravgaard
0e9a7e94ca Fixed multiplexer problem caused by missing volatile on screen variable. Added test demonstrating the problem. 2020-11-06 08:16:28 +01:00
jespergravgaard
c6d0f41c14 Merge remote-tracking branch 'origin/master' 2020-11-04 09:10:36 +01:00
jespergravgaard
bc3731dc5d Added test for #564 2020-11-04 09:09:38 +01:00
Jesper Gravgaard
35d03db4c5 Now skipping postponed folders that cannot be deleted. 2020-11-02 19:03:05 +01:00
Jesper Gravgaard
5a99c43efb Fixed problem where temporary folders not being deleted causes errors on every compile. Closes #493 2020-11-02 15:00:09 +01:00
Jesper Gravgaard
9a98476d6e Added test refs. 2020-11-02 11:07:29 +01:00
jespergravgaard
f6c32196ed Improved support for declaring pointers located on zero-page. __address(0xfc) char * zp2. #554 2020-11-02 01:18:03 +01:00
jespergravgaard
6394f074fa Fixed test. 2020-11-01 23:12:46 +01:00
jespergravgaard
c920c360a1 Variables used in ASM is now automatically converted to volatile if not const. Beware that char * const var; and char * volatile var; do behave quite differently when used in ASM Closes #554 2020-11-01 22:42:09 +01:00
jespergravgaard
6bec9849b6 Working on #554 variables used in ASM. 2020-11-01 21:51:16 +01:00
jespergravgaard
85dcf992df Fixed exception in pass 2 casued by constant function parameter. Closes #561 2020-11-01 18:49:10 +01:00
jespergravgaard
b1f34e5769 Working on #554 variables used in ASM. 2020-11-01 11:29:53 +01:00
jespergravgaard
279cc322b7 Added test for #558 2020-11-01 08:19:32 +01:00
jespergravgaard
251cf0856b Added test for #557 2020-11-01 08:00:52 +01:00
jespergravgaard
48af107a90 Created minimal failing MD5 loop 2020-10-30 21:43:12 +01:00
jespergravgaard
8835a8c8f2 Created minimal failing MD5 loop 2020-10-30 21:11:37 +01:00
jespergravgaard
9a44547552 Added second MD5 test. 2020-10-30 20:10:13 +01:00
jespergravgaard
77754f8d39 Added missing fragment. Closes #555 2020-10-30 18:12:52 +01:00
jespergravgaard
4caaa9b752 Added last rol/rors. 2020-10-30 17:09:56 +01:00
jespergravgaard
6daf5ee97a Updated tests. 2020-10-30 16:41:58 +01:00
jespergravgaard
e8ccd96d07 Added 32bit unsigned rol/ror fragments. 2020-10-30 16:05:31 +01:00
jespergravgaard
6f1ef0274e Updated cache. 2020-10-30 10:58:36 +01:00