Patrik Stridvall
33929be46f
- Made sure that the files that contains the declarations
...
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Uwe Bonnes
cf735f7a95
Don't claim the parport for exclusive access and release the port
...
after every access.
2001-07-14 00:46:22 +00:00
Patrik Stridvall
044855c6ec
Documentation fixes.
2001-07-11 18:56:41 +00:00
Patrik Stridvall
17fd4e3816
Documentation name fixes.
2001-06-28 18:04:41 +00:00
Uwe Bonnes
6509fa93f9
Added /dev/parport support for direct port access.
2001-06-26 21:06:07 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Marcus Meissner
da1a284f4d
Made DOS VGA display again with last months DDRAW updates.
2001-06-19 18:14:08 +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
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Alexandre Julliard
2ec34e48a3
Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
...
handle.
2001-04-04 00:21:05 +00:00
Alexandre Julliard
1af1c67dab
Don't call strtok twice if it failed the first time.
2001-04-04 00:11:40 +00:00
Andreas Mohr
82b517deac
Implemented the int21 LFN rename file function.
2001-02-12 01:22:26 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Alexandre Julliard
7d5bc5c3f9
Removed some direct accesses to the 16-bit task structure.
2001-01-15 20:09:09 +00:00
François Gouget
da2b6a9f26
Fixed some HFILE vs. HANDLE mismatches.
...
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
François Gouget
c583b68565
We must cast the return value of GetProcAddress.
2001-01-05 03:44:40 +00:00
Alexandre Julliard
d6c0f9f784
Authors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
...
Major DirectDraw restructure/reimplementation, using an improved component
object model hierarchy. The implementation currently supports:
- DirectDraw over GDI/USER in a window (using DIBsections and
asynchronous updates)
- XVidMode
- XF86DGA2
- All DirectDraw interfaces from versions 1 to 7 (at least in theory)
- Hooks for Direct3D interfaces
2001-01-04 22:44:55 +00:00
Ove Kaaven
e5557b357a
Separated the MZ loader and core DOS VM into dlls/winedos.
2000-12-26 00:22:45 +00:00
François Gouget
44a182229b
winuser.h now requires that we include winbase.h first.
2000-12-19 04:53:20 +00:00
Alexandre Julliard
db0747d095
Removed some unnecessary includes.
...
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard
6c8edaa667
Use getpagesize() instead of VIRTUAL_GetPageSize().
2000-12-13 20:22:47 +00:00
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
bf67259a41
Use the DRIVE_* API constants instead of the DRIVETYPE enum.
...
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +00:00
Alexandre Julliard
becb9a353b
Moved all Wine internal definitions out of process.h.
2000-12-11 03:48:15 +00:00
Francois Gouget
519346a47e
Fixed miscellaneous typos, syntactic and grammatical errors.
2000-12-02 20:18:08 +00:00
Patrik Stridvall
2b3aa616e8
Added/modified documentation for function arguments.
2000-12-01 23:58:28 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Alexandre Julliard
7afce0e6d6
Moved the few remaining functions in wprocs.dll to kernel.dll.
...
No longer load wprocs.dll unconditionally.
Restored default interrupt handler behavior (reported by Andreas Mohr).
2000-12-01 21:25:31 +00:00
Patrik Stridvall
1ed5577522
Don't include windows.h internally.
2000-11-30 01:31:28 +00:00
Alexandre Julliard
e296bf3717
Renamed CallTo16* functions to wine_call_to_16* and export them from
...
kernel32.spec.
2000-11-29 19:39:30 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Alexandre Julliard
5ce902b0b9
Implemented DosFileHandleToWin32Handle, Win32HandleToDosFileHandle and
...
DisposeLZ32Handle and use them to replace file.c internal functions.
Renamed WOW* functions into K32WOW*.
2000-11-27 21:59:08 +00:00
Alexandre Julliard
5b971f009a
Moved wsprintf functions to dlls/user.
2000-11-26 22:39:50 +00:00
Andreas Mohr
a59324db91
Cosmetics.
2000-11-25 01:40:10 +00:00
Dimitrie O. Paun
0b7a7bbc06
Include config.h in files that test for constants defined in it.
2000-11-25 01:31:17 +00:00
Alexandre Julliard
914406f854
Moved LDT handling to libwine.so. Changed the interface to use the
...
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Ove Kaaven
693c531f94
When a Win16 app sets a selector base to low DOS memory, make sure low
...
DOS memory is mapped first.
2000-11-13 04:12:33 +00:00
Ove Kaaven
f39a69a51d
Use the virtual real-mode interrupt table if low DOS memory isn't
...
mapped.
2000-11-13 04:12:12 +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
Gerald Pfeifer
eff75a31ef
Added missing #include <sys/types.h>.
2000-11-05 03:19:33 +00:00
Alexandre Julliard
908464d448
Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
...
Various warning fixes.
2000-11-01 03:11:12 +00:00
Andreas Mohr
588ee35618
Always open/close the CD-ROM device for every Windows API CD-ROM
...
access.
2000-10-23 00:40:23 +00:00
Joerg Mayer
959d73e8dd
Reduce the number of warnings about missing initializers.
2000-10-22 23:56:32 +00:00
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
Ove Kaaven
ce23e9b3c8
Scale mouse coordinates to default width 640.
2000-05-23 21:13:52 +00:00
Eric Pouech
12222f0d54
Fixed a few compilation warnings.
2000-04-29 14:29:41 +00:00
Patrik Stridvall
54fe8380a1
Fixed some issues reported by winapi_check.
2000-04-06 20:21:16 +00:00
Ian Schmidt
21c04b9d9a
Implemented FAT32 function 7302 (Get Extended DPB).
2000-04-04 18:55:23 +00:00
Francois Gouget
6d77d3a1df
Use min/max instead of MIN/MAX.
2000-03-25 21:44:35 +00:00
David Elliott
c3bcd6cec5
- Slightly reworked include files (less messy, more straightforward).
...
- Moved DOS ASPI functionality to msdos/dosaspi.c.
- Got rid using PROFILE to get SCSI info from wine.conf.
- Read scsi info from /proc/scsi/scsi.
- Added setting of a reasonable timeout when opening a SCSI device (5
minutes, defined in winescsi.h).
- ExecScsiCommand now ALWAYS posts, even on error (which is the correct
behavior).
2000-03-08 19:41:49 +00:00
Niels Kristian Bech Jensen
4eb4380360
Removed superfluous #include statements for header files included twice.
2000-02-29 22:06:06 +00:00