Commit graph

353 commits

Author SHA1 Message Date
kudzu_cp
97d03bd1e9 2012-08-02 18:56:52 +00:00
kudzu_cp
7abc6290c5 2012-08-02 18:54:19 +00:00
kudzu_cp
aa7a8d6edf 2012-08-02 18:05:53 +00:00
kudzu_cp
52c52d99cc 2012-08-02 17:34:49 +00:00
kudzu_cp
af5c2586db 2012-08-02 17:08:48 +00:00
kudzu_cp
f448f37754 2012-08-02 06:33:12 +00:00
kudzu_cp
1935fde6b8 2012-08-01 15:37:21 +00:00
kudzu_cp
debaf8639e Now using SQL Local DB 2012 instead of CE. 2012-07-31 18:19:23 +00:00
kudzu_cp
bc2b4f6c31 2012-07-31 01:43:16 +00:00
kudzu_cp
ab16e988b9 Assembly load resolution fix (IL2CPUTask), other changes happened along the way to find this bugger. 2012-07-17 18:31:34 +00:00
kudzu_cp
3459aa840a 2012-07-17 03:51:17 +00:00
kudzu_cp
3ee738c9fe Eliminated Cosmos.Debug.Consts, merged into Cosmos.Debug.Common as DebugStub now has its own copy fo consts in X#. 2012-07-17 02:39:08 +00:00
kudzu_cp
0355263949 2012-07-17 02:32:46 +00:00
kudzu_cp
76f999f77b 2012-07-17 02:32:18 +00:00
kudzu_cp
d393672a88 2012-07-17 02:21:58 +00:00
kudzu_cp
048e4ecf2a 2012-07-17 02:21:38 +00:00
kudzu_cp
f6032272ee Const name change 2012-07-16 21:32:43 +00:00
kudzu_cp
d5a467f6e6 Removal of old X# compiler / transform. 2012-07-16 18:20:53 +00:00
kudzu_cp
bfb8d9de09 Last remnants of old X# DebugStub are gone. 2012-07-16 16:58:07 +00:00
kudzu_cp
97ee987dd7 2012-07-13 02:25:41 +00:00
kudzu_cp
3637875bb1 2012-07-13 02:17:49 +00:00
kudzu_cp
6743772240 2012-07-13 00:45:20 +00:00
kudzu_cp
99dc6a65f0 2012-07-12 23:14:59 +00:00
kudzu_cp
3e02660a0b 2012-07-12 23:14:31 +00:00
kudzu_cp
4dd11e52dd 2012-07-11 06:21:07 +00:00
SkAzZ_cp
81c53cd8d0 Fixed the Cosmos.IL2CPU.Profiler to use the regular Kernel instead of the now missing SSchockeTest. 2012-07-10 15:59:58 +00:00
kudzu_cp
9b9b46dfad 2012-07-09 14:47:41 +00:00
kudzu_cp
99276f245c 2012-07-09 00:38:33 +00:00
kudzu_cp
4bb477c231 2012-07-08 03:58:29 +00:00
kudzu_cp
3ab1d08435 X# DataMembers 2012-07-07 20:16:52 +00:00
kudzu_cp
7fc0f4194a 2012-07-05 15:01:45 +00:00
kudzu_cp
0790ed2cd9 2012-06-29 05:06:35 +00:00
kudzu_cp
736daaac0e 2012-06-28 06:13:49 +00:00
kudzu_cp
44c6e98f84 2012-06-27 05:26:23 +00:00
kudzu_cp
0d3fbc1d21 Preboot debug info. 2012-06-27 00:22:34 +00:00
kudzu_cp
879d070614 Debug info and bochs break. 2012-06-27 00:06:23 +00:00
kudzu_cp
c308f07bfc USB boot work 2012-06-25 15:32:46 +00:00
kudzu_cp
9489adf2dc 2012-06-25 05:21:03 +00:00
kudzu_cp
b8669c55d7 2012-06-19 12:38:16 +00:00
kudzu_cp
52a7d5416e 2012-06-15 02:50:21 +00:00
kudzu_cp
13cd53d468 2012-06-14 04:33:45 +00:00
kudzu_cp
a721ebd233 2012-06-05 15:04:01 +00:00
kudzu_cp
624ade312e 2012-06-04 17:34:19 +00:00
blah38621_cp
509ab9194c Made the stack trace for plug scanning a bit more detailed. 2012-05-11 19:56:06 +00:00
kudzu_cp
21c5709b34 DebugStub work. 2012-03-26 15:03:59 +00:00
kudzu_cp
22a9fb8cef 2012-03-25 23:14:52 +00:00
kudzu_cp
15a35f091d 2012-03-25 23:06:53 +00:00
kudzu_cp
4657811098 2012-03-25 22:17:47 +00:00
kudzu_cp
31574615bf Assembly window. 2012-03-25 19:25:22 +00:00
Trivalik_cp
1cd1645e1f remove TypeInitialized 2012-03-11 19:34:16 +00:00
tgiphil_cp
f4ea745871 - Fixed multiboot signature alignment (must be 32-byte aligned) 2012-02-17 09:41:29 +00:00
Trivalik_cp
9a3562b2f6 optimize null case of unbox 2012-02-16 21:40:37 +00:00
Trivalik_cp
13af305d80 optimize Ldflda 2012-02-16 20:31:17 +00:00
Trivalik_cp
7f17d4d791 handle InlineAttribute in more places -> reduces asm size
used in InitializeArray plug
2012-02-08 19:25:28 +00:00
geramy_cp
08b28c0894 Initialized DebugInfo in profiler in file Assembler.cs so that it does not give a DebugInfo == null error. 2012-02-08 14:09:34 +00:00
geramy_cp
e6a22b1d8d This is updates to the profiler it seem's to be working to my knoledge with no crashes. 2012-02-08 14:00:37 +00:00
geramy_cp
72e912f662 Profiler now runs but has a small exception thrown.... it says it is missing a plug, working on it. 2012-02-07 14:42:14 +00:00
kudzu_cp
0a692f7435 Profile compiles now. 2012-02-06 17:09:54 +00:00
kudzu_cp
ba582b8931 2012-02-06 17:01:27 +00:00
kudzu_cp
a6cef699ee I dug out Cosmos.IL2CPU.Profiler but it needs fixed up some more to work with the current Cosmos. 2012-02-06 16:59:29 +00:00
kudzu_cp
ce9180d15a Readding Cosmos compiler profiler. Still needs fixed up to match current code. 2012-02-06 16:45:58 +00:00
Trivalik_cp
718c5de784 add TODO for sub_ovf* 2012-02-05 20:06:52 +00:00
sschocke_cp
d1dca7ab22 Fixed alignment issues for UInt16 fields and removed my project from the Bootstrap Solution Config 2012-02-05 15:35:30 +00:00
blah38621_cp
53a1874a79 Pop now throws an exception if the stack is empty. 2012-02-04 18:37:31 +00:00
sschocke_cp
5e5963bb23 Added Ignore DebugStub Attribute option to ProjectSettings Debug Page - allowed user to ignore DebugStub Attribute on all methods for deep debugging. Also commented DebugStubAttribute. 2012-02-03 20:02:27 +00:00
sschocke_cp
262f0080df Added a new Attribute called DebugStub. Has a property Off which when set to true specifies that no debugstub calls should be inserted for code in this function. NOT FOR GENERAL USE!! CAUTION: No debugging what so ever is possible on a function with this attribute applied. Useful for large loops of tested code where speed is of the essence 2012-02-03 17:32:53 +00:00
Trivalik_cp
00119e1ab5 add todo comment Con_r_un 2012-01-30 19:25:32 +00:00
blah38621_cp
d8216662ae Conv_R_Un now throws exceptions where it should. 2012-01-30 01:58:27 +00:00
kudzu_cp
049b8cc643 Assembler namesepace changes complete. 2012-01-23 22:52:12 +00:00
kudzu_cp
a91ff3a15d 2012-01-23 22:29:57 +00:00
kudzu_cp
903e0b727f 2012-01-23 22:15:20 +00:00
blah38621_cp
487ee9eeff Re-Enabled a couple of exceptions that were disabled in an attempt to deal with a stfld issue quite a while ago. Also fixed a couple of error messages to use better english :P 2012-01-23 22:00:08 +00:00
kudzu_cp
1712fdb0fe Namespace change 2012-01-23 15:17:54 +00:00
kudzu_cp
34ee173563 2012-01-23 14:00:42 +00:00
kudzu_cp
872530ae5f 2012-01-23 13:52:50 +00:00
kudzu_cp
f029a2e400 Move to Mov (To identify with asm) 2012-01-23 13:23:59 +00:00
kudzu_cp
7cb8bd8dd4 2012-01-22 23:39:41 +00:00
kudzu_cp
726b6d534d Namespace change 2012-01-22 22:01:18 +00:00
kudzu_cp
ef0cf87258 2012-01-22 21:27:59 +00:00
kudzu_cp
3f816a7507 2012-01-22 17:52:03 +00:00
kudzu_cp
05e123117c Fix for local watch window. 2012-01-22 15:13:15 +00:00
Trivalik_cp
9441b92d8f fix Stfld
add exception with message to pdb, dll mismatch
2012-01-21 22:39:20 +00:00
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