1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

Reformat comments to style guide rules

This commit is contained in:
Richard Halkyard 2019-10-31 11:23:15 -05:00 committed by Oliver Schmidt
parent 2bd798fa13
commit 0d21a2b5a4

View File

@ -131,7 +131,7 @@ VBASE := $E000 ; Video memory base address
;
INSTALL:
; rts ; fall through
; rts ; Fall through
; ------------------------------------------------------------------------
@ -272,7 +272,7 @@ CLEAR: ldy #$00
sta VBASE+$1C00,y
sta VBASE+$1D00,y
sta VBASE+$1E00,y
sta VBASE+$1E40,y ; preserve vectors
sta VBASE+$1E40,y ; Preserve vectors
iny
bne @L1
rts
@ -285,7 +285,7 @@ CLEAR: ldy #$00
;
SETVIEWPAGE:
; rts ; fall through
; rts ; Fall through
; ------------------------------------------------------------------------
; 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
rts
YFIXX: ;x=x+1
YFIXX: ; X = X + 1
adc DY
lsr CHUNK
bne YCONT ; If we pass a column boundary...
ror CHUNK ;then reset CHUNK to $80
ror CHUNK ; Then reset CHUNK to $80
sta TEMP2
lda POINT ; And add 8 to POINT
adc #8
@ -598,8 +598,7 @@ YFIXX: ;x=x+1
.bss
COUNTHI:
.byte $00 ;Temporary counter
;only used once
.byte $00 ; Temporary counter, only used once
.code
STEPINX:
ldx DX
@ -861,10 +860,10 @@ CALC: lda Y1
ror POINT
cmp #$80
ror
ror POINT ; row*64
adc TEMP2 ; +row*256
ror POINT ; Row * 64
adc TEMP2 ; + Row * 256
clc
adc #>VBASE ; +bitmap base
adc #>VBASE ; + Bitmap base
sta POINT+1
lda X1