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
31b0a4ed
Commit
31b0a4ed
authored
Apr 11, 2006
by
Petr Tesarik
Committed by
Alexandre Julliard
Apr 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: Implement INT2F/AX=1501 (get drive device list).
parent
37009138
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
int2f.c
dlls/winedos/int2f.c
+21
-0
No files found.
dlls/winedos/int2f.c
View file @
31b0a4ed
...
...
@@ -972,6 +972,27 @@ static void MSCDEX_Handler(CONTEXT86* context)
SET_CX
(
context
,
(
drive
<
26
)
?
drive
:
0
);
break
;
case
0x01
:
/* get drive device list */
{
CDROM_HEAP
*
cdrom_heap
=
CDROM_GetHeap
();
CDROM_DEVICE_HEADER
*
dev
=
&
cdrom_heap
->
hdr
;
SEGPTR
ptr_dev
=
ISV86
(
context
)
?
MAKESEGPTR
(
cdrom_heap
->
cdrom_segment
,
FIELD_OFFSET
(
CDROM_HEAP
,
hdr
)
)
:
MAKESEGPTR
(
cdrom_heap
->
cdrom_selector
,
FIELD_OFFSET
(
CDROM_HEAP
,
hdr
)
);
p
=
CTX_SEG_OFF_TO_LIN
(
context
,
context
->
SegEs
,
context
->
Ebx
);
for
(
drive
=
0
;
drive
<
dev
->
units
;
drive
++
)
{
*
p
=
drive
;
/* subunit */
++
p
;
*
(
DWORD
*
)
p
=
ptr_dev
;
p
+=
sizeof
(
DWORD
);
}
TRACE
(
"Get drive device list
\n
"
);
}
break
;
case
0x0B
:
/* drive check */
SET_AX
(
context
,
is_cdrom
(
CX_reg
(
context
))
);
SET_BX
(
context
,
0xADAD
);
...
...
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