1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-17 01:55:22 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
jespergravgaard
3aad07f4e1 Disabled constant loop head optimization by default (until the two known issues have been fixed.) 2019-08-25 22:21:58 +02:00
jespergravgaard
6c59110896 Fixed encoded string zero termination. Closes #192 2019-08-07 19:36:19 +02:00
Jesper Gravgaard
ce5e3cf19a Added constant loop head optimization, that detects when the condition is constant in the first loop iteration. Closes #246 2019-08-07 13:22:05 +02:00
jespergravgaard
dacd25ac5f Added constant loop-head detection to a switchable optimization option -Oloophead. #246
Implemented for()-loop condition checking before body. Closes #183
2019-08-07 11:27:56 +02:00
jespergravgaard
f8dfe3743b Implemented light-weight zeropage coalesce. Closes #237 2019-07-31 13:47:22 +02:00
Jesper Gravgaard
25f16b6b87 Added utoa() and ultoa() to print() 2019-07-18 00:45:46 +02:00
Jesper Gravgaard
31ede3c794 Added utoa() implementation handling binary/octal/decimal & hexadecimal. 2019-07-17 23:38:09 +02:00
jespergravgaard
a7ac33a653 Changed HEAP to grow down from $a000. Fixed inner increment problem. Closes #216 2019-07-09 11:40:56 +02:00
jespergravgaard
e64659025e Merged optimizations. 2019-07-05 06:56:24 +02:00
jespergravgaard
7574ed744c Optimized finding char to process by using table with distance to center. 2019-06-25 00:38:08 +02:00
jespergravgaard
77b75cb045 Now 202 t cycles through a little optimization. 2019-06-25 00:03:53 +02:00
jespergravgaard
3a919eda9d Added screen mirroring - optimizing to 227t cycles (from 750t). 2019-06-24 23:47:13 +02:00
jespergravgaard
28c1f71d5e Fixed void* pointer problem properly. Closes #205 2019-06-24 23:22:20 +02:00
jespergravgaard
65419720c2 Fixed pointer subtraction error. Closes #206 2019-06-24 19:30:52 +02:00
jespergravgaard
048d87b251 Moved routines into stdlib. 2019-06-24 00:22:23 +02:00
jespergravgaard
20ec350ca5 Added malloc tests. Improved cast handing in ASM fragments. Optimized screen center distance calculation (implemented table-based sqr() and sqrt() using binary search). 2019-06-23 23:44:55 +02:00