Commit Graph

44 Commits

Author SHA1 Message Date
Irmen de Jong
b4d1d545a8 introduced txt.nl() 2021-01-08 16:56:17 +01:00
Irmen de Jong
f61682cdc7 moved various miscellaneous builtin functions such as exit() and progend() to sys.* 2021-01-08 16:44:34 +01:00
Irmen de Jong
9d9ca0f08d fix bit shifting words by 8. fix type error for signed return types. 2021-01-07 22:50:40 +01:00
Irmen de Jong
58f37513e7 removed all string related builtin functions and moved them to separate routines in new 'string' library module 2021-01-07 20:01:11 +01:00
Irmen de Jong
d22df22f7d fix examples for cx16 register syntax 2020-12-21 23:45:26 +01:00
Irmen de Jong
3b7a92f1b4 adding strcopy() 2020-12-14 17:26:17 +01:00
Irmen de Jong
f7953e4ef3 fix float comparison error that creeped in with no longer using the stack for that 2020-12-01 22:19:03 +01:00
Irmen de Jong
63483d1f0e warnings, errors and todos 2020-12-01 03:24:06 +01:00
Irmen de Jong
e1dc283d4b byte comparison jumps now without translateExpression() 2020-11-21 23:31:26 +01:00
Irmen de Jong
6eb9118197 example 2020-11-07 01:08:56 +01:00
Irmen de Jong
e828c013e6 fix word+/-byte errors if byte was unsigned 2020-09-27 20:23:42 +02:00
Irmen de Jong
d1d224b7fc fixed print_f on cx16. Some more examples are now multi-platform. 2020-09-22 01:34:05 +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
e112dfd910 implemented signed byte and word division 2020-08-29 00:00:53 +02:00
Irmen de Jong
d97da3bb7b implemented almost all math operations 2020-08-27 20:47:22 +02:00
Irmen de Jong
a77d3c92ad implemented remaining float operations 2020-08-27 19:47:50 +02:00
Irmen de Jong
6d17e5307c fixed typecasting of const arguments once again 2020-08-27 19:06:27 +02:00
Irmen de Jong
f08fc18ab5 renamed c64scr. to txt. 2020-08-27 18:10:22 +02:00
Irmen de Jong
0c461ffe2e removed Register expression (directly accessing cpu register) 2020-07-25 14:14:24 +02:00
Irmen de Jong
c07907e7bd fixed missing shifts codegen 2020-07-02 21:28:48 +02:00
Irmen de Jong
a9d4b8b0fa fixed ast modifications on node arrays, in particular function call parameter lists 2020-07-01 22:03:54 +02:00
Irmen de Jong
e4fe1d2b8d attempts to optimize in-place assignments 2020-04-08 03:11:38 +02:00
Irmen de Jong
d22780ee44 implemented asm for lsl array values 2020-04-03 21:45:52 +02:00
Irmen de Jong
f8b0b9575d implemented asm for rol array values 2020-04-03 21:31:39 +02:00
Irmen de Jong
4274fd168e implemented asm for rol2 array values 2020-04-03 21:24:55 +02:00
Irmen de Jong
be7f5957f3 implemented asm for ror2 array values 2020-04-03 21:04:42 +02:00
Irmen de Jong
f2e5d987a9 implemented asm for ror array values 2020-04-03 00:03:42 +02:00
Irmen de Jong
15e8e0bf6d implemented asm for lsr array values 2020-04-02 23:38:45 +02:00
Irmen de Jong
50a85ee6b0 attempt to optimize asm for bitshifts more. 2020-03-23 22:59:29 +01:00
Irmen de Jong
0c561d8528 fixed subroutine parameter value issue 2020-03-23 00:13:46 +01:00
Irmen de Jong
f0d4c3aba9 moved initialvalues to asmgen, fixed sgn bug and internal float 0.0 variable disappearing bug 2020-03-22 18:17:12 +01:00
Irmen de Jong
a326ffa00a added warning about sgn() of unsigned type 2020-03-14 21:09:34 +01:00
Irmen de Jong
796d07a7f8 fix crash in asm code generated for bitshift operation with memory address operand 2020-03-13 01:26:53 +01:00
Irmen de Jong
2af86a10b2 remove stack error comments 2020-03-13 00:52:52 +01:00
Irmen de Jong
7fbe486dff fix eval stack register X error in print_uw 2020-03-13 00:50:30 +01:00
Irmen de Jong
b5b24636ae removed sim65 because it was moved to a separate repository 2019-09-11 02:24:44 +02:00
Irmen de Jong
8d6542905d beginnings of 6502 cpu simulator 2019-09-03 23:58:46 +02:00
Irmen de Jong
39798a1a4f todos 2019-08-29 22:31:29 +02:00
Irmen de Jong
9edc92ec29 more bitshift asm stubs (actual functions still to be done) 2019-08-23 23:06:36 +02:00
Irmen de Jong
1d178080a3 more bitshift asm 2019-08-23 21:33:43 +02:00
Irmen de Jong
b79af624ae added more asmgen for bitshift operations 2019-08-22 00:34:17 +02:00
Irmen de Jong
3ae2597261 irq driven music player example 2019-08-17 13:13:15 +02:00
Irmen de Jong
b44e76db57 fix any/all assembly routine, added asm for min/max/sum/ etc aggregates
removed avg function because of hidden internal overflow issues
2019-08-11 16:13:09 +02:00
Irmen de Jong
d498d5445c added more examples/test programs 2019-08-05 21:01:41 +02:00