| 120 | extern int monoflag; /* 0 = not monochrome, else monochrome */ |
| 121 | |
| 122 | void |
| 123 | txt_backsp(void) |
| 124 | { |
| 125 | #ifdef PC9800 |
| 126 | union REGS regs; |
| 127 | |
| 128 | regs.h.dl = 0x01; /* one column */ |
| 129 | regs.h.ah = CURSOR_LEFT; |
| 130 | regs.h.cl = DIRECT_CON_IO; |
| 131 | |
| 132 | int86(DOS_EXT_FUNC, ®s, ®s); |
| 133 | |
| 134 | #else |
| 135 | int col, row; |
| 136 | |
| 137 | txt_get_cursor(&col, &row); |
| 138 | if (col > 0) |
| 139 | col = col - 1; |
| 140 | txt_gotoxy(col, row); |
| 141 | #endif |
| 142 | } |
| 143 | |
| 144 | void |
| 145 | txt_nhbell(void) |
no test coverage detected