@neauoire I'm struggling to get .Console/input and .Console/vector working in #uxn11 (#uxn) is it not supported or just broken on my end?
@ddlyh Yeah, I haven't implemented it yet, you can give it a shot if you like :)
@neauoire
OK, I'll try. BTW, does the screen vector trigger 60Hz as per the reference implementation or just as needed by the XExpose event, because it looks like the latter?
@ddlyh it should be 60fps, skip drawing if you can, but since a lot of apps use it as a timer, it should try to be as close as it can to 60fps.
@neauoire
I'm rereading your code and have realised what you're doing now. I am, however, confused about the line https://git.sr.ht/~rabbits/uxn11/tree/main/item/src/uxn11.c#L259 . Why are you calling poll() a second time instead of just checking if fd[1].revents & POLLIN is true? I admit to not being that familiar with poll as I usually use select, hopefully you can enlighten me?
~rabbits/uxn11: src/uxn11.c - sourcehut git

@ddlyh I'm not familiar with it either, this code was from someone who gave a hand on irc, but this unix stuff is all new to me as well.

@neauoire I've sent a patch to the public inbox. I've not changed your part of the C code in case there's something I don't understand: I've just added mine to it. I've tested and it works well under TinyCore 6.4 anyway.

I've also made a change to the buildscript to allow for building the release without installing and added in the standard compiler variables so that distro-specific builds can be made easily without further modification.

@ddlyh works great :) thanks a lot! Merged.

@neauoire I've been working with this as my testing program: https://codeberg.org/dheadshot/uxncat #uxn

I wrote this too - https://codeberg.org/dheadshot/sharestdio - and got #uxnemu on Windows talking to #uxn11 on Linux, using uxncat to send text between the two!

uxncat

A simple "cat" program for uxn, with a visual display in pixels for confirmation.

Codeberg.org
@ddlyh Oh wow, it's nice that you added a vizualisation to this :) Thanks for fixing the console stream!