From b0e035ba2b654891c98d7bf0de912e8d4da68798 Mon Sep 17 00:00:00 2001 From: jede Date: Sat, 25 Feb 2017 22:23:46 +0100 Subject: [PATCH] Cleaning --- libsrc/telestrat/clrscr.s | 8 ++++---- libsrc/telestrat/gotoxy.s | 3 +-- libsrc/telestrat/gotoy.s | 1 - libsrc/telestrat/wherex.s | 1 - libsrc/telestrat/wherey.s | 1 - 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/libsrc/telestrat/clrscr.s b/libsrc/telestrat/clrscr.s index 891c4162d..f2b8fafc1 100644 --- a/libsrc/telestrat/clrscr.s +++ b/libsrc/telestrat/clrscr.s @@ -10,7 +10,7 @@ .proc _clrscr lda #SCREEN + ldy #>SCREEN sta RES sty RES+1 @@ -20,14 +20,14 @@ BRK_TELEMON XFILLM - ; reset prompt position + ; reset prompt position lda #<(SCREEN+40) sta ADSCRL lda #>(SCREEN+40) sta ADSCRH - ; reset display position - lda #$01 + ; reset display position + lda #$01 sta SCRY lda #$00 sta SCRX diff --git a/libsrc/telestrat/gotoxy.s b/libsrc/telestrat/gotoxy.s index 7aa83b71d..e0c8154e3 100644 --- a/libsrc/telestrat/gotoxy.s +++ b/libsrc/telestrat/gotoxy.s @@ -5,11 +5,10 @@ .import popa - .importzp sp,tmp2,tmp3,tmp1 + .importzp sp .include "telestrat.inc" - .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 diff --git a/libsrc/telestrat/gotoy.s b/libsrc/telestrat/gotoy.s index d71570f10..ed7101c80 100644 --- a/libsrc/telestrat/gotoy.s +++ b/libsrc/telestrat/gotoy.s @@ -7,7 +7,6 @@ .include "telestrat.inc" - .proc _gotoy sta SCRY rts diff --git a/libsrc/telestrat/wherex.s b/libsrc/telestrat/wherex.s index 6d9587ba8..0dd5139e1 100644 --- a/libsrc/telestrat/wherex.s +++ b/libsrc/telestrat/wherex.s @@ -7,7 +7,6 @@ .include "telestrat.inc" - .proc _wherex ldx #$00 lda SCRX diff --git a/libsrc/telestrat/wherey.s b/libsrc/telestrat/wherey.s index e211ed5b9..4958f10cf 100644 --- a/libsrc/telestrat/wherey.s +++ b/libsrc/telestrat/wherey.s @@ -7,7 +7,6 @@ .include "telestrat.inc" - .proc _wherey ldx #$00 lda SCRY -- 2.39.5