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

1263 Commits

Author SHA1 Message Date
Jesper Gravgaard
b70b969fe6 Improved C stdlib a little 2019-07-18 13:04:55 +02:00
Jesper Gravgaard
5a0b1a5d57 Added prime sieve test program 2019-07-18 09:47:41 +02:00
Jesper Gravgaard
660d2a8979 Changed print_cls() to use memset(). Fixed error in fragment. 2019-07-18 01:54:16 +02:00
Jesper Gravgaard
25f16b6b87 Added utoa() and ultoa() to print() 2019-07-18 00:45:46 +02:00
Jesper Gravgaard
9e66c01b6c Changed RADIX enum values. 2019-07-17 23:46:07 +02:00
Jesper Gravgaard
31ede3c794 Added utoa() implementation handling binary/octal/decimal & hexadecimal. 2019-07-17 23:38:09 +02:00
Jesper Gravgaard
aefa5c9f49 Added test example of sub-optimal ASM generated for sub-structs member access of a struct through a pointer. #226 2019-07-16 23:14:14 +02:00
Jesper Gravgaard
889cc1219f Added test demonstrating problem with passing derefed struct pointer to call. #225 2019-07-16 22:45:13 +02:00
Jesper Gravgaard
cb5dc6550e Added test demonstrating problem with passing struct in array as parameter #224 2019-07-16 22:39:36 +02:00
Jesper Gravgaard
bef7663023 Optimized & minimized spline sample program. Added test demonstrating struct array initializer problem #223 2019-07-16 22:32:41 +02:00
Jesper Gravgaard
33b506902f Optimized & minimized spline sample program. Found a few TODO's regarding struct unwinding. 2019-07-16 22:03:16 +02:00
Jesper Gravgaard
eba674bd44 Added spline sample. Added many fragments. Fixed error in line where from&to are the same. Fixed cast to dword/sdword. Fixed unwinding of members that are themselves structs. Closes #222 2019-07-16 21:16:00 +02:00
Jesper Gravgaard
dd8ccaf186 Added spline test, a bunch of missing fragments and special ror/rol 8 handling. 2019-07-15 23:45:52 +02:00
Jesper Gravgaard
69e264d9c5 Added script for building & deploying local version of kickc. 2019-07-15 18:35:25 +02:00
Jesper Gravgaard
13509b59cb Added optimize option for using a fragment cache. Yields no significant performance benefit. 2019-07-15 09:47:47 +02:00
Jesper Gravgaard
d1333cdbe4 Added a few missing fragments. 2019-07-14 20:40:44 +02:00
jespergravgaard
9264967b3f fixed tests 2019-07-11 06:31:29 +02:00
jespergravgaard
5b7ba4e2d8 Added logarithm skeleton 2019-07-11 01:14:29 +02:00
jespergravgaard
57cdb8dab4 Implemented calloc() 2019-07-11 00:04:18 +02:00
jespergravgaard
57bbe42711 Fixed problem with small negative constant unsigned words. 2019-07-10 20:54:35 +02:00
jespergravgaard
fd63efafe2 Added a bresenham line routine to singlecolor bitmap bitmap2.kc 2019-07-10 18:43:42 +02:00
jespergravgaard
62d7ecbeff Moved back to malloc() based impl. 2019-07-10 12:07:06 +02:00
jespergravgaard
fe0f0f9a1c Added -d switch to start C64Debugger directly (with symbols and KickAsm source). Extended -e to include symbols in VICE. Closes #212 2019-07-10 12:02:01 +02:00
jespergravgaard
7a36932c48 Finished bucket-based spiral 2019-07-09 18:13:05 +02:00
jespergravgaard
bafffa14f2 fixed tests 2019-07-09 17:33:20 +02:00
jespergravgaard
91a428d22b Updated to 256 buckets & parametrized screen. 2019-07-09 16:05:55 +02:00
jespergravgaard
bf0d399b2c Working on buckets 2019-07-09 15:03:02 +02:00
jespergravgaard
80e84f3234 Added fragments. Implemented working buckets. 2019-07-09 14:41:29 +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
b5222c7929 Fixed tests. 2019-07-09 00:51:54 +02:00
jespergravgaard
f8b4dde791 Added fragments - fixed object equality problem when incrementing complex expressions of non-byte type. 2019-07-09 00:31:44 +02:00
jespergravgaard
031e9e6423 Fixed duplicate file info comments. 2019-07-08 19:05:35 +02:00
jespergravgaard
0e59591d6c Improved output from -Sc option adding C-code comments to the ASM. 2019-07-08 16:43:10 +02:00
jespergravgaard
bf60fab6d0 Removed segment ID from default log. 2019-07-08 12:04:44 +02:00
jespergravgaard
f2f144c3ee Added command line switches for adding comments containing source file information to the ASM. Closes #215 2019-07-08 11:32:07 +02:00
jespergravgaard
5061a02a17 Upgraded to KickAssembler 5.7. Closes #213 2019-07-07 17:54:06 +02:00
jespergravgaard
b053acf39b Fixed fragment tests 2019-07-07 00:39:34 +02:00
jespergravgaard
1d092962b3 Added center-based plasma, some fragments and some synth rules. 2019-07-07 00:17:00 +02:00
jespergravgaard
b05160bfff Made char (without sign qualifier) unsigned as allowed by standard C. Closes #204 2019-07-06 11:24:16 +02:00
jespergravgaard
6f4a1f0555 Tetris NPE has been fixed. 2019-07-06 11:00:15 +02:00
jespergravgaard
c5f1ec7d8a Added program that shows a spiral on the screen. 2019-07-06 10:32:25 +02:00
jespergravgaard
966773ed2b Fixed error where global variable live ranges where ignored by ZP coalesce. 2019-07-06 00:48:45 +02:00
jespergravgaard
e64659025e Merged optimizations. 2019-07-05 06:56:24 +02:00
jespergravgaard
49c930f71e Merged optimizations. 2019-07-05 06:56:02 +02:00
jespergravgaard
9bd2a1d51d Optimized - and added cycle timing 2019-07-05 06:46:06 +02:00
Jesper Gravgaard
a0b45ee1aa Optimized xd/yd shifting. 2019-07-04 19:56:11 +02:00
jespergravgaard
1064518cf9 Optimized angle-screen calculation using symmetry. 2019-07-03 23:23:39 +02:00
jespergravgaard
647775223c Added time.kc C standard library compatible. Added cycle counting to a few tests. 2019-07-03 22:22:25 +02:00
jespergravgaard
7d049f70a3 Added CIA timer test. Removed pointer cast logging (to improve test reproducability). 2019-07-03 21:15:54 +02:00
jespergravgaard
e2fcf78759 Fixed tests. 2019-07-02 09:15:17 +02:00