Link to 9front from README
This commit is contained in:
parent
6c3e46d514
commit
386b477611
|
@ -4,7 +4,7 @@ An [8-bit stack-based computer](https://wiki.xxiivv.com/site/uxn.html), written
|
||||||
|
|
||||||
## Build
|
## 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
|
```sh
|
||||||
./build.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
|
--cli # Run rom without graphics
|
||||||
```
|
```
|
||||||
|
|
||||||
On 9front:
|
To build the Uxn emulator on the [9front](http://9front.org/) fork of Plan 9:
|
||||||
|
|
||||||
```rc
|
```rc
|
||||||
mk
|
mk
|
||||||
|
|
|
@ -1,23 +1,19 @@
|
||||||
( dev/console )
|
( dev/console )
|
||||||
|
|
||||||
%RTN { JMP2r }
|
|10 @Console [ &pad $8 &char ]
|
||||||
|
|
||||||
( devices )
|
|
||||||
|
|
||||||
|10 @Console [ &pad $8 &char $1 ]
|
|
||||||
|
|
||||||
( init )
|
( init )
|
||||||
|
|
||||||
|0100 ( -> )
|
|0100 ( -> )
|
||||||
|
|
||||||
,hello-word
|
;hello-word
|
||||||
|
|
||||||
&loop
|
&loop
|
||||||
( send ) LDRk .Console/char DEO
|
( send ) LDAk .Console/char DEO
|
||||||
( incr ) #01 ADD
|
( incr ) #0001 ADD2
|
||||||
( loop ) DUP ,&loop JCN
|
( loop ) LDAk ,&loop JCN
|
||||||
POP
|
POP2
|
||||||
|
|
||||||
BRK
|
BRK
|
||||||
|
|
||||||
@hello-word "hello 20 "World!
|
@hello-word "Hello 20 "World!
|
Loading…
Reference in New Issue