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

SECTION code_driver
SECTION code_driver_terminal_output

PUBLIC zx_01_output_fzx_tty_z88dk_stdio_msg_flsh

EXTERN l_offset_ix_de, asm_tty_reset

zx_01_output_fzx_tty_z88dk_stdio_msg_flsh:

   ; carry indicates error
   
   ld hl,55
   call l_offset_ix_de         ; hl = & tty_state
   
   ; carry is reset here
   
   jp asm_tty_reset            ; base drivers do not implement flush
