Basic unrendering of spans working

This commit is contained in:
blondie7575 2017-12-25 22:23:22 -07:00
parent 157ec99cc7
commit ee9645c47d
3 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,8 @@ gameplayLoop:
; beq gameplayLoopKbd
BORDER_COLOR #$3
jsr renderTerrainSpans
; jsr unrenderTerrainSpans
jsr unrenderTerrainSpans
stz terrainDirty
BORDER_COLOR #$1
@ -226,7 +227,7 @@ endGame:
;
scrollMap:
; jsr unclipTerrain
jsr unrenderTerrainSpans
; jsr unrenderTerrainSpans
jsr unrenderPlayers
jsr unrenderProjectiles

Binary file not shown.

View File

@ -76,7 +76,7 @@ renderTerrainSpansLoop:
sta PARAML1
jsr renderTerrainRowSpans
dec
bpl renderTerrainSpansLoop
bne renderTerrainSpansLoop
pla
rts
@ -133,8 +133,6 @@ renderTerrainRowSpans:
lda #200
sec
sbc PARAML1
tax
;jsr enableFillMode
asl
tax
lda vramYOffset,x
@ -206,6 +204,7 @@ renderTerrainRowSpansDone:
RESTORE_AXY
rts
.if 0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; renderTerrainFillMode: