Commit graph

56468 commits

Author SHA1 Message Date
Aleksandar Andrejevic 0b434e7c6c [FAST486]
Add a macro ALIGNMENT_CHECK that checks for unaligned pointers and generates an exception.


svn path=/branches/ntvdm/; revision=62279
2014-02-21 01:29:13 +00:00
Aleksandar Andrejevic 011259b78f [FAST486]
Update the AC flag in the POPF instruction.


svn path=/branches/ntvdm/; revision=62278
2014-02-21 01:15:03 +00:00
Aleksandar Andrejevic b9dd7fc5fc [FAST486]
Enable the Alignment Check flag. Apparently the 486 supports it.


svn path=/branches/ntvdm/; revision=62277
2014-02-21 01:05:47 +00:00
Hermès Bélusca-Maïto a4f4c415ac [FAST486]
- When pushing 16-bit value, check only low word of ESP (i.e. SP).
- Don't forget to clear high word of EIP, for the Jump instruction of group 4 (0xFF).

svn path=/branches/ntvdm/; revision=62258
2014-02-19 20:24:53 +00:00
Hermès Bélusca-Maïto 87ac13a950 [FAST486]: Hardcoded_values--;
svn path=/branches/ntvdm/; revision=62256
2014-02-19 19:27:05 +00:00
Hermès Bélusca-Maïto 852cd2db79 [FAST486]: Fix argument type.
svn path=/branches/ntvdm/; revision=62255
2014-02-19 19:23:36 +00:00
Aleksandar Andrejevic 60dd86e7ac [BASESRV]
Implement BaseSrvGetVDMExitCode.


svn path=/branches/ntvdm/; revision=62237
2014-02-18 02:15:33 +00:00
Hermès Bélusca-Maïto 9b24de4f64 [NTVDM]: Load a BIOS image in case its name is given in BiosInitialize.
svn path=/branches/ntvdm/; revision=62236
2014-02-17 22:50:41 +00:00
Hermès Bélusca-Maïto 574f922049 [NTVDM]
- Remove an unneeded assignment (cmos.c)
- Reorganize BIOS code: put our 32-bit bios in a dedicated directory; start to introduce a way to load other bioses (WIP).

svn path=/branches/ntvdm/; revision=62235
2014-02-17 22:20:03 +00:00
Aleksandar Andrejevic c64a03a80f [BASESRV]
Move the VDM states and binary types to a public header file.
Implement GetNextDosSesId.
Continue implementing BaseSrvCheckVDM.


svn path=/branches/ntvdm/; revision=62200
2014-02-16 00:09:27 +00:00
Aleksandar Andrejevic 522f29b775 [KERNEL32]
SetVDMCurrentDirectories should use BasepSetVDMCurDirs, not BasepGetVDMCurDirs.


svn path=/branches/ntvdm/; revision=62099
2014-02-10 14:26:41 +00:00
Aleksandar Andrejevic 24d5936eb9 [KERNEL32]
Implement SetVDMCurrentDirectories.


svn path=/branches/ntvdm/; revision=62098
2014-02-10 14:24:36 +00:00
Aleksandar Andrejevic 5a678ff4e0 [KERNEL32]
Implement GetVDMCurrentDirectories.
[BASESRV]
Fix a bug in BaseSrvGetVDMCurDirs.


svn path=/branches/ntvdm/; revision=62097
2014-02-10 13:56:55 +00:00
Aleksandar Andrejevic 158d2645a5 [BASESRV]
Implement BaseSrvSetVDMCurDirs.


svn path=/branches/ntvdm/; revision=62091
2014-02-10 00:37:06 +00:00
Aleksandar Andrejevic d0176d9ee8 [BASESRV]
Implement BaseSrvGetVDMCurDirs.
The current directory information is stored in the console record,
and it applies to all DOS records within it.


svn path=/branches/ntvdm/; revision=62086
2014-02-09 22:26:13 +00:00
Aleksandar Andrejevic 884d0853f8 [BASESRV]
Add an (incomplete) definition for VDM console records and VDM DOS records.
Implement BaseSrvIsFirstVDM.
Start implementing BaseSrvCheckVDM.


svn path=/branches/ntvdm/; revision=62078
2014-02-09 17:37:35 +00:00
Hermès Bélusca-Maïto ac8e7f981c [NTVDM]: Silent few DPRINTs.
svn path=/branches/ntvdm/; revision=62018
2014-02-06 20:28:33 +00:00
Aleksandar Andrejevic 36226433cb [KERNEL32]
Halfplement BaseCheckVDM.


svn path=/branches/ntvdm/; revision=61964
2014-02-03 19:00:58 +00:00
Aleksandar Andrejevic 02acc76770 [NTDLL]
Allocate enough space to hold the alignment padding of arguments in
CsrAllocateCaptureBuffer.


svn path=/branches/ntvdm/; revision=61961
2014-02-03 17:25:55 +00:00
Hermès Bélusca-Maïto 6a287dfdfe [NTVDM]: German translation by Robert Naumann, thanks!
CORE-7250

svn path=/branches/ntvdm/; revision=61920
2014-02-02 14:01:21 +00:00
Hermès Bélusca-Maïto 3c5b236b5a [NTVDM]
- Sorry !!!!!! The previous translation (Polish, revision 61916 ) was by Wojtek Kozlowski aka. wojo664!! Sorry for having mistaken you with Radek Liska!
- Czesh translation by Radek Liska :D, thanks!
CORE-7250

svn path=/branches/ntvdm/; revision=61917
2014-02-02 00:43:52 +00:00
Hermès Bélusca-Maïto 97eee1dd69 [NTVDM]: Polish translation by Radek Liska, thanks!
CORE-7835 #resolve
CORE-7250

svn path=/branches/ntvdm/; revision=61916
2014-02-02 00:34:48 +00:00
Hermès Bélusca-Maïto b429303250 Sync with trunk rev.61914 for BaseVdm fixes.
svn path=/branches/ntvdm/; revision=61915
2014-02-02 00:25:25 +00:00
Aleksandar Andrejevic 90df0b6d52 [KERNEL32]
CreateProcessInternalW expects BaseCheckVDM to return a NTSTATUS, not a BOOL.


svn path=/branches/ntvdm/; revision=61912
2014-02-01 23:24:06 +00:00
Hermès Bélusca-Maïto 5380113016 Sync with trunk rev.61910 to get latest improvements and bugfixes.
svn path=/branches/ntvdm/; revision=61911
2014-02-01 22:56:13 +00:00
Aleksandar Andrejevic 0d13dbf572 [KERNEL32]
Fix an infinite loop bug in CreateProcessInternalW.


svn path=/branches/ntvdm/; revision=61909
2014-02-01 22:24:46 +00:00
Hermès Bélusca-Maïto 8eb145a87c [NTVDM]: Comment out what-appears-to-be a broken test. Fixes some LIFE.COM program. Need to investigate further...
svn path=/branches/ntvdm/; revision=61908
2014-02-01 22:13:31 +00:00
Hermès Bélusca-Maïto 285d283861 [NTVDM]: Okay, let's clear the VGA memory everytime we change modes... (fixes VGA-->EGA transition in Dave).
svn path=/branches/ntvdm/; revision=61907
2014-02-01 20:55:57 +00:00
Timo Kreuzer 005703c2dc [NPFS]
- Implement NpQueryClientProcess and NpSetClientProcess
- Add a fast I/O dispatch table and implement NpFastRead and NpFastWrite
The NPFS driver is now good enough to boot Windows 2003 to desktop!

svn path=/trunk/; revision=61906
2014-02-01 20:41:16 +00:00
Hermès Bélusca-Maïto 6e7f995863 [NTVDM]: Italian translation by Ivan di Francesco, thanks!
CORE-7250

svn path=/branches/ntvdm/; revision=61905
2014-02-01 19:42:49 +00:00
Aleksandar Andrejevic 5a012c39f1 [KERNEL32]
Enable the BaseVDM functions, even though they're not yet implemented in basesrv.
Implement ExitVDM.


svn path=/branches/ntvdm/; revision=61904
2014-02-01 19:05:54 +00:00
Hermès Bélusca-Maïto d028bd7690 [NTVDM]: Spanish translation by Javier Fernandez, thanks!
svn path=/branches/ntvdm/; revision=61903
2014-02-01 17:22:30 +00:00
Hermès Bélusca-Maïto 105aff1c51 [NTVDM]
- Define and export VDDSimulate16 and host_simulate.
- Move the big emulation loop from ntvdm.c to clock.c, and the console input pump thread from ps2.c to ntvdm.c.
  Indeed:
  * Moving the emulation loop out of the main initialization function will be helpful if one wants to modify how emulation is done,
  * The console input pump thread deals also with console UI bits that have nothing to do with keyboard/mouse/ps-2. Instead, the pump thread will dispatch keyboard and mouse events to the ps/2 controller.
- Implement a custom menu in the console's system menu to be able to parametrize ROS VDM (work-in-progress); at the moment only a menu item to show/hide mouse pointer, and another one allowing us to quit properly the VDM are implemented. The menu code was taken from the GUI frontend in winsrv.dll. Only english and french translations available at the moment.

svn path=/branches/ntvdm/; revision=61902
2014-02-01 16:32:20 +00:00
Eric Kohl e61f3d956b [MSGINA]
Delay load secur32.dll.

svn path=/trunk/; revision=61901
2014-02-01 15:46:09 +00:00
Timo Kreuzer 21c0eca870 [NPFS]
- Implement NpInitializeAliases + NpTranslateAlias
- Add a number of debug traces, disabled by default

svn path=/trunk/; revision=61900
2014-02-01 14:28:15 +00:00
Timo Kreuzer 0973a225b9 [NDK]
Add PsGetProcessSecurityPort, PsSetProcessSecurityPort, PsGetCurrentThreadProcessId

svn path=/trunk/; revision=61899
2014-02-01 12:12:26 +00:00
Christoph von Wittich 988c69e1c1 [baseaddress]
hackfix for VLC Player startup

svn path=/trunk/; revision=61898
2014-02-01 08:55:54 +00:00
Aleksandar Andrejevic 80b0d263d2 [KERNEL32]
Add the definition for the structure used by GetNextVDMCommand.


svn path=/branches/ntvdm/; revision=61897
2014-02-01 02:49:02 +00:00
Hermès Bélusca-Maïto 735d21a7e3 [APPS] Remove idiotic usage of REACTOS_VERSION_DLL in resources of executable files.
svn path=/trunk/; revision=61896
2014-02-01 01:27:13 +00:00
Eric Kohl c10bfd3da9 [MSGINA]
Revert r61888. CORE-7824.

svn path=/trunk/; revision=61895
2014-01-31 19:26:00 +00:00
Christoph von Wittich 26ed6933ab [crt]
revert 61885 and 61887

svn path=/trunk/; revision=61893
2014-01-30 21:23:25 +00:00
Amine Khaldi e933a21800 [KERNEL32]
* Fix MSVC x64 build.

svn path=/trunk/; revision=61892
2014-01-30 20:00:29 +00:00
Amine Khaldi c95a650a7e [FREELDR]
* Fix MSVC x64 build.

svn path=/trunk/; revision=61891
2014-01-30 19:05:54 +00:00
James Tabor b2107235fb [NtUser] - Remove unnecessary UINT size checks see CORE-7825. Patch by: Lee Schroeder.
svn path=/trunk/; revision=61889
2014-01-30 17:36:30 +00:00
Eric Kohl 05dbef656f [MSGINA]
Create a connection to the LSA upon initialization and use it to change passwords. Logon will use the connection later.

svn path=/trunk/; revision=61888
2014-01-29 21:54:49 +00:00
Christoph von Wittich b32e20f0c1 [crt]
fix error handling (use _dosmaperr)

svn path=/trunk/; revision=61887
2014-01-29 21:49:44 +00:00
Thomas Faber dee3cd18d3 [LAUTUS.MSSTYLES]
- Update to latest version by Pisarz

svn path=/trunk/; revision=61886
2014-01-29 21:46:55 +00:00
Christoph von Wittich ab7ef6db66 [crt]
partial sync of file.c with wine 1.7.11

svn path=/trunk/; revision=61885
2014-01-29 20:11:11 +00:00
Jérôme Gardou ac3145e072 [WIN32K]
- Formatting, no code change.

svn path=/trunk/; revision=61884
2014-01-29 19:09:15 +00:00
Jérôme Gardou e2be2729b0 [WIN32K]
- Implement GDIOBJ_TryLockObject and used it for DRIVEROBJs
 - Fix EngUnlockDriverObj

svn path=/trunk/; revision=61883
2014-01-29 18:32:14 +00:00