Jukka Heinonen
d25e0399ba
Add support for interrupts in 32-bit code.
...
Remove some unnecessary code from 16-bit interrupt emulation.
2002-10-08 00:35:03 +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
3fa613cf61
Moved internal context macros out of winnt.h.
...
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Alexandre Julliard
0d875e773e
Fixed some dll separation issues.
2002-08-30 00:03:25 +00:00
Admiral Coeyman
9cb2b210aa
Added support for FPU emulation interrupts.
2002-07-10 23:22:29 +00:00
Andreas Mohr
db31151b1e
Implemented set cursor shape functionality.
2002-07-01 18:13:52 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Christian Costa
cc208a151f
The SVGA block code was not accessible (AH and AL inverted). Fixed.
...
Removed duplicate VESA Get SuperVGA INFORMATION function.
Fix and finish its implementation.
Add 2 functions to managed structures in the BiosSys segment.
2002-05-28 22:44:53 +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
Patrik Stridvall
f94462fb75
Move __stdcall/__cdecl to the right place.
2002-01-31 23:22:07 +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
fe5bf6e63d
Implemented a dynamic table of DOS interrupt handlers.
2001-11-05 23:48:35 +00:00
Uwe Bonnes
6509fa93f9
Added /dev/parport support for direct port access.
2001-06-26 21:06:07 +00:00
Ove Kaaven
e5557b357a
Separated the MZ loader and core DOS VM into dlls/winedos.
2000-12-26 00:22:45 +00:00
Alexandre Julliard
db0747d095
Removed some unnecessary includes.
...
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Ove Kaaven
b27ee9b89d
Reorganized DOS memory remapping slightly, so that the real-mode
...
interrupt table can exist even when low DOS memory isn't mapped,
and is copied down along with the BIOS area whenever it is mapped.
Added DOSMEM_SystemBase() which returns a pointer to the virtual
real-mode interrupt table and BIOS data segment.
Allowed DOSMEM_Init(TRUE) to be called more than once.
2000-11-13 04:11:57 +00:00
Alexandre Julliard
80fc23a939
Set selector 0000H base to 0xf0000 until the first 64K are
...
unprotected.
2000-10-15 00:37:50 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Alexandre Julliard
d8fab2e67c
Removed some of the XXX_reg macros now that we are using the standard
...
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard
770eb51ed5
Moved most global data out of the LPDOSTASK structure.
...
Allocate DPMI real-mode segments globally at startup.
Try to allocate DOS memory at address 0.
2000-09-24 20:47:50 +00:00
Andreas Mohr
217a682b4f
Minor cosmetic changes.
2000-08-25 21:56:19 +00:00
Ove Kaaven
e6d8768e71
Made DOSMEM_Init() take a BOOL parameter instead of a HMODULE16, and
...
initialize DOS memory properly in the new process model. Made
DOSMEM_MemoryBase() use MZ_Current()->img instead of pModule->dos_image.
2000-07-30 13:32:10 +00:00
Ove Kaaven
a9c19f0710
Let Int09 routines remember a keystroke's ASCII code, if available.
2000-07-29 11:30:28 +00:00
Ove Kaaven
7b49914afc
Removed the hModule parameter from various DOSMEM routines, the DOSMEM
...
routines now always use the current memory space.
2000-07-28 22:23:59 +00:00
Ulrich Weigand
0121ac1a12
Removed mis-aligned accesses during BIOS/DOS data initialization.
2000-06-07 02:02:56 +00:00
Alexandre Julliard
de304909cd
Delay initialization of I/O permissions until they are first used.
2000-06-03 04:50:59 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00
Ove Kaaven
c956f67f46
Added INT_Int16ReadChar and made int09 handle special keys.
2000-02-03 00:47:01 +00:00
Robert 'Admiral' Coeyman
0e04d8b0a8
Report non-hercules video. Turned on int 2a.
1999-10-23 19:01:10 +00:00
Alexandre Julliard
3d06d20bab
Moved all signal support to a new platform-specific file.
...
Make use of the per-thread signal stack (Juergen Lock).
Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand).
1999-09-27 10:58:45 +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
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
1eeed68514
Moved signal handling to exception.c, generate exceptions on signals.
...
Added hook for debugger in exception handling (temporary).
1999-06-18 18:21:24 +00:00
Ove Kaaven
59c827325c
Changed global DOS_LOL into function DOSMEM_LOL() in order to operate
...
on the correct address space. Added DOSMEM_MovePointers() that
relocates selectors when the DOS address space changes (i.e. when
dosmod is spawned, particularly from Win16 apps that uses DPMI to
execute real-mode code). More complete DOS device implementation.
1999-05-22 10:41:28 +00:00
Ove Kaaven
07d2a78993
Moved DOS List of Lists initialization, and added the beginnings of
...
the DOS device structures.
1999-05-08 10:54:04 +00:00
Patrik Stridvall
c7a8dde118
#pragma pack(?) changed to #include "*pack*.h"
1999-04-25 12:36:53 +00:00
Ove Kaaven
4dfd859271
Added int 0x09 and int 0x33.
1999-03-25 10:51:17 +00:00
Ove Kaaven
3f89809d68
Added missing ending pragma pack.
1999-03-23 13:45:25 +00:00
Andreas Mohr
f83cf69b03
Implemented mode setting things as well as VESA additions and other
...
things. Cleaned up DOSMEM_BiosData handling.
1999-03-13 18:00:52 +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
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
Andreas Mohr
a63458d87c
Some interrupt enhancements.
1999-01-30 13:39:21 +00:00
Ove Kaaven
b77de0298d
Defined RESTORE_SIGNALS by default and call SIGNAL_EmulatorInit
...
through a function pointer instead. Added a few traces. Fixed the
"Memory corruption !" message in DGA mode. Commented out an
unnecessary TSXF86VidModeSetViewPort that caused my X server to
act up, relying on TSXF86DGASetViewPort instead.
1999-01-30 13:17:54 +00:00
Andreas Mohr
a7894d9311
Implemented Int 0x15/0xc0: BIOS - GET CONFIG and some other BIOS
...
data.
1999-01-24 09:32:10 +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
Ulrich Weigand
7b57b24fda
Adapted to CreateSystemTimer interface change.
1998-12-10 10:47:26 +00:00
Ove Kaaven
2866809ce4
Implemented DPMI RMCBs using the DOS subsystem, and a few other
...
improvements. Also, some special-cased shortcut paths will allow some
common real-mode call/RMCB combinations to work even without calling the
DOS subsystem, thus letting APIs like DOSASPI work without any dirty hacks
even on platforms that cannot use dosmod.
1998-12-09 13:14:19 +00:00
Ulrich Weigand
7129d9f696
Changed CTX_SEG_OFF_TO_LIN to allow linear addresses in 32-bit
...
registers (used by DeviceIoControl). Adapted all users.
1998-11-25 10:29:22 +00:00