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

1246 Commits

Author SHA1 Message Date
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
jespergravgaard
29f7265341 Shortened clearscreen a bit more. 2019-06-19 02:07:50 +02:00
jespergravgaard
cbe58167da Fixed test. 2019-06-19 02:05:31 +02:00
jespergravgaard
2acc1010ec Added a few enum error tests 2019-06-19 01:53:03 +02:00
jespergravgaard
291c87621e Added enum tests. Fixed inline enums inside structs. 2019-06-19 01:45:07 +02:00
jespergravgaard
f3982063eb Added test refs 2019-06-19 01:24:10 +02:00
jespergravgaard
8e0e8d7dce Implemented enum support for complex constants in enum values. Added enum to clearscreen. Changed constant expression handling in pass 0. 2019-06-19 01:23:27 +02:00
jespergravgaard
10082a5d96 Implemented enum support (excl. complex constant usage in values). Closes #119 2019-06-19 00:39:15 +02:00
jespergravgaard
e4af001041 Added enum syntax (no functionality yet). Working on #119 2019-06-18 18:36:01 +02:00
jespergravgaard
d111836faf fixed tests 2019-06-18 00:15:54 +02:00
jespergravgaard
d7b8f6ae55 Added a missing fragment and a newline. Added a petscii tester and started strings.h. 2019-06-17 23:57:45 +02:00
jespergravgaard
68c3c5918c Implemented support for char colors in clearscreen 2019-06-17 00:33:56 +02:00
jespergravgaard
4dfc4432c7 Removed all calls to ConstantIdentification.isAddressOfUsed(VarRef) since inferedVolatile now handles these situations. Structs are now working. Closes #57 2019-06-17 00:11:01 +02:00
jespergravgaard
40df42067b Any variable affected by address-of is now marked as infered volatile. Closes #200 2019-06-16 23:49:22 +02:00
jespergravgaard
3725bf6821 Added versions to struct-unwinding. 2019-06-16 22:26:17 +02:00
jespergravgaard
ad6eadad0b Added another struct address-of test passing the pointer to a procedure. 2019-06-16 21:48:13 +02:00
jespergravgaard
afc1b74ef8 Implemented unwound struct address-of rewriting to use first member. 2019-06-16 19:54:03 +02:00
jespergravgaard
00c8d5c857 Added a struct unwound placeholder when unwinding a struct variable. Will be used for address-of and to ensure the phi-generator does not run amok. 2019-06-16 17:10:18 +02:00
jespergravgaard
114a237e24 Added address-of test identifying problems with address-of implementation. Error is #200 2019-06-16 15:03:23 +02:00
jespergravgaard
ef38dca7af Renamed to clearscreen. Added DEBUG. 2019-06-16 11:37:06 +02:00
jespergravgaard
bbbb25d9b1 Improved movement. Added fragment. 2019-06-16 01:06:52 +02:00
jespergravgaard
ba9b11f77b Added 2D-acceleration. Added more fragments. Improved word ror'ing. 2019-06-16 00:31:43 +02:00
jespergravgaard
94b0dbcffc Improved bash-script to allow -fragmentdir option. Added blackhole sprite vx/vy support. Added a few word fragments. 2019-06-15 21:10:06 +02:00
jespergravgaard
986e02fde6 Updated fragment test refs 2019-06-15 20:23:12 +02:00
jespergravgaard
d1752069ce Added missing ref-files. 2019-06-15 19:19:22 +02:00