Skip to main content


Here's the final article: "Adding a READ ... DATA like functionality to Forth"

maybe the more experienced #Forth #coders would like to comment on it?

https://ufud.org/posts/2024-02-06-data-command-in-forth/

Unknown parent

Wintermute_BBS

I started with that solution but wanted something more flexible.

for example, if I wanted to write 64 byte of data for, say, ten different sprites or custom characters I would have to define a lot of "data" words. this way, I just provide the data and point the function to the address where to place it. one single word definition to load all the data I need.

This entry was edited (9 months ago)
Unknown parent

Devine Lu Linvega

somewhat related, yesterday I needed to convert sprites stored as ones and zeroes into ICN, and wrote a tiny script for it:

tal: https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/gui/shavian/shavian.tal

data: https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/gui/shavian/7x14.txt

Maybe you have a use of it to batch convert sprites too :uxn:

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.