Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d2fac756
Commit
d2fac756
authored
Feb 04, 1999
by
Andreas Mohr
Committed by
Alexandre Julliard
Feb 04, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some values of pBiosData added/fixed.
parent
8d8703cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
dosmem.c
msdos/dosmem.c
+17
-3
No files found.
msdos/dosmem.c
View file @
d2fac756
...
...
@@ -72,6 +72,13 @@ typedef struct
BYTE
ComTimeout
[
4
];
/* 7c: Timeouts for serial ports */
WORD
KbdBufferStart
;
/* 80: Keyboard buffer start */
WORD
KbdBufferEnd
;
/* 82: Keyboard buffer end */
BYTE
RowsOnScreenMinus1
;
/* 84: EGA only */
WORD
BytesPerChar
;
/* 85: EGA only */
BYTE
ModeOptions
;
/* 87: EGA only */
BYTE
FeatureBitsSwitches
;
/* 88: EGA only */
BYTE
unknown
;
/* 89: ??? */
BYTE
DisplayCombination
;
/* 8A: VGA display combinations */
BYTE
DiskDataRate
;
/* 8B: Last disk data rate selected */
}
BIOSDATA
;
#pragma pack(4)
...
...
@@ -216,11 +223,11 @@ static void DOSMEM_FillBiosSegments(void)
/* FIXME: should check the number of configured drives and ports */
pBiosData
->
Com1Addr
=
0x3
e
8
;
pBiosData
->
Com2Addr
=
0x2
e
8
;
pBiosData
->
Com1Addr
=
0x3
f
8
;
pBiosData
->
Com2Addr
=
0x2
f
8
;
pBiosData
->
Lpt1Addr
=
0x378
;
pBiosData
->
Lpt2Addr
=
0x278
;
pBiosData
->
InstalledHardware
=
0x
844
3
;
pBiosData
->
InstalledHardware
=
0x
546
3
;
pBiosData
->
MemSize
=
640
;
pBiosData
->
NextKbdCharPtr
=
0x1e
;
pBiosData
->
FirstKbdCharPtr
=
0x1e
;
...
...
@@ -233,6 +240,13 @@ static void DOSMEM_FillBiosSegments(void)
pBiosData
->
NbHardDisks
=
2
;
pBiosData
->
KbdBufferStart
=
0x1e
;
pBiosData
->
KbdBufferEnd
=
0x3e
;
pBiosData
->
RowsOnScreenMinus1
=
23
;
pBiosData
->
BytesPerChar
=
0x10
;
pBiosData
->
ModeOptions
=
0x64
;
pBiosData
->
FeatureBitsSwitches
=
0xf9
;
pBiosData
->
unknown
=
0x51
;
pBiosData
->
DisplayCombination
=
0x08
;
pBiosData
->
DiskDataRate
=
0
;
/* fill ROM configuration table (values from Award) */
*
(
WORD
*
)(
pBiosROMTable
)
=
0x08
;
/* number of bytes following */
...
...
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