1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-26 12:49:21 +00:00
Commit Graph

2102 Commits

Author SHA1 Message Date
jespergravgaard
d39893f97a Fixed problem with casting negative 8-bit numbers to 16-bit. Closes #496 2020-07-22 09:10:34 +02:00
jespergravgaard
b336ba38df Optimized slightly 2020-07-15 12:26:02 +02:00
jespergravgaard
f82800dd67 Added missing fragments. Working on scroller. 2020-07-14 20:14:57 +02:00
Jesper Gravgaard
ed84cda8ea Added missing fragment. 2020-07-13 21:52:20 +02:00
Jesper Gravgaard
8eebce644a Working on lazyNES. Adding sprite 0 hit test. 2020-07-11 23:46:42 +02:00
Jesper Gravgaard
87febe359d Working on lazyNES. Now lnList() works for vertical. CleanUp needed for vertical. 2020-07-11 22:14:02 +02:00
Jesper Gravgaard
6c8a320f5c Working on lazyNES. now lnList() works for single and horizontal. 2020-07-11 08:42:49 +02:00
Jesper Gravgaard
00e8822ff5 Merge remote-tracking branch 'origin/master' 2020-07-09 10:12:56 +02:00
Jesper Gravgaard
324b83e95e Improved fragment. Updated test data. 2020-07-09 10:12:28 +02:00
jespergravgaard
8de41e2438 Working on lazynes print.c demonstrating lnList() 2020-07-09 09:57:10 +02:00
jespergravgaard
1f02f81b3d Working on lazynes print.c demonstrating lnList() 2020-07-08 10:29:49 +02:00
jespergravgaard
858c5de57a Added working lazynes scroll.c 2020-07-08 09:01:28 +02:00
jespergravgaard
64db016dc2 Added working lazynes scroll.c 2020-07-08 01:06:39 +02:00
Jesper Gravgaard
a78ac24f81 Fixed problem with empty for() condition and non-empty increment. Closes #488 2020-07-07 13:07:26 +02:00
jespergravgaard
be54089089 Fixing #488. Still fails on for() with no condition and an increment. 2020-07-07 08:32:42 +02:00
jespergravgaard
1852630b16 Working on lazynes. 2020-07-06 23:58:44 +02:00
Jesper Gravgaard
7384fb5357 Fixed problem with post increment inside conditions. Closes #486 2020-07-06 17:49:41 +02:00
Jesper Gravgaard
fcd41d7390 Working on #486 post increment problems inside conditions. 2020-07-06 17:42:40 +02:00
Jesper Gravgaard
7f3c378119 Working on #486 post increment problems inside conditions. 2020-07-06 17:40:15 +02:00
jespergravgaard
862847b681 Working on lazynes 2020-07-06 08:39:09 +02:00
jespergravgaard
e25ef0e3f7 Fixed ASM error in fragment. Improved fragment synthesis. Working on lazynes (there seems to be an issue with waiting for vblank using lnSync(0) ). 2020-07-05 21:58:53 +02:00
jespergravgaard
c10615b9b8 Fixed fragment error. Closes #487 2020-07-05 18:49:37 +02:00
jespergravgaard
837ce228ac Added failing test for for(;;). 2020-07-05 18:38:55 +02:00
jespergravgaard
a74d02203e Attempting to port lazyNES API to KickC. 2020-07-05 18:27:42 +02:00
jespergravgaard
6b2d9d6522 Updated fragment caches. 2020-07-02 08:55:19 +02:00
jespergravgaard
3d549ea941 Added a test. 2020-07-01 23:45:09 +02:00
jespergravgaard
e96dd5825b Finished better ASM fragment handling for pointer to pointer. Closes #484 2020-07-01 23:39:45 +02:00
jespergravgaard
4149381b74 Finished better ASM fragment handling for pointer to pointer. Closes #484 2020-07-01 23:38:56 +02:00
jespergravgaard
7f6b0a0e89 Finished better ASM fragment handling for pointer to pointer. Closes #484 2020-07-01 23:38:28 +02:00
jespergravgaard
50d034a5a2 Working on better ASM fragment handling for pointer to pointer. #484 2020-07-01 08:24:12 +02:00
jespergravgaard
d9c387665c Added test of ranged for loop with an undeclared loop variable. Closes #333 2020-06-28 02:00:02 +02:00
jespergravgaard
802f72df99 Added test of support for trailing commas in initializer lists. Closes #393 2020-06-28 00:43:40 +02:00
jespergravgaard
dfc5905c5e Added test of support for empty statements. Closes #267 2020-06-28 00:21:27 +02:00
jespergravgaard
75e71b5bbb Added support for empty statements. Closes #395 2020-06-28 00:16:25 +02:00
jespergravgaard
b195a3c545 Improved ASM procedure sequence to match calling sequence in program. 2020-06-27 23:26:57 +02:00
jespergravgaard
c1b22d345e Removed old @begin / @end global blocks. Now using __start(), __init(). Closes #257 2020-06-27 22:36:52 +02:00
jespergravgaard
64d2d99488 Updated remaining ref files. 2020-06-27 21:32:49 +02:00
jespergravgaard
9c9a39f109 Updated remaining ref files. 2020-06-27 21:18:00 +02:00
jespergravgaard
34e9c50775 Fixed comments. 2020-06-27 20:59:59 +02:00
jespergravgaard
aee57979ef Now comments on global variables are no longer destroyed. However some comments appear twice! 2020-06-27 20:32:09 +02:00
jespergravgaard
e09a0718d0 Fixed scope comparison. 2020-06-27 12:21:29 +02:00
jespergravgaard
3d4d114522 Added more tests for __address(). Added error when using __address on a local array variable. 2020-06-27 11:11:03 +02:00
jespergravgaard
597b0e3a77 Merged master. 2020-06-23 18:56:34 +02:00
Jesper Gravgaard
8e176ea4fb Merge remote-tracking branch 'origin/master' 2020-06-23 12:36:39 +02:00
Jesper Gravgaard
1df68736a0 Added missing fragment for @Stephan Kleinert. 2020-06-23 12:36:24 +02:00
jespergravgaard
0f7c6733f7 Fixed problem where functions without body produced an empty block. 2020-06-23 00:42:14 +02:00
jespergravgaard
f2314caadb Removed inline kickasm parse trick that created a statement and then deleted it again. 2020-06-23 00:22:56 +02:00
jespergravgaard
3781096d01 Removed support for inline kickasm in the global scope. Now only kickasm inside functions (code) or kickasm as initializer for arrays are supported. 2020-06-22 23:53:34 +02:00
jespergravgaard
f027b58a16 Removed support for pc parameter on inline kickasm Closes #479, #480 2020-06-22 08:16:47 +02:00
jespergravgaard
3692797650 Removed support for pc parameter on inline kickasm Closes #479, #480 2020-06-22 00:26:44 +02:00