Commit graph

2671 commits

Author SHA1 Message Date
zdimension
639043c74b Fixed some empty-char-thingy bugs in the keyboard implementation and now if you press a no-char key (like Esc, F1-12, PrtScr), it does nothing instead of printing a blank space. 2015-06-20 23:34:58 +02:00
Matthijs ter Woord
de75623087 Start of #140 2015-06-20 18:21:26 +02:00
zdimension
fda88ae3a8 Changed my keyboard impl to match the new architecture 2015-06-18 22:57:55 +02:00
zdimension
659649b6e3 Merge remote-tracking branch 'upstream/master' into zdimension-keyboard-work
Conflicts:
	source/Cosmos.HAL/Keyboard.cs
	source/Cosmos.System.Plugs/System/ConsoleImpl.cs
2015-06-18 22:18:40 +02:00
Matthijs ter Woord
1568284b27 Merge remote-tracking branch 'origin/keyboard-work' 2015-06-17 20:23:33 +02:00
Matthijs ter Woord
5c116490da Cleanup. 2015-06-17 20:22:58 +02:00
Matthijs ter Woord
68282aa557 Keyboard works. Next is enabling code that should be enabled, and removing debug code. 2015-06-17 20:09:37 +02:00
zdimension
0720ca7e2b Fixed a bug in SVGA driver 2015-06-17 18:37:38 +02:00
zdimension
9b2a1fd1ee Made VMware SVGA II driver work again 2015-06-17 11:47:09 +02:00
zdimension
f43a5dad2b Rewrote Keyboard class mostly from scratch 2015-06-17 11:13:46 +02:00
Matthijs ter Woord
44cdc7dc61 Other fixes. 2015-06-16 18:35:46 +02:00
Matthijs ter Woord
a8d39ced64 Fix ldelem for non-4 byte aligned elements. 2015-06-07 17:17:32 +02:00
Matthijs ter Woord
7c991e5ca6 Improve IL interpreter. Ldobj knows what type it pushes. 2015-06-07 17:17:16 +02:00
Matthijs ter Woord
bd93b5e272 Fix some IL interpreter logging statements and other small debugging fixes. 2015-06-07 17:17:01 +02:00
Matthijs ter Woord
56edbce9b6 Merge remote-tracking branch 'origin/master' into keyboard-work 2015-06-07 12:39:13 +02:00
Matthijs ter Woord
63d83a683d Fix int64 divide. 2015-06-07 12:37:02 +02:00
Matthijs ter Woord
959732f781 Bochs now uses same device layout as vmware (ATA wise) 2015-06-02 20:31:39 +02:00
Matthijs ter Woord
32a41216f7 . 2015-05-27 18:36:58 +02:00
Matthijs ter Woord
c205ec054d Merge master. 2015-05-27 18:36:40 +02:00
Geramy L. Loveless
d6728ec902 bochs safe kill
we are now safely killing the bochs process and we release the use of
the cdb file via the OnShutDown event in the AD7Process.css
2015-05-26 11:17:13 -07:00
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