Link to 9front from README

This commit is contained in:
neauoire 2021-05-17 15:13:46 -07:00
parent 6c3e46d514
commit 386b477611
2 changed files with 9 additions and 13 deletions

View File

@ -4,7 +4,7 @@ An [8-bit stack-based computer](https://wiki.xxiivv.com/site/uxn.html), written
## Build
To build the Uxn emulator, you must have [SDL2](https://wiki.libsdl.org/) and [Portmidi](http://portmedia.sourceforge.net/portmidi/).
To build the Uxn emulator on Linux, you must have [SDL2](https://wiki.libsdl.org/) and [Portmidi](http://portmedia.sourceforge.net/portmidi/).
```sh
./build.sh
@ -12,7 +12,7 @@ To build the Uxn emulator, you must have [SDL2](https://wiki.libsdl.org/) and [P
--cli # Run rom without graphics
```
On 9front:
To build the Uxn emulator on the [9front](http://9front.org/) fork of Plan 9:
```rc
mk

View File

@ -1,23 +1,19 @@
( dev/console )
%RTN { JMP2r }
( devices )
|10 @Console [ &pad $8 &char $1 ]
|10 @Console [ &pad $8 &char ]
( init )
|0100 ( -> )
,hello-word
;hello-word
&loop
( send ) LDRk .Console/char DEO
( incr ) #01 ADD
( loop ) DUP ,&loop JCN
POP
( send ) LDAk .Console/char DEO
( incr ) #0001 ADD2
( loop ) LDAk ,&loop JCN
POP2
BRK
@hello-word "hello 20 "World!
@hello-word "Hello 20 "World!