2022-03-26 20:23:52 -04:00
# Uxn
2022-03-27 00:07:01 -04:00
An emulator for the [Uxn stack-machine ](https://wiki.xxiivv.com/site/uxn.html ), written in ANSI C.
2022-03-26 20:23:52 -04:00
2022-03-27 00:07:01 -04:00
## Graphical
All you need is X11.
```
gcc src/uxn.c src/devices/system.c src/devices/screen.c src/devices/controller.c src/devices/mouse.c src/devices/datetime.c src/uxn11.c -DNDEBUG -Os -g0 -s -o bin/uxn11 -lX11
```
## Terminal
2022-03-26 21:32:46 -04:00
If you wish to build the emulator without graphics mode:
```sh
cc src/devices/datetime.c src/devices/system.c src/devices/file.c src/uxn.c -DNDEBUG -Os -g0 -s src/uxncli.c -o bin/uxncli
```
2022-03-27 11:46:50 -04:00
## Devices
- `00` system
- `10` console(partial)
- `20` screen
- `30` audio(missing)
- `70` midi(missing)
- `80` controller(partial)
- `90` mouse
- `a0` file(missing)
- `c0` datetime
2022-03-26 20:23:52 -04:00
## Contributing
Submit patches using [`git send-email` ](https://git-send-email.io/ ) to the [~rabbits/public-inbox mailing list ](https://lists.sr.ht/~rabbits/public-inbox ).