Commit graph

61982 commits

Author SHA1 Message Date
Aleksandar Andrejevic d28f0fd901 [FAST486]
Don't forget to check for gates in 16-bit protected mode too.


svn path=/trunk/; revision=67596
2015-05-08 01:34:18 +00:00
Hermès Bélusca-Maïto 1522bf4fc0 [NTVDM]
- Move some interrupt initialization where it belongs and activate few other ones.
- Initialize interruct vector for INT 2Ah (Network check) because some apps directly call it and crash if it contains NULL.

svn path=/trunk/; revision=67595
2015-05-07 23:54:47 +00:00
Hermès Bélusca-Maïto 226f484ce6 [NTVDM]: Initialize only the interrupt vectors that we really need, and nothing else. I also include a (by default disabled) option that activates extended debug features that may break some DOS apps (for example, initializing ALL of the non-handled interrupts to a default vector), to be used at your own risk.
svn path=/trunk/; revision=67594
2015-05-07 23:11:32 +00:00
Aleksandar Andrejevic e37ae6f6bd [FAST486]
Support legacy (286) Task State Segments in Fast486InterruptInternal and Fast486CallGate.


svn path=/trunk/; revision=67593
2015-05-07 13:38:29 +00:00
Aleksandar Andrejevic 26ba3ae4f6 [FAST486]
The NULL selector is valid in the LDT.


svn path=/trunk/; revision=67592
2015-05-07 12:18:41 +00:00
Aleksandar Andrejevic dfb9b0ea42 [FAST486]
Add support for legacy (286) Task State Segments.


svn path=/trunk/; revision=67591
2015-05-07 03:22:18 +00:00
Hermès Bélusca-Maïto a3c2a76a7e [NTVDM]: Update the console title only in non-standalone mode.
svn path=/trunk/; revision=67590
2015-05-07 01:44:29 +00:00
Hermès Bélusca-Maïto dcfe21b3c1 [NTVDM]
- Improvement/Usability: when a DOS app is started in a separate console, print its full path as it's done in Windows.
- Stubplement a LoadGlobalSettings function for NTVDM so that it will be able to grab user settings from the registry.
- Move DOS-only related variables AcceptCommands, CommandThread and SessionId to where they belong. I will rework ConsoleCtrlHandler to make it more elegant in the future (DOS-agnostic).
- Remove the useless ENTER-key-up hack.

svn path=/trunk/; revision=67589
2015-05-07 01:23:33 +00:00
Aleksandar Andrejevic 194530e567 [NTVDM]
Fix the previous fix.


svn path=/trunk/; revision=67588
2015-05-07 00:53:47 +00:00
Aleksandar Andrejevic 17fd1cc052 [NTVDM]
Fix the calculation of the executable's base size.


svn path=/trunk/; revision=67587
2015-05-07 00:36:14 +00:00
Aleksandar Andrejevic 6dede8eba6 [NTVDM]
... and don't forget to set AH to the error code.


svn path=/trunk/; revision=67586
2015-05-06 23:13:55 +00:00
Aleksandar Andrejevic 93e6fa1b01 [NTVDM]
Implement EMS function AH = 59h (Get Expanded Memory Hardware Information).


svn path=/trunk/; revision=67585
2015-05-06 23:06:28 +00:00
Aleksandar Andrejevic f619a2d270 [NTVDM]
- INT 21h AH = 0Ah: don't increment the count for a backspace.
- Fix the EMS version number.


svn path=/trunk/; revision=67584
2015-05-06 22:41:22 +00:00
David Quintana f6f2e8dbac [EXPLORER]
Remove notification icons when their attached HWND is no longer valid. Patch by Joachim Henze (reactosfanboy), with some extra newlines by me.
CORE-9537 #resolve

svn path=/trunk/; revision=67583
2015-05-06 22:13:06 +00:00
Hermès Bélusca-Maïto 9e03420395 [NTVDM]: Move the DosStartProcess dprint inside the function.
svn path=/trunk/; revision=67582
2015-05-06 22:07:16 +00:00
Ged Murphy 3dd1331f2c [ATL]
Add support for assigning CAtlString to WCHAR

svn path=/trunk/; revision=67581
2015-05-06 21:56:24 +00:00
Aleksandar Andrejevic 17047d0b62 [NTVDM]
Try to find the shortened full path in DosLoadExecutable, and use that whenever
possible.


svn path=/trunk/; revision=67580
2015-05-06 21:56:15 +00:00
Ged Murphy 41044145e2 [ATL]
Add skeleton support for CAtlStringW

svn path=/trunk/; revision=67579
2015-05-06 21:31:40 +00:00
Aleksandar Andrejevic df3b279994 [NTVDM]
The DOS CON driver shouldn't return DOS_DEVSTAT_BUSY while an extended
character can be read.


svn path=/trunk/; revision=67578
2015-05-06 20:09:38 +00:00
Aleksandar Andrejevic 5f9be9e447 [NTVDM]
Implement EMS functions AH = 47h and AH = 48h (Save/Restore Page Map).


svn path=/trunk/; revision=67574
2015-05-06 03:52:19 +00:00
Aleksandar Andrejevic ea58ec7edb [NTVDM]
Implement EMS function AH = 53h (Get/Set Handle Name).
Some programs expect to find the string "EMMXXXX0" at offset 0x0A in
the segment where the EMS interrupt handler is, so move the interrupt
handler BOP to the private device area of the EMS driver.


svn path=/trunk/; revision=67573
2015-05-06 03:38:41 +00:00
Aleksandar Andrejevic 64dcdf9208 [NTVDM]
Don't set all the bits in the bitmap in XmsAlloc.


svn path=/trunk/; revision=67572
2015-05-06 02:05:01 +00:00
Ged Murphy 3f81100a8b Revert NTAPI changes.
MS uses stdcall by default (/gz), we don't and need to explicitly add this in the headers

svn path=/trunk/; revision=67571
2015-05-05 22:30:50 +00:00
Daniel Reimer 8ad8574f4b [RC] Truncate some too long strings in resources. Some I cant't cut down because of it's language were marked as too long for translators to fix. VMWInst skipped, it should die anyway.
svn path=/trunk/; revision=67570
2015-05-05 21:00:44 +00:00
Aleksandar Andrejevic fbd6184f27 [NTVDM]
Fix INT 16h, AH=01h/11h.


svn path=/trunk/; revision=67569
2015-05-05 20:49:09 +00:00
Timo Kreuzer 066c89edc7 [NTOSKRNL/FREELDR/NDK]
- "equalize" internal arch specific Mm headers
- Move some definitions into more appropriate locations

svn path=/trunk/; revision=67568
2015-05-05 20:36:07 +00:00
Timo Kreuzer e2ae1410f2 [NTOSKRNL]
Clean up some obsolete architecture specific Mm definitions

svn path=/trunk/; revision=67567
2015-05-05 20:35:27 +00:00
Timo Kreuzer 29182af8fc [NTOSKRNL]
Remove unused MmGetPageDirectory.

svn path=/trunk/; revision=67566
2015-05-05 20:35:00 +00:00
Timo Kreuzer 472e68f392 [DDK]
Fix declaration of NdisCopyLookaheadData

svn path=/trunk/; revision=67565
2015-05-05 20:34:34 +00:00
Timo Kreuzer 1112c00ae0 [CPPRT]
Add some symbol aliases for ARM

svn path=/trunk/; revision=67564
2015-05-05 20:14:28 +00:00
Ged Murphy b9c0d08099 [DDK]
Fix the FS filter callback definitions

svn path=/trunk/; revision=67563
2015-05-05 18:54:28 +00:00
Aleksandar Andrejevic 82000b2bed [NTVDM]
Revert r67561. It's incorrect.


svn path=/trunk/; revision=67562
2015-05-05 18:16:56 +00:00
Aleksandar Andrejevic d9c9353901 [NTVDM]
The DOS CON driver should support extended keystrokes.


svn path=/trunk/; revision=67561
2015-05-05 17:56:37 +00:00
Aleksandar Andrejevic 935a593a23 [NTVDM]
Fix the BIOS handling of extended scancodes.


svn path=/trunk/; revision=67560
2015-05-05 17:37:06 +00:00
Daniel Reimer ba0887eb81 [ROSAPPS]
After r67555 regexpl builds fine on MSVC. So reactivate it. Thx goes to ThFabba

svn path=/trunk/; revision=67559
2015-05-05 17:02:28 +00:00
Christoph von Wittich ded00cc5f0 [NTVDM]
addenum to r67557

svn path=/trunk/; revision=67558
2015-05-05 08:11:22 +00:00
Christoph von Wittich 5324112cdb [NTVDM]
don't try to deference an uninitialized Timer

svn path=/trunk/; revision=67557
2015-05-05 08:07:08 +00:00
Aleksandar Andrejevic 4e51a1b77e [NTVDM]
In DosTerminateProcess, McbSegment is the segment of the MCB itself, not the data
it contains.


svn path=/trunk/; revision=67556
2015-05-05 03:52:25 +00:00
Thomas Faber 6e72d71daa [C++]
- Add nothrow versions of new/delete operators
- Add <cassert>
- Fix a TODO and add missing dependency to <exception> header

svn path=/trunk/; revision=67555
2015-05-05 02:44:17 +00:00
Daniel Reimer 72d0938ba9 oooops
svn path=/trunk/; revision=67554
2015-05-05 01:27:21 +00:00
Daniel Reimer 2daf95e450 [ROSAPPS]
Disable regexpl for now because this is a strange MSVC build error...

svn path=/trunk/; revision=67553
2015-05-05 01:25:11 +00:00
Daniel Reimer edcfde0c22 [ROSAPPS]
Add some missing german translations
Add some missing manifests
Improve some resources
Add possibility to build an application with one language

svn path=/trunk/; revision=67552
2015-05-05 01:07:42 +00:00
Aleksandar Andrejevic fc5ec1fbac [NTVDM]
Send 0xE0 before each extended key scancode.


svn path=/trunk/; revision=67551
2015-05-05 00:55:56 +00:00
Daniel Reimer cd87007594 [ROSAPPS]
Fix binpatch and systeminfo MSVC build.

svn path=/trunk/; revision=67550
2015-05-05 00:18:15 +00:00
Hermès Bélusca-Maïto 0048c572a0 [NTVDM]: Add a debug feature to detect which apps erroneously call by themselves the BIOS initialization routine (POST). For whatever reason it is what MSD version 2 and above does.
svn path=/trunk/; revision=67549
2015-05-05 00:11:43 +00:00
Daniel Reimer 26aa5486a1 [ROSAPPS]
Fix symdump, ncftp and netreg MSVC build.

svn path=/trunk/; revision=67548
2015-05-04 23:08:17 +00:00
Aleksandar Andrejevic 772a8d3918 [FAST486]
The parameter count is not pushed onto the stack for call gates.


svn path=/trunk/; revision=67547
2015-05-04 22:16:20 +00:00
Hermès Bélusca-Maïto 048d0522f4 [USETUP]: Instead of defining a special function "DrawInputField" just to draw an input field for entering the partition size number, just use the already existing CONSOLE_SetInputTextXY function (and adapt the calling code because the string buffer for the SetInputTextXY function wants a unicode string). We now have a consistent input UI for usetup.
CORE-9453 #resolve #comment I committed a more elegant solution to this problem.

svn path=/trunk/; revision=67546
2015-05-04 20:50:51 +00:00
Aleksandar Andrejevic ac4f5ac401 [FAST486]
- Implement call gates.
- Fix Fast486InterruptInternal and get rid of ugly hacks.
- Fix IRET (CS loaded too early).
- Add a structure definition for the 16-bit TSS (not supported yet).


svn path=/trunk/; revision=67545
2015-05-04 19:14:23 +00:00
Aleksandar Andrejevic 866f04e377 [NTVDM]
Implement VGA read mode 1.


svn path=/trunk/; revision=67541
2015-05-03 22:02:41 +00:00