Reformat comments to style guide rules
This commit is contained in:
committed by
Oliver Schmidt
parent
2bd798fa13
commit
0d21a2b5a4
@@ -131,7 +131,7 @@ VBASE := $E000 ; Video memory base address
|
|||||||
;
|
;
|
||||||
|
|
||||||
INSTALL:
|
INSTALL:
|
||||||
; rts ; fall through
|
; rts ; Fall through
|
||||||
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
@@ -272,7 +272,7 @@ CLEAR: ldy #$00
|
|||||||
sta VBASE+$1C00,y
|
sta VBASE+$1C00,y
|
||||||
sta VBASE+$1D00,y
|
sta VBASE+$1D00,y
|
||||||
sta VBASE+$1E00,y
|
sta VBASE+$1E00,y
|
||||||
sta VBASE+$1E40,y ; preserve vectors
|
sta VBASE+$1E40,y ; Preserve vectors
|
||||||
iny
|
iny
|
||||||
bne @L1
|
bne @L1
|
||||||
rts
|
rts
|
||||||
@@ -285,7 +285,7 @@ CLEAR: ldy #$00
|
|||||||
;
|
;
|
||||||
|
|
||||||
SETVIEWPAGE:
|
SETVIEWPAGE:
|
||||||
; rts ; fall through
|
; rts ; Fall through
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; SETDRAWPAGE: Set the drawable page. Called with the new page in A (0..n).
|
; SETDRAWPAGE: Set the drawable page. Called with the new page in A (0..n).
|
||||||
@@ -574,11 +574,11 @@ YCONT2: lda (POINT),y ;Plot endpoint
|
|||||||
cli
|
cli
|
||||||
rts
|
rts
|
||||||
|
|
||||||
YFIXX: ;x=x+1
|
YFIXX: ; X = X + 1
|
||||||
adc DY
|
adc DY
|
||||||
lsr CHUNK
|
lsr CHUNK
|
||||||
bne YCONT ; If we pass a column boundary...
|
bne YCONT ; If we pass a column boundary...
|
||||||
ror CHUNK ;then reset CHUNK to $80
|
ror CHUNK ; Then reset CHUNK to $80
|
||||||
sta TEMP2
|
sta TEMP2
|
||||||
lda POINT ; And add 8 to POINT
|
lda POINT ; And add 8 to POINT
|
||||||
adc #8
|
adc #8
|
||||||
@@ -598,8 +598,7 @@ YFIXX: ;x=x+1
|
|||||||
|
|
||||||
.bss
|
.bss
|
||||||
COUNTHI:
|
COUNTHI:
|
||||||
.byte $00 ;Temporary counter
|
.byte $00 ; Temporary counter, only used once
|
||||||
;only used once
|
|
||||||
.code
|
.code
|
||||||
STEPINX:
|
STEPINX:
|
||||||
ldx DX
|
ldx DX
|
||||||
@@ -861,10 +860,10 @@ CALC: lda Y1
|
|||||||
ror POINT
|
ror POINT
|
||||||
cmp #$80
|
cmp #$80
|
||||||
ror
|
ror
|
||||||
ror POINT ; row*64
|
ror POINT ; Row * 64
|
||||||
adc TEMP2 ; +row*256
|
adc TEMP2 ; + Row * 256
|
||||||
clc
|
clc
|
||||||
adc #>VBASE ; +bitmap base
|
adc #>VBASE ; + Bitmap base
|
||||||
sta POINT+1
|
sta POINT+1
|
||||||
|
|
||||||
lda X1
|
lda X1
|
||||||
|
|||||||
Reference in New Issue
Block a user