1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-23 08:32:39 +00:00
Commit Graph

2796 Commits

Author SHA1 Message Date
jespergravgaard
e78cd72417 Merge remote-tracking branch 'origin/master' into 121-pointer-to-function 2021-04-12 21:47:35 +02:00
Jesper Gravgaard
76edc3b8c8 Moved ArraySpec to SymbolTypePointer. 2021-04-12 20:57:46 +02:00
jespergravgaard
40d2b3b361 Updated parser syntax to work for any C-types - including pointers to functions. See section 5.12 in K&R for test cases. Pass0 will break! #121 2021-04-07 00:18:33 +02:00
Jesper Gravgaard
66b3daa62f Added example of work-around for passing parameters to call by pointer function. 2021-04-06 21:58:12 +02:00
jespergravgaard
6fe60c6ad5 Added WORD0/1 and fragments. #221 2021-04-06 00:18:49 +02:00
jespergravgaard
510935eee7 Added BYTE0/1/2/3 fragments. #221 2021-04-05 02:19:29 +02:00
jespergravgaard
9443fd5c46 Added BYTE0/1/2/3 support in ilist initializers. #221 2021-04-05 02:02:30 +02:00
jespergravgaard
299671109b Added initial support for special BYTE2() and BYTE3() unary operators giving access to specific bytes. #221 2021-04-05 01:14:35 +02:00
jespergravgaard
03d5d9621a Added initial support for special BYTE0() and BYTE1() unary operators giving access to specific bytes. #221 2021-04-05 00:30:04 +02:00
jespergravgaard
945d8a1113 Added initial support for special BYTE0() and BYTE1() unary operators giving access to specific bytes. #221 2021-04-05 00:29:49 +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
d8cd73115a Added camelot 1536 dots source code. 2021-04-04 21:52:03 +02:00
jespergravgaard
1d5afcdf68 Added a naive double sine xy-plotter. 2021-04-04 19:10:47 +02:00
jespergravgaard
ce41782240 Added a naive double sine xy-plotter. 2021-04-04 18:32:56 +02:00
jespergravgaard
0598d6548a Added initial naive y-plotter. 2021-04-04 13:10:41 +02:00
jespergravgaard
87f0b6d526 Improved division waiting 2021-04-04 11:20:42 +02:00
jespergravgaard
ba2fdf58c5 Fixed line drawing - and fixed a fragment with an error. 2021-04-04 10:59:29 +02:00
jespergravgaard
ab71bff269 Added division function. 2021-04-04 10:23:39 +02:00
jespergravgaard
9fbaf71e31 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/test/kc/examples/mega65/linedrawing.c
2021-04-04 09:24:10 +02:00
jespergravgaard
f4c392ba6a Better documentation 2021-04-04 09:12:59 +02:00
jespergravgaard
3a2e795918 Fixed line drawing 2021-04-03 21:45:29 +02:00
jespergravgaard
ad92cea393 Fixed line drawing example. 2021-04-03 21:35:20 +02:00
jespergravgaard
65eb2edc12 Added better rounding after division. 2021-04-03 21:00:48 +02:00
jespergravgaard
9c9a99e2ac Moved DMA to separate function. Adde 1/2 to better round division result. 2021-04-03 20:51:59 +02:00
jespergravgaard
1c9fa962d3 Fixed slope calculation. Added fragment. 2021-04-03 00:20:47 +02:00
jespergravgaard
a750c606c9 Updated test data. 2021-04-02 17:11:13 +02:00
jespergravgaard
3de1834b35 Added slope initialization and a few fragments. 2021-04-02 11:49:28 +02:00
jespergravgaard
2c6947a600 Made long address unsigned. 2021-04-02 11:11:25 +02:00
jespergravgaard
663f134b0f Optimized readability. 2021-04-02 10:51:20 +02:00
jespergravgaard
fa53ba3dce Optimized readability. 2021-04-02 10:47:37 +02:00
jespergravgaard
eea4792eca Improved readability. 2021-04-02 09:54:58 +02:00
jespergravgaard
e6d28c8ff4 Added constants 2021-04-01 20:53:46 +02:00
jespergravgaard
385a5b2eb1 Using MEGA65 registers. 2021-04-01 20:33:53 +02:00
jespergravgaard
51e7441e62 Added MEGA65 math unit. Using math unit in line drawing. 2021-04-01 19:33:48 +02:00
jespergravgaard
920e0011ba Added new MEGA65 DMA options (line drawing & spiral). Updated line drawing sample. 2021-04-01 12:39:40 +02:00
jespergravgaard
2702432332 Working on mega65 DMA line drawer. Works for fixed x1, y1. 2021-04-01 01:32:02 +02:00
jespergravgaard
d08c678449 Added a fragment and the start of a line drawing mega65 program. 2021-03-31 20:43:36 +02:00
jespergravgaard
0d546d215f Added a fragment and the start of a line drawing mega65 program. 2021-03-31 20:23:35 +02:00
jespergravgaard
ebbecaa875 Merge remote-tracking branch 'origin/master' 2021-03-31 12:24:46 +02:00
jespergravgaard
e3555ff651 Added memchr() to <string.h> 2021-03-31 12:24:38 +02:00
jespergravgaard
566a6c0ffc Fixed error "Type inference case not handled byte* + byte*" that occurs when constant addition optimization changes the sequence of addition between pointers and integers. 2021-03-30 01:22:29 +02:00
jespergravgaard
ffa0ae17d0 Updated cache files. 2021-03-28 09:10:29 +02:00
jespergravgaard
03a25b8915 Updated test data. Added borderline pacman example. 2021-03-28 08:58:48 +02:00
jespergravgaard
e024ac6086 Added some SID register shorthands. 2021-03-20 22:12:49 +01:00
jespergravgaard
329beb2698 Merge remote-tracking branch 'origin/master' 2021-03-15 00:24:55 +01:00
jespergravgaard
2fd5fa6a1d Added missing fragments. 2021-03-15 00:24:48 +01:00
jespergravgaard
eba0c6a32d Merge remote-tracking branch 'origin/master' 2021-03-07 10:27:36 +01:00
jespergravgaard
5b10b2de05 Work in progress on MEGA65 DevKit support. 2021-03-07 10:27:22 +01:00
jespergravgaard
31825bfc94 Added missing fragments. 2021-03-07 01:01:41 +01:00
jespergravgaard
c2bfa98d8f Fixed problem with erronously coalescing structs of same size/type affected by address-of. Closes #632 2021-03-06 08:53:09 +01:00