+;
+; jede jede@oric.org 2017-02-25
+;
+
.export _clrscr
.importzp sp
; reset display position
lda #$01
sta SCRY
- lda #$02
+ lda #$00
sta SCRX
rts
.endproc
--- /dev/null
+;
+; jede jede@oric.org 2017-02-25
+;
+ .export _gotox
+
+ .import popa
+
+ .importzp sp
+
+ .include "telestrat.inc"
+
+
+.proc _gotox
+ sta SCRX
+ rts
+.endproc
+;
+; jede jede@oric.org 2017-02-25
+;
.export _gotoxy
.import popa
.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
--- /dev/null
+;
+; jede jede@oric.org 2017-02-25
+;
+ .export _gotoy
+
+ .importzp sp
+
+ .include "telestrat.inc"
+
+
+.proc _gotoy
+ sta SCRY
+ rts
+.endproc
--- /dev/null
+;
+; jede jede@oric.org 2017-02-25
+;
+ .export _wherex
+
+ .importzp sp
+
+ .include "telestrat.inc"
+
+
+.proc _wherex
+ ldx #$00
+ lda SCRX
+ rts
+.endproc
--- /dev/null
+;
+; jede jede@oric.org 2017-02-25
+;
+ .export _wherey
+
+ .importzp sp
+
+ .include "telestrat.inc"
+
+
+.proc _wherey
+ ldx #$00
+ lda SCRY
+ rts
+.endproc