Commit graph

125 commits

Author SHA1 Message Date
mterwoord_cp
5600aeeb4b random changes 2007-10-06 08:22:26 +00:00
mterwoord_cp
82ab3df4ee building an OS kernel works now. Console.WriteLine implemented :D 2007-10-04 09:15:32 +00:00
mterwoord_cp
db900a8764 PutChar is now implemented using c# code. 2007-10-02 15:46:31 +00:00
mterwoord_cp
9af7ec118f Right now it's possible to compile to a tiny OS kernel. Right now, only thing possible to do is putting characters on the screen. More in the works 2007-10-02 15:15:35 +00:00
mterwoord_cp
349ae23c13 A bunch of refactorings. Now code generation is done in the right places 2007-09-30 12:19:27 +00:00
mterwoord_cp
cf84be2709 Added a better check for metal mode. disabled vmt generation for now. 2007-09-30 08:33:25 +00:00
mterwoord_cp
143ba40a12 Added a bunch of tests. Have a look, and add more of them :) 2007-09-29 17:05:16 +00:00
mterwoord_cp
971b4320bf Many changes. VMT doesn't work yet. First going to work on enhancing the testbench. 2007-09-29 16:07:32 +00:00
mterwoord_cp
a331bc1b1b output builds now :-) 2007-09-28 14:27:53 +00:00
mterwoord_cp
3f0e954f89 Quite a bunch of fixes went in, but still doesn't work. 2007-09-28 09:33:24 +00:00
mterwoord_cp
edd9ada479 VTable is getting emitted now. There are some issues with the generated code. ie, doesn't work at all.... 2007-09-27 17:46:17 +00:00
mterwoord_cp
3df87b10ec second part of checkin 2007-09-27 16:55:22 +00:00
mterwoord_cp
e2931e97ee All ops neccessary for a scan are now implemented 2007-09-27 16:55:00 +00:00
mterwoord_cp
ee1b9e8f5c Implemented a bunch of new opcodes. 2007-09-27 11:10:49 +00:00
mterwoord_cp
1ea78b247f Some more ops are working now. Still working on the VTables support. Next Op to implement is Switch 2007-09-26 09:12:43 +00:00
mterwoord_cp
0f7c09b534 Now it's possible to make metal apps. 2007-09-26 07:46:38 +00:00
mterwoord_cp
b1214b88a6 Structs are working now 2007-09-24 07:19:39 +00:00
mterwoord_cp
e29f612a52 Some more changes, nothing functionally changed. 2007-09-23 15:50:00 +00:00
mterwoord_cp
a7953f9631 Pinvoke WRiteLine works using a real string object 2007-09-23 14:25:29 +00:00
mterwoord_cp
c2dc707cf0 Many changes, some might not work 2007-09-22 17:31:13 +00:00
mterwoord_cp
0af081617d 2007-09-22 11:03:41 +00:00
mterwoord_cp
f6ff5c14cf Array support works now :-) 2007-09-22 09:44:20 +00:00
mterwoord_cp
36132db089 Tests updated 2007-09-21 15:41:25 +00:00
mterwoord_cp
1efc0e11ce Objects work now. 2007-09-21 15:33:47 +00:00
mterwoord_cp
ddf6d4ff4a Added some more tests 2007-09-20 15:42:55 +00:00
mterwoord_cp
ce7ced0996 All test are fixed to the latest code changes now, fixed Sub 2007-09-20 15:40:07 +00:00
mterwoord_cp
b591d8448f Objects mostly work now. some small bugs left. first fix that, then proceed to Console.Writeline 2007-09-20 09:32:31 +00:00
mterwoord_cp
b0f43b82ff OK. On start up of the produced app, a Heap is created using kernel32#heapcreate, and it looks like newobj itself works fine now. Next step is calculate the size of a class, and allocate the correct size, and then see if instance methods work. 2007-09-19 17:18:25 +00:00
mterwoord_cp
d958a558dd Added support for starting up a runtime engine. Added simple heap startup/shutdown 2007-09-19 14:17:52 +00:00
mterwoord_cp
8d33bd70b1 Huge progress... 2007-09-18 18:02:51 +00:00
mterwoord_cp
20e3f1d66d 2007-09-18 15:42:26 +00:00
mterwoord_cp
aa22788bd2 2007-09-18 15:42:17 +00:00
mterwoord_cp
f9515d1b00 2007-09-18 06:19:39 +00:00
mterwoord_cp
854d3c11ee Typo, emitted 3 instead of 4 2007-09-18 06:14:36 +00:00
mterwoord_cp
be7c984118 Simple code cleanup 2007-09-18 05:59:31 +00:00
mterwoord_cp
ccbb4400ed Simple If works 2007-09-16 07:59:58 +00:00
mterwoord_cp
1907f4fa7f Added support and tests for Add and Sub msil opcodes 2007-09-15 11:23:28 +00:00
mterwoord_cp
f29f48adf3 Added support for the Add msil opcode 2007-09-15 11:14:28 +00:00
mterwoord_cp
e92f50a13c Tests updated to latest changes, some more tiny changes 2007-09-15 10:40:53 +00:00
mterwoord_cp
51b604dde1 Existing code generation changed a bit, to be more consistent with OllyDbg's view on numbers etc. Next checkin will fix the tests 2007-09-15 09:47:54 +00:00
mterwoord_cp
12e80eeba5 2007-09-15 09:11:04 +00:00
mterwoord_cp
1d2c88087a PInvoke works now. Note: there's no string support yet, therefore the HelloWorldMetal uses user32.dll#MessageBeep to do the testing 2007-09-12 12:28:43 +00:00
mterwoord_cp
d6f84266cb Functions work now. 2007-09-11 16:29:45 +00:00
mterwoord_cp
d5274e0b17 2007-09-10 13:31:57 +00:00
mterwoord_cp
2c9532ef21 Incredibly easy testing framework done. it has a bunch of .net .exe and .asm files.The .exe files are fed to the IL2CPU console app, and the resulting .asm file is compared to the framework's .asm versions. WATCH OUT: please only change the .asm file if the contents are verified to be correct! 2007-09-05 17:14:17 +00:00
mterwoord_cp
81e4fa33ff some small changes 2007-09-05 15:35:56 +00:00
mterwoord_cp
5e3e24f163 Functions work now (that is, simple ones are tested). Next thing to get working is p/invokes. 2007-09-05 14:44:37 +00:00
mterwoord_cp
71ecc7cdf5 2007-09-05 13:51:29 +00:00
mterwoord_cp
491be780f8 doesn't work, see comments. some progress has been made, though 2007-09-04 17:16:30 +00:00
kudzu_cp
ea41827fda Chekc i missin file 2007-09-04 14:09:44 +00:00