cpm_01_output_dcio_iterm_msg_bs.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/target/cpm/driver/terminal/cpm_01_output_dcio/cpm_01_output_dcio_iterm_msg_bs.asm

INCLUDE "clib_cfg.asm"

SECTION code_driver
SECTION code_driver_terminal_output

PUBLIC cpm_01_output_dcio_iterm_msg_bs

EXTERN __CPM_DCIO
EXTERN asm_cpm_bdos_alt

cpm_01_output_dcio_iterm_msg_bs:

   ; backspace
   ; can use:  af, bc, de, hl, ix

   call backspace

   ld c,__CPM_DCIO             ; bdos direct console i/o
   ld e,' '
   call asm_cpm_bdos_alt

backspace:

   ld c,__CPM_DCIO             ; bdos direct console i/o
   ld e,CHAR_BS
   jp asm_cpm_bdos_alt
