Thread with 9 posts

jump to expanded post

there are a number of important limitations, but it's already usable enough to write small games and demos. with some effort, it's even possible to port some existing software! i've managed to get a certain classic app working in it. i'm hoping to announce it soon :3

Open thread at this post

the fact it's a stack machine makes it really fun to write (or generate!) assembly for. you never have to remember register numbers, all the inputs and outputs are implicit. the magic of concatenative programming~

Open thread at this post

one of the challenges was that uxn doesn't have signed integer operations, but they're essential for c code, so i had to write some little helper routines that emulate signed operations. for example, this does sign extension (char->int conversion):

#80 ANDk EQU #ff MUL SWP
Open thread at this post

@cr1901 @lynn i can't really speak for lynn but i think the feeling is that we'd rather not have something requiring such heavy runtime support. it's not something most applications need, you should only use it sparingly, and you can just call it via asm, or maybe via improved extern support in the future

Open thread at this post