Skip to content

mayakarabula/uxn51

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of 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(partial)
  • 10 console(partial)
  • 20 screen(partial)
  • 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published