_bitfx_4.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_fx/_bitfx_4.asm

SECTION code_clib
SECTION code_sound_bit

PUBLIC _bitfx_4

INCLUDE "clib_target_cfg.asm"

_bitfx_4:

   ; Our old squelch...
   
   ld b,0

zap1_1:

   push bc
   
   xor __sound_bit_toggle
   INCLUDE "sound/bit/z80/output_bit_device_2.inc"

zap1_2:

   nop
   nop
   
   djnz zap1_2   

   pop bc
   djnz zap1_1
   
   ret
