add notes regarding zero-page labels as constants

e.g.:
|40 @color-clear

and then use it as .color-clear

thanks tbsp!
This commit is contained in:
sejo 2024-03-28 19:55:56 +01:00
parent 4aa4b7095c
commit df3573f7a5
1 changed files with 58 additions and 47 deletions

View File

@ -13,6 +13,64 @@ the things that want to happen.
* preparation of workshop for esLibre 2024 {propuesta taller computación somática}
# uxn
## tutorial
contributions are welcome! some of these issues were managed or identified during our {maintenance practice}, but there's still some work to do!
### critical
* check blend mode 0 (in progress) --- this affects the pong example in {uxn tutorial day 6}
=> https://lists.sr.ht/~rabbits/uxn/%3C692CA0D5-0200-408D-9357-BF0D8887D2BF%40noyu.me%3E Blend mode 0
=> https://lists.sr.ht/~rabbits/uxn/%3CCAE2DaSQuj%3DC8e7ofV3+4H6MaTOhtD_wrFWihhYtCuYiEVtV6WQ%40mail.gmail.com%3E Massive tiny change coming to Varvara's Screen device
> the #00 blending will, from now on, only clear the pixels that are present in the sprite data at Screen/addr*.
### pending
* remove square brackets in devices
* update images (to do: emulator needs a patch)
### in order to remove macros
this is an overview of how macros are used and what would be needed to replace them.
* in {uxn tutorial day 1} they are deeply embedded as a learning block, so they need some rewriting
* in {uxn tutorial day 2} they are used to increment coordinates and repeat the drawing of pixels or sprites. Replace with auto byte? (note that it's introduced until {uxn tutorial day 6})
* in {uxn tutorial day 2} we also have them as example for HALF and HALF2.
* in {uxn tutorial day 2} introduce the use of zero-page labels as constants.
```
|40 @color-clear
( and then use it as .color-clear )
```
* in {uxn tutorial day 3} we talk about a ?ASCII-DIGIT macro
* there are some macros from {uxn tutorial day 4} and onwards that are used as constants: replace them with zero-page labels!
* in {uxn tutorial day 4} we introduce MOD, 8MOD, TO-SHORT
* in {uxn tutorial day 5} we re-work MOD
* in {uxn tutorial day 6} we use constants, and HALF, DOUBLE
### further possible changes
* make a folder of examples
* whenever we mention the theme loading, link to the suggested palette.
* replace {uxn tutorial day 2} intro to colors with a table.
* format and update {uxn running} notes
* {uxn tutorial day 2}: divide into morning and evening?
* {uxn tutorial day 2}: check sprite nibbles tables. include colors when colors are mentioned.
* {uxn tutorial day 6} mention auto sprite flipping? maybe not needed
=> https://lists.sr.ht/~rabbits/uxn/%3CCAE2DaSQQMb8XVfsn2NSsXQO+-0m2t4U2GD7nYD3GBUO4GPeTxQ%40mail.gmail.com%3E Whole auto sprite flipping
* new day: lambdas and more complex stuff (jumps, callings, etc)
* include uxn5 in the web tutorial so that code can be run from there
=> https://git.sr.ht/~rabbits/uxn5 uxn5
## traducción:
* sincroniza el {tutorial de uxn} con {uxn tutorial}
* agrega las indicaciones sobre el uso de screen/auto en {uxn tutorial day 6}
# dance
continue developing, practicing and sharing the {qiudanz technique}
@ -37,53 +95,6 @@ publish them in itch.io
* explore more non-electronic computers examples from the {references}
* develop a {computadora de papel} simulator?
# uxn
## tutorial
### day 2 and onwards
* check blend mode 0 (in progress)
=> https://lists.sr.ht/~rabbits/uxn/%3C692CA0D5-0200-408D-9357-BF0D8887D2BF%40noyu.me%3E Blend mode 0
=> https://lists.sr.ht/~rabbits/uxn/%3CCAE2DaSQuj%3DC8e7ofV3+4H6MaTOhtD_wrFWihhYtCuYiEVtV6WQ%40mail.gmail.com%3E Massive tiny change coming to Varvara's Screen device
> the #00 blending will, from now on, only clear the pixels that are present in the sprite data at Screen/addr*.
* {uxn tutorial day 6} auto sprite flipping
=> https://lists.sr.ht/~rabbits/uxn/%3CCAE2DaSQQMb8XVfsn2NSsXQO+-0m2t4U2GD7nYD3GBUO4GPeTxQ%40mail.gmail.com%3E Whole auto sprite flipping
### removing macros
* in {uxn tutorial day 1} they are deeply embedded as a learning block, so they need some rewriting
* in {uxn tutorial day 2} they are used to increment coordinates and repeat the drawing of pixels or sprites.
* in {uxn tutorial day 2} we also have them as example for HALF and HALF2.
* there are some from {uxn tutorial day 4} and onwards that are used as constants: replace these with enums!
* in {uxn tutorial day 4} we introduce MOD, 8MOD, TO-SHORT
* in {uxn tutorial day 5} we re-work MOD
* in {uxn tutorial day 6} we use constants, and HALF, DOUBLE
### pending
* remove square brackets in devices
* update images (to do: emulator needs a patch)
### further possible changes
* make a folder of examples
* whenever we mention the theme loading, link to the suggested palette.
* replace {uxn tutorial day 2} intro to colors with a table.
* format and update {uxn running} notes
* {uxn tutorial day 2}: divide into morning and evening?
* {uxn tutorial day 2}: check sprite nibbles tables. include colors when colors are mentioned.
* new day: lambdas and more complex stuff (jumps, callings, etc)
* include uxn5 in the web tutorial so that code can be run from there
=> https://git.sr.ht/~rabbits/uxn5 uxn5
## traducción:
* sincroniza el {tutorial de uxn} con {uxn tutorial}
* agrega las indicaciones sobre el uso de screen/auto en {uxn tutorial day 6}
# wiki
## generator