Ove Kaaven
9b2060afab
Change the V86BASE macro to call DOSMEM_MemoryBase() instead of using
...
the ugly Dr7 hack.
2000-07-23 13:36:41 +00:00
Alexandre Julliard
a3e0cfc5fb
Get full path of argv[0] before we change directories.
...
Make sure process names are long path names.
Cleaned up initialisation a bit.
2000-07-16 18:21:34 +00:00
Alexandre Julliard
c192ba2468
Exec a separate wine binary for every win32 process so that they run
...
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
Alexandre Julliard
180a088beb
Moved PE header definitions to winnt.h where they belong.
2000-04-18 11:58:24 +00:00
Alexandre Julliard
62f824f7cb
Avoid calling the *Rect USER functions from inside GDI.
...
Moved a few USER functions to a more appropriate location.
2000-03-18 22:12:33 +00:00
Alexandre Julliard
67a24c8cfb
Store the handle of the process exe file in the server.
...
Removed PROCESS_Initial().
2000-02-18 21:54:32 +00:00
Jeremy White
d3e22d9d55
Removed #include of wingdi.h and windef.h from winuser.h (and resolved
...
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Ove Kaaven
9b89998113
Cleanup VGA refresh when terminating.
2000-02-03 00:46:00 +00:00
Ove Kaaven
43b2ad1973
dosmod protocol revision 3, featuring MPROTECT and ENTERIDLE.
2000-01-30 02:53:56 +00:00
Alexandre Julliard
eafa391081
Use argv[0] to locate the server executable.
2000-01-25 21:19:58 +00:00
Ulrich Weigand
237e8e95b0
Fixed 32-bit module name handling to conform better to Win9x.
...
Removed OFSTRUCT passing during process creation sequence.
Bugfix: don't set exe_modref when LOAD_LIBRARY_AS_DATAFILE is set.
1999-12-04 04:04:58 +00:00
Ulrich Weigand
eb94c7d2c4
Adapted to new register function handling.
1999-11-13 23:54:04 +00:00
Ulrich Weigand
e7957d6b48
Determine expected_version of PE buddies from the SubsystemVersion.
1999-11-10 19:45:56 +00:00
Patrik Stridvall
96336324cf
- Added missing configuration #if:s and #includes:s.
...
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Alexandre Julliard
bdf83bc546
Removed SIGNAL_MaskAsyncEvents and cleaned up signal handling.
1999-08-01 14:54:16 +00:00
Alexandre Julliard
b375678277
Changed INSTR_EmulateInstruction to use a CONTEXT86 instead of a
...
SIGCONTEXT.
1999-08-01 12:15:12 +00:00
Ulrich Weigand
d0e15a6b72
Work around 'local extern declaration with attribute' gcc bug.
1999-07-25 11:22:20 +00:00
Eric Pouech
1564a6ded8
Work around gcc sig11 fault.
1999-07-18 18:38:40 +00:00
Eric Pouech
5d04f652f6
Compiler warnings fix.
1999-07-12 13:41:20 +00:00
Ulrich Weigand
fbea530884
On NE process creation, move major part of NE EXE module loading and
...
NE instance creation into the child process.
1999-07-03 12:26:29 +00:00
Alexandre Julliard
617955db88
Changed CONTEXT into CONTEXT86 everywhere we really want an i386
...
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Alexandre Julliard
ebe29ef376
Further server optimizations:
...
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +00:00
Alexandre Julliard
94eedf1df0
Use exceptions instead of ctx_debug_call.
1999-06-18 18:25:59 +00:00
Alexandre Julliard
a099a555c3
Converted to the new debug interface, using script written by Patrik
...
Stridvall.
1999-06-12 15:45:58 +00:00
Ove Kaaven
e78e1af43e
Various DPMI fixes and preliminary DPMI raw mode switch handler.
1999-06-12 08:09:52 +00:00
Gerald Pfeifer
61e18d463d
Fixed compilation erros on non-Linux systems.
1999-05-29 10:54:25 +00:00
Alexandre Julliard
d131a17ee0
Use the new debug functions to send debug events at appropriate places.
...
Pass the process creation flags to PROCESS_Create.
1999-05-23 20:02:04 +00:00
Ove Kaaven
6ba5914005
Fixed silly EINTR bug with starting dosmod.
1999-05-22 18:48:09 +00:00
Ove Kaaven
e54d4d15c4
Added MZ_Current() (returns current LPDOSTASK) and DOSVM_Wait()
...
(DOSVM idle message loop), and fields hConInput and hConOutput.
1999-05-22 10:40:15 +00:00
Patrik Stridvall
896889f317
ANSI C fixes.
1999-05-08 12:50:36 +00:00
Alexandre Julliard
06c275a643
Converted to the new debugging interface (done with the help of the
...
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Ove Kaaven
240bdacb8d
Made DOSVM_GetTimer survive EAGAIN errors...
1999-04-01 11:53:52 +00:00
Marcus Meissner
d208d8264a
Empty DOSVM_QueueEvent for !MZ_SUPPORTED.
1999-03-28 12:34:25 +00:00
Ove Kaaven
5394258a90
Added infrastructure and definitions for general-purpose event and IRQ
...
handling for the Wine dos box. Removed the obsolete MZ_Tick. Added
event message loop, message handling, CLI/STI handling, and minimal
PIC support.
1999-03-25 10:53:08 +00:00
Ove Kaaven
9ea09ca866
Added handling of SIGUSR2 for the new event interruption handling,
...
bumping up the protocol revision. Made some debug messages not be
output when it's not necessary.
1999-03-25 10:52:03 +00:00
Ulrich Weigand
892627b12b
Pass CreateProcess() SECURITY_ATTRIBUTES through to PROCESS_Create().
1999-03-16 16:29:26 +00:00
Ulrich Weigand
f6a9361942
Adapted to CreateProcess changes.
1999-02-28 11:19:10 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner
04c3e1d456
Removed a lot of occurences of windows.h (and added necessary other
...
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner
317af320cf
Optimized include/*.h: (recursively) include all headers needed by
...
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Marcus Meissner
9faa7d735a
Moved the if1632/signal.c stuff into loader/signal.c, adapted function
...
pointers for wine_debug and INSTR_EmulateInstruction.
1999-02-13 17:55:17 +00:00
Ove Kaaven
e257cb5af2
Moved DOS handle allocation slightly, to fix potential memory
...
leaks and lost handles. Also removed some useless init code.
1999-01-24 19:00:46 +00:00
Marcus Meissner
b12e72d685
DOS programs use handles 0-4 without opening/closing any of those
...
handles first. Split up Init from AllocDosHandle and call it from
the DOSVM.
1999-01-23 14:01:08 +00:00
Alexandre Julliard
8da12c43a9
Group commit for recovery after disk crash.
...
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Alexandre Julliard
638f169b1e
Recovery of release 990110 after disk crash.
...
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Alexandre Julliard
f8e741bcbe
Take into account handle inheritance flag.
1999-01-01 16:53:11 +00:00
Ove Kaaven
b8e7a833c7
Added some new dosmod communication possibilities, including
...
activating a dosmod-specific setitimer(), and the capture of some
common signals, which is returned to Wine (previously a SIGILL
would just cause a "dosmod sync lost" without explanation, now it
invokes the Wine debugger). Invokes int 08 upon receipt of dosmod
SIGALRM, thus simulating the DOS timer. Made DOS interrupt calls
be reported by -debugmsg +relay instead of -debugmsg +int. And
fixed non-i386 compilation of dosmod. (Anything else?!)
1998-12-24 16:23:01 +00:00
Ove Kaaven
35693719af
Moved DPMI wrapper allocation code to dosmem.c to REALLY make the
...
RMcall shortcuts independent of dosmod. SS had been left out of
the REALMODECALL copy routines for some reason, fixed now. Also
cleaned up a few compiler warnings.
1998-12-14 17:26:04 +00:00
Andreas Mohr
7a6228d1e1
Fixed a bunch of compiler warnings.
1998-12-11 09:16:48 +00:00