adding gotox.s gotoy.s wherex.s wherey.s

This commit is contained in:
jede
2017-02-25 22:20:17 +01:00
parent 1497330cc0
commit 7bc3bff83f
6 changed files with 71 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
;
; jede jede@oric.org 2017-02-25
;
.export _gotoxy
.import popa
@@ -10,8 +13,8 @@
.proc _gotoxy
; This function move only cursor for display, it does not move the prompt position
; in telemon, there is position for prompt, and another for the cursor
sta SCRY
jsr popa
sta SCRX
sta SCRY
jsr popa
sta SCRX
rts
.endproc