1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-29 18:49:42 +00:00
Commit Graph

2242 Commits

Author SHA1 Message Date
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
jespergravgaard
ab670df01f Renamed #pragma emulator. Added headers for Plus/4. Closes #436 2020-05-09 11:44:29 +02:00
jespergravgaard
c3a9ced0f5 Added support for #pragma emulator() specifying which emulator to execute. 2020-05-09 08:12:28 +02:00
jespergravgaard
7e859fa8ae Added support for -emu option specifying which emulator to execute. 2020-05-09 00:04:03 +02:00
jespergravgaard
6aa88fe3e6 Added random walk for Plus/4 to examples. Thanks to Carrion of Bonzai! 2020-05-08 18:28:48 +02:00
jespergravgaard
6a5aa72ed5 Fixed tests. 2020-05-08 09:10:59 +02:00
jespergravgaard
aa66273149 Optimized line buffer and rendering sequence slightly 2020-05-08 09:07:46 +02:00
jespergravgaard
6da9a8f9f8 Introduced line buffer. 2020-05-07 09:04:42 +02:00
jespergravgaard
42aa2d9a8f Added missing fragment. 2020-05-07 08:42:27 +02:00
Jesper Gravgaard
21ee39aafa Fixed tests. 2020-05-06 22:38:59 +02:00
Jesper Gravgaard
a6d0f4a541 Added circle chars test. 2020-05-06 22:36:46 +02:00
Jesper Gravgaard
1aa1551ea8 Describing a more ambitious eor filler design. 2020-05-06 20:09:01 +02:00
jespergravgaard
4cd7e638c9 Optimized ln in <conio.h> 2020-05-05 08:37:49 +02:00
jespergravgaard
ed6df148f7 Added test for rand() 2020-05-05 07:49:32 +02:00
jespergravgaard
36f82d5745 Added pseuso random number generator to <stdlib.h>. Closes #434 2020-05-05 07:46:48 +02:00
jespergravgaard
4d4169ef32 Optimized word rol/ror by 6-9. 2020-05-05 07:22:02 +02:00
jespergravgaard
60e6d3a645 Added a test for a pseudo random number generator and struct-of-arrays vs array of strucs. 2020-05-04 01:24:28 +02:00
jespergravgaard
b2052e0ab4 Added scroll mode configuration to <conio.h>. 2020-05-03 14:01:23 +02:00
jespergravgaard
f7f9ef4a6c Fixed exception when using a return value from a VOID function. Added proper error message when printf() is missing parameters referenced in the format string. 2020-05-03 13:59:48 +02:00
jespergravgaard
dbbde914c7 Fixed test reference files. 2020-05-03 08:53:52 +02:00
jespergravgaard
e7ca7913f1 Integrated <conio.h> and <printf.h> to work together. Added missing fragments. 2020-05-03 00:34:06 +02:00
jespergravgaard
3948ffd3df Updated helloworld.c to use <stdio.h> and printf() 2020-05-02 15:38:02 +02:00