Jukka Heinonen
0a1fa89f33
Add support for specific EOI PIC command.
2003-09-01 23:55:53 +00:00
Alexandre Julliard
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard
bf97962a51
Avoid including stackframe.h if it's not needed.
2003-08-27 02:52:17 +00:00
Jukka Heinonen
be3b2569c7
Make all users of DOSVM_Enter explicitly set V86 flag.
...
Fix mouse relay stack usage in protected mode.
Raw mode switch now handles interrupt flag correctly.
2003-08-25 01:01:01 +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
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Gerald Pfeifer
e7724ffc65
Enable all of DllMain(), even if if not MZ_SUPPORTED.
2003-06-27 19:41:10 +00:00
Gerald Pfeifer
018e3cc67b
Expose part of DOSVM_SendQueuedEvents() also for platforms without
...
MZ_SUPPORTED.
2003-06-24 02:24:54 +00:00
Jukka Heinonen
76f93fb6bc
Add IRQ acknowledge handler for internal IRQs.
...
Change DPMI asynchronous event handling.
Always use alternate stack in DPMI relays and check for pending events
after original stack has been restored.
2003-06-23 03:35:51 +00:00
Jukka Heinonen
75e87b4457
Add int31 VIF manipulation functions.
...
Fix asynchronous event locking.
Make asynchronous event handling support DPMI.
2003-06-20 21:27:49 +00:00
Jukka Heinonen
0b79a6e7c3
Make DOSVM_Wait work in protected mode.
...
Replace SHOULD_PEND macro with a function.
2003-06-16 01:17:30 +00:00
Jukka Heinonen
b2844d2c3a
Split timer code into separate source file.
...
Stop using SIGALRM for timers.
2003-06-13 16:28:49 +00:00
Jukka Heinonen
7731c8e33e
Pending timer interrupts no longer deadlock DOSVM_Wait.
...
Restored interrupt priorities to correct values.
2003-06-06 18:09:14 +00:00
Marcus Meissner
cba9795f14
Fixed non-x86 DOSVM_Wait prototype.
2003-05-04 02:25:21 +00:00
Jukka Heinonen
e2ae56e0b9
Remove obsolete code from DOSVM_Wait.
...
Prepare DOSVM_Wait for handling nested interrupts in both real and
protected mode.
Provide temporary workaround for keyboard related deadlock.
2003-05-02 20:12:52 +00:00
Jukka Heinonen
4c6e36faf2
Move real mode interrupt emulation code to file interrupts.c.
...
Remove last wrapper check from int31 handler.
Move RM/PM hardware interrupt emulation code to separate functions.
2003-03-04 02:16:20 +00:00
Michael Stefaniuc
62ed0ffe00
Added some missing LeaveCriticalSection's.
2003-02-12 01:26:05 +00:00
Dimitrie O. Paun
737d4be892
Move excpt.h out of include/msvcrt/ as it does not conflict with any
...
standard Unix header.
2002-12-12 23:34:01 +00:00
Jukka Heinonen
7b7f198786
Move DPMI segments to winedos.
2002-12-02 21:39:58 +00:00
Jukka Heinonen
fe2acc1389
Start using winedos handlers for all interrupts.
2002-11-06 21:56:52 +00:00
Alexandre Julliard
1e1313d54c
Made the dll entry point default to DllMain and removed most of the
...
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Andreas Mohr
90ce2c896f
- Make int09 update the BIOS data segment's keyboard status flags
...
bytes, implement pause key handling.
- Let int16/02 read the keyboard status flags bytes instead of calling
GetAsyncKeyState().
- Make the keyboard state buffer used for Get*Key*() reflect
VK_L/RMENU properly.
- Small fixes.
2002-10-28 23:51:27 +00:00
Jukka Heinonen
7710b3c8f3
Add routines for manipulating protected mode interrupt handlers to
...
winedos dll. Add routine for checking if process is Windows process.
Fix DOSVM_IsDos32 interface. Move real mode interrupt handler
manipulation routines to interrupts.c.
2002-10-28 20:12:40 +00:00
Jukka Heinonen
eca6182749
Move interrupt emulation code from INSTR_EmulateInstruction to winedos
...
dll. Make CTX_SEG_OFF_TO_LIN work with 32-bit segmented pointers
common in DPMI32. Fix winedos initialization so that DOSMEM_Init(TRUE)
is only called when DOS executable is started.
2002-10-23 22:24:10 +00:00
Alexandre Julliard
b34fb35b31
Fixed warnings caused by conversion to -DSTRICT.
2002-10-18 23:48:57 +00:00
Dmitry Timoshkov
472d016859
Correct SIZE_T size according to MS SDK.
...
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Alexandre Julliard
65ea73fedf
Added DPMI segments structure and related function to avoid direct
...
references to dosmem internal variables.
Determine BIOS system offsets at compile time.
2002-09-04 18:52:22 +00:00
Alexandre Julliard
0d875e773e
Fixed some dll separation issues.
2002-08-30 00:03:25 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Admiral Coeyman
9cb2b210aa
Added support for FPU emulation interrupts.
2002-07-10 23:22:29 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
James Juran
32886f6b88
Add missing \n to output messages.
2002-05-24 21:17:59 +00:00
Jukka Heinonen
887ed6228a
Terminating DOS program in real mode now calls ExitThread which is
...
exactly what terminating in protected mode does.
2002-05-05 20:22:39 +00:00
Jukka Heinonen
0c80289492
Compiles now even on platforms that do not support DOS VM.
2002-04-02 19:20:12 +00:00
Jukka Heinonen
869b044249
Routine DOSVM_Wait now wakes up if new events are queued and it
...
returns if it processed any queued events.
2002-04-01 20:56:15 +00:00
Jukka Heinonen
a65ef56101
Console mode DOS programs now receive mouse events.
...
Replaced GetMessage with PeekMessage, since MsgWaitForMultipleObjects
is allowed to return spontaneously.
2002-03-19 02:05:57 +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
Peter Hunnisett
73ab649ced
New file msvcrt/excpt.h. Move some stuff out of winnt.h into it.
2002-02-25 20:10:35 +00:00
Jukka Heinonen
fd33517a41
Added support for DOS EMS memory.
2002-01-29 17:55:21 +00:00
Ove Kaaven
a814c4ef08
DOS support restructure. The DOS virtual machine is now a set of
...
threads running within Wine's own address space, obsoleting the old
dosmod module.
2002-01-06 18:34:02 +00:00
Alexandre Julliard
8cd55d0eba
Moved most of the real-mode stuff to dlls/winedos.
2001-12-04 19:54:44 +00:00
Ove Kaaven
e2c477b21a
Moved the int 9 (keyboard) handler to dlls/winedos.
2001-11-08 17:06:40 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Marcus Meissner
3f1ed52d8b
Implemented 64bit file size handling.
...
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Patrik Stridvall
e683d6ec1f
Added documentation.
2001-04-27 18:03:09 +00:00
Alexandre Julliard
ea2a9a8974
Removed a few Callout functions by doing a GetProcAddress at the time
...
we actually need the function.
2001-02-20 00:55:17 +00:00
Patrik Stridvall
d5f824b482
Fixed some issues found by winapi_check.
2001-01-25 22:23:08 +00:00
Ove Kaaven
287638fd4c
Since DOSVM_Wait() blocks the normal event processing, it should
...
dispatch pending events itself.
2000-12-27 02:35:57 +00:00
Ove Kaaven
e5557b357a
Separated the MZ loader and core DOS VM into dlls/winedos.
2000-12-26 00:22:45 +00:00