.NO3 LDX DNOIZ \ Set X to the DNOIZ configuration setting BNE NO1 \ If DNOIZ is non-zero, then sound is disabled, so \ return from the subroutine (as NO1 contains an RTS) LDX #LO(XX16) \ Otherwise call OSWORD 7, with (Y X) pointing to the LDY #HI(XX16) \ sound block in XX16. This makes the sound as LDA #7 \ described in the documentation for variable SFX, JMP OSWORD \ and returns from the subroutine using a tail callName: NO3 [View in context] Type: Subroutine Category: Sound Summary: Make a sound from a prepared sound block
Make a sound from a prepared sound block in XX16 (if sound is enabled). See routine NOS1 for details of preparing the XX16 sound block.
Entry point NO1 in subroutine NORM (category: Maths (Geometry))
Contains an RTS
Configuration variable: OSWORD = &FFF1
The address for the OSWORD routine, which is used twice in the main game code