mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
krnl386.exe16: Let C look like C.
This commit is contained in:
parent
f9c3a612af
commit
68c447d87e
3 changed files with 9 additions and 9 deletions
|
@ -1123,7 +1123,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
|
|||
break;
|
||||
|
||||
case 0x0b:
|
||||
switch BH_reg(context) {
|
||||
switch (BH_reg(context)) {
|
||||
case 0x00: /* SET BACKGROUND/BORDER COLOR */
|
||||
/* In text modes, this sets only the border... */
|
||||
/* According to the interrupt list and one of my books. */
|
||||
|
@ -1192,7 +1192,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
|
|||
break;
|
||||
|
||||
case 0x10:
|
||||
switch AL_reg(context) {
|
||||
switch (AL_reg(context)) {
|
||||
case 0x00: /* SET SINGLE PALETTE REGISTER - A.C. */
|
||||
TRACE("Set Single Palette Register - Reg 0x0%x Value 0x0%x\n",
|
||||
BL_reg(context),BH_reg(context));
|
||||
|
@ -1291,7 +1291,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
|
|||
case 0x11: /* TEXT MODE CHARGEN */
|
||||
/* Note that second subfunction is *almost* identical. */
|
||||
/* See INTERRUPT.A for details. */
|
||||
switch AL_reg(context) {
|
||||
switch (AL_reg(context)) {
|
||||
case 0x00: /* LOAD USER SPECIFIED PATTERNS */
|
||||
case 0x10:
|
||||
FIXME("Load User Specified Patterns - Not Supported\n");
|
||||
|
@ -1339,7 +1339,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
|
|||
break;
|
||||
|
||||
case 0x12: /* ALTERNATE FUNCTION SELECT */
|
||||
switch BL_reg(context) {
|
||||
switch (BL_reg(context)) {
|
||||
case 0x10: /* GET EGA INFO */
|
||||
TRACE("EGA info requested\n");
|
||||
SET_BH( context, 0x00 ); /* Color screen */
|
||||
|
@ -1385,7 +1385,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
|
|||
break;
|
||||
|
||||
case 0x1a:
|
||||
switch AL_reg(context) {
|
||||
switch (AL_reg(context)) {
|
||||
case 0x00: /* GET DISPLAY COMBINATION CODE */
|
||||
TRACE("Get Display Combination Code\n");
|
||||
SET_AL( context, 0x1a ); /* Function supported */
|
||||
|
|
|
@ -52,7 +52,7 @@ void WINAPI DOSVM_Int16Handler( CONTEXT *context )
|
|||
BIOSDATA *data = NULL;
|
||||
BYTE ascii, scan;
|
||||
|
||||
switch AH_reg(context) {
|
||||
switch (AH_reg(context)) {
|
||||
|
||||
case 0x00: /* Get Keystroke */
|
||||
/* Returns: AH = Scan code
|
||||
|
|
|
@ -149,7 +149,7 @@ static void EMS_access_name( CONTEXT *context )
|
|||
return;
|
||||
}
|
||||
|
||||
switch AL_reg(context) {
|
||||
switch (AL_reg(context)) {
|
||||
case 0x00: /* get name */
|
||||
ptr = PTR_REAL_TO_LIN(context->SegEs, DI_reg(context));
|
||||
memcpy(ptr, EMS_record->handle[hindex].name, 8);
|
||||
|
@ -326,7 +326,7 @@ static void EMS_restore_context( CONTEXT *context )
|
|||
*/
|
||||
void WINAPI DOSVM_Int67Handler( CONTEXT *context )
|
||||
{
|
||||
switch AH_reg(context) {
|
||||
switch (AH_reg(context)) {
|
||||
|
||||
case 0x40: /* EMS - GET MANAGER STATUS */
|
||||
SET_AH( context, 0 ); /* status: ok */
|
||||
|
@ -465,7 +465,7 @@ void EMS_Ioctl_Handler( CONTEXT *context )
|
|||
{
|
||||
assert(AH_reg(context) == 0x44);
|
||||
|
||||
switch AL_reg(context) {
|
||||
switch (AL_reg(context)) {
|
||||
case 0x00: /* IOCTL - GET DEVICE INFORMATION */
|
||||
RESET_CFLAG(context); /* operation was successful */
|
||||
SET_DX( context, 0x4080 ); /* bit 14 (support ioctl read) and
|
||||
|
|
Loading…
Reference in a new issue