Commit Graph
53772 Commits
Author SHA1 Message Date
Aleksandar Andrejevic 7befc34a4f [NTOSKRNL]
Fix NtQueryTimerResolution and NtSetTimerResolution to work in kernel mode.


svn path=/branches/ntvdm/; revision=59305
2013-06-23 08:44:46 +00:00
Aleksandar Andrejevic 4ffafc388d [NTVDM]
Implement NtQueryTimerResolution.


svn path=/branches/ntvdm/; revision=59300
2013-06-23 00:56:38 +00:00
Aleksandar Andrejevic 355faf5706 [NTOSKRNL]
Implement NtSetTimerResolution.


svn path=/branches/ntvdm/; revision=59299
2013-06-23 00:47:47 +00:00
Aleksandar Andrejevic e7ce79fc05 [NTVDM]
Perform multiple CPU instructions in one emulator cycle.


svn path=/branches/ntvdm/; revision=59298
2013-06-23 00:20:24 +00:00
Aleksandar Andrejevic 030a935096 [NTVDM]
Remove whitespace from empty lines.


svn path=/branches/ntvdm/; revision=59296
2013-06-23 00:11:45 +00:00
Hermès Bélusca-Maïto 2bd695b42e [NTVDM]
Use correctly NDEBUG, and use ReactOS macro: ASSERT, instead of the assert() CRT function.

svn path=/branches/ntvdm/; revision=59280
2013-06-22 01:48:28 +00:00
Aleksandar Andrejevic 6a3d90cf53 [NTVDM]
Improve keyboard IRQ performance.
Add debug output to measure number of instructions per second.


svn path=/branches/ntvdm/; revision=59279
2013-06-22 01:41:51 +00:00
Aleksandar Andrejevic b040791380 [NTVDM]
Use local time instead of system time for the clock.
Implement the "set system date" and "set system time" DOS functions.


svn path=/branches/ntvdm/; revision=59277
2013-06-21 22:14:07 +00:00
Aleksandar Andrejevic fe6988cbdd [NTVDM]
Implement the keyboard IRQ.


svn path=/branches/ntvdm/; revision=59276
2013-06-21 21:25:01 +00:00
Aleksandar Andrejevic f3aa7c7145 [NTVDM]
Change the PIT code to use only one thread, to avoid race conditions.
Implement PIT counter reading and latch command.


svn path=/branches/ntvdm/; revision=59273
2013-06-21 13:55:31 +00:00
Aleksandar Andrejevic 03b2c06c97 [NTVDM]
Fix the PIC IRQ code. Interrupt requests only occur when no higher-priority IRQ is busy.


svn path=/branches/ntvdm/; revision=59272
2013-06-21 01:44:56 +00:00
Aleksandar Andrejevic da877e495e [NTVDM]
Implement Programmable Interval Timer (PIT) emulation. Fix bugs in interrupts and PIC emulation.


svn path=/branches/ntvdm/; revision=59271
2013-06-21 00:47:07 +00:00
Aleksandar Andrejevic 7765319949 [NTVDM]
Make sure bit 2 in the ISR of the master PIC is set when an IRQ in the slave PIC occurs.


svn path=/branches/ntvdm/; revision=59269
2013-06-20 19:43:29 +00:00
Aleksandar Andrejevic b44c5d3a6f [NTVDM]
Implement 8259 Programmable Interrupt Controller emulation.


svn path=/branches/ntvdm/; revision=59268
2013-06-20 19:00:07 +00:00
Aleksandar Andrejevic c1bb00076e [NTVDM]
Implement the "get system time" and "get system date" functions in the virtual DOS kernel.


svn path=/branches/ntvdm/; revision=59264
2013-06-20 02:10:42 +00:00
Aleksandar Andrejevic 6c73fd8066 [SOFTX86]
Fix warnings in softx87 (the FPU emulator).


svn path=/branches/ntvdm/; revision=59262
2013-06-19 23:12:54 +00:00
Aleksandar Andrejevic cde3f9547b [NTVDM]
Implement up/down scrolling function in interrupt 0x10.


svn path=/branches/ntvdm/; revision=59261
2013-06-19 22:53:16 +00:00
Aleksandar Andrejevic f7714ef9c1 [SOFTX86]
Fix warnings in softx86.


svn path=/branches/ntvdm/; revision=59260
2013-06-19 21:13:43 +00:00
Hermès Bélusca-Maïto f1e0b70d39 [NTVDM]
Start of an implementation of a software DOS emulator.
Brought to you by Aleksandar Andrejevic. Good luck ;)

Remove the old language files. They will be recreated when the time comes.

svn path=/branches/ntvdm/; revision=59249
2013-06-17 00:00:36 +00:00
Hermès Bélusca-Maïto dfd4fed945 [SOFTX86]
Fix some bugs of softx86, see CORE-7250 for more information.
All diffs from the original softx86 code should also be put in softx86_ros.diff.

svn path=/branches/ntvdm/; revision=59248
2013-06-16 23:54:30 +00:00
Hermès Bélusca-Maïto c8317ea346 Integrate softx86-v0.00.0033 library.
Allow compilation warnings (the downsides are that it generates LOTS of warnings...)

svn path=/branches/ntvdm/; revision=59247
2013-06-16 23:33:04 +00:00
Hermès Bélusca-Maïto 4f0b8d3db0 Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
2013-06-16 22:01:41 +00:00
Hermès Bélusca-Maïto 3e3200acef [KERNEL32]
- Change the argument types of both GetConsoleFontInfo() and SetConsoleFont() to be more complete. This research is based off of the examining of source code from the jockx-the-game project (licensed under a BSD license). Specifically, the files containing the functions are in both ConsoleFont.cpp and ConsoleFont.h:
  * http://code.google.com/p/jockx-the-game/source/browse/DamageCalc/ConsoleFont.cpp?r=a8ee04a8a8156de58754c4190f48435c32cfefaf
  * http://code.google.com/p/jockx-the-game/source/browse/DamageCalc/ConsoleFont.h?r=a8ee04a8a8156de58754c4190f48435c32cfefaf
- Since the code for jockx-the-game used a 0 for the boolean argument for GetConsoleFontInfo() in ConsoleFont.cpp, the patch creator currently doesn't know what the argument does exactly.
  **NOTE**: Using http://pages.videotron.com/lyra/PowerBASIC/ConsoleFont.html too, the patch committer (hbelusca) was able to deduce that the boolean has the same meaning as the bMaximumWindow parameter of the GetCurrentConsoleFont function (http://msdn.microsoft.com/en-us/library/windows/desktop/ms683176(v=vs.85).aspx).

Patch by Lee Schroeder, modified by me as explained above.
CORE-7015 #resolve #comment Committed in revision r, thanks :)

Extras:
- Fix the return type of GetCurrentConsoleFont
- Add both GetConsoleFontSize and GetCurrentConsoleFont prototypes (documented) to wincon.h

svn path=/trunk/; revision=59240
2013-06-16 21:35:18 +00:00
Eric Kohl 97cd0c3833 [USRMGR]
Enable the calls to NetUserSetInfo. We are now able to change user properties.

svn path=/trunk/; revision=59239
2013-06-16 21:26:04 +00:00
Daniel Reimer bfe3f61696 logical 'and' applied to non-boolean constant
Reviewed by Thomas Faber and asked for commit, so blame him!
CORE-7207 #resolve #comment Fixed!

svn path=/trunk/; revision=59238
2013-06-16 20:37:04 +00:00
Eric Kohl 179b2acb7d [NETAPI32]
- BuildUserInfoBuffer: return password age
- SetUserInfo: set account control flags and implement level 1008

svn path=/trunk/; revision=59237
2013-06-16 20:07:29 +00:00
Amine Khaldi 692a6854bd [MESA32]
* Silence warnings.

svn path=/trunk/; revision=59236
2013-06-16 19:13:50 +00:00
Amine Khaldi 862eb61397 [FREETYPE]
* Silence the unused-but-set warnings. Dedicated to Thomas Faber.

svn path=/trunk/; revision=59235
2013-06-16 17:42:42 +00:00
Hermès Bélusca-Maïto aa910aeae4 [KERNEL32]
- Simplify initialization of CONSOLE_START_INFO objects by also initializing their AppPath member in InitConsoleInfo.
- Add two members IconPath and IconIndex in the CONSOLE_START_INFO structure, to be used in a future work...

[HEADERS]
- CHAR_INFO* == PCHAR_INFO
- Add two informative comments for two fields of the CONSOLE_READOUTPUT structure (again, to be used in a future work...)

svn path=/trunk/; revision=59234
2013-06-16 17:16:33 +00:00
Eric Kohl d00ff48b65 [LSASRV]
Fix uninitialized variable.
CORE-7303 #resolve #comment Fixed!

svn path=/trunk/; revision=59233
2013-06-16 16:24:45 +00:00
Amine Khaldi 9190ce5a77 [LOCALSPL_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59232
2013-06-16 14:36:02 +00:00
Amine Khaldi 86fb632442 [LOCALSPL]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59231
2013-06-16 14:35:12 +00:00
Amine Khaldi a2949de657 [FONTVIEW]
* Restructure Display_OnPrint to eliminate allocating an unused variable and plug a leak.

svn path=/trunk/; revision=59230
2013-06-16 12:43:35 +00:00
Eric Kohl 78a3d923b6 [NTFS]
Fix indentation and coding style. No code changes!!!

svn path=/trunk/; revision=59229
2013-06-16 12:15:06 +00:00
Amine Khaldi 67115c45ed [QMGRPRXY]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59228
2013-06-16 11:11:48 +00:00
Amine Khaldi 1155b43932 [QMGR_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59227
2013-06-16 11:10:56 +00:00
Amine Khaldi 1794f4166f [QMGR]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59226
2013-06-16 11:10:20 +00:00
Amine Khaldi 2f922be30b [ATACTL]
* Add version information. By Lee Schroeder.
CR-16 CORE-6822

svn path=/trunk/; revision=59225
2013-06-16 10:58:55 +00:00
Johannes Anderwald 2146622d0f [VIDEOPRT]
- Check if there is a dma adapter
CORE-7181 #comment please retest

svn path=/trunk/; revision=59224
2013-06-16 09:17:29 +00:00
Eric Kohl a08cf1e057 [NETAPI32]
- NetUserEnum, NetUserGetInfo: Query UserAllInformation instead of UserAccountInformation.
- BuildUserInfoBuffer: Return more information to the caller (UserComment, Parameters, UnitsPerWeek, LogonHours and LogonServer).
- FreeUserInfo: Free additional strings.

svn path=/trunk/; revision=59223
2013-06-15 22:22:15 +00:00
Eric Kohl f3c35e6177 [NETAPI32]
- SetUserInfo: Implement level 2, 1003, 1006, 1007, 1009, 1011, 1012, 1013, 1014, 1052 and 1053.
- SetUserInfo: Ignore NULL-Strings.
- NetUserSetInfo: Enable implemented level.

svn path=/trunk/; revision=59222
2013-06-15 19:15:36 +00:00
Amine Khaldi 3d0929403b [DBGHELP]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59221
2013-06-15 11:57:55 +00:00
Johannes Anderwald ca1b982148 [MMSYS]
- Implement audio selection button

svn path=/trunk/; revision=59220
2013-06-15 08:23:21 +00:00
Johannes Anderwald 24b5b19981 [MOUHID]
- Fix build 
[HIDUSB]
- Fix warnings

svn path=/trunk/; revision=59219
2013-06-15 06:34:38 +00:00
Johannes Anderwald 32a23aa9ab [HID]
- Fix function signatures
- Fix build

svn path=/trunk/; revision=59218
2013-06-15 06:24:03 +00:00
Johannes Anderwald 042a365171 [HIDPARSER, HIDPARSE, INCLUDE]
- Fix function signatures
CORE-7183 #comment fixed #resolve

svn path=/trunk/; revision=59217
2013-06-15 06:18:02 +00:00
Eric Kohl d51f1d5cd8 [USRMGR]
Enable call to NetUserSetInfo. Now we can rename user accounts. 

svn path=/trunk/; revision=59216
2013-06-14 23:19:24 +00:00
Eric Kohl 939098c7f7 [NETAPI32]
- Implement NetUserSetInfo (levels 0, 1 and 3 only).
- Add level 0 support to SetUserInfo.

svn path=/trunk/; revision=59215
2013-06-14 22:31:38 +00:00
Eric Kohl 11b09b882b [SYSDM]
Fix a typo that was found by cppcheck.

svn path=/trunk/; revision=59214
2013-06-14 16:12:15 +00:00
Sylvain Petreolle e0a991fc7e [DEVMGR]
Fix exceptions occuring because of missing parameters.

svn path=/trunk/; revision=59213
2013-06-14 09:11:25 +00:00