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.
Wintermute_BBS
Unknown parent • • •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.
Devine Lu Linvega
Unknown parent • • •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
~rabbits/uxn-utils (main): gui/shavian/shavian.tal - sourcehut git
git.sr.ht