Commit Graph

26 Commits

Author SHA1 Message Date
Irmen de Jong
fd1f30f92b removed %target directive (didn't add much, too confusing, only supported single target) 2021-09-04 15:01:16 +02:00
Irmen de Jong
96c700ee46 only save A's value if needed for a return value 2020-12-22 05:43:02 +01:00
Irmen de Jong
a40b3134f4 fix clobbering of A when restoring X or Y from stack 2020-12-22 04:52:46 +01:00
Irmen de Jong
ab1232d742 optimized in-place float var modification, not using translateExpression() 2020-11-24 01:09:24 +01:00
Irmen de Jong
d9a8cfed8c updated the compiled examples disk 2020-11-22 18:45:40 +01:00
Irmen de Jong
510ca042c9 stack tested for most example programs 2020-11-22 18:35:43 +01:00
Irmen de Jong
225295a7d8 fix float casts 2020-11-09 01:18:22 +01:00
Irmen de Jong
4cd74daf53 float eval result var added, but some examples are broken 2020-11-08 18:54:02 +01:00
Irmen de Jong
f37564c49c fixed 2020-10-17 19:59:48 +02:00
Irmen de Jong
157484d94b adapted p8 code to restricted array indexing 2020-10-17 19:57:55 +02:00
Irmen de Jong
d7ceda4d82 removed the automatic system reset at program exit, this did't work with the new init code 2020-09-25 22:12:14 +02:00
Irmen de Jong
14d091e60a crashes :( 2020-09-24 23:50:20 +02:00
Irmen de Jong
df995f7bc9 fixed float zp problem on C64, added more zp locations to block list 2020-09-22 01:05:07 +02:00
Irmen de Jong
de06353194 auto select correct library to import based on target, instead of having c64- and cx16- prefix variants
some programs are now 100% source compatible between C64 and Cx16 targets!
import libraries have been rena;med
2020-09-21 00:50:09 +02:00
Irmen de Jong
d5e5485d2e fixed estack X corruption in float augmented assignments 2020-09-13 19:44:03 +02:00
Irmen de Jong
35aebbc209 optimize unneeded type casts for register args 2020-09-12 02:48:16 +02:00
Irmen de Jong
f08fc18ab5 renamed c64scr. to txt. 2020-08-27 18:10:22 +02:00
Irmen de Jong
63b03ba70c fix typecasting 2020-08-21 18:02:01 +02:00
Irmen de Jong
8a3189123a to reduce complexity, augmented assignment has been removed again from internal Ast and codegen for now. 2020-07-26 13:48:31 +02:00
Irmen de Jong
3c55719bf1 finalize repeat asmgen 2020-07-26 01:32:27 +02:00
Irmen de Jong
af8279a9b9 empty for loops are removed 2020-07-25 22:54:50 +02:00
Irmen de Jong
c38508c262 introduced repeat loop. repeat-until changed to do-util.
forever loop is gone (use repeat without iteration count).
struct literal is now same as array literal [...] to avoid parsing ambiguity with scope blocks.
2020-07-25 16:56:34 +02:00
Irmen de Jong
3050156325 reverted subroutine inlining, it was a mistake 2020-07-04 01:02:36 +02:00
Irmen de Jong
164ac56db1 compiler error todos 2020-07-01 22:31:38 +02:00
Irmen de Jong
df3371b0f0 slight gfx optimizations 2020-04-08 22:53:23 +02:00
Irmen de Jong
5927cf2d43 added turtle graphics example 2020-03-28 14:17:35 +01:00