zx_01_output_fzx_tty_z88dk_18_flash.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx_tty_z88dk/zx_01_output_fzx_tty_z88dk_18_flash.asm

SECTION code_driver
SECTION code_driver_terminal_output

PUBLIC zx_01_output_fzx_tty_z88dk_18_flash

zx_01_output_fzx_tty_z88dk_18_flash:

   ; change flash bit of foreground colour
   
   ; de = parameters *
   
   ld a,(de)
   and $01
   rrca
   ld e,a
   
   ld a,(ix+52)                ; a = foreground colour
   and $7f
   
   or e
   ld (ix+52),a
   
   ret
