News for hackers. Stuff that matters.
Re:Yarn – A small embeddable VM with a custom instruction set by strangecasts on Saturday February 27, 2016 @07:49PM (#11189216)
What sort of graphics/audio interface do you expose to the program?

(The project is very cool! The instruction set reminds me a bit of the MIPS subset usually implemented in uni courses.)

Re:Yarn – A small embeddable VM with a custom instruction set by WetDesertRock on Saturday February 27, 2016 @08:58PM (#11189416)
Oh, and I forgot to answer your question.

I haven't decided on audio. It might be a set of sys calls that manipulate oscillators. The graphics interface is quite literally just manipulating the program memory. You can see the registers in the lower left corner of the video I linked.

Re:Yarn – A small embeddable VM with a custom instruction set by WetDesertRock on Saturday February 27, 2016 @08:57PM (#11189414)
Yeah, I used my limited knowledge of x86 and some research into other ISA's (such as MIPS) to give me some ideas.