added txt.petscii2scr() and txt.petscii2scr_str()

This commit is contained in:
Irmen de Jong
2024-02-07 22:36:43 +01:00
parent 73ec8c31ad
commit d33aed4ed5
14 changed files with 100 additions and 49 deletions

View File

@@ -177,6 +177,7 @@ dealing with text-based input and output (to the screen). Such as
- filling or clearing the screen and colors
- scrolling the text on the screen
- placing individual characters on the screen
- convert petscii to screencode characters
All routines work with Screencode character encoding, except `print`, `chrout` and `input_chars`,
these work with PETSCII encoding instead.

View File

@@ -1,8 +1,9 @@
TODO
====
&pointervar[x] isn't correct?? (at least in IR)
&pointervar[x] isn't the correct value
&pointervar[x] AST doesn't print correctly
@(s) where s is a str parameter, doesn't work
(after merge in boolean): move all "OperatorXinplace" from expressionGen to AssignmentGen, see if we can get rid of the Result return type.
@@ -13,6 +14,7 @@ Future Things and Ideas
^^^^^^^^^^^^^^^^^^^^^^^
Compiler:
- can we support singed % (remainder) somehow?
- instead of copy-pasting inline asmsubs, make them into a 64tass macro and use that instead.
that will allow them to be reused from custom user written assembly code as well.
- Multidimensional arrays and chained indexing, purely as syntactic sugar over regular arrays.