summaryrefslogtreecommitdiff
path: root/src/sys/np/sample/rev-0.np
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/np/sample/rev-0.np')
-rw-r--r--src/sys/np/sample/rev-0.np21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/sys/np/sample/rev-0.np b/src/sys/np/sample/rev-0.np
deleted file mode 100644
index c3f781f..0000000
--- a/src/sys/np/sample/rev-0.np
+++ /dev/null
@@ -1,21 +0,0 @@
-;;
-;; Program entrypoint
-;;
-proc
-main(u8 argc, u8 **argv) -> i8
-begin
- u8 *vga = ptr(0x8B000)
-
- if argc < 2 begin
- return -1
- end
-
- ;; Draw '*' chars
- for [i=0 : i<8 : i += 2] begin
- vga[i + 0] = '*' ;; char '*'
- vga[i + 1] = 0x07 ;; red
- end
-
- return 0
-end
-