Commit graph

1662 commits

Author SHA1 Message Date
blah38621_cp
dcd685a90f More from Gendarme. Cosmos.VS.Package's AssemblyVersion attribute didn't match it's AssemblyFileVersion, they now match. Sealed a few non-inherited attributes. Also made private field actually used as was intended. 2011-10-23 00:15:19 +00:00
blah38621_cp
8f1d4c09fb Another from Gendarme, All attribute constructor arguments should be accessible via a read-only property. 2011-10-22 23:50:16 +00:00
blah38621_cp
1b922726f0 The first of a series of commits as I work my way down the list of things Gendarme found wrong. (a large amount is likely to be skipped, as gendarme found 13k potential issues.)
This one makes sure that constructors for abstract classes are protected, not public, as the constructor can only be called by child classes.
2011-10-22 23:19:51 +00:00
blah38621_cp
362cd25d80 I somehow failed to remove a Console.WriteLine directive from when I was debugging the System.Math plug. That directive is now removed. 2011-10-22 22:51:20 +00:00
blah38621_cp
f641c6c60b Fixed an issue in Dup which would have caused issues if we modified the object itself. Also made Ldsfld push the type of the field rather than null. 2011-10-22 22:49:36 +00:00
HKS_cp
421544d8cb Masked PIT again - Now only keyboard and PS2 is unmasked 2011-10-18 10:34:17 +00:00
HKS_cp
19249be675 Added PIT to interrupt 2011-10-18 09:16:45 +00:00
blah38621_cp
82e127acde Conv_* (unchecked), The 1&2 sized stack object exceptions weren't being very helpful. They now are. 2011-10-17 22:31:43 +00:00
blah38621_cp
bd2c82a292 The plug needed exception now also provides a trace of what method caused it to be added to the stack for processing. (Changes provided by sebdg) 2011-10-14 20:09:36 +00:00
blah38621_cp
ab2a8ab438 Added the COM IOGroup, to allow a basic Logger implementation that logs to a Com port. Also added a TestRunner project, which currently includes tests for the logger itself, and tests for the comparison operators for byte, sbyte, ushort, short, uint, int, ulong, long, float, and double. 2011-10-09 21:52:05 +00:00
blah38621_cp
6a36c7c3b8 Reverted the changes from my attempt to multi-thread IL2CPU. 2011-10-08 14:48:48 +00:00
blah38621_cp
606e309051 2011-10-08 01:42:17 +00:00
blah38621_cp
ee6d1622f1 2011-10-08 00:43:54 +00:00
blah38621_cp
fab78c5e2c 2011-10-08 00:42:51 +00:00
blah38621_cp
ad33893587 2011-10-08 00:30:08 +00:00
blah38621_cp
540ba18ddb 2011-10-08 00:28:05 +00:00
blah38621_cp
0375b13a2f 2011-10-08 00:23:20 +00:00
blah38621_cp
2f817d0bc2 2011-10-08 00:07:37 +00:00
blah38621_cp
a7b96e304d 2011-10-08 00:03:34 +00:00
blah38621_cp
b1f7c58a6b Made IL2CPU's scanning multi-threaded, as well as it's plug scanning. Also made the exceptions that a few instructions throw much easier to locate which file they are being thrown from. 2011-10-07 23:42:19 +00:00
blah38621_cp
57488c4dda Implemented the String(char,int32) constructor as supplied by Sebastien De Greef. 2011-10-06 21:38:02 +00:00
blah38621_cp
71464309ed Removed the plugs for the PadLeft and PadRight methods, which shouldn't have been created in the first place as PadHelper was already plugged. 2011-10-06 20:54:14 +00:00
Trivalik_cp
c54cb3bdd2 remove unneeded decimal part in float/double ToString() for example 0.0 -> 0 ; 3.0 -> 3 2011-10-06 19:57:10 +00:00
blah38621_cp
2ec9169194 Fixed a small issue in DeviceClass's GetString Method, it was comparing a 16-bit string literal against a 32-bit string literal, and as such would never return the correct value. 2011-10-05 23:42:09 +00:00
mterwoord_cp
d2d833727f 2011-10-03 16:16:25 +00:00
blah38621_cp
470b77a5b4 Added double->float support to Conv_R4, also made Conv_I a pointer to Conv_I4, and made Conv_U a pointer to Conv_U4. 2011-10-02 00:39:17 +00:00
blah38621_cp
361219d23e Added Double support to Conv_I1, Conv_I2, Conv_I4, Conv_U1, Conv_U2, Conv_U4, and Conv_U8, also fixed float conversion in those same files. (We were rounding, we needed to be truncating) 2011-10-01 23:03:33 +00:00
Trivalik_cp
c134a571fa fix Conv, Ldelem, Mul, Newobj for string, Rem ( modulo), fix memory zero in cpuimpl, add char[] to debug in VS 2011-09-28 18:56:41 +00:00
blah38621_cp
a42fbd6f3d Fixed the Sin, Cos, and Tan implementation in the System.Math plug, please note, they currently will not work, as there are still a few issues with double comparison. 2011-09-27 21:43:02 +00:00
blah38621_cp
ad9cf425a4 Somehow missed Math.Round when I was plugging System.Math, so it's now implemented. Please note, it won't actually work until modulus is supported for doubles. 2011-09-20 20:50:10 +00:00
boeman_cp
929da17837 Fix for PCI Enumeration, now it does not check every bus 2011-09-19 22:28:48 +00:00
Trivalik_cp
6663266609 fix Clt_Un todo 2011-09-19 20:30:06 +00:00
blah38621_cp
88b17e3a67 My plug viewer will now generate a plug template if needed, for any assembly it loads. Also added a Cosmos.Plugs folder in my user folder which contains a set of templates generated by it. Please note, the plugs generated by it currently need manual adjustments before they are usable. Also, that Cosmos.Plugs project in my folder does not compile. 2011-09-19 00:50:33 +00:00
blah38621_cp
facf434a5d Added a nice range of tests for IL2CPU, currently working on getting everything that needs plugging, plugged. The tests originate from Mono, and not even MS.Net passes all of them. (un-supprisingly, seeing as their mono's tests, MS.Net fails more of them than Mono 2.10.1) There are also tests in there that are designed to test every CIL OP-Code. Not all of those are enabled, as some have to be written in IL. 2011-09-17 21:44:48 +00:00
blah38621_cp
aee4bdbbb1 Got my optimizer working. It's currently only enabled if you have the debug level set to none. Also added a plug for System.Random that doesn't depend on the current tick count. 2011-09-17 17:37:36 +00:00
blah38621_cp
7798780f57 Implemented the RTC, it should now support all possible options that RTC can support. 2011-09-17 16:51:03 +00:00
blah38621_cp
b1795b585e Added the Clear, and DefineCursor functions to the repository version of the VMWareSVGAII driver. 2011-09-16 18:30:17 +00:00
blah38621_cp
c92a4d31df Fully plugged the System.Math class with a pure C# version. Commented out the old version of this plug, but left it there. Also commented out the exception that was being thrown in Cosmos.Hardware.BlockDevice, which was preventing system booting. 2011-09-15 21:09:52 +00:00
Trivalik_cp
f599c0726b fix all signed indirect pushes ( Ldind_Ix, Ldind_Ux) 2011-09-15 19:13:40 +00:00
Trivalik_cp
6f1efc4bcb add sign check for choose right asm instruction in LdLoc 2011-09-14 21:10:56 +00:00
blah38621_cp
96d3fde47c Made quite a few changes in my folder, including adding a Test kernel, and adding the Quad data-type to Orvid.Graphics.Dependancies. 2011-09-14 20:49:13 +00:00
boeman_cp
69a4745c54 Implemented support for PCI Devices
Added VMWareSVGAII Driver
2011-09-14 10:42:22 +00:00
blah38621_cp
c680d7d95f Implemented one of the things in the System.Number plug, which allows sbyte's to be converted to a string now. Also made a few changes to my optimizer, but still have it disabled, as it refuses to go past the bootloader with it enabled. 2011-09-13 23:42:07 +00:00
blah38621_cp
989ccead56 The Colors class now has all of the built-in .net colors, minus the window system colors. 2011-09-13 20:11:21 +00:00
kudzu_cp
733d3de69b Debugger pipe work. 2011-09-13 01:51:54 +00:00
kudzu_cp
b69139311e 2011-09-12 00:45:58 +00:00
blah38621_cp
7e64cabec6 Fixed an issue in Cosmos.VS.Windows which was preventing me from building. Cosmos.ico is now Cosmos.png. (Cosmos.ico still exists) 2011-09-11 23:51:48 +00:00
kudzu_cp
d8bfdad3ee 2011-09-11 03:08:48 +00:00
kudzu_cp
f7e808e296 2011-09-11 01:50:20 +00:00
HKS_cp
bbb0ca4dc6 2011-09-09 19:55:10 +00:00