1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-24 20:32:39 +00:00
Commit Graph

2363 Commits

Author SHA1 Message Date
jespergravgaard
8d8b14ad5a Fixed problem where tmp-folders were not deleted properly. Closes #370 2020-05-30 09:30:57 +02:00
jespergravgaard
a99256645a Fixed problem with size calculation of arrays inside structs. Closes #458 2020-05-30 01:07:45 +02:00
jespergravgaard
c33d140628 Fixed problem with size calculation of arrays inside structs. Closes #458 2020-05-30 00:56:45 +02:00
jespergravgaard
711458ec1f Moved #include to CPreprocessor. Fixed problem where #include does not respect #if. Closes #442 2020-05-29 23:11:52 +02:00
jespergravgaard
0041a4d07c Added support for #error. Closes #440 2020-05-29 22:21:20 +02:00
jespergravgaard
1786d85ea5 Added support for var_model in .TGT-file. Closes #448 2020-05-29 21:57:19 +02:00
jespergravgaard
8fbe49f272 Fixed problem where an unused assigned variable is not taken properly into account when deciding whether it is possible to coalesce two variable live range equivalence classes. Closes #464 2020-05-29 18:49:10 +02:00
jespergravgaard
a63adec0f0 Fixed problem with incorrect parenthesising of non-associative binary operators in constant expressions. Closes #450 2020-05-27 09:05:20 +02:00
jespergravgaard
67dedcc299 Refactored NES demo slightly. 2020-05-26 23:30:33 +02:00
jespergravgaard
70d90102bb Added a Goomba and all-directional joy movement. 2020-05-26 23:10:50 +02:00
jespergravgaard
d8f6331d38 Added NES tiles. Improved NES library. Closes #457 2020-05-26 21:04:52 +02:00
jespergravgaard
a4c0627215 Fixed bug when using 2 function pointers in one block. Closes #463 2020-05-26 17:45:55 +02:00
jespergravgaard
7515c2d069 Fixed error in fragment. Closes #462 2020-05-26 07:56:00 +02:00
jespergravgaard
0d15872d6f Improved NES demo code slightly. 2020-05-25 08:07:49 +02:00
jespergravgaard
6c3ba36459 Upgraded to KickAss 5.15. Fixed NES linker file. Closes #459 2020-05-25 07:44:04 +02:00
jespergravgaard
8f4d3e0efe Added fragment ref data. 2020-05-24 08:00:30 +02:00
jespergravgaard
7c965b6ef6 Introduces OAM struct. 2020-05-24 01:15:58 +02:00
jespergravgaard
c8cd5a0e51 Added support for NES platform with a working demo program. Closes #456 2020-05-24 00:28:38 +02:00
jespergravgaard
0ed5059c8a Added support for reserved ZP variables in the target platform .TGT file. Atari 2600 platform file now uses zp range reserving. Closes #447 2020-05-22 15:52:51 +02:00
jespergravgaard
978d85055a Added support for reserving ZP ranges using NN..NN range syntax "#pragma zp_reserve(0x00..0x1f, 0x22). Changed name of #pragma and function directive to zp_reserve() and __zp_reserve(). Closes #238 2020-05-22 15:24:03 +02:00
jespergravgaard
d714c6ab4c Added Atari 2600 Sprite test. 2020-05-21 21:34:34 +02:00
jespergravgaard
c9965b2cc7 Added test for memory variable used inside inline ASM. 2020-05-21 09:38:03 +02:00
Jesper Gravgaard
8102cc57f4 Optimized conio.c by using x-indexing and a line-cursor instead of having a char-cursor. 2020-05-20 22:25:39 +02:00
jespergravgaard
f44a7132d1 Fixed file name inside disk. 2020-05-18 00:48:46 +02:00
jespergravgaard
da2fd8545b Fixed test reference. 2020-05-18 00:46:25 +02:00
jespergravgaard
65b59c6745 Fixed comment. 2020-05-17 23:54:59 +02:00
jespergravgaard
af90a910f2 Added a sinus movement to the Atari 2600 raster bars. Separated Vars and Data fragments in the Atari 2600 target platform linker file. Moved atari 2600 demo to /examples/. Closes #445 2020-05-17 23:52:58 +02:00
jespergravgaard
2faaae5d93 Implemented support for controlling output file extension using #pragma extension("xxx"), property "extension" in the target platform file or command-line option -oext. Closes #446 2020-05-17 23:33:18 +02:00
jespergravgaard
c2993e4d82 Updated Atari 2600 minial sample. 2020-05-17 00:19:22 +02:00
jespergravgaard
26718942e9 Added Atari 2600 target platform and a minimal sample program. It is functional, but still needs some work. 2020-05-16 22:13:47 +02:00
jespergravgaard
9693ea125a Added VIC 20 raster bars. 2020-05-16 17:35:25 +02:00
jespergravgaard
7364e3a877 Fixed VIC 20 Basic target. 2020-05-16 16:35:09 +02:00
jespergravgaard
557212c847 Added a VIC 20 target. Added CONIO support for VIC 20. 2020-05-16 16:28:24 +02:00
jespergravgaard
97f49cb93c Fixed syntax error. 2020-05-16 13:05:59 +02:00
jespergravgaard
969301af0f Added plus/4 keyboard tester. 2020-05-16 12:45:35 +02:00
jespergravgaard
d9fdaca1b0 Added conio.h support for PLUS4. Fixed problem where anonymous structs failed because scopes were mixed up. 2020-05-16 12:40:01 +02:00
jespergravgaard
1b9f523f8f Fixed processor port addresses. 2020-05-16 09:39:24 +02:00
jespergravgaard
8d0d36e50b Added all Plus/4 IC's and I/O addresses. 2020-05-16 09:33:01 +02:00
jespergravgaard
1d534dcc3d Implemented target platform defines by putting the handling of #pragma target() into the preprocessor/parser. 2020-05-15 08:19:26 +02:00
jespergravgaard
e046e27e52 Added missing fragment found by G.B. 2020-05-14 22:25:48 +02:00
jespergravgaard
a9551beec2 Added test file. 2020-05-12 00:08:40 +02:00
jespergravgaard
b2045c7874 Working on #pragma target handling in preprocessor - to fix the embedded #defines. 2020-05-12 00:08:11 +02:00
jespergravgaard
362ec9bb0b Fixed missing fragment. Closes #435 2020-05-11 20:55:29 +02:00
jespergravgaard
b8d0e50fbb Merge remote-tracking branch 'origin/master' 2020-05-11 11:04:40 +02:00
jespergravgaard
86358c66be Added target files. 2020-05-11 11:04:32 +02:00
Jesper Gravgaard
342eb8a6ac Added test .tgt resources. 2020-05-11 09:19:53 +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
16d19d69a4 Added -Dname=body command-line option for defining macros on the command line. 2020-05-09 23:17:11 +02:00
jespergravgaard
8651ee8886 Updated test data. 2020-05-09 11:52:17 +02:00