Commit graph

755 commits

Author SHA1 Message Date
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
mterwoord_cp
e9d22e843d Renamed NeedsHeapSupport property, and inverted the value 2007-09-04 13:44:38 +00:00
mterwoord_cp
a661b7c544 2007-09-04 13:22:01 +00:00
mterwoord_cp
4f1bf676e8 2007-09-03 17:12:38 +00:00
mterwoord_cp
42a470db28 2007-09-03 15:08:37 +00:00
mterwoord_cp
494629ea2b Some infrastructural changes 2007-09-03 13:32:32 +00:00
mterwoord_cp
e1a1b54b67 produces valid output now 2007-09-03 11:23:10 +00:00
mterwoord_cp
066ae93575 2007-09-03 07:00:53 +00:00
mterwoord_cp
0d5f23f111 2007-09-02 15:34:50 +00:00
mterwoord_cp
b24ad8493c 2007-09-02 14:55:56 +00:00
mterwoord_cp
743e531621 2007-09-02 13:45:58 +00:00
mterwoord_cp
5f9010f0bc refactoring: moved DummyOp to its own c# file 2007-09-02 11:16:24 +00:00
mterwoord_cp
61461620a8 2007-09-02 10:41:19 +00:00
mterwoord_cp
e83a542905 2007-09-02 07:01:41 +00:00
mterwoord_cp
b619721961 2007-09-02 06:31:20 +00:00
kudzu_cp
6ac014b6e2 More hcanegs - still needs finished, but builds. 2007-09-01 17:06:51 +00:00
kudzu_cp
69c506f26a Doesnt work! Dont grab yet 2007-09-01 16:50:35 +00:00
mterwoord_cp
969bd7fc6f 2007-09-01 15:34:29 +00:00
mterwoord_cp
8a3dbcc5ca Some refactorings 2007-09-01 15:21:22 +00:00
kudzu_cp
b585e65358 Example conversion of Nop 2007-09-01 14:30:16 +00:00
mterwoord_cp
92267f1801 2007-09-01 14:27:53 +00:00
kudzu_cp
2df5cb8a43 Latest changes 2007-09-01 13:48:02 +00:00
kudzu_cp
e640ba2a0f Stable check in. More changes coming. 2007-09-01 10:18:53 +00:00
kudzu_cp
97b1e700e5 These files are now in .X86 dir 2007-09-01 09:44:04 +00:00
kudzu_cp
3824c22d05 Moved X86 ops to proper asm and ns 2007-09-01 09:42:43 +00:00
kudzu_cp
b256e9fcc1 comments 2007-08-31 16:00:30 +00:00
mterwoord_cp
af3440105e 2007-08-31 15:54:44 +00:00
mterwoord_cp
ce7ce6fe9a 2007-08-31 15:31:14 +00:00
mterwoord_cp
17b84b3709 2007-08-31 14:48:18 +00:00
kudzu_cp
ac0f1666fd More splitting of tests. 2007-08-31 14:29:27 +00:00
kudzu_cp
ebf8e7edc3 more tests 2007-08-31 14:18:31 +00:00
kudzu_cp
9a82bb1beb Simple steps to test first. 2007-08-31 13:31:29 +00:00
mterwoord_cp
fb85c4c0d1 Now a simple hello world win app can be made using the Assembler class. 2007-08-31 09:41:15 +00:00
mterwoord_cp
fcb234e28f Added some more X86 opcodes 2007-08-31 06:48:20 +00:00
mterwoord_cp
c09c0f2459 2007-08-30 17:33:25 +00:00
mterwoord_cp
08ee17a829 2007-08-30 16:56:01 +00:00
mterwoord_cp
1e10ad949a 2007-08-30 16:20:02 +00:00
kudzu_cp
0587aa1db3 Literal and Invoke 2007-08-30 16:07:38 +00:00
mterwoord_cp
9cf16ce76a 2007-08-30 15:55:23 +00:00
kudzu_cp
8eaa7963ba Added label 2007-08-30 15:46:21 +00:00
kudzu_cp
2752d5ab61 Changes to attribute and instruction behaviour 2007-08-30 15:43:36 +00:00
kudzu_cp
cbbc25203c Added HelloWorldAssembler 2007-08-30 14:51:29 +00:00
mterwoord_cp
8da5df3d7e 2007-08-30 14:43:47 +00:00
mterwoord_cp
50f6a9a812 2007-08-30 14:13:48 +00:00
kudzu_cp
096b218c55 Added completed notification. 2007-08-30 12:31:56 +00:00
mterwoord_cp
859304e4dd 2007-08-30 11:26:11 +00:00
mterwoord_cp
30c21f3eee Autogenerated msil opcode files 2007-08-30 11:05:34 +00:00
mterwoord_cp
44e22a32cf some small refactorings 2007-08-30 10:45:00 +00:00
mterwoord_cp
5df9af6a2f 2007-08-30 10:20:06 +00:00
mterwoord_cp
430f9dc75b 2007-08-30 08:19:16 +00:00
kudzu_cp
bf9f780b92 Removed System from references. Now only internal mscorlib 2007-08-29 20:42:40 +00:00
kudzu_cp
5505ccc1fe Removed more unused files. 2007-08-29 20:23:23 +00:00
kudzu_cp
4f9024ff9b Changed abstract method to empty impl to make overrideing optional, ie opcodes with no params need not override. 2007-08-29 20:17:28 +00:00
kudzu_cp
76220df715 Changed Assemble to EmitParams 2007-08-29 20:15:01 +00:00
kudzu_cp
0f7a659c8d More examples. 2007-08-29 20:01:33 +00:00
kudzu_cp
0c21b1730b Removing no longer used assemblies. 2007-08-29 19:39:38 +00:00
kudzu_cp
c4cdabc756 Removed source and binary. Will combine into X86 2007-08-29 19:38:42 +00:00
kudzu_cp
6e702262ee More structure 2007-08-29 16:08:44 +00:00
kudzu_cp
3eab4da6fa naming fix 2007-08-29 15:40:17 +00:00
kudzu_cp
1c5765fa98 Chagned .Process to .Assemble 2007-08-29 15:39:16 +00:00
kudzu_cp
da934acb06 More X86 2007-08-29 15:34:15 +00:00
mterwoord_cp
d0a3089577 2007-08-29 15:23:08 +00:00
kudzu_cp
5ddd0588cb Newer structure 2007-08-29 15:05:42 +00:00
mterwoord_cp
d0204e4597 2007-08-29 14:55:31 +00:00
kudzu_cp
406fc191fd Binding fixes, I hope. 2007-08-29 14:50:52 +00:00
kudzu_cp
56f146996f Renamed dir to match project 2007-08-29 14:28:10 +00:00
mterwoord_cp
5eabb4bae1 changed to use Cecil, added diagnostics support for Ldstr 2007-08-29 14:16:38 +00:00
kudzu_cp
7aba351080 Name change 2007-08-29 13:37:16 +00:00
mterwoord_cp
654bcf7e56 missing file 2007-08-29 13:33:49 +00:00
mterwoord_cp
26d1d639bf 2007-08-29 13:24:51 +00:00
mterwoord_cp
22ae223eda Add simple IL scanning stuff 2007-08-29 12:44:05 +00:00
kudzu_cp
40d53161a1 Initial op code structure 2007-08-29 11:16:40 +00:00
kudzu_cp
a05509bce5 Reference fix 2007-08-29 10:33:34 +00:00
kudzu_cp
cbaafb1eda Added Mono Cecil 2007-08-29 10:28:50 +00:00
kudzu_cp
c44300f6a1 Added HelloWorld for source project testing. 2007-08-29 10:25:23 +00:00
kudzu_cp
5a894231e9 Initial checkin 2007-08-29 10:18:05 +00:00