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

2113 Commits

Author SHA1 Message Date
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
jespergravgaard
f3e27c1e3d Updated version number. 2020-05-02 12:14:27 +02:00
jespergravgaard
f8af7172d4 Added test reference files. 2020-05-02 12:07:12 +02:00
jespergravgaard
95a3759087 Renamed a few VIC II registers 2020-05-02 11:38:51 +02:00
jespergravgaard
4ffba62276 Added support for address-of on struct value members. Closes #429 2020-04-30 23:42:45 +02:00
jespergravgaard
30b7e32902 Added error message. 2020-04-30 22:40:42 +02:00
jespergravgaard
facd70053d Added support for address-of pointers to members of structs. 2020-04-30 22:15:59 +02:00
jespergravgaard
bf0dbfde63 Slight changes to <mos6569.h> 2020-04-29 08:09:45 +02:00
jespergravgaard
bc85b3c0d1 Improved equality of constants. Moved more VIC-II variabes into struct. 2020-04-29 07:53:45 +02:00
jespergravgaard
0a9cee999d Updated C64 header file. 2020-04-28 22:58:16 +02:00
jespergravgaard
73d737ac79 Fixed tests. Started work in VICII struct. 2020-04-28 21:21:32 +02:00
jespergravgaard
013159c16d Fixes optimization problem with post-increment/decrement of calculated pointers. Closes #428 2020-04-28 20:13:29 +02:00
jespergravgaard
eed25ff1cd Inlined sid_rnd() functions. 2020-04-28 00:32:36 +02:00
jespergravgaard
8f2b1c2134 Moved MOS 6526 and MOS 6581 to separate H-files. Removed log noise causes by structs in H-files. 2020-04-28 00:30:35 +02:00
jespergravgaard
a8384bbebe Fixed CIA problems. 2020-04-27 00:20:53 +02:00
jespergravgaard
b10c365513 Using time-of-day in both 8 queens programs. 2020-04-26 23:50:19 +02:00
jespergravgaard
b82c3f0a07 Added time-of-day utility for commodore 64 <tod.h>. Moved MOS 6526 CIA to structs. 2020-04-26 23:30:04 +02:00
jespergravgaard
d8d0cc1ff8 Added 8 queens example programs with and without recursion. 2020-04-26 13:57:53 +02:00
jespergravgaard
e960c71448 Fixed fragment test. 2020-04-26 00:01:31 +02:00
jespergravgaard
9ddcb9790a Implemented 8 queen problem recursive solution. 2020-04-25 23:28:38 +02:00
jespergravgaard
0da4300069 Fixed atoi(). 2020-04-25 21:25:27 +02:00
jespergravgaard
ad76f3a9ed Added atoi() and a test. optimized printf(). 2020-04-25 21:09:46 +02:00
jespergravgaard
7069a8c17c Added test of toupper() 2020-04-25 20:23:40 +02:00
jespergravgaard
793a776b04 Clean-up of pass 1 log to avoid modifying log-files evey time stdlib is modified. 2020-04-25 20:10:49 +02:00
jespergravgaard
031cde10e9 Fixed test data. 2020-04-25 17:57:48 +02:00
jespergravgaard
5b2e993994 Fixed stack-overflow on recursive __stackcall functions. Added <math.h> abs(). Added <stdio.h> printf(). Closes #415 2020-04-25 16:51:35 +02:00
jespergravgaard
3b6c14be7a Added support for __intrinsic only being present in .c-file while absent in .h-file. Closes #417 2020-04-25 15:46:27 +02:00
jespergravgaard
4c3b000fbd Added a few more printf() error tests. 2020-04-25 14:53:14 +02:00
jespergravgaard
986ad3b77f Added support for printf() parameter index format string (eg. %2$d). Closes #420 2020-04-25 14:48:20 +02:00
jespergravgaard
ae28cb9c67 Improved minus literal implementation. Added <ctype.h> toupper(), <string.h> strupr(). Added support for %X (upper case HEX) in printf() format. Closes #419 2020-04-25 13:15:22 +02:00