Fixed bugs; and, improved the efficiency of some pce library functions.
This commit is contained in:
committed by
Oliver Schmidt
parent
959eff34a3
commit
39694d0aaa
@@ -12,20 +12,15 @@
|
||||
.include "extzp.inc"
|
||||
|
||||
_clrscr:
|
||||
st0 #VDC_MAWR
|
||||
st1 #<$0000
|
||||
st2 #>$0000
|
||||
|
||||
VREG VDC_MAWR, $0000
|
||||
st0 #VDC_VWR
|
||||
|
||||
ldy #$40
|
||||
rowloop:
|
||||
ldx #$80
|
||||
colloop:
|
||||
lda #' ' ; low byte of char. index
|
||||
sta VDC_DATA_LO
|
||||
lda #$02 ; background color, high nybble of char. index
|
||||
sta VDC_DATA_HI
|
||||
|
||||
st1 #' ' ; low byte of char. index
|
||||
st2 #$02 ; background color, high nybble of char. index
|
||||
dex
|
||||
bne colloop
|
||||
dey
|
||||
|
||||
Reference in New Issue
Block a user