Commit graph

2698 commits

Author SHA1 Message Date
Andrey Kurdyumov
c26d29d113 Use shared code where possible 2015-05-26 22:42:47 +06:00
Andrey Kurdyumov
8ea60202a3 Add the helper class 2015-05-26 22:42:46 +06:00
Andrey Kurdyumov
06afbf4c18 Fix compilation errors on Roslyn 2015-05-26 22:42:45 +06:00
Geramy L. Loveless
548a71a4fb Fixed compile error
I have fixed the compiler error.
We called Assemble twice causing the compilation of two of the same
instruction sets.
2015-05-25 22:51:08 -07:00
Matthijs ter Woord
0af76c627e Initial fix for #119. This doesn't work yet. 2015-05-25 20:03:33 +02:00
Matthijs ter Woord
6cadd58f24 Small fix to editorconfig 2015-05-25 19:57:21 +02:00
Matthijs ter Woord
9b78ed1903 Extra changes. 2015-05-24 16:43:04 +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
8a6872c600 More conditional code. 2015-05-23 10:28:44 +02:00
Matthijs ter Woord
78a5574904 Disable some debugging code. 2015-05-23 10:28:32 +02:00
Geramy L. Loveless
e482660024 Settings bug fixed
I used a frozen variable because the onchange events for anything in the
settings page was being applied to the current mProp which means when we
load our settings we will load the defaults.
2015-05-22 10:38:56 -07:00
Matthijs ter Woord
c39392fe02 We had an exception bug (serious one), due to me reintroducing SystemExceptionOccurred lately. Fixed now. 2015-05-22 18:32:40 +02:00
Matthijs ter Woord
243417857e Add plug for UIntPtr.ToString 2015-05-22 17:20:35 +02:00
zdimension
bd9bf0884c Update AppAssemblerRingsCheck.cs 2015-05-22 13:41:20 +02:00
zdimension
03e4266a3b Added Console colors to the Cosmos.System.Console class and modified the plugs calls. Now Console.ForegroundColor and Console.BackgroundColor are working again! 2015-05-22 13:37:08 +02:00
Geramy
3231096f34 Merge pull request #105 from CosmosOS/GeramysChanges
Geramys changes
2015-05-17 11:59:49 -07:00
gloveless
b6f6345789 Bochs VS Debugging Support
vs debugging is working on bochs now.
2015-05-17 11:55:39 -07:00
gloveless
28a6e53549 Bochs configuration
more configuration but it doesnt seem to connect idk....
2015-05-17 10:44:29 -07:00
gloveless
1621c36784 Bochs Visual Studios Debug
I have the visual studio debug settings working but it seems to not be
working bochs is a pipe-client connecting i am not sure if it is just
slow over com or not working.
2015-05-16 21:43:52 -07:00
gloveless
08c310c0da Bochs Boot Supported
the boot is now working and we have a initial bochs configurator
working.
2015-05-16 20:37:57 -07:00
gloveless
61e7c7f9f7 Added support for Bochs 2015-05-16 12:43:43 -07:00
Matthijs ter Woord
0d10ade085 New playground project for Emile 2015-05-11 08:26:43 +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
d4cdf12555 Add input check 2015-05-10 15:34:12 +02:00
Matthijs ter Woord
906b554f17 Re-enable the ExceptionOccurred label. 2015-05-10 15:31:31 +02:00
Matthijs ter Woord
7f207841b1 Add another editorconfig file. 2015-05-10 15:31:01 +02:00
Matthijs ter Woord
1f74a852b8 Prevent visual studio crashes when (for example) a Null Reference Exception is being shown, but not dismissed before the VMware machine is closed. 2015-05-10 14:15:09 +02:00
Matthijs ter Woord
362d4ec990 Project cleanup. 2015-05-10 13:34:57 +02:00
Matthijs ter Woord
8268084c23 Compilation fix. 2015-05-09 11:15:32 +02:00
Matthijs ter Woord
08f62aa561 Merge pull request #56 from kant2002/Issue-9
Compilation improvements.
2015-05-08 19:50:06 +02:00
Matthijs ter Woord
1c22489404 Merge pull request #78 from kant2002/vs2015
Support for Vs2015
2015-05-08 19:42:38 +02:00
Andrey Kurdyumov
a61b5ce18a Move Nuget packages to the source control 2015-05-08 22:40:59 +06:00
Andrey Kurdyumov
c43847d3ad Add support for VS Experimental Hive 2015-05-08 22:40:55 +06:00
Andrey Kurdyumov
ecd33d2d93 Add ability to select VS Exp Hive for installing. 2015-05-08 22:40:54 +06:00
Andrey Kurdyumov
62de380e40 Add the ability to run builder for VS2015 and VS2013 2015-05-08 22:40:53 +06:00
Andrey Kurdyumov
e8de8ad44d Update Mono.Cecil to 0.9.6.1
Nuget used for delivering dependencies
2015-05-08 22:40:52 +06:00
Andrey Kurdyumov
3af72c3d9c Update to support opening solution in VS2015 2015-05-08 22:40:51 +06:00
Joshua Zenn
6142448d73 Update OpNone.cs 2015-05-08 08:28:53 -04:00
Matthijs ter Woord
2c1481c933 Merge branch 'pr/53' 2015-05-07 18:49:50 +02:00
Matthijs ter Woord
1ef59b5246 Merge branch 'pr/84' 2015-05-07 18:29:58 +02:00
Andrey Kurdyumov
4509dd0f81 Fix String switch on Roslyn 2015-05-07 21:15:08 +06:00
Joshua Zenn
bcc07b0951 Added Ldobj OpType 2015-05-07 08:29:01 -04:00
Andrey Kurdyumov
ed397b2448 Remove not used lookup 2015-05-07 12:50:07 +06: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
6080592f99 Separate index and tables creation
This separation allows don't pay penalty for each insert during compilation phase.
Indexes created at the last step of the compilation process.
For profiler application indexes created together with tables.
2015-05-07 12:50:05 +06:00
Andrey Kurdyumov
40a5b7bc00 Extract running SQL from the resource
in the separate assembly. This allow breaking of the SQLite.sql into separate pieces later.
2015-05-07 12:50:04 +06:00
Andrey Kurdyumov
e2604733f2 Cache label names generation
Caching of label names improve performance a bit, since Regex in the Final method is expensive and takes ~7% of IL2CPU time.
2015-05-07 12:50:04 +06:00
Andrey Kurdyumov
b235faa3d6 Add application which perform similar task as ExtractMapFromElfFile
This application is used for the performance tuning of the execution process.
2015-05-07 12:50:03 +06:00
Andrey Kurdyumov
bdb3564e3f Extract MSBuild task code to the shared library.
This change is required to be able create executable which would be used for the performance measurements.
2015-05-07 12:41:08 +06:00
Andrey Kurdyumov
cb8e43c36b Use ULong in the database model. 2015-05-07 12:41:07 +06:00
Andrey Kurdyumov
eb8c55c597 Cache default mnemonics for assemblies.
This will speedup creation of the assembly instructions, since we do that a lot.
2015-05-07 12:41: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
ffc0b969b3 Merge branch 'Issue-42' of git://github.com/kant2002/Cosmos-1 into kant2002-Issue-42 2015-05-05 13:42:25 +02:00
Matthijs ter Woord
277d87e3ef Code cleanup. 2015-05-05 10:44:54 +02:00
Matthijs ter Woord
7c8b0f732f Normally, you don't want to use LoadFile, as it always loads that file, even if the same assembly has been loaded from a different folder. Can give weird issues with reflection. 2015-05-05 10:44:00 +02:00
Matthijs ter Woord
a2a2a4c0b9 Add printing the exact arguments to il2cpu.exe, to ease debugging of the kernel. 2015-05-05 10:20:26 +02:00
Charles Betros
251e4f22bb Renamed some project files in my kernel. 2015-05-02 21:23:31 -05:00
Matthijs ter Woord
1fe9f52dbe uniform formatting. 2015-04-20 18:55:40 +02:00
Matthijs ter Woord
e99e9ffad9 Merge pull request #77 from PathogenDavid/master
Added stobj stack push/pop information to OpType and some other smaller changes.
2015-04-20 18:49:51 +02:00
David Maas
c0579322c1 Hacked in showing types in call trace outputs when a plug is missing. (Rather than seeing "Void Run()" you see "Cosmos.Kernel::Void Run()", not ideal but it works.) 2015-04-20 10:41:58 -05:00
David Maas
77f741a127 Added stobj's stack push/pop information to OpType. Re-added PCSpeaker.cs to Cosmos.HAL. 2015-04-20 10:40:39 -05:00
unknown
53d7432fa0 Modifying my user kernel to test VMT. 2015-04-17 12:37:29 -05:00
Matthijs ter Woord
2827b63be0 scanner log works again. 2015-03-15 17:02:47 +01:00
Matthijs ter Woord
01ef7bcc23 - Refactoring of debugstub: now reading/writing of UART registers is isolated in 2 methods. Easier replacing.
- misc changes to aid in development.
2015-03-07 19:23:14 +01:00
Matthijs ter Woord
cd17b19ce4 Disable more edison testing code. 2015-02-26 18:11:48 +01:00
Matthijs ter Woord
e14778b4e3 remove edison testing code. 2015-02-26 18:10:15 +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
Andrey Kurdyumov
806470870d Saving BinFormat under common properties. 2015-02-11 01:38:22 +06:00
Andrey Kurdyumov
a89cb710c7 Add bin format 2015-02-08 22:57:16 +06:00
Matthijs ter Woord
07cdafbedd Ongoing edison work 2015-02-03 19:46:10 +01:00
Matthijs ter Woord
2c7c580b9f small fixes in debugstub. 2015-02-03 18:44:46 +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
a4ee9fe561 Enable assembler log 2015-02-01 14:00:41 +01:00
Matthijs ter Woord
2a0de71240 Progress on edison. 2015-01-30 18:24:13 +01:00
Matthijs ter Woord
90169ed6ef Merge pull request #52 from kant2002/Issue-50
Don't report output from NAsm as error in case of warnings
2015-01-23 13:53:08 +01:00
Andrey Kurdyumov
b7b965ecb0 Fix resolution of references inside solution folder. 2015-01-23 17:26:26 +06:00
Andrey Kurdyumov
fd5d2ae3db Add formatting 2015-01-18 19:46:48 +06:00
Andrey Kurdyumov
2d817c5e6d Add plug for Buffer.__Mmmove on the .NET 4.6 2015-01-18 19:41:30 +06:00
Andrey Kurdyumov
c2119d6c31 Changed GUID for debug engine
Current GUID was conflicting with existing tools and a lot of examples on the Internet
Relates to #51
2015-01-15 18:15:13 +06:00
Andrey Kurdyumov
711826daf6 Don't report output from NAsm as error in case of warnings
IL2CPU task modified to keep current behaviour
2015-01-15 17:26:37 +06:00
Matthijs ter Woord
f5fa59f1cd Compile fix for clean environments. 2015-01-11 12:34:14 +01:00
Matthijs ter Woord
59c6a92a12 Comment out debugging code. 2015-01-09 11:07:48 +01:00
Matthijs ter Woord
d638b4ff8b Disable debugging code. 2015-01-09 11:06:08 +01:00
Matthijs ter Woord
bbe9d4fe08 Add extra tracing code
It seems there's a bug in the GetMethodAddressForType method. This extra code should break if it's the emitted content that's wrong..
2015-01-07 19:18:24 +01:00
Matthijs ter Woord
36ec5751d9 More subtle code changes. 2015-01-04 17:54:48 +01:00
Matthijs ter Woord
c2df4af80e Edison booting now automatically boots the kernel via serial. 2015-01-04 12:16:39 +01:00
Matthijs ter Woord
d84af75276 Ongoing changes. changing cosmos debug port works now. 2015-01-03 11:19:01 +01:00
Matthijs ter Woord
f7a52eff50 Fix compilation. 2015-01-03 10:53:42 +01:00
Matthijs ter Woord
47d4d3f782 Ongoing work for enabling compiler extensions. 2015-01-03 09:30:10 +01:00
Matthijs ter Woord
a61d93e438 Refactorings related to compiler. 2015-01-02 13:56:52 +01:00
Matthijs ter Woord
80bd540e8a Merge branch 'master' of https://github.com/CosmosOS/Cosmos into pr/41 2015-01-02 13:09:30 +01:00
Matthijs ter Woord
8a5d0395f7 Code cleanup 2015-01-02 12:27:53 +01:00
MyvarHD
6b6a40343e Fixed dubble massagees on debug issues #12 2015-01-02 10:40:39 +02:00
Matthijs ter Woord
71647fa672 Ongoing changes 2015-01-01 13:25:25 +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
100293f70a Debugstub variable is called differently. 2014-12-31 14:00:26 +01:00
Matthijs ter Woord
4834e897f6 Fixes after the IL2CPU.exe introduction:
- remove debug files
- exception handling in IL2CPU.exe, with exit codes
- setup fixed
2014-12-31 13:46:44 +01:00
Matthijs ter Woord
aef0d59e93 Merge pull request #39 from MyvarHD/master
Added the IL2CPU.exe
2014-12-31 13:16:14 +01:00
Matthijs ter Woord
b586f58c48 muxing wors completely now (one way) 2014-12-31 13:14:14 +01:00
Matthijs ter Woord
14856e4afc muxing works now. 2014-12-31 12:36:51 +01:00
Matthijs ter Woord
507365dad6 Ongoing work for making serial console working. 2014-12-30 18:42:01 +01:00
MyvarHD
76002f74e4 Fixed il2cpu.exe install bug 2014-12-29 18:52:45 +02:00
MyvarHD
890631162a fixed some basic things 2014-12-29 12:11:27 +02:00
MyvarHD
1f4e3b13c5 moved il2cpu to compiler 2014-12-29 11:35:29 +02:00
MyvarHD
ec4eb484ab Added time took message 2014-12-27 22:47:49 +02:00
MyvarHD
b1ccde00c1 Forgot to commit the new project 2014-12-27 22:40:21 +02:00
MyvarHD
bc8cab17a4 Added the functunality to call the IL2CPU from Command line 2014-12-27 22:38:30 +02:00
Matthijs ter Woord
563431dc21 Compile fixes and changes to consts. 2014-12-27 17:14:12 +01:00
Matthijs ter Woord
6643a9c4db Merge branch 'master' of https://mterwoord@github.com/CosmosOS/Cosmos.git 2014-12-27 16:39:44 +01:00
Matthijs ter Woord
24ba16eb26 Some refactorings.. 2014-12-27 16:38:21 +01:00
Phil Garcia
407d15c8d9 - Resolves issue with GIT constantly thinking this file has changed. 2014-12-25 09:40:29 -08:00
Sentinel209
ad1b08bc74 Merge remote-tracking branch 'origin/master' 2014-12-23 11:51:53 -06:00
Sentinel209
2a7fa50258 Added some tests for interfaces. 2014-12-23 11:43:03 -06:00
Matthijs ter Woord
94f607f30b Make Kernel.Start virtual, so it's possible to override.. 2014-12-23 11:43:39 +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
d15b021506 fix compilation. 2014-12-22 10:55:30 +01:00
Matthijs ter Woord
bf9bd10c0e Merge pull request #22 from tgiphil/mkisofs-merged
Use mkisofs to create ISO file
2014-12-21 12:30:28 +01:00
Matthijs ter Woord
3da990696e Merge branch 'master' of https://github.com/CosmosOS/Cosmos
Conflicts:
	source/Cosmos.IL2CPU/ILScanner.cs
2014-12-21 10:29:32 +01:00
Matthijs ter Woord
35c2427d4d . 2014-12-21 10:28:05 +01:00
Sentinel209
3a3ac8bf79 Added Ldsflda and fixed issue with multiple inheritance and interfaces. 2014-12-20 22:48:16 -06:00
Matthijs ter Woord
0ebc0fbd48 Not sure what the optimizer does. For now, lets disable it. 2014-12-20 18:15:40 +01:00
Matthijs ter Woord
848fbd4479 Small perf improvements. 2014-12-20 17:41:53 +01:00
Matthijs ter Woord
b882bb6c02 Performance improvements. 2014-12-20 17:36:45 +01:00
Matthijs ter Woord
50109802ba Small performance improvements. 2014-12-20 17:02:06 +01:00
MyvarHD
906c5565b5 Added unbox opcode 2014-12-20 17:48:59 +02:00
Matthijs ter Woord
9387a05429 add extra tracing. 2014-12-20 16:41:34 +01:00
MyvarHD
aba52738b2 Merge pull request #1 from CosmosOS/master
update
2014-12-20 17:41:22 +02:00
Matthijs ter Woord
f5e5bba37e Message should be printed more correct 2014-12-20 15:44:13 +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
MyvarHD
72c97ee6d7 Fixed tab order of options page 2014-12-20 15:46:09 +02:00
Matthijs ter Woord
a3474bcde6 begin with testing harness for compiler. 2014-12-20 11:59:15 +01:00
Matthijs ter Woord
ac3d16bfbe no message 2014-12-20 11:55:41 +01:00
Matthijs ter Woord
ae97e3107d Merge pull request #30 from MyvarHD/master
Added My userfile and patched UnBox_Any op code
2014-12-20 11:52:54 +01:00
MyvarHD
6e9451531e Addded StackPushTypes chaneg in Unbox_Any case 2014-12-20 12:50:50 +02:00
MyvarHD
caa56e5b54 Added My userfile and ptached UnBox_Any op code 2014-12-20 12:35:08 +02:00
Matthijs ter Woord
dfdc58ee53 Improved cpu exception tracing. 2014-12-19 20:02:59 +01:00
Matthijs ter Woord
6a3cd41554 Add extra playground libraries. 2014-12-14 16:14:17 +01:00
Phil Garcia
8ad6a7458a - Use mkisofs to create ISO file 2014-12-07 10:19:48 -08:00
Phil Garcia
447c050873 Merge branch 'master' of https://github.com/CosmosOS/Cosmos into mkisofs-merged
Conflicts:
	.gitignore
2014-12-07 10:10:13 -08:00
Phil Garcia
ca7b9aa697 - Use mkisofs to create ISO file 2014-12-07 10:04:46 -08: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
145b2e78b1 Udp sending works now. 2014-12-07 15:44:32 +01:00
Phil Garcia
0cf75a801a - Updated IsoMaker.cs 2014-12-07 06:07:50 -08:00
Matthijs ter Woord
1b4627a310 arp messages are now sent correctly. 2014-12-07 14:27:28 +01:00
Matthijs ter Woord
fb937c395d print more info on screen when CPU exception 6 (Invalid Opcode) occurs.. 2014-12-06 20:01:15 +01:00
Matthijs ter Woord
70b250c627 Add more NullReference checks in compiler. 2014-12-06 19:38:09 +01:00