processor 6502 include vcs.h include macro.h org $F000 YPosFromBot = $80 VisibleMissileLine = $81 Start CLEAN_START lda #$00 sta COLUBK lda #66 sta COLUP0 lda #80 sta YPosFromBot lda #$20 sta NUSIZ0 MainLoop lda #2 sta VSYNC sta WSYNC sta WSYNC sta WSYNC lda #43 sta TIM64T lda #0 sta VSYNC lda #%00010000 sta HMM0 WaitForVblankEnd lda INTIM bne WaitForVblankEnd ldy #191 sta WSYNC sta VBLANK sta WSYNC sta HMOVE ScanLoop sta WSYNC CheckActivateMissile cpy YPosFromBot ; question regarding bne SkipActivateMissile ; this area!!!! lda #8 sta VisibleMissileLine SkipActivateMissile lda #0 sta ENAM0 lda VisibleMissileLine beq FinishMissile IsMissileOn lda #2 sta ENAM0 dec VisibleMissileLine FinishMissile dey bne ScanLoop lda #2 sta WSYNC sta VBLANK ldx #30 OverScanWait sta WSYNC dex bne OverScanWait jmp MainLoop org $FFFC .word Start .word StartIn the area commented as "question regarding this area", does this:
bne SkipActivateMissilemean:
branch to the location labelled as "SkipActivateMissile" if Y is not
equal to YPosFromBot (referencing the compare statement of the
previous line)
because I thought bne meant branch to (label) if the result of the previous line is not equal to 0.
Thanks! Any help is appreciated!













