From a05dc2324f601bbe03cb7839ea9f163ff3a60feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20GIBERT?= Date: Fri, 4 Nov 2016 16:11:37 +0100 Subject: [PATCH] Kernel version 0.8 : CONSOLE.DRV.S.txt, few bytes saved --- DRV/CONSOLE.DRV.S.txt | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/DRV/CONSOLE.DRV.S.txt b/DRV/CONSOLE.DRV.S.txt index 6892fb28..39427967 100644 --- a/DRV/CONSOLE.DRV.S.txt +++ b/DRV/CONSOLE.DRV.S.txt @@ -17,7 +17,6 @@ ESCSEQ.MAXLEN .EQ 16 *-------------------------------------- ZPBaseL1 .EQ ZPDRV ZPBaseL2 .EQ ZPDRV+2 -ZPTmpByte .EQ ZPDRV+4 *-------------------------------------- * File Header (16 Bytes) *-------------------------------------- @@ -450,15 +449,13 @@ CLRLINE ldx #0 CLRSOL ldx #0 ldy CH -CLR sty ZPTmpByte -.1 phx - lda #$20 +CLR sty .2+1 +.1 lda #$20 ora INVFLG ldy CV - jsr SetCharAtXY - plx + jsr SetCharAtXY X,Y unmodified inx - cpx ZPTmpByte +.2 cpx #$ff Self Modified bne .1 clc rts @@ -494,9 +491,7 @@ SCROLL.DN ldx SCROLLBOT bpl .3 cpx SCROLLTOP - bne .1 - - + bne .1 clc rts