Commit Graph

240 Commits

Author SHA1 Message Date
Ove Kaaven
7c4bee569c Implemented DOS INT21 AH=4B (EXEC). 2000-10-17 00:33:02 +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
Peter Hawkins
866c5886e5 Added DOS int 21h function 4452h support (DR-DOS version check). 2000-10-13 20:22:34 +00:00
Mike McCormack
11776c1fcf Moved comm.c into kernel32. 2000-10-13 17:11:30 +00:00
Mike McCormack
97b9009302 Removed dependency on globals LPT[] and COM{}. 2000-10-12 20:42:23 +00:00
Andreas Mohr
744134e41d Replace null bytes by spaces in WriteConsoleOutputA call. 2000-10-12 20:41:29 +00:00
Alexandre Julliard
15bfcd0398 Moved $(MODULE).o rule out of Make.rules into the individual
Makefiles.
2000-09-29 00:28:25 +00:00
Alexandre Julliard
ab170a9c84 Fixed a few non portable zero-size array declarations. 2000-09-27 00:25:24 +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
Alexandre Julliard
9edc7d0529 Misc cleanups. 2000-09-18 02:15:25 +00:00
James Abbatiello
5f150baea7 Stub support for int2f/ax=1684/bx=0027 (VXDLDR). 2000-08-28 19:29:26 +00:00
Andreas Mohr
217a682b4f Minor cosmetic changes. 2000-08-25 21:56:19 +00:00
James Abbatiello
9ad9e65d64 Fixes for reading latched values with ports 0x40-0x43. 2000-08-22 20:38:47 +00:00
Chris Morgan
c0b2b9e175 Stubbed INT 15 function 84h. 2000-08-20 18:47:48 +00:00
Alexandre Julliard
dcd247e55f Moved CharUpper* and CharLower* functions to dlls/user. 2000-08-14 17:39:15 +00:00
Alexandre Julliard
198746d812 Replaced global Callbacks structure by appropriate glue code
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Alexandre Julliard
5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard
4fef2f1917 Removed obsolete SHMDATA parameter in GLOBAL_CreateBlock. 2000-08-09 22:27:11 +00:00
Alexandre Julliard
09ddb59142 Make USER and GDI separate dlls. 2000-08-03 22:22:42 +00:00
Alexandre Julliard
15467bfb1f Moved MulDiv() and VGA routines out of GDI. 2000-08-01 22:03:18 +00:00
Ove Kaaven
660b5105af Removed DOS task fields from the NE_MODULE structure. 2000-07-31 23:22:55 +00:00
Ove Kaaven
6200a48b70 Fixed a few problems. 2000-07-31 20:58:31 +00:00
Ove Kaaven
2325ee4080 Use MZ_Current() instead of pModule->lpDosTask. Cleaned up the RMCB32
assembly code a bit, and wrapped it in #ifdef __i386__.
2000-07-31 20:56:02 +00:00
Ove Kaaven
e3b353e220 Removed hModule parameter from MZ_AllocDPMITask(), and renamed
MZ_KillModule() to MZ_KillTask().
2000-07-30 13:41:13 +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
bf5ceb9ebc Fill BIOS segments using pointers from DOSMEM_Bios* functions, instead
of pointers from global heap functions.
2000-07-29 21:53:49 +00:00
Ove Kaaven
9f5ef0b410 Make direct console input routines go through int16, rather than
reading directly from the console driver.
2000-07-29 14:34:28 +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
eba5752f3a Added some int33 function stubs. 2000-07-29 11:30:02 +00:00
Ove Kaaven
aeb9c4e200 Changed a few core int10 routines to use the BIOS data segment cursor
positions and the VGA routines, instead of directly accessing the
console driver.
2000-07-29 11:29:50 +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
Ove Kaaven
0a116b8b8a Just get DOS task structure from MZ_Current(), instead of (clumsily)
trying to find and read from the current task's module structures.
2000-07-28 20:18:49 +00:00
Ove Kaaven
3939b6d9dd Make a global asm helper function to handle 32-bit RMCB calls, so we
don't need those complex constraints either.
2000-07-28 20:18:25 +00:00
Alexandre Julliard
83f650837c Avoid clobbering %ebx. 2000-07-26 18:04:54 +00:00
Andreas Mohr
3084b58606 - fixed a gross bug in SetCurrentDirectoryA (where changing to a new
non-existent directory would leave the new drive enabled upon aborting
  (fixes CuteFTP install and should fix MANY apps)
  This has probably been caused by myself. *brownpaperbag*
- added GetVolumeInformation serial number bug-for-bug compatibility
- corrected Unicode labels (better CD-ROM handling in general)
- moved CD-ROM label detection code to misc/cdrom.c
- possible to use loopback mounted ISO9660 files
- init some uninitialised drive fields
- remove some unnecessary header includes
2000-07-25 20:59:59 +00:00
Ove Kaaven
b30b0e74cd Use lcall opcodes, so all gas-es understand it... 2000-07-25 17:42:46 +00:00
Ove Kaaven
e58bd1bae6 Make int16 read from the BIOS keyboard buffer, not directly from the
console driver.
2000-07-25 12:24:53 +00:00
Ove Kaaven
0e823c56c3 Fixed broken assembler. Removed support for old protected-mode hack
for running real-mode code on platforms that don't support vm86; the
current CallRM->RMCB shortcut code should take care of all
Wine-supplied RM APIs (such as DOSASPI) anyway.
2000-07-25 12:24:39 +00:00
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
Dmitry Timoshkov
5890c09983 Use GetSystemDefaultLangID() instead of WINE_LanguageId. 2000-06-18 19:31:19 +00:00
Patrik Stridvall
c94e086161 Fixed some warnings. 2000-06-07 02:16:47 +00:00
Ulrich Weigand
0121ac1a12 Removed mis-aligned accesses during BIOS/DOS data initialization. 2000-06-07 02:02:56 +00:00
Patrik Stridvall
330cd693b0 Fixed some warnings. 2000-06-03 20:43:06 +00:00
Alexandre Julliard
4324b4778b Delay loading of interrupt table functions until they are needed. 2000-06-03 04:52:14 +00:00
Alexandre Julliard
de304909cd Delay initialization of I/O permissions until they are first used. 2000-06-03 04:50:59 +00:00
Andreas Mohr
984f3d9637 Implemented int 0x21 long file name function 0x71a0: Get Volume Info. 2000-05-30 20:04:45 +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
Marcus Meissner
60729af8a9 Commented out broken __asm__, added comments where it is broken. 2000-05-24 21:02:00 +00:00