| 432 | } |
| 433 | |
| 434 | void txt_show_cursor(void) |
| 435 | { |
| 436 | union REGS regs; |
| 437 | |
| 438 | regs.x.dx = 0; |
| 439 | regs.h.ah = SETCURTYP; /* set cursor type */ |
| 440 | if (cursor_info) { |
| 441 | regs.h.ch = cursor_start_scanline; /* starting scanline */ |
| 442 | regs.h.cl = cursor_end_scanline; /* ending scanline */ |
| 443 | } else { |
| 444 | regs.h.ch = 6; /* starting scanline */ |
| 445 | regs.h.cl = 7; /* ending scanline */ |
| 446 | } |
| 447 | regs.x.bx = 0; |
| 448 | (void) int86(VIDEO_BIOS, ®s, ®s); |
| 449 | } |
| 450 | |
| 451 | static void |
| 452 | get_cursinfo(uchar *start, uchar *end, uchar *flg) |