From: jede Date: Sat, 25 Feb 2017 21:23:46 +0000 (+0100) Subject: Cleaning X-Git-Tag: V2.16~38^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F390%2Fhead;p=cc65 Cleaning --- 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