Skip to content

Commit e917bd1

Browse files
committed
revert(nsfdrv): .not directive for compatibility
1 parent a22793a commit e917bd1

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Source/drivers/asm/effects.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ ft_load_slide:
219219

220220

221221
; FDS scratch write padding: guard $9000-$9003
222-
jmppad {jmp ft_jump_to_effect}, $8FF8, $9003, .defined(USE_ALL) && !.defined(PACKAGE)
222+
jmppad {jmp ft_jump_to_effect}, $8FF8, $9003, .defined(USE_ALL) && .not .defined(PACKAGE)
223223

224224
; see CChannelHandler::CalculatePeriod()
225225

@@ -234,7 +234,7 @@ ft_calc_period:
234234
lda var_ch_TimerPeriodHi, x
235235

236236
; FDS scratch write padding: guard $9010
237-
padjmp $900D, $9010, .defined(USE_ALL) && !.defined(PACKAGE)
237+
padjmp $900D, $9010, .defined(USE_ALL) && .not .defined(PACKAGE)
238238

239239
sta var_ch_PeriodCalcHi, x
240240

@@ -256,7 +256,7 @@ ft_calc_period:
256256
lsr var_ch_PeriodCalcHi, x
257257

258258
; FDS scratch write padding: guard $9030
259-
padjmp $902B, $9030, .defined(USE_ALL) && !.defined(PACKAGE)
259+
padjmp $902B, $9030, .defined(USE_ALL) && .not .defined(PACKAGE)
260260

261261
ror var_ch_PeriodCalcLo, x
262262
:

Source/drivers/asm/init.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ft_music_init:
113113

114114
; DPCM
115115
.if .defined(USE_DPCM)
116-
.if .defined(USE_N163) && !.defined(USE_ALL)
116+
.if .defined(USE_N163) && .not .defined(USE_ALL)
117117
ldx var_EffChannels
118118
.else
119119
ldx #EFF_CHANS

Source/drivers/asm/vrc7.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ ft_vrc7_get_freq_only:
430430
sta var_ch_TimerPeriodLo, x
431431

432432
; FDS scratch write padding: guard $A000-$A002
433-
padjmp $9FFB, $A002, .defined(USE_ALL) && !.defined(PACKAGE)
433+
padjmp $9FFB, $A002, .defined(USE_ALL) && .not .defined(PACKAGE)
434434

435435
lda ft_note_table_vrc7_h, y
436436
sta var_ch_TimerPeriodHi, x

0 commit comments

Comments
 (0)