reactos.git
10 years agoFix a compilation error.
Hermès Bélusca-Maïto [Tue, 17 Sep 2013 23:10:26 +0000 (23:10 +0000)]
Fix a compilation error.

svn path=/branches/ntvdm/; revision=60194

10 years ago[SOFT386]
Hermès Bélusca-Maïto [Tue, 17 Sep 2013 23:02:22 +0000 (23:02 +0000)]
[SOFT386]
- Put inlined functions in a .inl file, which gets included by the corresponding header file (i.e. fix MSVC builds).
- Use enums types instead of "only" INTs...

svn path=/branches/ntvdm/; revision=60193

10 years ago[SOFT386]
Hermès Bélusca-Maïto [Tue, 17 Sep 2013 21:47:38 +0000 (21:47 +0000)]
[SOFT386]
- Code formatting (align on 4-space)
- Fix union / struct problem in _SOFT386_PAGE_TABLE.

svn path=/branches/ntvdm/; revision=60189

10 years agoAdd a fictitious (commented) field to help the reader to know that indeed, the high...
Hermès Bélusca-Maïto [Tue, 17 Sep 2013 21:27:29 +0000 (21:27 +0000)]
Add a fictitious (commented) field to help the reader to know that indeed, the high bits are indeed reserved.

svn path=/branches/ntvdm/; revision=60188

10 years ago[SOFT386]
Aleksandar Andrejevic [Tue, 17 Sep 2013 21:15:52 +0000 (21:15 +0000)]
[SOFT386]
Fix hypothetical bug.

svn path=/branches/ntvdm/; revision=60187

10 years ago[SOFT386]
Aleksandar Andrejevic [Tue, 17 Sep 2013 20:57:35 +0000 (20:57 +0000)]
[SOFT386]
Fix struct/union mixup.

svn path=/branches/ntvdm/; revision=60186

10 years ago[SOFT386]: Fix compilation with MSVC.
Hermès Bélusca-Maïto [Tue, 17 Sep 2013 20:41:26 +0000 (20:41 +0000)]
[SOFT386]: Fix compilation with MSVC.

svn path=/branches/ntvdm/; revision=60185

10 years ago[SOFT386]
Aleksandar Andrejevic [Tue, 17 Sep 2013 20:28:26 +0000 (20:28 +0000)]
[SOFT386]
Implement Soft386OpcodeTestAl and Soft386OpcodeTestEax.
These functions were declared and referenced, but never defined.
Why the compiler allowed that without even a warning remains a mystery.

svn path=/branches/ntvdm/; revision=60183

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 15 Sep 2013 18:26:25 +0000 (18:26 +0000)]
[SOFT386]
Implement the direct relative near call (CALL rel16/32) instruction.

svn path=/branches/ntvdm/; revision=60147

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 15 Sep 2013 18:18:58 +0000 (18:18 +0000)]
[SOFT386]
Implement JMP rel16/32

svn path=/branches/ntvdm/; revision=60146

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 15 Sep 2013 18:02:41 +0000 (18:02 +0000)]
[SOFT386]
Implement LAHF, SAHF, LEA and PUSH imm16/32

svn path=/branches/ntvdm/; revision=60144

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 15 Sep 2013 15:30:55 +0000 (15:30 +0000)]
[SOFT386]
Implement MOV (mod-reg-r/m).

svn path=/branches/ntvdm/; revision=60136

10 years ago[SOFT386]
Aleksandar Andrejevic [Fri, 13 Sep 2013 23:01:18 +0000 (23:01 +0000)]
[SOFT386]
Start implementing paging support.
Add support for exception error codes.

svn path=/branches/ntvdm/; revision=60089

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 12 Sep 2013 00:05:23 +0000 (00:05 +0000)]
[SOFT386]
Implement ARPL.

svn path=/branches/ntvdm/; revision=60050

10 years ago[SOFT386]
Aleksandar Andrejevic [Wed, 11 Sep 2013 23:31:35 +0000 (23:31 +0000)]
[SOFT386]
Implement PUSHA and POPA.

svn path=/branches/ntvdm/; revision=60049

10 years ago[SOFT386]
Aleksandar Andrejevic [Tue, 10 Sep 2013 20:41:43 +0000 (20:41 +0000)]
[SOFT386]
Implement many instructions (including ADC, SUB, CDQ, CWDE, ...), and "stubplement" even more of them.

svn path=/branches/ntvdm/; revision=60011

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 5 Sep 2013 23:50:42 +0000 (23:50 +0000)]
[SOFT386]
Add the instructions implemented in the previous commit to the opcode table.

svn path=/branches/ntvdm/; revision=59995

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 5 Sep 2013 23:48:07 +0000 (23:48 +0000)]
[SOFT386]
Implement the TEST instruction, and the XCHG instruction which uses MOD-REG-R/M for operands.

svn path=/branches/ntvdm/; revision=59994

10 years ago[SOFT386]: Fix build (addendum to revision 59990).
Hermès Bélusca-Maïto [Wed, 4 Sep 2013 20:40:43 +0000 (20:40 +0000)]
[SOFT386]: Fix build (addendum to revision 59990).

svn path=/branches/ntvdm/; revision=59993

10 years ago[SOFT386]
Aleksandar Andrejevic [Wed, 4 Sep 2013 18:28:58 +0000 (18:28 +0000)]
[SOFT386]
Implement the OR, AND and XOR instructions.

svn path=/branches/ntvdm/; revision=59991

10 years ago[SOFT386]
Aleksandar Andrejevic [Wed, 4 Sep 2013 16:36:39 +0000 (16:36 +0000)]
[SOFT386]
Fix a typo.
Use a macro (SOFT386_OPCODE_HANDLER) for function definitions of opcode handlers.
Implement the rest of the ADD opcodes.

svn path=/branches/ntvdm/; revision=59990

10 years ago[SOFT386]
Aleksandar Andrejevic [Wed, 4 Sep 2013 01:11:12 +0000 (01:11 +0000)]
[SOFT386]
Implement helper functions for reading/writing operands of instructions that use
the MOD-REG-R/M byte.
Implement the MOD-REG-R/M ADD instruction for bytes.

svn path=/branches/ntvdm/; revision=59981

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 1 Sep 2013 23:49:57 +0000 (23:49 +0000)]
[SOFT386]
Implement "MOD-REG-R/M" byte decoding.

svn path=/branches/ntvdm/; revision=59959

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 1 Sep 2013 17:54:51 +0000 (17:54 +0000)]
[SOFT386]
Implement the "MOV reg8, imm8" instruction.

svn path=/branches/ntvdm/; revision=59952

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 1 Sep 2013 16:19:29 +0000 (16:19 +0000)]
[SOFT386]
Implement the opcodes for MOV reg16/32, imm16/32

svn path=/branches/ntvdm/; revision=59949

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 31 Aug 2013 21:23:31 +0000 (21:23 +0000)]
[SOFT386]
Implement the short unconditional jump instruction (JMP imm8).

svn path=/branches/ntvdm/; revision=59932

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 31 Aug 2013 19:26:13 +0000 (19:26 +0000)]
[SOFT386]
Increment the TSC on every instruction cycle.

svn path=/branches/ntvdm/; revision=59931

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 31 Aug 2013 19:18:12 +0000 (19:18 +0000)]
[SOFT386]
Fix the "persistant prefix" bug.
Fix the conditional jump bug.
Implement Soft386ExecuteAt.
[NTVDM]
Add Soft386 support to ntvdm.

svn path=/branches/ntvdm/; revision=59929

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 31 Aug 2013 02:13:58 +0000 (02:13 +0000)]
[SOFT386]
Implement port I/O instructions.

svn path=/branches/ntvdm/; revision=59911

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 29 Aug 2013 22:18:28 +0000 (22:18 +0000)]
[SOFT386]
Implement CMC instruction.

svn path=/branches/ntvdm/; revision=59892

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 29 Aug 2013 22:11:33 +0000 (22:11 +0000)]
[SOFT386]
Add Soft386OpcodeHalt to the opcode table.

svn path=/branches/ntvdm/; revision=59891

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 29 Aug 2013 22:07:53 +0000 (22:07 +0000)]
[SOFT386]
Add checks for illegal prefixes.
Implement HLT and PAUSE.

svn path=/branches/ntvdm/; revision=59890

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 29 Aug 2013 17:48:32 +0000 (17:48 +0000)]
[SOFT386]
Implement the CLC, STC, CLI, STI, CLD and STD instructions.

svn path=/branches/ntvdm/; revision=59876

10 years ago[SOFT386]
Aleksandar Andrejevic [Wed, 28 Aug 2013 17:52:21 +0000 (17:52 +0000)]
[SOFT386]
Implement short conditional jump opcodes.

svn path=/branches/ntvdm/; revision=59856

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 25 Aug 2013 14:53:58 +0000 (14:53 +0000)]
[SOFT386]
Implement the following opcodes:
NOP
XCHG (E)AX, reg16/reg32

svn path=/branches/ntvdm/; revision=59819

10 years ago[SOFT386]
Aleksandar Andrejevic [Sun, 25 Aug 2013 12:17:24 +0000 (12:17 +0000)]
[SOFT386]
Implement the following instructions:
PUSH reg16/reg32
POP reg16/reg32

svn path=/branches/ntvdm/; revision=59816

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 24 Aug 2013 21:32:45 +0000 (21:32 +0000)]
[SOFT386]
Implement the following opcodes:
INC reg16/reg32
DEC reg16/reg32

svn path=/branches/ntvdm/; revision=59814

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 24 Aug 2013 11:48:38 +0000 (11:48 +0000)]
[SOFT386]
Implement prefix support.

svn path=/branches/ntvdm/; revision=59810

10 years ago[SOFT386]
Aleksandar Andrejevic [Thu, 22 Aug 2013 22:54:59 +0000 (22:54 +0000)]
[SOFT386]
Halfplement Soft386ExecutionControl.

svn path=/branches/ntvdm/; revision=59795

10 years agoSynchronize with trunk revision 59781.
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 18:55:28 +0000 (18:55 +0000)]
Synchronize with trunk revision 59781.

svn path=/branches/ntvdm/; revision=59784

10 years ago[SOFT386]
Aleksandar Andrejevic [Mon, 19 Aug 2013 18:52:53 +0000 (18:52 +0000)]
[SOFT386]
Fix minor bug.

svn path=/branches/ntvdm/; revision=59783

10 years ago[SOFT386]
Aleksandar Andrejevic [Mon, 19 Aug 2013 18:23:39 +0000 (18:23 +0000)]
[SOFT386]
Implement instruction fetch functions.
Implement CPU exception system.

svn path=/branches/ntvdm/; revision=59782

10 years agoRename CSR_CONNECTION_INFO and CONSOLE_CONNECTION_INFO to the same way as BASESRV_API...
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 18:14:43 +0000 (18:14 +0000)]
Rename CSR_CONNECTION_INFO and CONSOLE_CONNECTION_INFO to the same way as BASESRV_API_CONNECTINFO

svn path=/trunk/; revision=59781

10 years ago[GLU32]
Aleksey Bragin [Mon, 19 Aug 2013 18:11:47 +0000 (18:11 +0000)]
[GLU32]
- Lee Schroeder: Add version information.

CORE-7392 #resolve #comment Thanks.

svn path=/trunk/; revision=59780

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 17:50:27 +0000 (17:50 +0000)]
[KERNEL32]
Use some existing #define'd constants.

[CSRSRV-BASESRV]
- Add CSR version define (based from BASESRV version define).
- Add missing BASESRV structures, taken from https://code.google.com/p/ontl/source/browse/branches/devel/ntl/nt/csr.hxx (OpenNT Native Template Library).

svn path=/trunk/; revision=59779

10 years ago[SACDRV]: IReadLast returns WCHAR, not CHAR.
Alex Ionescu [Mon, 19 Aug 2013 03:32:39 +0000 (03:32 +0000)]
[SACDRV]: IReadLast returns WCHAR, not CHAR.
[SACDRV]: Implement VtUtf8 case in ChannelInitializeVTable.
[SACDRV]: Implement DoHelpCommand, reformat concmd.c to standards.
[SACDRV]: ConMgrInitialize shoudl setup the SAC channel as VtUtf8, not Raw. I guess it was set to Raw since VtUtf8 wasn't yet implemented, however this breaks the command parsing since it expects WCHAR's. Make a note of this, and temporarily hack ConMgrSerialPortConsumer to work with CHAR's from a Raw channel.
[SACDRV]: Implement ConMgrProcessInputLine, which calls out the appopriate helpers.
[SACDRV]: Fixes to parsing in ConMgrSerialPortConsumer
[SACDRV]: Document, reformat, and fix some of the bugs in the RawChannelI* commands.
[SACDRV]: Implement simple (ANSI) case of SacTranslateUtf8ToUnicode.
[SACDRV]: Implement SacFormatMessage and GetMessageLineCount.
[SACDRV]: Start implementing VT-UTF8 support. Input routines are done, output routines are still WIP.
[SACMSG]: Fix the messages in the .MC file. Stuff is now being output correctly. If using Putty, make sure to turn on "Implicit CR in every LF" in Settings->Terminal.

svn path=/trunk/; revision=59778

10 years ago[SAMSRV]
Eric Kohl [Sun, 18 Aug 2013 21:43:47 +0000 (21:43 +0000)]
[SAMSRV]
Implement the last part of SamrSetInformationUser.UserAllInformation: USER_ALL_PASSWORDEXPIRED.

svn path=/trunk/; revision=59777

10 years ago[NTOSKRNL]
Amine Khaldi [Sun, 18 Aug 2013 21:05:58 +0000 (21:05 +0000)]
[NTOSKRNL]
* Fix a comment typo.
CORE-7393 #resolve #comment Thanks.

svn path=/trunk/; revision=59776

10 years ago[RSYM]
Amine Khaldi [Sun, 18 Aug 2013 20:05:32 +0000 (20:05 +0000)]
[RSYM]
* Add a flag (-s) to pass the source folder. This allows it to set the debug file paths relatively to that source folder. Brought to you by Arty.
[CMAKE]
* Leverage the new rsym flag. The rossym file paths are no longer absolute.

svn path=/trunk/; revision=59775

10 years ago[BASESRV]
Hermès Bélusca-Maïto [Sun, 18 Aug 2013 19:46:22 +0000 (19:46 +0000)]
[BASESRV]
Add vdm.c for Virtual DOS Machines management.

svn path=/trunk/; revision=59774

10 years ago[KDCOM]: Also adhere to new standard.
Alex Ionescu [Sun, 18 Aug 2013 17:51:56 +0000 (17:51 +0000)]
[KDCOM]: Also adhere to new standard.

svn path=/trunk/; revision=59773

10 years ago[CPORTLIB/KDBG/FREELDR]: Fix CpGetByte and its callers -- it takes a 4th parameter...
Alex Ionescu [Sun, 18 Aug 2013 17:47:19 +0000 (17:47 +0000)]
[CPORTLIB/KDBG/FREELDR]: Fix CpGetByte and its callers -- it takes a 4th parameter for polling.
[NTOSKRNL]: Implement InbvPortPollOnly and InbvPortGetByte.
[NTOSKRNL]: Implement HeadlessCmdClearDisplay and HeadlessCmdGetByte.
[SACDRV]: Implement the TimerDpcRoutine which calls HeadlessCmdGetByte. We now consume characters in the EMS port.
[SACDRV]: Implement ConMgrSerialPortConsumer. We now do full VT-100 input parsing. DEL, BS, TAB, SPACE all work. Pressing ENTER results in an ASSERT in ConMgrProcessLine as expected.

svn path=/trunk/; revision=59772

10 years ago[PSDK]
Amine Khaldi [Sun, 18 Aug 2013 14:47:51 +0000 (14:47 +0000)]
[PSDK]
* Annotate msi.h.

svn path=/trunk/; revision=59771

10 years ago[SAMLIB]
Eric Kohl [Sun, 18 Aug 2013 13:26:33 +0000 (13:26 +0000)]
[SAMLIB]
SamSetInformationUser.UserAllInformation: Pass hashed passwords to SamrSetInformationUser.

[SAMSRV]
SampSetUserAll:
- Get fixed user data at the start of the function and set it only if it has been modified.
- Set user password hashes.

svn path=/trunk/; revision=59770

10 years ago[SAMSRV]
Eric Kohl [Sun, 18 Aug 2013 11:33:51 +0000 (11:33 +0000)]
[SAMSRV]
SampSetUserPassword: Fix check for vaild password hashes.

svn path=/trunk/; revision=59769

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 23:51:10 +0000 (23:51 +0000)]
[PSDK]
* Apply some formatting consistency in ks.h.

svn path=/trunk/; revision=59768

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 22:29:40 +0000 (22:29 +0000)]
[PSDK]
* Annotate ks.h.

svn path=/trunk/; revision=59767

10 years ago[SOFT386]
Hermès Bélusca-Maïto [Sat, 17 Aug 2013 21:15:55 +0000 (21:15 +0000)]
[SOFT386]
- In the interface header soft386.h, do not include other particular headers (windows.h and debug.h). Those must be included by the different applications which also will include soft386.h.
- LPVOID --> PVOID (do it general, not just à-la Win32).
- The .c files include the headers, and each .c files must have its "#define NDEBUG\n#include <debug.h>" lines, to activate (or deactivate here in the example) debugging output.
- In the .c files, include the header windef.h for having the basic types, and temporarily comment out the needed #defines which will be needed if one needs to include other win***.h files. Those will be deleted if they aren't needed at the end.

svn path=/branches/ntvdm/; revision=59766

10 years ago[SERVICES]
Hermès Bélusca-Maïto [Sat, 17 Aug 2013 20:07:39 +0000 (20:07 +0000)]
[SERVICES]
Clarify the fact that WaitForSingleObject returns WAIT_OBJECT_0 (which happens to be equal to ERROR_SUCCESS...)

svn path=/trunk/; revision=59765

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 17 Aug 2013 18:44:16 +0000 (18:44 +0000)]
[SOFT386]
Implement Soft386LoadSegment.
[NTVDM]
Fix BiosPrintCharacter (Adapted from a patch by Hermes Belusca-Maito).

svn path=/branches/ntvdm/; revision=59764

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 18:19:52 +0000 (18:19 +0000)]
[PSDK]
* Annotate oledlg.h.

svn path=/trunk/; revision=59763

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 17:20:57 +0000 (17:20 +0000)]
[PSDK]
* Annotate wincon.h.

svn path=/trunk/; revision=59762

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 15:39:59 +0000 (15:39 +0000)]
[PSDK]
* Annotate oleauto.h.

svn path=/trunk/; revision=59761

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 17 Aug 2013 15:20:47 +0000 (15:20 +0000)]
[SOFT386]
Implement Soft386ReadMemory, Soft386WriteMemory, Soft386StackPush and Soft386StackPop.

svn path=/branches/ntvdm/; revision=59760

10 years ago[NETAPI32]
Eric Kohl [Sat, 17 Aug 2013 13:18:02 +0000 (13:18 +0000)]
[NETAPI32]
- NetUserAdd: Open the accounts domain with DOMAIN_READ_PASSWORD_PARAMETERS access. This is needed in order to check whether the password matches the password requirements of the domain.
- Start implementing NetUserGetGroups.

svn path=/trunk/; revision=59759

10 years ago[PSDK]
Amine Khaldi [Sat, 17 Aug 2013 11:20:05 +0000 (11:20 +0000)]
[PSDK]
* Annotate dbghelp.h.

svn path=/trunk/; revision=59758

10 years ago[SOFT386]
Aleksandar Andrejevic [Sat, 17 Aug 2013 01:41:22 +0000 (01:41 +0000)]
[SOFT386]
Add definition for Soft386Interrupt.
Implement Soft386DumpState.

svn path=/branches/ntvdm/; revision=59757

10 years ago[PSDK]
Amine Khaldi [Fri, 16 Aug 2013 22:05:23 +0000 (22:05 +0000)]
[PSDK]
* Annotate objbase.h.

svn path=/trunk/; revision=59756

10 years ago[CRT]
Amine Khaldi [Fri, 16 Aug 2013 21:13:36 +0000 (21:13 +0000)]
[CRT]
* Annotate mbstring_s.h.
* Update _mbsnbcpy_s() annotation in mbstring.h.

svn path=/trunk/; revision=59755

10 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 16 Aug 2013 19:40:02 +0000 (19:40 +0000)]
[NTVDM]
Fix the INT 12h handler to call the correct function (DosOpenFile not DosCreateFile).

svn path=/branches/ntvdm/; revision=59754

10 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 16 Aug 2013 19:33:04 +0000 (19:33 +0000)]
[NTVDM]
Remove the "new emulator" started in emulator.c in favor of Soft386.

svn path=/branches/ntvdm/; revision=59753

10 years ago[SOFT386]
Aleksandar Andrejevic [Fri, 16 Aug 2013 19:21:02 +0000 (19:21 +0000)]
[SOFT386]
Start implementing a new emulator library to provide 386/486 emulation support to NTVDM
and perhaps other components aswell.

svn path=/branches/ntvdm/; revision=59752

10 years ago[NTVDM]
Sylvain Petreolle [Fri, 16 Aug 2013 18:33:24 +0000 (18:33 +0000)]
[NTVDM]
Report VGA card as present.

svn path=/branches/ntvdm/; revision=59751

10 years ago[CRT]
Amine Khaldi [Fri, 16 Aug 2013 14:51:13 +0000 (14:51 +0000)]
[CRT]
* Annotate string_s.h.

svn path=/trunk/; revision=59750

10 years ago[CRT]
Amine Khaldi [Fri, 16 Aug 2013 13:22:42 +0000 (13:22 +0000)]
[CRT]
* Annotate conio_s.h.

svn path=/trunk/; revision=59749

10 years ago[PSDK]
Amine Khaldi [Thu, 15 Aug 2013 21:43:06 +0000 (21:43 +0000)]
[PSDK]
* Annotate shellapi.h.

svn path=/trunk/; revision=59748

10 years ago[SAL]
Amine Khaldi [Thu, 15 Aug 2013 21:11:40 +0000 (21:11 +0000)]
[SAL]
* Add _Post_null_ annotation.

svn path=/trunk/; revision=59747

10 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 15 Aug 2013 21:10:09 +0000 (21:10 +0000)]
[NTVDM]
Do not rely on the internal format for console handles. Instead, use a more reliable way, by checking for success when calling a simple console function acting on in/out console handles.

svn path=/branches/ntvdm/; revision=59746

10 years ago[PSDK]
Amine Khaldi [Thu, 15 Aug 2013 14:32:37 +0000 (14:32 +0000)]
[PSDK]
* Annotate winsock.h.

svn path=/trunk/; revision=59745

10 years ago[SAL]
Amine Khaldi [Thu, 15 Aug 2013 13:57:16 +0000 (13:57 +0000)]
[SAL]
* Add _Inout_updates_to_() annotation.

svn path=/trunk/; revision=59744

10 years ago[PSDK]
Amine Khaldi [Thu, 15 Aug 2013 12:59:02 +0000 (12:59 +0000)]
[PSDK]
* Annotate ws2tcpip.h.

svn path=/trunk/; revision=59743

10 years ago[SAL]
Amine Khaldi [Thu, 15 Aug 2013 11:41:53 +0000 (11:41 +0000)]
[SAL]
* Add _Ret_opt_ and _Ret_opt_valid_ annotations.

svn path=/trunk/; revision=59742

10 years ago[NTVDM]
Aleksandar Andrejevic [Thu, 15 Aug 2013 01:40:50 +0000 (01:40 +0000)]
[NTVDM]
Make the BIOS Data Area accessible to other parts of ntvdm.
Properly redirect read/write access to the console to the keyboard and VGA systems, respectively.

svn path=/branches/ntvdm/; revision=59741

10 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 Aug 2013 23:28:45 +0000 (23:28 +0000)]
[NTVDM]
Fix bug in DosTerminateProcess.

svn path=/branches/ntvdm/; revision=59740

10 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 Aug 2013 21:55:50 +0000 (21:55 +0000)]
[NTVDM]
Fix VGA interleaved mode.

svn path=/branches/ntvdm/; revision=59739

10 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 Aug 2013 17:17:43 +0000 (17:17 +0000)]
[NTVDM]
Fix 16 color modes.
Implement 4-bit interleaved shift mode.

svn path=/branches/ntvdm/; revision=59738

10 years ago[PSDK]
Amine Khaldi [Wed, 14 Aug 2013 16:17:16 +0000 (16:17 +0000)]
[PSDK]
* Annotate ws2spi.h.

svn path=/trunk/; revision=59737

10 years ago[RTL]
Aleksey Bragin [Wed, 14 Aug 2013 14:08:40 +0000 (14:08 +0000)]
[RTL]
- Improve debug messages to include failure status.

svn path=/trunk/; revision=59736

10 years ago[PSDK]
Amine Khaldi [Wed, 14 Aug 2013 13:23:37 +0000 (13:23 +0000)]
[PSDK]
* Annotate cfgmgr32.h.

svn path=/trunk/; revision=59735

10 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 Aug 2013 12:25:43 +0000 (12:25 +0000)]
[NTVDM]
Use the correct values for AC registers.

svn path=/branches/ntvdm/; revision=59734

10 years ago[WIN32K]
Aleksey Bragin [Wed, 14 Aug 2013 11:02:08 +0000 (11:02 +0000)]
[WIN32K]
- Do not use a internal section object structure type, it's just not necessary and win32k should not ever need to access its fields directly.

svn path=/trunk/; revision=59733

10 years ago[SACDRV]: fix a bug in ChannelReferenceToOneByIndexwithLock and ChanMgrCreateChannel.
Alex Ionescu [Wed, 14 Aug 2013 04:20:17 +0000 (04:20 +0000)]
[SACDRV]: fix a bug in ChannelReferenceToOneByIndexwithLock and ChanMgrCreateChannel.
[SACDRV]: implement SacTranslateUnicodeToUtf8.
[NTOSKRNL]: implement HadlessCmdPutData.
EMS bringup is now functional:
"
Computer is booting, SAC started and initialized.\n\nUse the \"ch -?\" command for information about using channels.\nUse the \"?\" command for general help.

             SAC>%0
"

svn path=/trunk/; revision=59732

10 years ago[SAL]
Amine Khaldi [Tue, 13 Aug 2013 21:21:08 +0000 (21:21 +0000)]
[SAL]
* Add _Ret_writes_maybenull_z_ annotation.

svn path=/trunk/; revision=59731

10 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 13 Aug 2013 20:15:24 +0000 (20:15 +0000)]
[NTVDM]
Simplify the code

svn path=/branches/ntvdm/; revision=59730

10 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 13 Aug 2013 19:00:02 +0000 (19:00 +0000)]
[NTVDM]
Fix bug with VGA DAC register access.

svn path=/branches/ntvdm/; revision=59729

10 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 13 Aug 2013 18:41:35 +0000 (18:41 +0000)]
[NTVDM]
Fix VGA register constants.

svn path=/branches/ntvdm/; revision=59728

10 years ago[PSDK]
Amine Khaldi [Tue, 13 Aug 2013 18:23:10 +0000 (18:23 +0000)]
[PSDK]
* Update oleauto.h.

svn path=/trunk/; revision=59727

10 years ago[PSDK]
Amine Khaldi [Tue, 13 Aug 2013 18:09:50 +0000 (18:09 +0000)]
[PSDK]
* Annotate commctrl.h.

svn path=/trunk/; revision=59726

10 years ago[SOFTX86]
Aleksandar Andrejevic [Tue, 13 Aug 2013 17:06:15 +0000 (17:06 +0000)]
[SOFTX86]
Fix carry/overflow flag computation for ADD instructions.

svn path=/branches/ntvdm/; revision=59725

10 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 13 Aug 2013 16:49:54 +0000 (16:49 +0000)]
[NTVDM]
- Add new BIOS video modes (obtained from DosBox with the help of Aleksander)
- Remove an unneeded comment.

svn path=/branches/ntvdm/; revision=59724