Commit Graph

433 Commits

Author SHA1 Message Date
Andrew Talbot
044e76df92 winedos: Replace malloc/calloc with HeapAlloc(). 2009-02-12 11:53:36 +01:00
Florian Tobias Schandinat
15d07b5c9a winedos: Adjust get_timer_val calls to prevent buffer overflow. 2009-02-09 14:37:23 +01:00
Francois Gouget
b4c47eabd4 winedos: Remove spaces before '\n's. 2009-02-05 13:14:58 +01:00
Jeremiah Flerchinger
8ee698c29e winedos: Unify Fake BIOS & VGA display mode selection information and algorithms. 2009-02-04 15:55:15 +01:00
Florian Tobias Schandinat
edbd488554 winedos: Improve PIT emulation. 2009-02-04 12:26:29 +01:00
Dan Kegel
d71a60378d winedos: Get File Attributes must fail for files with names ending in slash. 2009-01-29 15:07:00 +01:00
Andrew Talbot
e2fa299029 winedos: Declare some functions static. 2009-01-26 16:05:46 +01:00
Francois Gouget
d27010511c winedos: VGA_SetQuadPalette() is unused so remove it. 2009-01-07 14:40:34 +01:00
Francois Gouget
5f18947d79 winedos: VGA_SetTextAttribute() is unused so remove it. 2009-01-07 14:40:31 +01:00
Francois Gouget
7bf39d4b14 winedos: Remove unused functions from devices.c. 2009-01-07 14:40:28 +01:00
Christian Costa
95810a8999 winedos: Increase extended memory from 7MB to 15MB. 2008-12-30 12:53:41 +01:00
Christian Costa
dd0faf7dd0 winedos: Compute CMOS image checksum automatically. 2008-12-30 12:53:33 +01:00
Christian Costa
3ae00dafe3 winedos: Document CMOS image bytes. 2008-12-30 12:49:13 +01:00
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