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

1420 Commits

Author SHA1 Message Date
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
Jesper Gravgaard
ce7032b12e small improvements to code size. 2019-07-01 23:22:57 +02:00
Jesper Gravgaard
ccf965346e Moved more tests to use array kickasm initialization. Closes #116 2019-07-01 09:21:11 +02:00
jespergravgaard
cb81fc07f6 Updated to use new array initialization by kickasm. 2019-07-01 08:09:19 +02:00
jespergravgaard
cc08edb0e4 Fixed a few array initializer kickasm problems. Changed atan2 to use it. 2019-06-30 23:33:30 +02:00
Jesper Gravgaard
c4bcbddcd4 Added support for array initialization using inline kickasm 2019-06-30 23:08:39 +02:00
Jesper Gravgaard
44c5aa1313 Added syntax for kasm-initialization of arrays. 2019-06-30 15:48:31 +02:00
Jesper Gravgaard
30068dbf92 Fixed tests 2019-06-30 15:30:08 +02:00
Jesper Gravgaard
ee11c66a79 Added speed test for filling screen with atan2 2019-06-29 11:38:26 +02:00
Jesper Gravgaard
e02f3bc2e0 Added circular clear atan2 test 2019-06-29 11:10:16 +02:00
jespergravgaard
d0c23993cc Updated tests 2019-06-29 10:08:46 +02:00
jespergravgaard
2f8097ca17 Merge remote-tracking branch 'origin/master' 2019-06-29 09:55:29 +02:00
jespergravgaard
b3e7b6da8f Split into 16-bit and 8-bit tests. Added a ref-test. 2019-06-29 09:55:12 +02:00
Jesper Gravgaard
f25e0bde3b Found optimal 8-bit and 16-bit versions of atan2. 2019-06-28 22:45:26 +02:00
jespergravgaard
83ed437553 Working on atan2() 2019-06-28 17:05:54 +02:00
Jesper Gravgaard
13652f61f2 Now works in 4 quadrants. 2019-06-28 09:34:02 +02:00
jespergravgaard
c3cff0dff1 Added CORDIC atan2 implementation. 2019-06-26 09:24:25 +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
908ccb19ce Fixed void* pointer problem. Closes #205 2019-06-24 22:46:07 +02:00
jespergravgaard
df4294414a Changed default to byte* 2019-06-24 19:48:18 +02:00
jespergravgaard
65419720c2 Fixed pointer subtraction error. Closes #206 2019-06-24 19:30:52 +02:00
jespergravgaard
50c8175b30 Added tests for two errors #205 and #206 2019-06-24 08:21:58 +02:00
jespergravgaard
b319398702 fixed tests 2019-06-24 00:31:08 +02:00
jespergravgaard
ca3d01e2b8 fixed tests 2019-06-24 00:28:30 +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
jespergravgaard
306bbc381f Put font-hex into a lib file 2019-06-23 11:26:11 +02:00
jespergravgaard
74c7abe229 Improved fragment synth to include _derefidx_vbuxx 2019-06-23 11:12:34 +02:00
jespergravgaard
576457a27d Updated fragment tests 2019-06-22 22:55:55 +02:00
jespergravgaard
5f61df4c16 Added hex code font. 2019-06-22 21:13:22 +02:00
jespergravgaard
281a77c06c Updated tests 2019-06-22 13:45:11 +02:00
jespergravgaard
03e76570b8 Added test for memcpy 2019-06-22 10:36:13 +02:00
jespergravgaard
1e3a6a2750 fixed tests 2019-06-22 00:36:24 +02:00
jespergravgaard
f2a770182e Added fragments. Added bitmap spiral test. 2019-06-22 00:25:28 +02:00
jespergravgaard
3ae5f0981a Added a file data segment. Improved negate word fragment. 2019-06-21 22:12:05 +02:00
jespergravgaard
b461fcfa74 Dropped memory.kc and fill() - Instead added C stdlib memset() to string.kc.
Pointer math on void pointer now results in an error.
2019-06-21 20:06:57 +02:00
jespergravgaard
1150cf859f fixed tests 2019-06-21 01:08:07 +02:00
jespergravgaard
3ff8effc51 Using void pointers in stdlib string. 2019-06-21 00:39:58 +02:00
jespergravgaard
7b2b8897a6 Void pointers now work. Closes #186 2019-06-21 00:36:42 +02:00
jespergravgaard
0a4ef77056 Working on fixing void pointers #186 2019-06-20 22:39:45 +02:00
jespergravgaard
d3e21133fa Added initial void pointer support. Working on #186 2019-06-19 23:16:59 +02:00