aboutsummaryrefslogtreecommitdiff
path: root/samples/input.orgaasm
diff options
context:
space:
mode:
Diffstat (limited to 'samples/input.orgaasm')
-rw-r--r--samples/input.orgaasm9
1 files changed, 6 insertions, 3 deletions
diff --git a/samples/input.orgaasm b/samples/input.orgaasm
index a5da548..46b4c9e 100644
--- a/samples/input.orgaasm
+++ b/samples/input.orgaasm
@@ -1,4 +1,7 @@
@loop
- SLP
- LIT ,Input LDA DBG POP
- JMP ,loop
+ SLP ( cycle input events )
+ LIT ,Input LDA ( get input )
+ DBG ( print to console )
+ #0008 AND ( loop until start is pressed )
+ JEZ ,loop
+ RET