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

SECTION code_clib
SECTION code_sound_bit

PUBLIC _bitfx_19

INCLUDE "clib_target_cfg.asm"

_bitfx_19:

  ; blurp

   ld b,255

blurp2:

   push af
   
   ld a,__sound_bit_toggle
   ld h,0
   ld l,b
   and (hl)
   ld l,a
   
   pop af
   
   xor l
   INCLUDE "sound/bit/z80/output_bit_device_2.inc"

   push af
   
   ld a,(hl)

dblurp:

   dec a
   jr nz, dblurp
   
   pop af
   djnz blurp2
   
   ret
