5 static void Barf(struct sigcontext_struct
*context
)
7 fprintf(stderr
, "int10: unknown/not implemented parameters:\n");
8 fprintf(stderr
, "int10: AX %04x, BX %04x, CX %04x, DX %04x, "
9 "SI %04x, DI %04x, DS %04x, ES %04x\n",
10 AX
, BX
, CX
, DX
, SI
, DI
, DS
, ES
);
13 int do_int10(struct sigcontext_struct
*context
)
15 switch((context
->sc_eax
>> 8) & 0xff)
18 EAX
= (EAX
& 0xffffff00) | 0x5b;
22 if ((EBX
& 0xff) == 0x10) {
23 EBX
= (EBX
& 0xffff0000) | 0x0003;
24 ECX
= (ECX
& 0xffff0000) | 0x0009;
29 EBX
= (EBX
& 0xffff0000) | 0x0008;