SoilDown opty.

This commit is contained in:
Pecusx
2023-11-15 17:36:49 +01:00
parent 47efa6292e
commit 9c6816685c
3 changed files with 7 additions and 13 deletions
+7 -13
View File
@@ -1340,18 +1340,14 @@ NextColumn1
mwa #0 ydraw mwa #0 ydraw
NextPoint1 NextPoint1
jsr point_plot jsr point_plot
beq StillNothing bne FoundFirstPoint
ldy #0
lda ydraw
sta (tempor2),y
sta (temp),y
jmp FoundPeek1
StillNothing StillNothing
inc ydraw inc ydraw
lda ydraw lda ydraw
cmp #screenheight cmp #screenheight
bne NextPoint1 bne NextPoint1
; no pixels on whole column !!! ; no pixels on whole column !!!
FoundFirstPoint
ldy #0 ldy #0
lda ydraw lda ydraw
sta (tempor2),y sta (tempor2),y
@@ -1361,9 +1357,8 @@ FoundPeek1
inw temp inw temp
inw xdraw inw xdraw
;vcmp xdraw,screenwidth,NextColumn1 ;vcmp xdraw,screenwidth,NextColumn1
cpw xdraw RangeRight cpw RangeRight xdraw
bcc NextColumn1 bcs NextColumn1
beq NextColumn1
; we have both tables filled with starting values ; we have both tables filled with starting values
; main loop starts here ; main loop starts here
@@ -1418,9 +1413,8 @@ ColumnIsReady
inw tempor2 inw tempor2
inw xdraw inw xdraw
;vcmp xdraw,screenwidth,FalloutOfLine ;vcmp xdraw,screenwidth,FalloutOfLine
cpw xdraw RangeRight cpw RangeRight xdraw
bcc FalloutOfLine bcs FalloutOfLine
beq FalloutOfLine
jsr CheckExitKeys ; Check for O, Esc or Start+Option keys jsr CheckExitKeys ; Check for O, Esc or Start+Option keys
spl:rts ; exit if pressed 'Exit keys' spl:rts ; exit if pressed 'Exit keys'
@@ -1429,7 +1423,7 @@ ColumnIsReady
; level of the mountains ; level of the mountains
jeq MainFallout2 jeq MainFallout2
; now correct heights are in the mountaintable ; now correct heights are in the mountaintable
sta color ; Pozor! :) we know - now A=1 ;sta color ; Pozor! :) we know - now A=1 ... but DrawTanks set color to 1
NothingToFall NothingToFall
jmp DrawTanks jmp DrawTanks
; rts ; rts
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.