mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-10-24 23:25:28 +00:00
pt3: make negating code more efficient
vmw: fix a L/H typo that was causing validation test fail
This commit is contained in:
parent
c4da336e98
commit
77007cfdb5
@ -1529,17 +1529,15 @@ weird_version:
|
||||
|
||||
; a->tone_slide_step = -a->tone_slide_step;
|
||||
|
||||
lda note_a+NOTE_TONE_SLIDE_STEP_H,X
|
||||
eor #$ff
|
||||
sta note_a+NOTE_TONE_SLIDE_STEP_H,X
|
||||
lda note_a+NOTE_TONE_SLIDE_STEP_L,X
|
||||
eor #$ff
|
||||
clc
|
||||
adc #$1
|
||||
sta note_a+NOTE_TONE_SLIDE_STEP_L,X
|
||||
bcc skip_step_inc2
|
||||
inc note_a+NOTE_TONE_SLIDE_STEP_H,X
|
||||
skip_step_inc2:
|
||||
lda note_a+NOTE_TONE_SLIDE_STEP_H,X
|
||||
eor #$ff
|
||||
adc #$0
|
||||
sta note_a+NOTE_TONE_SLIDE_STEP_H,X
|
||||
|
||||
no_need:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user