mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-31 14:30:17 +00:00
ds: didn't run on real hardware! was relying on AppleWin initing to zero
uninitialized vars
This commit is contained in:
parent
dc39e8261e
commit
643965b9db
@ -6,6 +6,16 @@
|
||||
|
||||
demosplash2019:
|
||||
|
||||
;=========================
|
||||
; clear zp
|
||||
;=========================
|
||||
lda #0
|
||||
ldy #128
|
||||
zp_clear_loop:
|
||||
sta $0,y
|
||||
iny
|
||||
bne zp_clear_loop
|
||||
|
||||
;=========================
|
||||
; set up sound
|
||||
;=========================
|
||||
|
@ -454,6 +454,7 @@ asstr_above:
|
||||
lda #10
|
||||
|
||||
asstr_adjust_y:
|
||||
and #$fe
|
||||
sta ASTRONAUT_Y
|
||||
|
||||
jsr recalc_walk_collision
|
||||
|
@ -574,8 +574,9 @@ finally_draw_him:
|
||||
sta XPOS
|
||||
|
||||
lda ASTRONAUT_Y
|
||||
sec
|
||||
sbc EARTH_OFFSET ; adjust for earthquakes
|
||||
and #$fe
|
||||
; sec
|
||||
; sbc EARTH_OFFSET ; adjust for earthquakes
|
||||
sta YPOS
|
||||
|
||||
lda DIRECTION
|
||||
|
@ -146,6 +146,8 @@ BEAST_DEAD = $CB ; 1
|
||||
VENT_OPEN = $CC ; 2
|
||||
INTRO_REPEAT = $CD ; INTRO
|
||||
|
||||
ASTRONAUT_X = $CC
|
||||
ASTRONAUT_Y = $CD
|
||||
|
||||
LASER_TEMP = $CE ; 2+
|
||||
LEFT_SHOOT_TARGET = $CF ; ALL
|
||||
@ -264,10 +266,10 @@ DRAW_PAGE = $EE ; ALL
|
||||
OFFSET = $EF
|
||||
|
||||
INTRO_LOOPL = $F0 ; INTRO
|
||||
ASTRONAUT_X = $F0 ; ALL
|
||||
;ASTRONAUT_X = $F0 ; ALL
|
||||
|
||||
INTRO_LOOPH = $F1 ; INTRO
|
||||
ASTRONAUT_Y = $F1 ; ALL
|
||||
;ASTRONAUT_Y = $F1 ; ALL
|
||||
|
||||
SPRITETEMP = $F2 ; ALL
|
||||
XPOS = $F3 ; ALL
|
||||
|
Loading…
Reference in New Issue
Block a user