Commit graph

420 commits

Author SHA1 Message Date
Michael Stefaniuc
63ce2ac3dc winedos: Don't cast zero. 2008-12-08 12:04:29 +01:00
Alexandre Julliard
522d836c00 winedos: Make a function static. 2008-12-04 12:48:47 +01:00
Andrew Talbot
3e8f6538c8 winedos: Sign-compare warning fix. 2008-12-03 09:46:50 +01:00
Peter Dons Tychsen
7160d8c709 winedos: Fixed a problem with timer values that are below 50ms. 2008-11-28 12:56:24 +01:00
Peter Dons Tychsen
e83b62f3d0 winedos: Fixed memory resize function which returned paragraphs in some cases instead of bytes. 2008-11-24 14:18:41 +01:00
Peter Dons Tychsen
b627dd2afc winedos: Implement mode control register, and the 160x200x4 display mode that it opens. 2008-11-13 11:49:50 +01:00
Peter Dons Tychsen
9d15a99a10 winedos: Implement VGA_WritePixel for int10 service in CGA mode. 2008-11-10 11:16:54 +01:00
Peter Dons Tychsen
db0a4b9c9b winedos: Implement int10 CGA palette control. 2008-11-10 11:16:45 +01:00
Peter Dons Tychsen
49ad04c1f7 winedos: Add support for the Color Control Register (CGA). 2008-11-10 11:16:38 +01:00
Peter Dons Tychsen
e0b91a7aa7 winedos: Add support for decoding and displaying the 4 bit CGA framebuffer. 2008-11-10 11:06:48 +01:00
Michael Stefaniuc
ea3980974d winedos: Do not cast NULL. 2008-11-03 13:41:40 +01:00
Jeremiah Flerchinger
d237f08be6 winedos: Added/stubbed/documented missing VGA registers. 2008-10-20 13:56:42 +02:00
Jeremiah Flerchinger
7808a8cb27 winedos: Added additional VGA/VESA modes & information missing in mode descriptions.
Used new mode information to fix required attributes incorrectly set.
2008-10-20 13:56:12 +02:00
Jeremiah Flerchinger
1e8eb27200 winedos: Added missing values to VGA Mode 19 (256 color) palette registers.
Windows programs that access VGA directly or through BIOS that
previously displayed black for many values should now show correct
values for many more cases.
2008-10-20 13:55:07 +02:00
Alexandre Julliard
1a3791494c winedos: Convert source files to utf-8. 2008-10-18 19:21:31 +02:00
Rob Shearman
2c37baba0a winedos: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison. 2008-10-01 11:43:34 -05:00
Rob Shearman
c4179cf64e winedos: Fix the type of res in VGA_DoSetMode.
It should be HRESULT instead of LRESULT.

Add explicit "!= S_OK" to expressions that use HRESULTs as booleans.
2008-09-12 16:50:08 +02:00
Gerald Pfeifer
e375b0c4a2 Add return statements to avoid gcc warnings. 2008-08-20 12:53:22 +02:00
Andrew Talbot
9c6b1fee38 winedos: Remove unneeded address-of operators from array names. 2008-07-14 11:50:25 +02:00
Andrew Talbot
7e917a0f9d winedos: Remove unneeded address-of operator from function name. 2008-07-07 12:33:21 +02:00
Alexandre Julliard
f8f8e7ef51 winedos: Don't disable long filename functions on NT versions. 2008-05-12 11:44:19 +02:00
Alexandre Julliard
2dc9ed3006 winedos: Print better diagnostics when a DOS app fails to start. 2008-05-07 17:33:50 +02:00
Alexandre Julliard
f334c0fbba winedos: Make sure that the main message queue exists before the DOS thread starts. 2008-05-07 17:33:19 +02:00
Alexandre Julliard
279acf6a8a winedos: Only read input from the stdin handle if it is a console. 2008-05-07 17:32:23 +02:00
Austin English
6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Alexandre Julliard
16e8633ee5 winedos: Handle memory reservation errors more gracefully. 2008-04-14 20:39:52 +02:00
Rob Shearman
8dcde49a53 winedos: The calling convention should come after the return type in the declaration of VGA_DoShowMouse for portability. 2008-04-11 11:12:31 +02:00
Francois Gouget
8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Andrew Talbot
2d08f90d76 winedos: Assign to struct instead of using memcpy. 2008-03-22 13:21:00 +01:00
Rob Shearman
48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Alexandre Julliard
5625c6079e Get rid of the global thread.h header. 2008-03-01 11:57:00 +01:00
Rob Shearman
a82f4dd9b7 Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
When using native compiler exceptions, it isn't valid to use 
GetExceptionCode and GetExceptionInformation anywhere other than in the 
filter or handler blocks since it would be very hard for the compiler to 
work out where to retrieve the exception information from on the stack.

Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros 
which enabled GetExceptionCode, GetExceptionInformation and 
AbnormalTermination to be used inside of the functions they declared and 
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Andrew Talbot
84b9356618 winedos: Remove unneeded casts. 2008-01-25 12:08:45 +01:00
Austin English
65569206b2 Spelling fixes. 2008-01-10 12:16:31 +01:00
Alexandre Julliard
4d53055f62 winedos: Don't emulate in 32-bit mode interrupts that don't have a specific handler. 2007-12-31 17:25:05 +01:00
Alexandre Julliard
201fc77fd6 winedos: Add the possibility of refusing to emulate some interrupts. 2007-12-23 13:55:12 +01:00
Alexandre Julliard
e2a366ce33 kernel32: Forward interrupts in 32-bit code to winedos too. 2007-12-20 12:18:19 +01:00
Alexandre Julliard
ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Gerald Pfeifer
6b7957f4db winedos: Use DWORD instead of long for return values of SetFilePointer.
Adjust type of loop variable in INT21_Ioctl_Char().
2007-11-26 13:57:20 +01:00
Francois Gouget
c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Steven Edwards
c9a0da51a5 Remove more unneeded wine 16bit header usage. 2007-08-30 12:31:01 +02:00
Francois Gouget
2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Mikołaj Zalewski
570eb6093e winedos: Make UMB executable. 2007-08-14 20:29:21 +02:00
Francois Gouget
ebadbd4bd5 Assorted spelling fixes. 2007-08-09 14:13:07 +02:00
Michael Stefaniuc
b4475b257e winedos: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:45 +02:00
Alexandre Julliard
b8d1560ac3 winedos: Fix the device open code for the new NtCreateFile syntax for Unix files. 2007-06-18 12:53:40 +02:00
Francois Gouget
96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Michael Stefaniuc
5c06fb0bb1 winedos: Fix printf format warnings introduced by the TEB change in thread.h. 2007-06-06 12:10:18 +02:00
Alexandre Julliard
7373ced544 winedos: Merge a number of tiny source files into interrupts.c. 2007-05-30 13:12:09 +02:00
Dmitry Timoshkov
3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00