Browse code

Link to 9front from README

neauoire authored on 17/05/2021 22:13:46
Showing 2 changed files
... ...
@@ -4,7 +4,7 @@ An [8-bit stack-based computer](https://wiki.xxiivv.com/site/uxn.html), written
4 4
 
5 5
 ## Build
6 6
 
7
-To build the Uxn emulator, you must have [SDL2](https://wiki.libsdl.org/) and [Portmidi](http://portmedia.sourceforge.net/portmidi/).
7
+To build the Uxn emulator on Linux, you must have [SDL2](https://wiki.libsdl.org/) and [Portmidi](http://portmedia.sourceforge.net/portmidi/).
8 8
 
9 9
 ```sh
10 10
 ./build.sh 
... ...
@@ -12,7 +12,7 @@ To build the Uxn emulator, you must have [SDL2](https://wiki.libsdl.org/) and [P
12 12
 	--cli # Run rom without graphics
13 13
 ```
14 14
 
15
-On 9front:
15
+To build the Uxn emulator on the [9front](http://9front.org/) fork of Plan 9:
16 16
 
17 17
 ```rc
18 18
 mk
... ...
@@ -1,23 +1,19 @@
1 1
 ( dev/console )
2 2
 
3
-%RTN { JMP2r }
4
-
5
-( devices )
6
-
7
-|10 @Console    [ &pad $8 &char $1 ]
3
+|10 @Console [ &pad $8 &char ]
8 4
 
9 5
 ( init )
10 6
 
11 7
 |0100 ( -> )
12 8
 	
13
-	,hello-word 
9
+	;hello-word 
14 10
 
15 11
 	&loop
16
-		( send ) LDRk .Console/char DEO
17
-		( incr ) #01 ADD
18
-		( loop ) DUP ,&loop JCN
19
-	POP
12
+		( send ) LDAk .Console/char DEO
13
+		( incr ) #0001 ADD2
14
+		( loop ) LDAk ,&loop JCN
15
+	POP2
20 16
 	
21 17
 BRK
22 18
 
23
-@hello-word "hello 20 "World!
24 19
\ No newline at end of file
20
+@hello-word "Hello 20 "World!
25 21
\ No newline at end of file