Commit graph

2651 commits

Author SHA1 Message Date
Matthijs ter Woord
11e8b95b9c Merge remote-tracking branch 'origin/ldelem-fixes' 2015-05-26 19:57:42 +02:00
Matthijs ter Woord
da1feb890a Fixes to ldelem. Fixes #119 2015-05-26 19:56:54 +02:00
Matthijs ter Woord
8fee341998 Change some projects to target cpu = x86 2015-05-26 19:07:19 +02:00
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