aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-04-14 01:42:21 +0200
committerkdx <kikoodx@paranoici.org>2023-04-14 01:42:21 +0200
commit0a40f97a1eb0de80e38a51d19d6b7c92d766554b (patch)
tree7e18a8ae6b79285e988841856187534ba3ecebf4 /samples
parent1ea1be987dfe7cf78f7a0eeed02b22820484db49 (diff)
downloadorga-0a40f97a1eb0de80e38a51d19d6b7c92d766554b.tar.gz
render to screen
Diffstat (limited to 'samples')
-rw-r--r--samples/input.orgaasm4
-rw-r--r--samples/screen.orgaasm8
2 files changed, 8 insertions, 4 deletions
diff --git a/samples/input.orgaasm b/samples/input.orgaasm
deleted file mode 100644
index a97f70c..0000000
--- a/samples/input.orgaasm
+++ /dev/null
@@ -1,4 +0,0 @@
- SLP
-@loop
- LIT ,Input LDA DBG POP
- JMP ,loop
diff --git a/samples/screen.orgaasm b/samples/screen.orgaasm
new file mode 100644
index 0000000..7b16d71
--- /dev/null
+++ b/samples/screen.orgaasm
@@ -0,0 +1,8 @@
+ LIT ,Screen
+@loop
+ DUP DUP STA ( draw pixel )
+ INC DUP ( overflow check )
+ JNZ ,loop
+@infinite
+ SLP
+ JMP ,infinite