Commit Graph

39 Commits

Author SHA1 Message Date
Irmen de Jong
ab1766a559 moved all *integer* builtin trig functions (sin8u, cos8u etc) as regular asmsubs in math module 2022-04-13 00:27:35 +02:00
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
53a600d87b fix typecasting of signed byte to signed word in a variable 2020-11-25 22:33:41 +01:00
Irmen de Jong
510ca042c9 stack tested for most example programs 2020-11-22 18:35:43 +01:00
Irmen de Jong
74b5124a42 removed restriction on array indexer expression again from docs and code... :) 2020-10-18 14:05:26 +02:00
Irmen de Jong
c40ddb061b example adjustments 2020-10-17 21:00:59 +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
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
13d7f239ab floating point 1.0 no longer referenced from ROM because cx16 doesn't have it. Added some more cx16 examples. 2020-09-05 00:17:58 +02:00
Irmen de Jong
f08fc18ab5 renamed c64scr. to txt. 2020-08-27 18:10:22 +02:00
Irmen de Jong
bd9ebf4603 flipped the order of the parameters of mkword() so it's now mkword(msb, lsb) for easier readability 2020-08-22 21:13:38 +02:00
Irmen de Jong
f41192a52a added cube3d-gfx example 2020-08-22 19:00:03 +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
7d8496c874 fixed missing shifts codegen 2020-07-02 19:18:47 +02:00
Irmen de Jong
164ac56db1 compiler error todos 2020-07-01 22:31:38 +02:00
Irmen de Jong
ee2ba5f398 some more optimizations for swap() function call asm code generation 2020-06-17 22:40:57 +02:00
Irmen de Jong
cb9825484d some more optimized in-array assignments codegeneration 2020-06-17 21:41:38 +02:00
Irmen de Jong
6dd44aaf0d compiler main cleanup 2020-03-23 02:54:04 +01:00
Irmen de Jong
d28dd92b47 refreshed examples 2020-03-14 18:11:38 +01:00
Irmen de Jong
51bb902162 added bresenham and circle example 2020-03-14 17:11:10 +01:00
Irmen de Jong
8d1a4588d3 added 'downto' range expression 2020-03-11 20:59:14 +01:00
Irmen de Jong
bb7b063757 revert inline var declaration in for loops 2019-08-18 03:16:23 +02:00
Irmen de Jong
1cc1f2d91d reverse() added (byte+word) 2019-08-18 02:05:51 +02:00
Irmen de Jong
d837cc11f9 sort() added (bytes+words) 2019-08-18 00:04:03 +02:00
Irmen de Jong
59f8b91e25 tweak 2019-08-17 18:44:44 +02:00
Irmen de Jong
3ae2597261 irq driven music player example 2019-08-17 13:13:15 +02:00
Irmen de Jong
248e7b808c split codegen 2019-08-16 22:49:29 +02:00
Irmen de Jong
fba149ee28 removed the ~ before block names 2019-07-29 23:11:13 +02:00
Irmen de Jong
1f89571aa5 proper NOP removal 2019-07-10 03:06:31 +02:00
Irmen de Jong
cc078503e3 tehtriz example uses when statement 2019-07-09 23:39:03 +02:00
Irmen de Jong
e384822b2c array size in vardecl is optional when initializer array value is given 2019-04-16 01:19:51 +02:00
Irmen de Jong
7114d3193c some cleanups in library asm code 2019-03-21 22:36:46 +01:00
Irmen de Jong
5471c5211c make %asminclude work, restructure prog8lib into separate asm file 2019-01-21 00:49:48 +01:00
Irmen de Jong
2911e357bd restructured program init code and library imports a bit 2019-01-20 17:45:57 +01:00
Irmen de Jong
75b38d7b84 added swap() slow version 2019-01-18 01:33:54 +01:00
Irmen de Jong
740dedc7a1 fixed stack/branch bug in for loop 2019-01-17 23:05:57 +01:00
Irmen de Jong
f7dcdceaaf cube3d with sprites added 2019-01-17 02:25:52 +01:00