zx_01_output_char_32_tty_z88dk_27_escape.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_32_tty_z88dk/zx_01_output_char_32_tty_z88dk_27_escape.asm

SECTION code_driver
SECTION code_driver_terminal_output

PUBLIC zx_01_output_char_32_tty_z88dk_27_escape

EXTERN error_zc

zx_01_output_char_32_tty_z88dk_27_escape:

   ; output escaped char uninterpretted
   
   ; de = parameters *
   
   ld a,(de)
   ld c,a                      ; c = escaped char
   
   ; pop one return address from stack
   ; so that carry is not cleared
   
   jp error_zc - 1             ; carry set to deliver char to terminal
