2018-08-06 03:35:43 +02:00
====
TODO
====
2021-04-12 03:34:58 +02:00
2021-04-27 23:13:46 +02:00
- simplify cx16.joystick_get2() once this cx16 rom issue is resolved: https://github.com/commanderx16/x16-rom/issues/203
2021-04-12 23:02:32 +02:00
- c64: make the graphics.BITMAP_ADDRESS configurable (VIC banking)
- get rid of all other TODO's in the code ;-)
Low prio
^^^^^^^^
2021-04-30 00:09:15 +02:00
- see if we can remove more ".typeOrElse(DataType.UNDEFINED)"
2021-04-12 23:02:32 +02:00
- optimize several inner loops in gfx2 even further?
- add modes 2 and 3 to gfx2 (lowres 4 color and 16 color)?
2021-02-07 19:08:47 +01:00
- add a flood fill routine to gfx2?
2021-01-16 18:09:47 +01:00
- add a f_seek() routine for the Cx16 that uses its seek dos api?
2021-04-12 23:02:32 +02:00
- refactor the asmgen into own submodule
- refactor the compiler optimizers into own submodule
2021-03-21 19:55:21 +01:00
- add a compiler option to not remove unused subroutines. this allows for building library programs. But this won't work with 64tass's .proc ...
2021-02-21 01:24:44 +01:00
- make it possible to use cpu opcodes such as 'nop' as variable names by prefixing all asm vars with something such as `` v_ ``
2020-03-22 00:43:46 +01:00
2019-01-24 02:43:25 +01:00
More optimizations
^^^^^^^^^^^^^^^^^^
Add more compiler optimizations to the existing ones.
2021-04-12 23:02:32 +02:00
- find a way to optimize if-statement codegen so that "if var & %10000" doesn't use stack & subroutine call, but also that the simple case "if X {...}" remains fast
- optimizer: detect variables that are written but never read - mark those as unused too and remove them, such as uword unused = memory("unused222", 20) - also remove the memory slab allocation
2020-10-02 22:37:52 +02:00
- further optimize assignment codegeneration, such as the following:
2021-02-15 04:41:33 +01:00
- rewrite expression code generator to not use eval stack but a fixed number of predetermined value 'variables' (1 per nesting level?)
2020-10-02 22:37:52 +02:00
- binexpr splitting (beware self-referencing expressions and asm code ballooning though)
2020-03-24 22:37:42 +01:00
- more optimizations on the language AST level
- more optimizations on the final assembly source level
2019-01-24 02:43:25 +01:00
2019-01-26 17:32:26 +01:00
2019-01-27 19:14:58 +01:00
Misc
^^^^
2019-08-11 18:21:15 +02:00
Several ideas were discussed on my reddit post
https://www.reddit.com/r/programming/comments/alhj59/creating_a_programming_language_and_cross/