aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-04-14 03:44:39 +0200
committerkdx <kikoodx@paranoici.org>2023-04-14 03:44:39 +0200
commitdcbc2dfa4dba9bf800d730f76f3c63faa3accb81 (patch)
treeb6a28f5cec940d4b61979096244b792033c58301 /samples
parentcccfd1feffba5cab4510ed1d0597a9a7961854ef (diff)
downloadorga-dcbc2dfa4dba9bf800d730f76f3c63faa3accb81.tar.gz
input sample and clean fps manager
Diffstat (limited to 'samples')
-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