Commit Graph

184 Commits

Author SHA1 Message Date
Marcus Meissner ad7538bfc5 Made async IO (SIGIO) stuff from WINSOCK generic useable.
Added async IO support to FILE and CONSOLE objects.
1998-12-14 18:15:10 +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
Ulrich Weigand 7b57b24fda Adapted to CreateSystemTimer interface change. 1998-12-10 10:47:26 +00:00
Marcus Meissner 658e35be81 Warn if two .exes conflict with each other and the second does not
have relocation records.
1998-12-10 09:53:41 +00:00
Ulrich Weigand 2aad33e032 LoadModule32/WinExec32 should return 16-bit hInstance/hTask. 1998-12-10 08:30:30 +00:00
Marcus Meissner 537772a6bb Enhanced Win32 Console (XTERM)
- inputhandling enhanced (keys and mouseclicks)
- win32 synchronization (partial)
- lots of enhancements to drawing functions
- simple/complex console (simple-stdin/stdout -> complex-xterm).
1998-12-09 16:37:04 +00:00
Marcus Meissner d5e7c7927c Some unnecessary #include and messages removed. 1998-12-09 11:06:00 +00:00
Marcus Meissner 96fc54ba24 Warn about invalid entrypoints (created by viruses) which result in
Wine crashes.
1998-12-08 10:06:59 +00:00
Marcus Meissner 88cb335142 Move TWEAK_Init from USER to GDIInit. 1998-12-08 09:49:45 +00:00
Ove Kaaven 373bd357ae Fixed DPMI_CallRMProc (I think). 1998-12-07 16:10:11 +00:00
Andreas Mohr 26952d7f60 NE_MODULE.stack_size was set to a ridiculously small value of 5.
Windows sets 0x1400 in such cases for programs.
1998-12-07 12:52:23 +00:00
Andreas Mohr a00b49f068 - Several kernel.spec return type mismatch fixes
- [GS]etSelectorBase Win32s offset support by Ulrich Weigand (thanks v.m. !!)
- Move AppToWine/WineToApp macros as W32S_APP2WINE etc. to ldt.h
- LocalNotify() basic support
- Fixes for local heap handling with heap handles created by Virtual*()
1998-12-07 10:48:09 +00:00
Joseph Pranevich 791cd6a342 Added console support. 1998-12-02 19:58:08 +00:00
Huw D M Davies d6a91b7a74 Move OEM resources to the x11drv. 1998-12-02 10:29:04 +00:00
Marcus Meissner 586e46c8f4 Remove unnecessary check for entrypoint address (test binary was
infected by a virus which uses invalid PE loading stuff).
1998-11-26 16:00:26 +00:00
Ulrich Weigand b9eab15d5c Implemented KERNEL.602 and stub for KERNEL.490. 1998-11-26 14:58:11 +00:00
Ulrich Weigand 80a69b6bdf Moved ...Resource16 routines to loader/resource.c.
Implemented accessing PE-file resources with 16-bit resource routines.
1998-11-25 17:58:51 +00:00
Ulrich Weigand 5443a7e658 Implementation of PE->NE resource conversion routines (KERNEL.615-618). 1998-11-25 17:57:26 +00:00
Ulrich Weigand 6529aa7643 Bugfix: Call InitThreadInput in GetFastQueue with correct parameter
for 32-bit queues.
1998-11-24 20:46:36 +00:00
Marcus Meissner 335276ab6b Adjust broken entrypoint addresses. (win98 notepad.exe) 1998-11-24 20:22:53 +00:00
Juergen Schmied d0fc60ad05 Implementation of CreateProcess32W. 1998-11-22 15:46:05 +00:00
Marcus Meissner 0a45ada038 Do not relocate the pointers in the IMAGE_THREAD_LOCAL_STORAGE
directory, for they seem to be relocated by the standard relocating
mechanism. (Explicitly checked one program using it)
1998-11-22 14:11:59 +00:00
Huw D M Davies 9650864743 Takes print spooler functions out of win16drv.
Allows the PostScript driver to go into libwine.
1998-11-22 12:55:24 +00:00
Alexandre Julliard 737fa07db7 Small atom fixes. 1998-11-15 17:29:15 +00:00
Juergen Schmied 65064b9d60 LoadLibraryEx: show a warning when called with unimplemented parm. 1998-11-15 12:15:07 +00:00
Ulrich Weigand afac2e476c Some fixes to Wine startup/termination sequence with native USER.
Do not call built-in USER signal handler when using native USER.
1998-11-14 18:45:25 +00:00
Ulrich Weigand e8b02745e3 Bugfix: really *do* switch to the initial task's stack.
CallLargeStack mechanism re-enabled.
1998-11-08 12:07:36 +00:00
Andreas Mohr 5fa740af1d Unified "No implementation for..." warnings. 1998-11-07 12:35:50 +00:00
Ulrich Weigand 7df1fbb3df Run Winelib applications as 32-bit processes in the initial task.
Simplified/removed several special 'if (__winelib)' cases in
Wine main code obsoleted by that change.
1998-11-01 18:01:53 +00:00
Ulrich Weigand c75d0e16bd Implemented new Wine startup sequence, separating startup into
KERNEL/USER/GDI related parts, allowing native replacement.
Implemented initial 'kernel' task.
1998-11-01 17:59:35 +00:00
Marcus Meissner f63f8bc24b Detection of the end of imports with Characteristics 0 fail for Borland
programs (which seem to have always characteristics 0). Changed to algorithm
to something a bit more intelligent.
1998-11-01 14:48:25 +00:00
Ove Kaaven b247ab3061 Ignores a couple of signals. 1998-11-01 12:52:14 +00:00
Ove Kaaven 7f740cbb04 Indirection for INSTR_EmulateInstruction for use by DOS code.
Added support for a 55Hz system timer, letting DOS apps calibrate
their delay loops and such. Calls INSTR_EmulateInstruction for
instruction emulation (principally I/O port access). Added macro
V86_FLAG.
1998-11-01 12:41:19 +00:00
Stephen Langasek 48325f1f18 Bugfix for fixup_imports: Enable checking for terminating import
struct with Characteristics bitfield set to 0.
1998-10-31 12:10:08 +00:00
Ulrich Weigand 12dc8e7185 Bugfix: memory overwrite bug. 1998-10-27 13:17:43 +00:00
Alexandre Julliard 75796ea8fe Fixed bug in SwitchStackTo. 1998-10-25 08:05:46 +00:00
Ove Kaaven 72b279236e Fixed DOS environment passing. 1998-10-23 16:20:12 +00:00
Ove Kaaven 28c11324b5 First shot at DPMI realmode calls. 1998-10-23 09:50:07 +00:00
Ulrich Weigand ebc543cdb0 Fixed several bugs with DLL initialization. 1998-10-23 09:37:23 +00:00
Marcus Meissner 2958416d83 Take virtual sizes in account for the total vma size. 1998-10-22 15:52:36 +00:00
Ove Kaaven 8163465a49 Added indirection for ctx_debug to the DOS loader, so Winelib works
again.
1998-10-21 17:20:48 +00:00
Alex Korobka 92c8178a00 Added debugging output. 1998-10-18 10:47:03 +00:00
Patrik Stridvall 1e1cf48107 Compile fix for Solaris. 1998-10-17 12:56:00 +00:00
Uwe Bonnes 73d6c134c2 Renamed all LPIMAGE_* types to PIMAGE_*. 1998-10-16 09:30:33 +00:00
Ulrich Weigand a3527cf369 Implemented new PE DLL initalization code, trying to call the
DllEntryPoint routines always in correct order :-)
Bypass snooping when getting data buffer addresses (thunk buffers,
__GP handlers) and for 32-bit routines directly called from 16-bit
(due to stack address size problems).
1998-10-11 19:31:10 +00:00
Ulrich Weigand 2e244c45a3 Implemented CommonUnimpStub, MapHInst(LS|SL)_PN, W32S_BackTo32.
Stub for HouseCleanLogicallyDeadHandles, fixed k32wvsprintfA.
1998-10-11 19:29:22 +00:00
Andreas Mohr e6c12eeb04 Yet another small self-loader fix. 1998-10-11 17:36:46 +00:00
Juergen Schmied c289be71e5 Cosmetics. 1998-10-11 15:44:50 +00:00
Alexander Larsson d235b137a8 GetModuleFileName32A() returns long filename if app sets osversion >=
4.0. Also moved the long filename hackery to GetLongPathName32A() so
it can be used by win32 programs.
1998-10-11 13:59:08 +00:00