3 ms·
The emulator core is worth checking out: https://git.sr.ht/~rabbits/uxn/tree/main/item/src/uxn.c https://git.sr.ht/~rabbits/uxn/tree/main/item/src/uxn.c Less
by donio 4y ago
The emulator core is worth checking out:
https://git.sr.ht/~rabbits/uxn/tree/main/item/src/uxn.c https://git.sr.ht/~rabbits/uxn/tree/main/item/src/uxn.c
Less than 150 lines, each opcode is defined in a single line in terms of a dozen or so basic operations which are single line macros themselves.
- genewitch 4y agointeresting to read through. No MOV tho
- bullen 4y agoDigging into this, how are the .tal files made? Found it: https://compudanzas.net/uxn_tutorial.html https://compudanzas.net/uxn_tutorial.html So you need to write assembly sort of, I wonder what language anyone would pick to compile for this little VM. Also I lack networking! Here is a video introduction: https://www.youtube.com/watch?v=LrNuq_JgaOA&t=794s https://www.youtube.com/watch?v=LrNuq_JgaOA&t=794s