kudzu_cp
732ec7eb6b
Fix for DebugStub ping/pong.
2012-01-17 03:30:33 +00:00
blah38621_cp
61299be317
Fields now show up in the debugger.
2012-01-14 20:20:24 +00:00
kudzu_cp
73f5e2fd74
Cosmos output pane updates
...
Text data for windows now uses UTF8 on pipe instead of ASCII.
2012-01-08 23:37:39 +00:00
kudzu_cp
a981f8cf35
VSIP Ping
2012-01-08 18:23:41 +00:00
Trivalik_cp
a584bc2845
fix 64 bit mul
2012-01-08 14:43:01 +00:00
kudzu_cp
8034dd5ad6
Documentation
2012-01-03 00:46:44 +00:00
kudzu_cp
c81f4f2b98
Added URL to plug needed exception.
2012-01-02 19:38:20 +00:00
Cman332_cp
9270721daf
Forgot a bracket in the string implementation
2011-12-30 04:19:52 +00:00
Cman332_cp
537cf4502d
I have implemented most of the String.Concat overloads. The only ones that aren't implemented are the IEnumerable overloads
2011-12-30 03:35:23 +00:00
blah38621_cp
686ac7ff67
Conv_U1.cs: I disabled the invalid push size exceptions and made it treat them as size 4, because it should make no difference, and the exception was bugging me to much.
2011-10-28 15:36:12 +00:00
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
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
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
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
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
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
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
Trivalik_cp
6663266609
fix Clt_Un todo
2011-09-19 20:30:06 +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
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
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
kudzu_cp
7162637756
2011-09-05 02:22:17 +00:00
Trivalik_cp
dfe8aa4c25
fix copy of bigger than int
2011-09-04 21:20:34 +00:00
Trivalik_cp
03fbd66909
fix newobj for struct (Stack Empty)
2011-09-04 20:53:53 +00:00
kudzu_cp
0d1beae6f0
2011-09-04 20:14:49 +00:00
kudzu_cp
7be11ee5f7
2011-09-04 20:11:19 +00:00
kudzu_cp
272c4f3410
2011-09-04 19:48:52 +00:00
kudzu_cp
4885dec621
2011-09-04 19:28:26 +00:00
kudzu_cp
4cbf5fed18
2011-09-04 19:27:51 +00:00
kudzu_cp
cc642ffb3f
2011-09-04 19:07:49 +00:00
kudzu_cp
6ed2739549
2011-09-04 03:07:02 +00:00
blah38621_cp
92dcac4a51
Made a few improvements to the speed of the ILScanner, including caching the resolved plugs.
...
Added the possibility for an optimization step in the IL2CPU MSBuild task. Currently commented out, but should work fine with a few modifications to the optimizer.
Moved classes that are dependent on Cosmos from the Orvid.Graphics, into the Orvid.Graphics.Cosmos assembly.
Re-factored the font mechanism, added partially working .fnt Font support.
Added a Rectangle class, and a Vec2d class, which is the same as Vec2, except with doubles for the X and Y values.
Made a small aesthetic improvement to the output of the File2ByteArray Converter.
2011-09-03 21:05:46 +00:00
Trivalik_cp
420a29936f
move sqrt from core to il2cpu.x86
2011-09-03 12:02:07 +00:00
Trivalik_cp
51e893eb74
add movsx, fchs
...
implement neg CIL (needed for Abs())
fix floor and ceiling in range of int
add sign extension to LdArg and LdLoc
remove unneeded math functions, like min,max,abs
2011-09-02 21:03:14 +00:00
Trivalik_cp
bcd92cf77c
add ctor(char,int) to stringimpl, and remove uncommented uneeded functions
2011-08-31 19:55:34 +00:00
Trivalik_cp
5032dff55b
fix function call on struct:
...
i.e.: Color a = Color.Red; byte r = a.R;
2011-08-30 20:02:14 +00:00
Trivalik_cp
29914a55a1
fix up wrong operand order for 8byte dword substraction
2011-08-21 20:15:29 +00:00
kudzu_cp
cf1562c94c
2011-08-17 00:14:02 +00:00
kudzu_cp
ded8c1d56c
2011-08-14 13:57:59 +00:00
kudzu_cp
97c3471067
2011-08-14 13:36:09 +00:00
kudzu_cp
da67b059b2
2011-08-12 02:41:57 +00:00
kudzu_cp
75d0d9e342
2011-08-12 02:33:58 +00:00
kudzu_cp
3c16ec7714
2011-08-12 02:20:43 +00:00
kudzu_cp
767d8cd205
2011-08-12 02:04:43 +00:00
kudzu_cp
a469a39eaf
2011-08-12 01:54:07 +00:00
kudzu_cp
ea2a4196ce
2011-07-21 19:17:24 +00:00
kudzu_cp
4d51935cc9
Backed out label changes. They use . again. The # change caused too many issues.
2011-07-20 02:39:36 +00:00
kudzu_cp
32e5c353fb
Labels use # instead of ., hopefully GDB will like them better.
2011-07-19 23:32:55 +00:00
Trivalik_cp
f5fb7ea6ec
remove int3 from idt if no source debug activated
2011-07-19 20:41:28 +00:00
kudzu_cp
914cb71930
2011-07-18 16:03:50 +00:00
kudzu_cp
95691d9c29
2011-07-18 14:48:14 +00:00
kudzu_cp
951e5859fc
2011-07-18 04:43:07 +00:00
kudzu_cp
819f8b042d
DebugStub
2011-07-18 02:48:09 +00:00
kudzu_cp
bcfd0dd94f
No asm labels for X#
2011-07-18 01:25:43 +00:00
kudzu_cp
bf883e964a
2011-07-18 00:02:27 +00:00
kudzu_cp
1dfff2cdf8
DebugStub
2011-07-17 18:54:10 +00:00
kudzu_cp
b74dd21e3c
X# DataMember implicit declarations
2011-07-17 04:27:51 +00:00
kudzu_cp
c4126c8d23
2011-07-17 01:46:43 +00:00
kudzu_cp
35089c88e9
2011-07-17 01:27:14 +00:00
kudzu_cp
24ca990ae1
Asm labelling for stepping.
2011-07-16 20:19:57 +00:00
kudzu_cp
c68c0104d5
2011-07-16 16:38:26 +00:00
kudzu_cp
4c8740d57b
CPDB changes.
2011-07-16 04:10:10 +00:00
kudzu_cp
12ae3a9b60
DebugStub now uses Int3.
2011-07-15 03:43:33 +00:00
kudzu_cp
008bd31e4e
IDT
2011-07-14 20:22:46 +00:00
kudzu_cp
5d145c351a
IDT
2011-07-14 19:57:39 +00:00
kudzu_cp
05dcef2f88
IDT
2011-07-14 19:42:33 +00:00
kudzu_cp
e025f29841
2011-07-14 14:57:39 +00:00
kudzu_cp
aae5b4aade
IDT work
2011-07-14 14:57:12 +00:00
Trivalik_cp
2e866fb3ae
fix stack of 64bit divisions for small divisor
2011-07-14 11:52:44 +00:00
kudzu_cp
1243533aaa
Minor preliminary IDT changes.
2011-07-14 02:49:06 +00:00
kudzu_cp
3c6f36e6e8
Final GDT changes. GDT is now initlized in the proper place, much earlier in the boot process.
2011-07-14 00:46:46 +00:00
kudzu_cp
967ca09a2c
GDT work
2011-07-13 05:05:35 +00:00
kudzu_cp
b2b11c5b8c
2011-07-11 05:54:47 +00:00
kudzu_cp
07346828dd
Fixed newobj for valuetypes. Will fix stfld next (They were both broken and affecting nullable types and other structs when stored in fields)
2011-07-11 04:55:40 +00:00
kudzu_cp
dea9bfb587
2011-07-11 01:42:13 +00:00
kudzu_cp
178a91974d
Changes to IL op comment emissions in .asm file.
2011-07-10 02:39:21 +00:00
kudzu_cp
46ce6d7543
2011-06-27 04:11:39 +00:00
kudzu_cp
7169d633b6
2011-06-27 02:19:30 +00:00
kudzu_cp
14484980a9
2011-06-26 20:17:14 +00:00
Trivalik_cp
c256253671
fix sign for normal div CIL
2011-06-26 18:44:25 +00:00
Trivalik_cp
a245b52eea
fix div for ulong, so that kudzu tests works all now
2011-06-26 11:48:51 +00:00
kudzu_cp
e25941b688
2011-06-26 04:06:01 +00:00
Trivalik_cp
28321c8e50
add add_ovf, add_ovf_un, overflow throws an exception which currently is not working, but message on console is working
...
add JECXE,JECXE ( not used yet )
2011-06-25 20:58:56 +00:00
Sentinel209_cp
657d8d9eb1
Framework for sending assembly for current breakpoint to the debugger.
2011-06-25 20:46:04 +00:00
kudzu_cp
0e397d3f49
2011-06-25 18:44:51 +00:00
Trivalik_cp
d06894cf16
fix 64-bit mul tested with ulong
2011-06-23 19:38:55 +00:00
kudzu_cp
5999161428
2011-06-19 21:21:53 +00:00
kudzu_cp
20fae79f44
2011-06-19 20:41:40 +00:00
kudzu_cp
21575c91a3
2011-06-19 20:27:28 +00:00
kudzu_cp
7a5d269422
2011-06-19 17:05:19 +00:00
kudzu_cp
8dd3294605
2011-06-19 00:12:59 +00:00
kudzu_cp
963f58915e
2011-06-18 14:23:19 +00:00
kudzu_cp
64ed225d97
2011-06-18 02:13:49 +00:00
kudzu_cp
4ee3b67199
2011-06-17 20:27:15 +00:00
Trivalik_cp
dfbf5f4f00
fix all branches for 64bit,
...
add comment in fatstream to array copy
2011-06-17 07:45:00 +00:00
Trivalik_cp
b1f09d2f16
comment out ToString for StringBuilder, there is no need for plug anymore
2011-06-16 21:23:16 +00:00
Trivalik_cp
8cd3d9cf47
GDB Client, change function label to textbox, allows to copy the name
...
change filesystem to int64, logical error in Read()
fix Ldarg, Ldarga xExtraSize, now should work really 64 bit and greater
2011-06-16 20:56:22 +00:00
blah38621_cp
8a98bca22d
Made a small optimization to the end of methods, compacting the xLocalSize offsets into fewer instructions. This actually made a surprising difference to the size of the output .iso, as it lowered the size by 8kb. (I've not compared the output .asm size, but that difference should be significantly larger than 8kb)
2011-06-13 18:13:38 +00:00
Trivalik_cp
2b66b951ee
add Conv_Ovf_I_Un implementation
...
fix wrong type in newobj
fix math.sqrt
2011-06-12 22:59:42 +00:00
blah38621_cp
20ef289111
Added an Inline attribute, which when used on a method in a plug, processes that method as an Assembler. See the IOPortImpl.cs file for an example of this new capability. The old method of using Assemblers is still supported. Also added an IOGroup for the mouse.
2011-06-11 01:57:27 +00:00
Trivalik_cp
00ae6acb11
comment out ASCIIEncodingImpl, because is all CIL internal
...
comment in string.FastAllocateString plug
2011-06-11 00:37:21 +00:00
Trivalik_cp
fcb4fa6b40
correct false permute arguments for Div 32bit integer
2011-06-10 20:43:22 +00:00
Trivalik_cp
1a549f6403
add possiblity to plug function that use internal class as argument, use:
...
public static bool nativeInitCultureData([Plugs.FieldType(Name = "System.Globalization.CultureData")] ref int cultureData)
2011-06-08 20:37:29 +00:00
Trivalik_cp
83747e6df9
fix wrong register size for shl, shr
2011-06-03 18:17:46 +00:00
Trivalik_cp
e47ea4ac04
check for wrong method for forwardmethod, example: now is the Console.WriteLine(Double) method not plugged, so the method would call Console.WriteLine(object), because System.Console has a Double method, but we could not find them, for calling such a object is Boxing IL needed but not there
2011-05-26 19:11:04 +00:00
Trivalik_cp
591e20c7ec
add convertSD2SI, mov double dupplicate (without 64 bit support no other way found)
...
fix conv.i4 for case: double k = 50.5; int k2 = (int)k;
2011-05-24 20:28:57 +00:00
Trivalik_cp
1c970d67f9
add sse2 cvtsi2sd,cvtss2sd, movsd
...
fix conv_r8 with them
get 64 div working, without overflow detection!
2011-04-16 12:18:09 +00:00
sschocke_cp
5cab60903e
Working Float.ToString() and Double.ToString()
2011-04-07 20:28:56 +00:00
Trivalik_cp
46eee6ef67
fix dbg for 64 bit parameters
2011-04-07 19:50:01 +00:00
Trivalik_cp
1910af9b4d
add 64bit support for "or"
2011-04-07 18:27:59 +00:00
Trivalik_cp
a9cb455304
fix ceq, cgt, cgt_un, clt, clt_un for 64 bit integer and float, changes back uint64impl compare
2011-04-06 19:31:51 +00:00
sschocke_cp
e66f126add
Changed GetNumberString for 64-bit integers to check for value != 0 instead of >0 because greater than operator is broken for UInt64... UInt64/Int64 .ToString now working correctly
2011-03-26 07:49:45 +00:00
Trivalik_cp
00a6e88e4c
fix DebugInfo for types bigger than 4 (ebp offset), add float, double to debugger view
2011-03-20 21:15:20 +00:00
kudzu_cp
5f0a735e37
Strings are now stored in memory comparable to how it works in .net (and probably mono)
2011-03-17 15:04:24 +00:00
kudzu_cp
f0f2475173
2011-03-17 12:36:51 +00:00
kudzu_cp
8a3f5441c7
2011-03-15 14:13:28 +00:00
Trivalik_cp
e8469e177f
handle blt and ble for 64 bit --> BitConverter works
2011-03-12 21:45:46 +00:00
mterwoord_cp
85240d72a7
2011-03-06 16:15:49 +00:00
kudzu_cp
21d6c9ceac
2011-03-03 14:34:55 +00:00
mterwoord_cp
b5d27fe19a
casting works again..
2011-02-27 17:06:15 +00:00
Trivalik_cp
52a8110a3c
fix dword order for IL ops add, ldc_i8, shl, shr
2011-02-26 13:38:21 +00:00
kudzu_cp
38344570ac
2011-02-25 14:02:59 +00:00
kudzu_cp
434fd213e5
2011-02-25 02:12:08 +00:00
kudzu_cp
16370914a7
2011-02-25 01:54:20 +00:00
kudzu_cp
56be40f859
2011-02-25 01:11:17 +00:00
kudzu_cp
1edb546842
2011-02-24 14:50:10 +00:00
Trivalik_cp
d207855983
fix shl,shr,add IL for 64 bit,
...
optimize "and" IL,
add shrd
2011-02-23 21:11:04 +00:00
Trivalik_cp
7f84d28d69
add DOTNETCOMPABILE define condition,
...
change StackContents to uint,
able to use now mnemoric with 3 operands,
shl IL near 64 bit (unknown error),
add asm line to nasm error
2011-02-22 17:03:42 +00:00
kudzu_cp
4b35540c5f
2011-02-22 13:42:28 +00:00
mterwoord_cp
ba843bb16c
2011-02-19 15:08:03 +00:00
mterwoord_cp
fab8765053
2011-02-17 18:49:42 +00:00
mterwoord_cp
8aa274c2cb
2011-02-15 17:40:23 +00:00
kudzu_cp
d4f6bb3d1c
Stack alignment and corruption fix
2011-02-15 14:10:35 +00:00
mterwoord_cp
81bffab044
2011-02-10 13:49:41 +00:00
Trivalik_cp
aa8ee4b605
fix wrong type for parameter type in call il
2011-01-30 18:54:16 +00:00
Trivalik_cp
14260620e2
push size of stack changed
2011-01-17 21:10:10 +00:00
Trivalik_cp
9d5d021c30
switch push for 8 byte values
2011-01-15 23:21:59 +00:00
Trivalik_cp
26170dbedc
fix conv.i8 for float,double
2011-01-15 23:18:25 +00:00
Trivalik_cp
3ca8a96472
pop complete size of last stack item
2011-01-11 21:32:23 +00:00
mterwoord_cp
ede6b418c5
2011-01-04 17:26:33 +00:00
mterwoord_cp
e8b53132ca
2011-01-03 10:40:42 +00:00
mterwoord_cp
415f528359
+ bootstrap configuration builds again
...
+ debug info handling is refactored into 1 class
2011-01-02 12:55:43 +00:00
Trivalik_cp
5739b0dd02
correct cgt behavior, remove unneed esi,edi stuff, now it works!!!
2011-01-01 23:00:58 +00:00
Trivalik_cp
5cef30a9d8
correct behavior, like VS generate C++ code, but false appear on -1 <= 960 for 8 byte integer
2011-01-01 14:06:38 +00:00
Trivalik_cp
c499d21987
add comment for pic,
...
correct console scrolling,
correct error for cgt
example:
int k = 1000;
UInt32 k2 = 960;
if (k <= k2)
{
Console.Write("true");
}
else
{
Console.Write("false");
}
2011-01-01 01:51:11 +00:00
Trivalik_cp
a80ef75b20
unit format of assemblyinfos
2010-09-09 20:54:55 +00:00
Trivalik_cp
6326f824b7
OurHashSet, shows better
2010-09-07 20:11:56 +00:00
Trivalik_cp
b1af577079
2010-09-07 14:33:07 +00:00
Trivalik_cp
6f245d66c6
try to solve nams issue, on my machine internal problem, but could internal related
2010-09-07 14:29:37 +00:00
kudzu_cp
868ea55011
2010-09-06 15:15:11 +00:00
kudzu_cp
fe43fbddeb
Set all csproj files to .NET 4.0.
2010-09-06 14:16:09 +00:00
kudzu_cp
f276f73e0a
2010-09-06 13:36:26 +00:00
kudzu_cp
fbe9f96dca
Added assemblyname to the comment output in .asm file.
2010-09-06 12:59:03 +00:00
kudzu_cp
545636389d
2010-09-06 02:17:42 +00:00
kudzu_cp
562f553244
2010-09-06 02:16:54 +00:00
kudzu_cp
e2c99b1d3a
Removed subdir from Cosmos.Debug.Common
2010-09-06 02:10:35 +00:00
Trivalik_cp
91481ed691
string changes for v4.0
2010-09-05 18:47:16 +00:00
Trivalik_cp
1785670a75
renaming all, except vspackage
2010-09-04 19:07:11 +00:00