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
3ae00daf
Commit
3ae00daf
authored
Dec 30, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Dec 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: Document CMOS image bytes.
parent
8d28f09d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
8 deletions
+64
-8
ioports.c
dlls/winedos/ioports.c
+64
-8
No files found.
dlls/winedos/ioports.c
View file @
3ae00daf
...
...
@@ -72,14 +72,70 @@ static BYTE cmosaddress;
*/
static
BYTE
cmosimage
[
64
]
=
{
0x27
,
0x34
,
0x31
,
0x47
,
0x16
,
0x15
,
0x00
,
0x01
,
0x04
,
0x94
,
0x26
,
0x02
,
0x50
,
0x80
,
0x00
,
0x00
,
0x40
,
0xb1
,
0x00
,
0x9c
,
0x01
,
0x80
,
0x02
,
0x00
,
0x1c
,
0x00
,
0x00
,
0xad
,
0x02
,
0x10
,
0x00
,
0x00
,
0x08
,
0x00
,
0x00
,
0x26
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x3f
,
0x03
,
0x19
,
/* last 2 bytes are checksum */
0x00
,
0x1c
,
0x19
,
0x81
,
0x00
,
0x0e
,
0x00
,
0x80
,
0x1b
,
0x7b
,
0x21
,
0x00
,
0x00
,
0x00
,
0x05
,
0x5f
0x27
,
/* 0x00: seconds */
0x34
,
/* 0X01: seconds alarm */
0x31
,
/* 0x02: minutes */
0x47
,
/* 0x03: minutes alarm */
0x16
,
/* 0x04: hour */
0x15
,
/* 0x05: hour alarm */
0x00
,
/* 0x06: week day */
0x01
,
/* 0x07: month day */
0x04
,
/* 0x08: month */
0x94
,
/* 0x09: year */
0x26
,
/* 0x0a: state A */
0x02
,
/* 0x0b: state B */
0x50
,
/* 0x0c: state C */
0x80
,
/* 0x0d: state D */
0x00
,
/* 0x0e: state diagnostic */
0x00
,
/* 0x0f: state state shutdown */
0x40
,
/* 0x10: floppy type */
0xb1
,
/* 0x11: reserved */
0x00
,
/* 0x12: HD type */
0x9c
,
/* 0x13: reserved */
0x01
,
/* 0x14: equipment */
0x80
,
/* 0x15: low base memory */
0x02
,
/* 0x16: high base memory (0x280 => 640KB) */
0x00
,
/* 0x17: low extended memory */
0x1c
,
/* 0x18: high extended memory (0x1c00 => 7MB) */
0x00
,
/* 0x19: HD 1 extended type byte */
0x00
,
/* 0x1a: HD 2 extended type byte */
0xad
,
/* 0x1b: reserved */
0x02
,
/* 0x1c: reserved */
0x10
,
/* 0x1d: reserved */
0x00
,
/* 0x1e: reserved */
0x00
,
/* 0x1f: installed features */
0x08
,
/* 0x20: HD 1 low cylinder number */
0x00
,
/* 0x21: HD 1 high cylinder number */
0x00
,
/* 0x22: HD 1 heads */
0x26
,
/* 0x23: HD 1 low pre-compensation start */
0x00
,
/* 0x24: HD 1 high pre-compensation start */
0x00
,
/* 0x25: HD 1 low landing zone */
0x00
,
/* 0x26: HD 1 high landing zone */
0x00
,
/* 0x27: HD 1 sectors */
0x00
,
/* 0x28: options 1 */
0x00
,
/* 0x29: reserved */
0x00
,
/* 0x2a: reserved */
0x00
,
/* 0x2b: options 2 */
0x00
,
/* 0x2c: options 3 */
0x3f
,
/* 0x2d: reserved */
0x03
,
/* 0x2e: low CMOS ram checksum */
0x19
,
/* 0x2f: high CMOS ram checksum */
0x00
,
/* 0x30: low extended memory byte */
0x1c
,
/* 0x31: high extended memory byte */
0x19
,
/* 0x32: century byte */
0x81
,
/* 0x33: setup information */
0x00
,
/* 0x34: CPU speed */
0x0e
,
/* 0x35: HD 2 low cylinder number */
0x00
,
/* 0x36: HD 2 high cylinder number */
0x80
,
/* 0x37: HD 2 heads */
0x1b
,
/* 0x38: HD 2 low pre-compensation start */
0x7b
,
/* 0x39: HD 2 high pre-compensation start */
0x21
,
/* 0x3a: HD 2 low landing zone */
0x00
,
/* 0x3b: HD 2 high landing zone */
0x00
,
/* 0x3c: HD 2 sectors */
0x00
,
/* 0x3d: reserved */
0x05
,
/* 0x3e: reserved */
0x5f
/* 0x3f: reserved */
};
#if 0
...
...
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