Commit graph

4813 commits

Author SHA1 Message Date
mterwoord_cp
40968f0865 2008-01-03 17:59:51 +00:00
mterwoord_cp
0fdb59a7bf 2008-01-03 17:01:25 +00:00
mterwoord_cp
093ebb1b1b Works partially now 2008-01-03 16:16:00 +00:00
mterwoord_cp
e5b8dd90ae Some debug changes 2008-01-03 15:37:42 +00:00
mterwoord_cp
829c285590 Clock added 2008-01-03 13:54:05 +00:00
mterwoord_cp
e957d49f2f Added a Heap LogHandler to the log viewer, and changed some small stuff regarding loging 2008-01-03 13:13:08 +00:00
mterwoord_cp
98c6b41483 2008-01-03 12:38:33 +00:00
mterwoord_cp
2d900cbfeb Some more narrowing down of bug.. 2008-01-03 11:19:38 +00:00
mterwoord_cp
ac36e87438 Kernel works now using the syslinux loader 2008-01-03 11:02:17 +00:00
moitoius_cp
3bfbb4242e Kernel works with GRUB 2008-01-03 09:56:46 +00:00
mterwoord_cp
c740d49f0e 2008-01-03 09:53:27 +00:00
moitoius_cp
2b39132c9d Pulled out serial and keyboard support. 2008-01-03 06:56:45 +00:00
moitoius_cp
0fb4e031c6 Infinite loop won't break anything. 2008-01-03 06:38:45 +00:00
moitoius_cp
9397fa0391 Undid a breaking change 2008-01-03 06:19:03 +00:00
moitoius_cp
db9619497a Undid breaking changes. 2008-01-03 06:08:31 +00:00
moitoius_cp
36f2d663b2 Keyboard support out. 2008-01-02 20:27:53 +00:00
moitoius_cp
f619590559 Serial is now disabled. 2008-01-02 20:14:15 +00:00
moitoius_cp
250e5826c7 Last change may throw something into and infinite loop. Fixed. 2008-01-02 20:11:35 +00:00
moitoius_cp
437c2a173f Added support to bypass all serial methods when the serial is not initialised. 2008-01-02 20:10:34 +00:00
moitoius_cp
5eddc078e9 Backspace now supported. 2008-01-02 18:48:00 +00:00
mterwoord_cp
a7ddae1db8 Should run now 2008-01-02 18:22:53 +00:00
mterwoord_cp
500e887d46 2008-01-02 18:06:34 +00:00
moitoius_cp
e2737981d9 Fleshed out the FAT 16 Header. 2008-01-02 16:32:49 +00:00
moitoius_cp
722fc094fa Added a well-defined filesystem interface. Started with FAT16. 2008-01-02 16:15:23 +00:00
moitoius_cp
6c8bfb6293 2008-01-02 16:09:11 +00:00
moitoius_cp
91db34431b Deleted a dir that was causing build issues 2008-01-02 14:50:00 +00:00
moitoius_cp
fe6335478d Removed Exit from the commands. The log viewer was not working. 2008-01-02 14:46:57 +00:00
moitoius_cp
b29251b4d4 Everything but exit works. 2008-01-02 14:44:18 +00:00
moitoius_cp
b979134b77 Color supported. 2008-01-02 14:05:39 +00:00
moitoius_cp
f96b49bce4 Cleanup and rename before I start working on the built in commands. 2008-01-02 12:26:25 +00:00
moitoius_cp
68f8113839 Checked in the new location. 2008-01-02 12:19:16 +00:00
moitoius_cp
4cc62aab8e Moved the Logger into the correct directory. 2008-01-02 12:17:37 +00:00
moitoius_cp
5bd600e626 Make sure you run the log after qemu starts... But it works. 2008-01-02 12:12:01 +00:00
moitoius_cp
ac72e642e8 Fixed the '\0' in the log from breaking the XmlReader. 2008-01-02 12:01:35 +00:00
mterwoord_cp
d0a0797e83 2008-01-02 11:48:55 +00:00
mterwoord_cp
3e01e2ef03 2008-01-02 11:39:09 +00:00
moitoius_cp
a2e0a348f2 Made the log clear when the serial debug is deleted. 2008-01-02 11:35:04 +00:00
moitoius_cp
fbd6ab2c0a LogViewer handling tail functionality. 2008-01-02 11:32:21 +00:00
moitoius_cp
af5b976f91 Removed old log viewer. 2008-01-02 10:59:42 +00:00
moitoius_cp
5b7bf857f2 Preliminary work on the log viewer. 2008-01-02 10:59:07 +00:00
moitoius_cp
78d2fdc405 Made the demo console. Try out the type command... 2008-01-02 09:46:04 +00:00
mterwoord_cp
10ba077bb8 Added 8byte resultcode test 2008-01-02 09:43:49 +00:00
mterwoord_cp
1138655d8c hacked-together version of 8byte result codes 2008-01-02 09:40:16 +00:00
moitoius_cp
648f03cf25 Added qwerty->vbnm keys, and " ", and "\n" 2008-01-02 08:56:48 +00:00
mterwoord_cp
a3734ff054 string.IndexOf(char) works now 2008-01-02 08:52:59 +00:00
moitoius_cp
8e5e6a027a Made the string plug, but it doesn't work. Got the prompter class seperating out spaces. 2008-01-02 07:55:42 +00:00
mterwoord_cp
382e1d845f 2008-01-01 18:11:51 +00:00
moitoius_cp
b8a5194272 Renamed I<stuff> to <stuff>Base. To avoid people from using interfaces. 2008-01-01 18:07:22 +00:00
moitoius_cp
d7be8a0fda Console.ReadLine() now works 2008-01-01 18:00:14 +00:00
moitoius_cp
e277632e8d Moved Matthijs stuff into his own kernel stage. 2008-01-01 17:27:23 +00:00
moitoius_cp
8844f2789c Cleaned up the status messages. 2008-01-01 17:23:39 +00:00
moitoius_cp
dfef2aa863 Made Matthijs as Kernel stage. We should all do likewise. Put the console into an infinite loop. 2008-01-01 17:22:15 +00:00
moitoius_cp
5da3a86a5d 2008-01-01 16:47:28 +00:00
moitoius_cp
5a3c283c89 2008-01-01 16:46:47 +00:00
mterwoord_cp
bd381b19b9 2008-01-01 16:22:40 +00:00
moitoius_cp
c420179ec7 2008-01-01 16:12:32 +00:00
mterwoord_cp
1d0bfcf49f The dir command works now 2008-01-01 16:01:45 +00:00
moitoius_cp
30b96e797f 2008-01-01 15:34:30 +00:00
moitoius_cp
a1cad2adfa not building due to array issue 2008-01-01 15:31:45 +00:00
moitoius_cp
5867b50d02 2008-01-01 15:06:26 +00:00
mterwoord_cp
230a8cf42e debug cleanup 2008-01-01 14:58:30 +00:00
mterwoord_cp
752c5d0655 2008-01-01 14:57:34 +00:00
mterwoord_cp
122b9a3a4e 2008-01-01 14:41:07 +00:00
mterwoord_cp
219d253444 2008-01-01 14:29:35 +00:00
moitoius_cp
41336096c5 does not work 2008-01-01 14:22:10 +00:00
moitoius_cp
add525cece 2008-01-01 14:17:49 +00:00
moitoius_cp
6dbd77b8e6 2008-01-01 13:58:15 +00:00
mterwoord_cp
47a16c1ea0 2008-01-01 13:36:51 +00:00
moitoius_cp
06d2462270 init broken 2008-01-01 13:34:47 +00:00
moitoius_cp
d394968e02 2008-01-01 13:17:44 +00:00
moitoius_cp
73cd6daa8a Made the Init stage. 2008-01-01 12:51:31 +00:00
moitoius_cp
08b9a4b4b4 2008-01-01 12:46:56 +00:00
moitoius_cp
4fa2a3baef made a simple staging system 2008-01-01 12:43:47 +00:00
moitoius_cp
daa1bbea8b 2008-01-01 12:16:08 +00:00
mterwoord_cp
cf1c70ec48 2007-12-31 15:35:13 +00:00
mterwoord_cp
5806eb0ba0 memorystream works (writing) 2007-12-31 15:32:51 +00:00
mterwoord_cp
46a15deb44 Implemented Buffer.BlockCopy 2007-12-31 12:00:26 +00:00
mterwoord_cp
6668aba9a1 2007-12-31 10:34:26 +00:00
mterwoord_cp
b6897a66e0 Ext2 reading 2007-12-31 10:30:59 +00:00
mterwoord_cp
374affe053 2007-12-30 14:04:48 +00:00
mterwoord_cp
f6b7771a3b 2007-12-30 12:44:48 +00:00
mterwoord_cp
0d1eb733ad debugger.break works now. when using BuildM script, cosmos is now automatically booted, and it'll automagically stop at the debugger.break calls 2007-12-30 10:02:55 +00:00
mterwoord_cp
e42a484c97 2007-12-30 09:29:48 +00:00
mterwoord_cp
bb5b079685 arrays work now 2007-12-30 08:44:33 +00:00
mterwoord_cp
e8ac690997 Added small debugging aid 2007-12-30 07:58:08 +00:00
mterwoord_cp
ae0e7c0d5a small code reorganization, simple win32 apps work now 2007-12-29 16:10:10 +00:00
mterwoord_cp
dd1b0578c0 2007-12-29 15:50:33 +00:00
mterwoord_cp
d3efa5092d Some renaming 2007-12-29 10:52:41 +00:00
mterwoord_cp
7752b2aa26 2007-12-26 12:03:36 +00:00
mterwoord_cp
a3ac8d5445 2007-12-25 14:32:43 +00:00
mterwoord_cp
8e244b31d1 2007-12-25 13:25:12 +00:00
mterwoord_cp
efdf248023 Replaced DJGPP toolchain with a crossbuilt toolchain of cygwin 2007-12-25 12:10:25 +00:00
mterwoord_cp
c1e6033be3 2007-12-25 11:42:14 +00:00
mterwoord_cp
b4fca104df mem free works successfully now 2007-12-24 10:35:15 +00:00
mterwoord_cp
84095fd299 Heap supports freeing memory now 2007-12-23 09:27:21 +00:00
mterwoord_cp
9d2c577653 added ram detection (using grub) 2007-12-22 18:38:59 +00:00
mterwoord_cp
1626d982a1 Ext2 reading works now (limited edition) 2007-12-22 08:32:46 +00:00
mterwoord_cp
55b55528cf 2007-12-21 17:45:39 +00:00
mterwoord_cp
b148e68dfa 2007-12-21 14:36:17 +00:00
mterwoord_cp
48d118293d removed some logging.. 2007-12-21 11:34:20 +00:00
mterwoord_cp
60cca6f6cf Several changes. fixed stobj 2007-12-21 10:14:26 +00:00
mterwoord_cp
8e79109491 just builds, and runs fine, ext2 doesn't work by far yet. calculation issues 2007-12-19 18:19:30 +00:00
mterwoord_cp
a8ad4249d4 fixed operand order bug 2007-12-16 17:29:49 +00:00
mterwoord_cp
d82c83567d 2007-12-16 16:22:14 +00:00
mterwoord_cp
5147a015dc Fixed Conv_I and stobj opcode handling.. 2007-12-16 12:41:28 +00:00
mterwoord_cp
50a75f6f1d argument handling bug fixed. could cause stack corruption 2007-12-16 12:17:11 +00:00
mterwoord_cp
b128b3c3af initial start on ext2.. 2007-12-14 19:17:12 +00:00
mterwoord_cp
a5e214e53c Reading data from IDE works a gain.. 2007-12-14 19:10:16 +00:00
mterwoord_cp
36100523d4 2007-12-12 15:58:42 +00:00
mterwoord_cp
2b3a8961e7 2007-12-09 17:42:05 +00:00
mterwoord_cp
827bb7354d Screen works fine now.. 2007-12-09 16:04:30 +00:00
mterwoord_cp
0a0d753d00 Kernel works again.. 2007-12-09 13:09:15 +00:00
mterwoord_cp
f1b1e29743 Some parts work now.. 2007-12-08 14:37:06 +00:00
mterwoord_cp
ae0fab58a7 Misc changes 2007-12-08 11:21:02 +00:00
mterwoord_cp
530046b997 Debugging of cosmos works now via gdb and remote stub in vm 2007-12-02 15:19:53 +00:00
mterwoord_cp
90a9edda7c random changes. some dont work :) 2007-11-27 13:57:13 +00:00
mterwoord_cp
70519d3153 some small changes 2007-11-26 15:33:59 +00:00
mterwoord_cp
f0f81c52cf fixed issues with several opcode implementations. Queue<T> should work now 2007-11-26 13:14:34 +00:00
mterwoord_cp
36b66063a2 some fixes 2007-11-24 16:21:01 +00:00
mterwoord_cp
6ca242b4f5 new test 2007-11-24 15:22:06 +00:00
mterwoord_cp
d7f1db40dc Some more fixes to several stuff 2007-11-24 15:19:05 +00:00
mterwoord_cp
815426c76c several fixes 2007-11-24 13:25:08 +00:00
kudzu_cp
f0b5d0f2e7 2007-11-24 01:24:47 +00:00
mterwoord_cp
e4ed1fd45d Fixed some tests 2007-11-23 18:33:19 +00:00
mterwoord_cp
e4b2cfaca3 prelim work on generics 2007-11-23 16:50:43 +00:00
mterwoord_cp
a244066330 Added some more logging 2007-11-23 16:11:05 +00:00
mterwoord_cp
9cf9063c99 small fix. 2007-11-23 16:00:55 +00:00
mterwoord_cp
3e52956171 Added small optimization.. 2007-11-23 15:53:33 +00:00
mterwoord_cp
cd3d01bc74 initial kernel support for heap 2007-11-23 14:44:13 +00:00
mterwoord_cp
5f91fe69f1 Logging improved 2007-11-23 11:17:07 +00:00
mterwoord_cp
8de4b1a6ee Interrupts work correctly now. keyboard is too. interrupt context is accessible..
For now, PIT interrupts are masked, to prevent a flood of them..
2007-11-23 08:56:04 +00:00
mterwoord_cp
367ddbbc03 It's now possible to use all stack info as provided with the interrupt context 2007-11-23 08:08:06 +00:00
kudzu_cp
a64f3eff75 2007-11-23 01:20:40 +00:00
kudzu_cp
586fbdb47b Refactor 2007-11-23 00:07:43 +00:00
kudzu_cp
be18fd4a38 2007-11-22 19:19:24 +00:00
mterwoord_cp
581a0219b4 ISRs work now. see Interrupts for samples 2007-11-22 19:18:39 +00:00
mterwoord_cp
e7ffcc64f2 2007-11-22 19:08:49 +00:00
mterwoord_cp
6a62ab7d05 New architecture works. Still working on removing the Cosmos.Kernel.Hardware.Processor project 2007-11-22 16:40:09 +00:00
mterwoord_cp
e8e5384b10 2007-11-22 15:19:27 +00:00
mterwoord_cp
6169d54969 Redesign interrupts and stuff 2007-11-22 13:42:45 +00:00
kudzu_cp
5e1fdf05c9 2007-11-22 08:22:26 +00:00
kudzu_cp
57ce803411 2007-11-22 08:21:26 +00:00
kudzu_cp
930ab5724a Bios Int sample 2007-11-21 16:59:30 +00:00
kudzu_cp
45e461d03e 2007-11-21 16:00:53 +00:00
mterwoord_cp
6ac2cba250 2007-11-21 15:51:45 +00:00
mterwoord_cp
edc32cc8b8 QEmu launcher added 2007-11-21 15:35:57 +00:00
kudzu_cp
562b0a91fb Hardware example 2007-11-21 15:04:05 +00:00
mterwoord_cp
1e12c71137 2007-11-21 12:31:46 +00:00
mterwoord_cp
fdd36edaaf All works now. metal mode cctors are called. 2007-11-21 09:05:47 +00:00
mterwoord_cp
97f8349dd7 Disabled static constructor calling in metal mode. 2007-11-20 18:16:04 +00:00
mterwoord_cp
f6d34e3010 Kernel works now 2007-11-20 17:31:13 +00:00
mterwoord_cp
9fad31e86a 2007-11-20 17:17:03 +00:00
mterwoord_cp
0c861b9b2e Some refactorings 2007-11-20 17:16:42 +00:00
kudzu_cp
61959792e3 2007-11-20 16:31:15 +00:00
kudzu_cp
b9e7a965b9 Comments 2007-11-20 16:16:12 +00:00
kudzu_cp
29ce47b8f9 Plugs 2007-11-20 15:57:09 +00:00
mterwoord_cp
cf4deabf38 some solution reorganization... 2007-11-20 15:50:26 +00:00
kudzu_cp
2a74da3814 New Cosmos Shell 2007-11-20 15:46:22 +00:00
mterwoord_cp
0acb7b7f31 Some native code cleanup 2007-11-20 15:45:39 +00:00
kudzu_cp
d72c2ab8ed Moved ISO 2007-11-20 14:09:12 +00:00
mterwoord_cp
46d944680b Native console is now implemented using a plug 2007-11-20 13:33:50 +00:00
mterwoord_cp
5f1eb30537 Some additional changes, now mono system libs can be used 2007-11-20 08:23:27 +00:00
mterwoord_cp
6f3133c06b GC now reclaims arrays and array members correctly for static fields too 2007-11-19 16:00:18 +00:00
mterwoord_cp
fd2c7222bd Console support is fixed 2007-11-19 14:57:23 +00:00
mterwoord_cp
91a0dc29c5 First version with the new Plug infrastructure 2007-11-19 14:11:28 +00:00
mterwoord_cp
a583650e73 refactorings 2007-11-18 16:51:28 +00:00
mterwoord_cp
ea5b8d6171 We have a GC now. :-) 2007-11-18 14:53:26 +00:00
kudzu_cp
a489efab6e worked around bug in ISO tool 2007-11-18 12:53:30 +00:00
kudzu_cp
58e089a2fc ISO auto boot 2007-11-18 12:34:57 +00:00
mterwoord_cp
c0b8ce8eae some smal changes and added boot floppy and a build script for cosmos 2007-11-17 14:21:35 +00:00
mterwoord_cp
c4f0a83b0f Code cleanup 2007-11-17 12:58:48 +00:00
mterwoord_cp
421e40e2cb Code cleanup 2007-11-17 12:53:28 +00:00
mterwoord_cp
6391c135d6 several fixes/changes 2007-11-17 07:58:01 +00:00
mterwoord_cp
4fecfefed0 Some refactorings. .ctor(object,intptr) is now always implemented for delegates 2007-11-16 17:28:08 +00:00
mterwoord_cp
5b95799f65 Callvirt fixed. some other changes. simple delegate test. some usage change to il2cpu.exe 2007-11-16 16:18:43 +00:00
mterwoord_cp
dedbd9851b keyboard works, stelem too :-) 2007-11-16 12:50:03 +00:00
mterwoord_cp
8cba117c94 Some opcode fixes 2007-11-16 12:37:50 +00:00
kudzu_cp
6e6948bdae 2007-11-16 09:35:24 +00:00
kudzu_cp
9083109678 2007-11-15 21:34:18 +00:00
mterwoord_cp
bfab20d76d Added a Heap usage viewer. 2007-11-15 18:35:26 +00:00
mterwoord_cp
36054ec753 Overall changes 2007-11-15 16:40:27 +00:00
mterwoord_cp
8f63d7739f Overall changed. Most significant one is fix of Blt opcode handling 2007-11-15 10:06:36 +00:00
mterwoord_cp
f8712875a3 Viewer works. 2007-11-14 14:16:34 +00:00
mterwoord_cp
85af67e2cb 2007-11-13 16:34:30 +00:00
mterwoord_cp
90313bc1e6 Initial Try to make a log viewer 2007-11-13 16:33:25 +00:00
mterwoord_cp
9b14412c07 some small more changes 2007-11-13 14:28:34 +00:00
mterwoord_cp
e7211e84c5 2007-11-13 14:16:36 +00:00
mterwoord_cp
bc984a9607 ldfld and stfld are fully implemented now 2007-11-13 14:16:16 +00:00
mterwoord_cp
fa9e19282b Logging etc uses normal hex numbers now 2007-11-13 10:22:39 +00:00
mterwoord_cp
8cbd8f27f8 Removed most usages of the Literal opcode. try to keep this usage to a minimum to ease future refactorings.. 2007-11-12 16:42:01 +00:00
mterwoord_cp
a554b6d699 interrupts and gdt work fine now 2007-11-12 16:03:12 +00:00
mterwoord_cp
fa7c6cdde7 Some overall enhancements 2007-11-10 13:15:07 +00:00
mterwoord_cp
d7ab23f06b IL2CPU is fast again :-) 2007-11-09 11:08:00 +00:00
mterwoord_cp
08f60aa04b it's possible to use objects in the kernel now... 2007-11-06 16:13:51 +00:00
mterwoord_cp
9b5a4b0cef i4o integration 2007-11-05 15:17:51 +00:00
mterwoord_cp
cd95b8c30a Some enhancements to cosmos 2007-11-05 15:08:11 +00:00
mterwoord_cp
35c15447be some simple changes. kernel console works again 2007-11-05 12:27:29 +00:00
mterwoord_cp
36f4dfd119 fixed string support in metal-mode 2007-11-04 16:48:10 +00:00
mterwoord_cp
5082f79909 Strings work again 2007-11-02 10:44:46 +00:00
mterwoord_cp
b9e7c8e593 2007-11-02 09:59:50 +00:00
mterwoord_cp
920122682a Added some more infra work 2007-10-31 16:14:36 +00:00
mterwoord_cp
2d57a52cd3 Comport writing works now, some other minimalistic changes. 2007-10-31 10:19:47 +00:00
mterwoord_cp
83d974d8ce Some random changes. infra is getting up, good.. 2007-10-31 08:31:31 +00:00
mterwoord_cp
9f9e13fed7 Some small struct changes 2007-10-30 13:43:15 +00:00
mterwoord_cp
06d5c1c781 bunch of random changes. fixed shl, div_un, rem, string support. 2007-10-30 09:42:17 +00:00
mterwoord_cp
2eb2490012 Kernel console works again 2007-10-29 16:54:47 +00:00
mterwoord_cp
f1b0632f22 some fixes 2007-10-29 16:09:14 +00:00
mterwoord_cp
5c5cfd4536 some random changes 2007-10-29 15:34:45 +00:00
mterwoord_cp
0e81eb8979 fix ldsfld/stsfld 2007-10-29 15:21:09 +00:00
kudzu_cp
0d5a8d620c Changed to build explicit for X86 so it works ok on XP64 host. 2007-10-29 14:46:20 +00:00
mterwoord_cp
9b8388744b 2007-10-29 10:51:58 +00:00
mterwoord_cp
59e9fa8806 some structural changes 2007-10-29 10:44:20 +00:00
kudzu_cp
b28e3c56e9 FASM 2007-10-29 10:23:37 +00:00
mterwoord_cp
be761b4ee8 some small stind_i changes, and repos cleanup (removing .user files) 2007-10-29 10:16:41 +00:00
kudzu_cp
75b8846e4a 2007-10-29 10:06:49 +00:00
mterwoord_cp
f9a421df12 Misc changes 2007-10-29 10:04:17 +00:00
mterwoord_cp
9c7d80f11c Some renaming 2007-10-28 15:06:38 +00:00
mterwoord_cp
f9226dbdb3 Some more changes. need to add a gdt... 2007-10-28 14:56:08 +00:00
mterwoord_cp
1096560654 kernel writeline works again 2007-10-28 14:11:50 +00:00
mterwoord_cp
911dc893ae Fixed several things. Kernel building works again. 2007-10-27 14:53:51 +00:00
mterwoord_cp
8f9b9bd80d non-multicast events work now. 2007-10-26 15:03:48 +00:00
mterwoord_cp
07a5974362 Some small changes 2007-10-23 08:18:39 +00:00
mterwoord_cp
8431877010 Console works again. 2007-10-11 18:04:03 +00:00
mterwoord_cp
0110fc3a18 VMT support works now :) 2007-10-11 14:17:11 +00:00
mterwoord_cp
ddb3d63764 The struct/aray bug finally has been solved. Next big thing is vmt support. see how far we are. 2007-10-10 14:57:22 +00:00
mterwoord_cp
92e09ad416 Many changes, probably close to fixing the struct/array bug, preventing us from implementing a VMT....... 2007-10-09 17:21:48 +00:00
mterwoord_cp
eca2b6818d Everything works again. 2007-10-07 12:53:38 +00:00
mterwoord_cp
d049fbdc54 removed PostSharp dependency, fixed console tool. 2007-10-07 11:53:35 +00:00
mterwoord_cp
65e78038c1 Rename try 2007-10-07 11:27:40 +00:00
mterwoord_cp
304dc5866b 2007-10-07 11:17:28 +00:00
mterwoord_cp
9ce4ff800f 2007-10-07 11:11:09 +00:00
mterwoord_cp
9a99d6394d Do not use! 2007-10-07 11:05:38 +00:00
mterwoord_cp
7ef294a4f6 interrupts work now. 2007-10-06 19:49:05 +00:00
mterwoord_cp
ffcd2a6bbd random changes, interrupts work now 2007-10-06 19:13:14 +00:00
mterwoord_cp
0fcc0b4e95 Works all. 2007-10-06 17:12:11 +00:00
mterwoord_cp
236d76e426 random changes, some stuff might not work 2007-10-06 16:01:03 +00:00
mterwoord_cp
40b559b3db Console.WRiteLine works again for NativeX86 2007-10-06 08:53:51 +00:00
mterwoord_cp
f6c293c06e 2007-10-06 08:22:34 +00:00
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
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