1
0
Fork 0

added support for int 10:01 set cursortype

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@558
This commit is contained in:
Peter Veenstra 2002-12-03 17:30:07 +00:00
parent 581774e9bc
commit 21a81276b4
3 changed files with 11 additions and 2 deletions

View file

@ -25,6 +25,7 @@
#include "video.h"
#include "inout.h"
#include "int10.h"
#include "../hardware/vga.h" /* Maybe move this thing */
#define TEXT_SEG 0xb800
@ -38,7 +39,8 @@ static Bitu INT10_Handler(void) {
INT10_SetVideoMode(reg_al);
break;
case 0x01: /* Set TextMode Cursor Shape */
LOG_WARN("INT10:01:Set textmode cursor shape not supported");
vga.internal.cursor=reg_cx; // maybe write some memory somewhere
LOG_DEBUG("INT10:01:Set textmode cursor shape partially supported: %X",reg_cx);
break;
case 0x02: /* Set Cursor Pos */
//TODO Check some shit but not really usefull