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
65569206
Commit
65569206
authored
Jan 09, 2008
by
Austin English
Committed by
Alexandre Julliard
Jan 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling fixes.
parent
e1f88e5f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
14 deletions
+14
-14
dma.c
dlls/winedos/dma.c
+1
-1
dosmem.c
dlls/winedos/dosmem.c
+2
-2
int10.c
dlls/winedos/int10.c
+3
-3
soundblaster.c
dlls/winedos/soundblaster.c
+1
-1
vxd.c
dlls/winedos/vxd.c
+3
-3
audio.c
dlls/wineesd.drv/audio.c
+2
-2
joystick.c
dlls/winejoystick.drv/joystick.c
+2
-2
No files found.
dlls/winedos/dma.c
View file @
65569206
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dma
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dma
);
/* Internal registers of the 2 DMA chips wich control 8 DMA channels */
/* Internal registers of the 2 DMA chips w
h
ich control 8 DMA channels */
static
DWORD
DMA_BaseAddress
[
8
];
static
DWORD
DMA_BaseAddress
[
8
];
static
WORD
DMA_ByteCount
[
8
];
static
WORD
DMA_ByteCount
[
8
];
static
DWORD
DMA_CurrentBaseAddress
[
8
];
static
DWORD
DMA_CurrentBaseAddress
[
8
];
...
...
dlls/winedos/dosmem.c
View file @
65569206
...
@@ -234,7 +234,7 @@ void BiosTick( WORD timer )
...
@@ -234,7 +234,7 @@ void BiosTick( WORD timer )
* DOSMEM_Collapse
* DOSMEM_Collapse
*
*
* Helper function for internal use only.
* Helper function for internal use only.
* Atach all following free blocks to this one, even if this one is not free.
* At
t
ach all following free blocks to this one, even if this one is not free.
*/
*/
static
void
DOSMEM_Collapse
(
MCB
*
mcb
)
static
void
DOSMEM_Collapse
(
MCB
*
mcb
)
{
{
...
@@ -285,7 +285,7 @@ LPVOID DOSMEM_AllocBlock(UINT size, UINT16* pseg)
...
@@ -285,7 +285,7 @@ LPVOID DOSMEM_AllocBlock(UINT size, UINT16* pseg)
if
(
curr
->
psp
==
MCB_PSP_FREE
)
if
(
curr
->
psp
==
MCB_PSP_FREE
)
{
{
DOSMEM_Collapse
(
curr
);
DOSMEM_Collapse
(
curr
);
/* is it large enough (one paragaph for the MCB)? */
/* is it large enough (one parag
r
aph for the MCB)? */
if
(
curr
->
size
>=
size
)
if
(
curr
->
size
>=
size
)
{
{
if
(
curr
->
size
>
size
)
if
(
curr
->
size
>
size
)
...
...
dlls/winedos/int10.c
View file @
65569206
...
@@ -927,7 +927,7 @@ static void INT10_HandleVESA( CONTEXT86 *context )
...
@@ -927,7 +927,7 @@ static void INT10_HandleVESA( CONTEXT86 *context )
case
0x05
:
/* VESA SuperVGA BIOS - CPU VIDEO MEMORY CONTROL */
case
0x05
:
/* VESA SuperVGA BIOS - CPU VIDEO MEMORY CONTROL */
/*
/*
* This subfunction supports only Window A (BL_reg == 0) and
* This subfunction supports only Window A (BL_reg == 0) and
* i
s
assumes that window granularity is 64k.
* i
t
assumes that window granularity is 64k.
*/
*/
switch
(
BH_reg
(
context
))
{
switch
(
BH_reg
(
context
))
{
case
0x00
:
/* select video memory window */
case
0x00
:
/* select video memory window */
...
@@ -1386,7 +1386,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
...
@@ -1386,7 +1386,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
case
0x20
:
/* ALTERNATE PRTSC */
case
0x20
:
/* ALTERNATE PRTSC */
FIXME
(
"Install Alternate Print Screen - Not Supported
\n
"
);
FIXME
(
"Install Alternate Print Screen - Not Supported
\n
"
);
break
;
break
;
case
0x30
:
/* SELECT VERTICAL RESO
UL
TION */
case
0x30
:
/* SELECT VERTICAL RESO
LU
TION */
FIXME
(
"Select vertical resolution - not supported
\n
"
);
FIXME
(
"Select vertical resolution - not supported
\n
"
);
break
;
break
;
case
0x31
:
/* ENABLE/DISABLE DEFAULT PALETTE LOADING */
case
0x31
:
/* ENABLE/DISABLE DEFAULT PALETTE LOADING */
...
@@ -1395,7 +1395,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
...
@@ -1395,7 +1395,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
(
data
->
VGASettings
&
0xf7
)
|
(
data
->
VGASettings
&
0xf7
)
|
((
AL_reg
(
context
)
==
1
)
<<
3
);
((
AL_reg
(
context
)
==
1
)
<<
3
);
break
;
break
;
case
0x32
:
/* ENABLE/DISABLE VIDEO ADDRE
R
SSING */
case
0x32
:
/* ENABLE/DISABLE VIDEO ADDRESSING */
FIXME
(
"Video Addressing - Not Supported
\n
"
);
FIXME
(
"Video Addressing - Not Supported
\n
"
);
break
;
break
;
case
0x33
:
/* ENABLE/DISABLE GRAY SCALE SUMMING */
case
0x33
:
/* ENABLE/DISABLE GRAY SCALE SUMMING */
...
...
dlls/winedos/soundblaster.c
View file @
65569206
...
@@ -220,7 +220,7 @@ static void SB_Reset(void)
...
@@ -220,7 +220,7 @@ static void SB_Reset(void)
/* All right, let's put the magic value for autodetection */
/* All right, let's put the magic value for autodetection */
DSP_OutBuffer
[
0
]
=
0xaa
;
DSP_OutBuffer
[
0
]
=
0xaa
;
else
else
/* Something is wrong, put 0 to failed audetection */
/* Something is wrong, put 0 to failed au
to
detection */
DSP_OutBuffer
[
0
]
=
0x00
;
DSP_OutBuffer
[
0
]
=
0x00
;
}
}
...
...
dlls/winedos/vxd.c
View file @
65569206
...
@@ -264,7 +264,7 @@ void WINAPI VXD_Shell( CONTEXT86 *context )
...
@@ -264,7 +264,7 @@ void WINAPI VXD_Shell( CONTEXT86 *context )
case
0x0002
:
case
0x0002
:
case
0x0003
:
case
0x0003
:
/* SHELL_SYSMODAL_Message
/* SHELL_SYSMODAL_Message
ebx virtual ma
s
chine handle
ebx virtual machine handle
eax message box flags
eax message box flags
ecx address of message
ecx address of message
edi address of caption
edi address of caption
...
@@ -272,7 +272,7 @@ void WINAPI VXD_Shell( CONTEXT86 *context )
...
@@ -272,7 +272,7 @@ void WINAPI VXD_Shell( CONTEXT86 *context )
*/
*/
case
0x0004
:
case
0x0004
:
/* SHELL_Message
/* SHELL_Message
ebx virtual ma
s
chine handle
ebx virtual machine handle
eax message box flags
eax message box flags
ecx address of message
ecx address of message
edi address of caption
edi address of caption
...
@@ -543,7 +543,7 @@ void WINAPI VXD_APM ( CONTEXT86 *context )
...
@@ -543,7 +543,7 @@ void WINAPI VXD_APM ( CONTEXT86 *context )
* This means especially that the flat code/data selectors get actually
* This means especially that the flat code/data selectors get actually
* allocated with base 0x0, so that flat offsets and (real) linear addresses
* allocated with base 0x0, so that flat offsets and (real) linear addresses
* do again agree! In fact, every call e.g. of a Win32s VxD service now
* do again agree! In fact, every call e.g. of a Win32s VxD service now
* has all pointer arguments (which are offsets in the flat data seg
e
ment)
* has all pointer arguments (which are offsets in the flat data segment)
* first reduced by 0x10000 by the W32SKRNL glue code, and then again
* first reduced by 0x10000 by the W32SKRNL glue code, and then again
* increased by 0x10000 by *our* code.
* increased by 0x10000 by *our* code.
*
*
...
...
dlls/wineesd.drv/audio.c
View file @
65569206
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
*/
*/
/* NOTE:
/* NOTE:
* with esd we cannot stop the audio that is already in
* with esd we cannot stop the audio that is already in
* the servers buffer.
* the server
'
s buffer.
*
*
* FIXME:
* FIXME:
* pause in waveOut does not work correctly in loop mode
* pause in waveOut does not work correctly in loop mode
...
@@ -462,7 +462,7 @@ LONG ESD_WaveInit(void)
...
@@ -462,7 +462,7 @@ LONG ESD_WaveInit(void)
WOutDev
[
i
].
esd_fd
=
-
1
;
WOutDev
[
i
].
esd_fd
=
-
1
;
memset
(
&
WOutDev
[
i
].
caps
,
0
,
sizeof
(
WOutDev
[
i
].
caps
));
/* zero out
memset
(
&
WOutDev
[
i
].
caps
,
0
,
sizeof
(
WOutDev
[
i
].
caps
));
/* zero out
caps values */
caps values */
WOutDev
[
i
].
caps
.
wMid
=
0x00FF
;
/* Manufac
ID */
WOutDev
[
i
].
caps
.
wMid
=
0x00FF
;
/* Manufacturer
ID */
WOutDev
[
i
].
caps
.
wPid
=
0x0001
;
/* Product ID */
WOutDev
[
i
].
caps
.
wPid
=
0x0001
;
/* Product ID */
lstrcpyW
(
WOutDev
[
i
].
caps
.
szPname
,
ini
);
lstrcpyW
(
WOutDev
[
i
].
caps
.
szPname
,
ini
);
snprintf
(
WOutDev
[
i
].
interface_name
,
sizeof
(
WOutDev
[
i
].
interface_name
),
"wineesd: %d"
,
i
);
snprintf
(
WOutDev
[
i
].
interface_name
,
sizeof
(
WOutDev
[
i
].
interface_name
),
"wineesd: %d"
,
i
);
...
...
dlls/winejoystick.drv/joystick.c
View file @
65569206
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
* - nearly all joystick functions can be regarded as obsolete,
* - nearly all joystick functions can be regarded as obsolete,
* as Linux (2.1.x) now supports extended joysticks with a completely
* as Linux (2.1.x) now supports extended joysticks with a completely
* new joystick driver interface
* new joystick driver interface
* New driver's docu says:
* New driver's docu
mentation
says:
* "For backward compatibility the old interface is still included,
* "For backward compatibility the old interface is still included,
* but will be dropped in the future."
* but will be dropped in the future."
* Thus we should implement the new interface and at most keep the old
* Thus we should implement the new interface and at most keep the old
...
@@ -83,7 +83,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(joystick);
...
@@ -83,7 +83,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(joystick);
typedef
struct
tagWINE_JSTCK
{
typedef
struct
tagWINE_JSTCK
{
int
joyIntf
;
int
joyIntf
;
int
in_use
;
int
in_use
;
/* Some extra info we need to make this ac
uta
ly work under the
/* Some extra info we need to make this ac
tual
ly work under the
Linux 2.2 event api.
Linux 2.2 event api.
First of all, we cannot keep closing and reopening the device file -
First of all, we cannot keep closing and reopening the device file -
that blows away the state of the stick device, and we lose events. So, we
that blows away the state of the stick device, and we lose events. So, we
...
...
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