Commit graph

129 commits

Author SHA1 Message Date
Matthijs ter Woord
6ea1ca7255 Object pointer size is bumped up to 8. First the actual data pointer, then the pointer to the next object pointer 2016-06-18 15:06:30 -04:00
Matthijs ter Woord
030ba36636 Fix loading fields larger than 4 bytes from structs on the stack. 2016-06-18 14:00:58 -04:00
Matthijs ter Woord
35a15fe005 Start with increasing object reference size. 2016-06-18 12:25:17 -04:00
Matthijs ter Woord
ba808f2bc6 . 2016-06-17 18:35:22 -04:00
Matthijs ter Woord
7a8e62b2eb . 2016-06-17 13:28:56 -04:00
Matthijs ter Woord
cc44dc021e . 2016-06-17 13:16:01 -04:00
Matthijs ter Woord
02b8c2eddf . 2016-06-16 18:27:45 -04:00
Matthijs ter Woord
a1d0215d86 . 2016-06-16 17:53:08 -04:00
Matthijs ter Woord
78771994f8 . 2016-06-16 17:24:46 -04:00
Matthijs ter Woord
2fed5169e1 . 2016-06-16 13:41:29 -04:00
Matthijs ter Woord
00c205ba68 . 2016-06-16 13:06:44 -04:00
Matthijs ter Woord
5979ad032e . 2016-06-15 15:04:50 -04:00
Matthijs ter Woord
5803a95381 . 2016-06-15 12:36:58 -04:00
Matthijs ter Woord
f86cbfb6bf . 2016-06-15 12:35:46 -04:00
Matthijs ter Woord
ff5662e9aa . 2016-06-15 12:22:55 -04:00
Matthijs ter Woord
1dc41f1a4b . 2016-06-15 12:16:27 -04:00
Matthijs ter Woord
f6f0bab95b . 2016-06-15 12:03:44 -04:00
Matthijs ter Woord
feef7db59a . 2016-06-15 11:45:30 -04:00
Matthijs ter Woord
9a2f6714b5 . 2016-06-14 20:58:19 -04:00
Matthijs ter Woord
ee36382c27 . 2016-06-14 20:39:18 -04:00
Matthijs ter Woord
336020b418 . 2016-06-14 20:36:14 -04:00
Matthijs ter Woord
1b42377138 . 2016-06-14 17:53:14 -04:00
Matthijs ter Woord
e96dbf6764 . 2016-06-14 15:39:58 -04:00
Matthijs ter Woord
ebb1eae7fd First stage of compiler refactorings 2016-06-14 15:26:39 -04:00
Matthijs ter Woord
4ed9d246ae First compiler refactoring. 2016-06-13 08:27:59 -04:00
Matthijs ter Woord
4d6fceb9e7 First step in improving x# and compiler. 2016-06-11 16:13:13 -04:00
Matthijs ter Woord
82330b4b48 Initial work to move out the heap to a separate project. 2016-06-10 11:42:30 -04:00
Charles Betros
a2d610e1db Reversed return values. 2016-04-15 13:12:57 -05:00
Charles Betros
ef9282836b Fixed keyboard interrupt, generics, and double. 2016-04-14 13:26:54 -05:00
Charles Betros
4a3b6a50df Fixed up project and solution configurations and remove jetbrains annotations. 2016-03-06 17:33:21 -06:00
Charles Betros
98d8336882 Fixed TraceAssemblies 2016-01-16 12:53:37 -06:00
Charles Betros
2ec375e1c8 Fixed unbox and unbox_any. Also added interfaces to the branch ops. Added checks in assembler for duplicate methods. Added a few more exception message resource strings. 2016-01-04 21:42:56 -06:00
Charles Betros
4e08b03a8a Closes #271. Added an option for stack corruption detection. Checks can now occur after every instruction or for method footers ornly. 2015-12-17 00:15:51 -06:00
Matthijs ter Woord
b7021b8fc1 Seems like compiler bug is fixed now. 2015-11-07 11:37:18 +01:00
Matthijs ter Woord
cd7f5e572a Slight improvement of stack corruption checking code. 2015-10-24 13:19:34 +02:00
Matthijs ter Woord
27286f0b33 Continuing fixes. 2015-09-05 18:18:23 +02:00
Matthijs ter Woord
44690293e8 Delegates issue solved., 2015-09-05 18:11:20 +02:00
Matthijs ter Woord
4f945b11ce Disable vmt debug code. 2015-08-31 08:39:36 +02:00
Matthijs ter Woord
1d9c648691 Seem to be there. Merging follows. 2015-08-02 09:46:47 -04:00
Matthijs ter Woord
73758c2643 Ongoing memory work. 2015-07-31 12:46:07 -04:00
Matthijs ter Woord
be0ace5c62 - Turns out the VMT table was not generated correctly: the _Handle datamember wasn't pointing to the actual data area
- small bugfix in heap.
2015-07-31 11:51:27 -04:00
Matthijs ter Woord
675ce71d10 Ongoing work. 2015-07-31 08:34:28 -04:00
Matthijs ter Woord
630118f4c9 Fixed an issue with VMT initialization. 2015-07-29 20:13:40 -04:00
Matthijs ter Woord
e91b500738 . 2015-07-29 18:58:42 -04:00
Matthijs ter Woord
d6167d6e00 - Add extra logging to GlobalSystemInfo and Heap
- Fixed ldstr and string sending with memory handles
2015-07-29 10:44:52 -04:00
Matthijs ter Woord
16f3dab45a I think the default Heap allocates handles now. 2015-07-26 18:37:09 -04:00
Matthijs ter Woord
9171a3de35 . 2015-07-23 11:58:30 -04:00
Matthijs ter Woord
befe55c72b Add local and argument info on plugged method. argument info is handy there (locals not so much) 2015-07-18 02:19:28 +02:00
Matthijs ter Woord
732a3e2a3a More fixes to stack reservation. We were assuming that there was space reserved for return value, while it shouldn't in all cases. 2015-07-04 12:46:28 +02:00
Matthijs ter Woord
44cdc7dc61 Other fixes. 2015-06-16 18:35:46 +02:00
Matthijs ter Woord
dd93b7d2b9 Initial keyboard work. Does not work due to bug in the compiler. (Ldelem_ref) 2015-05-24 16:33:21 +02:00
Matthijs ter Woord
bfe5d73ba2 Several compiler fixes. 2015-05-10 19:04:20 +02:00
Matthijs ter Woord
37b2451193 A little bit code documentation 2015-05-10 15:34:23 +02:00
Matthijs ter Woord
08f62aa561 Merge pull request #56 from kant2002/Issue-9
Compilation improvements.
2015-05-08 19:50:06 +02:00
Andrey Kurdyumov
fec99ddb25 Change UInt64 to long
This is due to inability Dapper handle UInt64 with SQLite
2015-05-07 12:50:06 +06:00
Andrey Kurdyumov
c76c477ed6 Improved compilation speed by changing Guid to ulong 2015-05-07 12:41:05 +06:00
Matthijs ter Woord
277d87e3ef Code cleanup. 2015-05-05 10:44:54 +02:00
Matthijs ter Woord
cd17b19ce4 Disable more edison testing code. 2015-02-26 18:11:48 +01:00
Matthijs ter Woord
ff963d65a0 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
Conflicts:
	source/Cosmos.IL2CPU/AppAssembler.cs
2015-02-26 18:07:30 +01:00
unknown
038d25070e Removed some debug code. 2015-02-11 11:32:33 -06:00
Matthijs ter Woord
07cdafbedd Ongoing edison work 2015-02-03 19:46:10 +01:00
Matthijs ter Woord
a1cdb6f983 remnove debug code. 2015-02-03 18:08:23 +01:00
Matthijs ter Woord
274f0353ed Ongoing changes. 2015-02-01 16:52:00 +01:00
Matthijs ter Woord
36ec5751d9 More subtle code changes. 2015-01-04 17:54:48 +01:00
Matthijs ter Woord
a61d93e438 Refactorings related to compiler. 2015-01-02 13:56:52 +01:00
Matthijs ter Woord
e614a95df5 Sending information to the Console window works now! 2014-12-31 17:49:53 +01:00
Matthijs ter Woord
24ba16eb26 Some refactorings.. 2014-12-27 16:38:21 +01:00
Matthijs ter Woord
c159e8018c some fixes related to static fields and structs. 2014-12-22 11:11:47 +01:00
Matthijs ter Woord
848fbd4479 Small perf improvements. 2014-12-20 17:41:53 +01:00
Matthijs ter Woord
0c3cc1cbb2 Log is now used for testing as well. 2014-12-20 15:02:13 +01:00
Matthijs ter Woord
794f843aa7 Added first automated compiler test. 2014-12-20 14:47:43 +01:00
Matthijs ter Woord
dfdc58ee53 Improved cpu exception tracing. 2014-12-19 20:02:59 +01:00
Matthijs ter Woord
2099f75db7 it should be possible to access private static fields in plugs now.. 2014-12-07 16:32:49 +01:00
Matthijs ter Woord
70b250c627 Add more NullReference checks in compiler. 2014-12-06 19:38:09 +01:00
Matthijs ter Woord
486601b814 rings are not fully enforced. this means that only core ring (0) can contain assembler plugs. 2014-12-05 20:40:26 +01:00
Matthijs ter Woord
af46aa7959 - cleanup
- ring enforcement works now, but only based on the attributes.
2014-12-05 19:57:17 +01:00
Matthijs ter Woord
c89faefc2d performance improvement: prevent exceptions. 2014-12-05 16:38:06 +01:00
Sentinel209_cp
c591a7ff1b Reorganize source: Everything is out of source2 now and the soutions are cleaned up. 2014-11-28 00:48:23 +00:00
Sentinel209_cp
e851d3efcb Reorganizing code: Moved Build and Compiler. 2014-11-26 01:13:58 +00:00
Renamed from source2/IL2CPU/Cosmos.IL2CPU/AppAssembler.cs (Browse further)