Commit graph

53 commits

Author SHA1 Message Date
Andrew Talbot
bf98c9d182 winedos: Declare some items static. 2007-02-05 17:11:51 +01:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Stefan Huehner
17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Eric Pouech
6246c2d4c4 Get rid of include/miscemu.h. 2005-05-10 16:01:38 +00:00
Michael Stefaniuc
5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech
bcfa5b0900 ReadFile and WriteFile must be passed a parameter for the number of
handled bytes when no overlapped operation is done.
2004-12-22 18:38:31 +00:00
Hans Leidekker
719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Jukka Heinonen
36420ef44a Added support for int33 show/hide mouse cursor calls. 2004-09-20 19:11:30 +00:00
Markus Amsler
9af457edd8 Add DOS editing key support in BUFFERED INPUT. 2004-08-14 00:49:39 +00:00
Ge van Geldorp
399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Oleg Prokhorov
947c61e4f7 Avoid HeapReAlloc of a NULL pointer. 2003-10-09 19:49:05 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Jukka Heinonen
f68017b851 Allow application to use VGA window that overlaps framebuffer only
partially.
2003-08-29 22:13:11 +00:00
Jukka Heinonen
9adb6f2e3f Replace some magic numbers with symbols.
Add sanity checks so that VGA window cannot be used to access memory
outside framebuffer.
2003-08-25 00:53:35 +00:00
Alexandre Julliard
19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Jukka Heinonen
4ef7ba7247 Real mode context should always have V86 flag turned on.
Entering protected mode uses simpler and more robust virtual interrupt
flag check.
Mouse events are now received in graphics modes.
Improved tracing output of int33 handler.
2003-07-08 21:11:52 +00:00
Alexandre Julliard
2b72be546c Replace calls to WaitForMultipleObjects with a 0 count by calls to
SleepEx.
2003-06-30 02:10:19 +00:00
Jukka Heinonen
fb3080a2f3 Add scrolling support for VGA text mode. 2003-05-07 03:16:34 +00:00
Alexandre Julliard
06a8c1203f Portability fixes. 2003-04-01 00:12:50 +00:00
Michael Stefaniuc
745a78f490 Remove some unreachable code. 2003-02-24 20:48:45 +00:00
Jukka Heinonen
a969416c56 Ignore get shadow buffer function.
Remember to synchronize VGA display on program exit because update
thread may not have time to run.
2003-02-19 23:27:01 +00:00
Jukka Heinonen
5812f52976 Outputting backspaces should only move the cursor.
Text buffer copy is now always initialized correctly.
Preserve video memory flag is parsed and text screen is now really
cleared when flag is clear.
2003-02-14 19:23:16 +00:00
Jukka Heinonen
b3143f6f70 Add locking to VGA_SetWindowStart.
Move console updates to update thread instead of immediately writing
to console.
2003-02-11 22:19:27 +00:00
Jukka Heinonen
6758f027fa Handle horizontal and vertical retrace separately. 2003-01-28 00:16:15 +00:00
Alexandre Julliard
f8aa3b506c Added -Wpointer-arith gcc flag, and fixed the resulting warnings. 2003-01-23 21:32:35 +00:00
Dimitrie O. Paun
297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Francois Gouget
d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Jukka Heinonen
5d3b7e64ec VGA text mode no longer flickers and it is much faster.
VGA text mode is now initialized earlier.
VGA text mode is now emulated even without console.
2002-11-24 22:15:56 +00:00
Jukka Heinonen
c1c346ae0d Prevent crashes when DOS program tries to access console and no
Windows console is available.
2002-10-31 03:41:20 +00:00
Alexandre Julliard
0d875e773e Fixed some dll separation issues. 2002-08-30 00:03:25 +00:00
Jukka Heinonen
77c239979a Add support for moving VGA controller window in framebuffer using SVGA
interrupts. Detect correctly color plane modes and linear modes,
including Mode-X. Moved VESA interrupts into separate function and
implemented few more stubs.
2002-08-13 03:17:42 +00:00
Patrik Stridvall
4325554aef Fixed some issues found by winapi_check. 2002-08-09 01:07:29 +00:00
Chris Morgan
6ecade7c84 Some dos VGA error handling. Misc TRACE changes. 2002-07-29 23:51:57 +00:00
Jukka Heinonen
b975aaaa2b Add VGA controller framebuffer between VGA window and
DirectDrawSurface.
2002-07-29 23:28:52 +00:00
Jukka Heinonen
0984b34783 Add decoding logic for VGA indexed registers. 2002-07-28 17:42:30 +00:00
Andreas Mohr
73f0bfb838 Better toggle all relevant bits in VGA crt register. 2002-07-03 21:04:44 +00:00
Andreas Mohr
5ab5c4991c Added a DOS text mode memory buffer copy in order to be able to tell
which lines of text changed and thus which ones to update.
2002-07-03 01:13:17 +00:00
Andreas Mohr
db31151b1e Implemented set cursor shape functionality. 2002-07-01 18:13:52 +00:00
Jukka Heinonen
97a003fc37 Redirect all reads and writes to VGA controller to VGA emulation.
Catch and report 16/32-bit reads/writes to VGA controller.
Use correct flags when creating full screen DirectDraw window for
VGA.
2002-06-24 22:57:28 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Christian Costa
fc37ef6130 Do not create a window each time VGA_DoSetMode is called. The window
is created the first time and then just resized.
2002-05-17 00:09:35 +00:00
Robert Coeyman
38fc50d202 Added the rest of the register manipulation code to int 10. It only
handles the setting of the 16-color palette registers and overscan.
2002-05-14 03:57:26 +00:00
Christian Costa
4a0a2ee00e Avoid deadlock in VGA_DoSetMode. 2002-05-11 23:00:17 +00:00
Christian Costa
de61088197 VGA_ioport_in: Fake the occurrence of the vertical refresh when no
graphic mode has been set.
2002-04-19 00:05:38 +00:00
Jukka Heinonen
d9f4241d0e Removed obsolete text mode color and attribute code.
Made routines for text mode scolling, clearing and getting character
at cursor use Windows console and VGA buffer.
2002-04-11 17:33:15 +00:00
Jukka Heinonen
adf7751dd5 Writes to stdout and VGA_WriteChars routine now update both VGA
buffers and Windows console.
Added routine for changing current console attributes.
Moved text mode handling from VGA_Poll into new routine and changed
locking primitive into critical section.
2002-04-08 20:11:28 +00:00
Alexandre Julliard
ac0e137998 Create threads to manage timers instead of using the service thread. 2002-03-23 18:48:53 +00:00
Admiral Coeyman
3a4512b1ff Beginnings of the code that should allow DOS programs to set their
color palette.
2002-03-20 00:55:05 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00