Rein Klazes
a1e8ba9fc2
In INT21_GetFreeDiskSpace adjust the sectors-per-cluster value to make
...
the total number of clusters fit in a 16 bit register.
2004-06-03 23:20:35 +00:00
Jukka Heinonen
6844c3b59b
Implement DOS7 canonicalize path function as a conversion to short
...
file name.
2004-04-26 20:05:30 +00:00
Alexandre Julliard
73d9e1a62f
Fixed/updated the file attributes defines.
2004-04-19 23:11:31 +00:00
Alexandre Julliard
bd1fdeddaa
Update the drive environment strings when changing the current
...
directory from 16-bit or DOS code.
2004-04-16 00:08:11 +00:00
Alexandre Julliard
1a833442a1
Replaced create_file server requests by a call to NtCreateFile.
2004-04-14 04:31:55 +00:00
Alexandre Julliard
49b2f6d964
Get rid of the removable media handling in the server.
2004-04-06 23:41:01 +00:00
Alexandre Julliard
22508e576f
FindFirstFile can return an empty short name if the long name is a
...
valid DOS name, fixed callers to handle that properly.
2004-03-17 01:50:27 +00:00
Alexandre Julliard
014099caf5
Changed the create_file server request to take NtCreateFile flags
...
instead of CreateFileW ones (based on a patch by Eric Pouech).
2004-03-12 01:56:49 +00:00
Alexandre Julliard
8045ad5c0e
Removed some unnecessary definitions from file.h.
...
Got rid of drive.h.
2004-03-09 23:51:02 +00:00
Alexandre Julliard
16de1f7aff
Changed handling of special DOS devices to use real file handles
...
instead of the server device object.
2004-02-24 01:07:52 +00:00
Eric Pouech
768008fa20
- got rid of FILE_Dup2 export from kernel32
...
- move all dos handle related code into dlls/kernel32
2004-01-14 04:34:20 +00:00
Steven Edwards
cfcc449324
Porting fixes.
2003-11-26 22:29:30 +00:00
Uwe Bonnes
111b1cbf68
INT21_GetFreeDiskSpace(): The drive parameter is found in the DL
...
register.
2003-11-25 03:26:14 +00:00
Alexandre Julliard
436eda3071
Removed task.h.
2003-11-25 00:42:26 +00:00
Alexandre Julliard
e983652363
Moved a number of DOS definitions out of the global headers and into
...
winedos private files. Removed the msdos.h header.
2003-11-15 00:13:20 +00:00
Alexandre Julliard
adfa5e101f
Repaired INT21_FindFirst/FindNext.
2003-11-14 06:22:32 +00:00
Eric Pouech
8ca6cadab1
- moved the remaining of int21 calls to dlls/winedos
...
- disabled drive enabling/disabling as well as disk serial number
writing (for DLL separation issues)
- added volume management prototypes to include/winbase.h
- started DefineDosDevice (needed by first item in this list)
- removed int21 specific code from dlls/kernel
2003-11-14 04:54:39 +00:00
Jukka Heinonen
02a23461ae
Implement fat32 extended free space function.
...
Make fat32 calls reset carry flag explicitly.
2003-11-03 22:13:25 +00:00
Jukka Heinonen
181a7cca2b
Moved drive parameter block (DPB) routines to winedos.
2003-10-27 22:06:10 +00:00
Rolf Kalbermatter
76f13deb26
Use INVALID_FILE_ATTRIBUTES to test for failure of
...
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Michael Stefaniuc
11346f94d1
Silence the FIXME's produced by a check for a dos32 extender.
2003-09-22 19:32:51 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Sylvain Petreolle
f20026e7eb
Changed some functions to reset CFLAG on success.
...
Added some traces.
2003-09-03 00:09:29 +00:00
Jukka Heinonen
7fb4957873
Make DOS process exit using ExitProcess instead of ExitThread.
...
Make calling DOS exit functions from DPMI either return to StartPM or
print error message if not allowed by DPMI specification.
2003-09-02 00:52:36 +00:00
Jukka Heinonen
e827269a99
Migrate create/open file functions to winedos.
...
Some fixes based on patch by Ferenc Wagner.
2003-06-16 01:18:01 +00:00
Jukka Heinonen
4cbc69a223
Move get current directory and set current directory int21
...
subfunctions into winedos. Fix quite a few bugs in the implementation
of these functions.
2003-06-13 18:05:18 +00:00
Jukka Heinonen
f07dfff17b
Migrate most int21 ioctl routines to winedos.
...
Migrate int21 set drive routine to winedos.
2003-06-04 20:17:52 +00:00
Jukka Heinonen
3da6ff753e
Added some long filename functions.
2003-05-20 17:49:04 +00:00
Jukka Heinonen
c646408568
Move get current drive int21 function to winedos.
...
Fix spelling mistakes.
Add some drive handling helper routines.
2003-05-19 21:40:05 +00:00
Alexandre Julliard
3b4143aea0
Thomas Mertes <thomas.mertes_at_gmx.at>
...
Implement file control block (FCB) functions:
INT21_OpenFileUsingFCB [0x0f],
INT21_CloseFileUsingFCB [0x10],
INT21_SequenialReadFromFCB [0x14],
INT21_SequenialWriteToFCB [0x15],
INT21_ReadRandomRecordFromFCB [0x21],
INT21_WriteRandomRecordToFCB [0x22],
INT21_RandomBlockReadFromFCB [0x27],
INT21_RandomBlockWriteToFCB [0x28].
2003-05-15 22:54:43 +00:00
Jukka Heinonen
cadffabd2d
Make read from stdin use buffered input code and redirect stderr to
...
console.
2003-05-11 03:30:24 +00:00
Jukka Heinonen
643e8740d5
Report errors to applications when illegal dates are passed to set
...
system date call (required by many installation checks).
2003-05-06 00:12:52 +00:00
Jukka Heinonen
e2ae56e0b9
Remove obsolete code from DOSVM_Wait.
...
Prepare DOSVM_Wait for handling nested interrupts in both real and
protected mode.
Provide temporary workaround for keyboard related deadlock.
2003-05-02 20:12:52 +00:00
Jukka Heinonen
013f89465c
Moved dosconf.c to winedos.
2003-04-21 23:22:53 +00:00
Jukka Heinonen
31f35146b9
Return correct segment for VESA information.
...
Check oem number/version flag first and after that overwrite condition
code.
2003-04-08 19:41:03 +00:00
Jukka Heinonen
6f6eb82dfc
Add prototype for GetCompressedFileSize. Move some int21 functions to
...
winedos. Improve file attribute functions.
2003-03-30 03:04:37 +00:00
Jukka Heinonen
2918ee6b0d
Move decoding of long file name functions to winedos.
...
Move some int21 functions to winedos.
2003-03-04 02:15:56 +00:00
Jukka Heinonen
54f377c6c5
Move resize memory block to winedos and make it resize in place and
...
work correctly even when trying to allocate too much memory.
2003-02-19 22:11:04 +00:00
Jukka Heinonen
101f91d9df
Reorganize IOCTL handling.
...
Move ASPI hooking to winedos.
Move some miscellaneous functions to winedos.
Remove unnecessary exports from winedos dll.
2003-02-11 22:22:50 +00:00
Jukka Heinonen
8e8518d4ba
Fix buffered input function. Add support for UMB subfunctions to
...
memory allocation strategy function. Move flock to winedos.
2003-01-30 00:17:03 +00:00
Jukka Heinonen
f92c8ca401
Return scancode when extended keycodes are read using console input
...
functions. Move file stamp handling to winedos. Implement DOS7 file
stamp extensions.
2003-01-28 00:18:57 +00:00
Jukka Heinonen
66b29b275e
Return number of bytes written when writing to DOS console using int21
...
function 0x40. Move some int21 functions to winedos.
2003-01-23 01:23:01 +00:00
Lawson Whitney
0c391fe32f
Fix reversed hour and minute in int 21 ah=2c.
2003-01-20 23:22:27 +00:00
Jukka Heinonen
be1c6deb18
Move int21 country information handling to winedos.
...
Improve country information handling.
Move collate table to upper memory.
2002-12-10 19:58:39 +00:00
Jukka Heinonen
1cfc850b2c
Move int08 stub and LOL to upper memory.
...
Move simple int21 functions to winedos.
2002-12-07 23:46:41 +00:00
Jukka Heinonen
2ec8b71bae
Clean up int21 handling. Move error handling to winedos.
...
Call INT_Int21Handler only to emulate selected functions.
2002-12-03 19:11:49 +00:00
Jukka Heinonen
742142521a
Rename old DOS3Call as INT_Int21Handler and make new DOS3Call call
...
directly winedos int21 handler.
2002-12-02 18:58:32 +00:00
Patrik Stridvall
517a93afe3
Fixed some issues found by winapi_check.
2002-11-06 19:57:49 +00:00
Jukka Heinonen
6f6abac4f1
Modify winedos interrupt handlers so that they work with PM
...
interrupts.
Add forwarding functions for handlers in other DLLs.
Make DOSVM_GetBuiltinHandler use static table instead of
GetProcAddress.
2002-10-29 23:09:30 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00