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

1235 Commits

Author SHA1 Message Date
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
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