~rabbits/uxn5

Stack Ordinator, written in Javascript(HTML5)
Added noscript tag
Added error vector
Always print stack

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~rabbits/uxn5
read/write
git@git.sr.ht:~rabbits/uxn5

You can also use your local clone with git send-email.

#Uxn5

An emulator for the Uxn stack-machine, written in Javascript.

#Usage

Include the uxn core in your <head> tag:

<script src="src/uxn.js"></script>

Include the boot sequence in your website, and evaluate a program:

<script type="text/javascript">
	const uxn = new Uxn()
	uxn.load(program).eval(0x0100)
</script>

#Devices

  • 00 system(missing)
  • 10 console(partial)
  • 20 screen(missing)
  • 30 audio(missing)
  • 70 midi(missing)
  • 80 controller(missing)
  • 90 mouse(missing)
  • a0 file(missing)
  • c0 datetime(missing)

#Tests

Build and run tests with reference emulator:

uxnasm etc/tests.tal bin/tests.rom && uxncli bin/tests.rom

Format tests for Javascript:

uxnasm etc/format.tal bin/format.rom && uxncli bin/format.rom bin/tests.rom > etc/program.js

#Need a hand?

The following resources are a good place to start:

You can also find us in #uxn on irc.esper.net.

#Contributing

Submit patches using git send-email to the ~rabbits/public-inbox mailing list.