From 444e97b00b492db57282e114142cbc8f11f828a3 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sat, 27 Jan 2024 12:31:36 +0100 Subject: [PATCH] todo --- docs/source/todo.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/source/todo.rst b/docs/source/todo.rst index 681d4fdb8..1cbac2223 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -1,9 +1,6 @@ TODO ==== -IR assignArrayAugmented(): implement all operators. (BUT: actually, don't split this up anymore per assign target type ...) - - maze: if cell & UP!=0 and @(celladdr(cx,cy-1)) & (WALKED|BACKTRACKED) ==0 ^^ adding this !=0 caused a weird beq + / lda #1 / + to appear in front of the shortcircuit beq... @@ -86,6 +83,7 @@ Other language/syntax features to think about --------------------------------------------- - support for assigning multiple return values from romsub/asmsub to multiple variables. +- remove ++/-- (just use Pythonesque x+=1) OR make ++/-- into a postfix expression (but then we need a prefix variant of them too?) maybe via a new builtin function like postincr__w() etc? - add (rom/ram)bank support to romsub. A call will then automatically switch banks, use callfar and something else when in banked ram. challenges: how to not make this too X16 specific? How does the compiler know what bank to switch (ram/rom)? How to make it performant when we want to (i.e. NOT have it use callfar/auto bank switching) ?