Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a82b91cd
Commit
a82b91cd
authored
Feb 24, 1999
by
Joseph Pranevich
Committed by
Alexandre Julliard
Feb 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfixes for INT 10/0B (SetBackgroundColor) to work properly.
(Interrupt list did not have correct.)
parent
75e8a78e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
int10.c
msdos/int10.c
+13
-3
No files found.
msdos/int10.c
View file @
a82b91cd
...
...
@@ -5,7 +5,6 @@
#include <stdlib.h>
#include "miscemu.h"
#include "vga.h"
/* #define DEBUG_INT */
#include "debug.h"
#include "console.h"
...
...
@@ -244,8 +243,19 @@ void WINAPI INT_Int10Handler( CONTEXT *context )
case
0x0b
:
switch
BH_reg
(
context
)
{
case
0x00
:
/* SET BACKGROUND/BORDER COLOR */
/* In text modes, this sets only the border */
TRACE
(
int10
,
"Set Background/Border Color - Ignored
\n
"
);
/* In text modes, this sets only the border... */
/* According to the interrupt list and one of my books. */
/* Funny though that Beyond Zork seems to indicate that it
also sets up the default background attributes for clears
and scrolls... */
/* Bear in mind here that we do not want to change,
apparantly, the foreground or attribute of the background
with this call, so we should check first to see what the
foreground already is... FIXME */
TRACE
(
int10
,
"Set Background/Border Color: %d
\n
"
,
BL_reg
(
context
));
CONSOLE_SetBackgroundColor
(
color_pallet
[
0
],
color_pallet
[
BL_reg
(
context
)]);
break
;
case
0x01
:
/* SET PALETTE */
FIXME
(
int10
,
"Set Palette - Not Supported
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment