Commit graph

3231 commits

Author SHA1 Message Date
fanoI
e6143b75df Source lose some changes... forced them! 2016-07-31 19:55:12 +02:00
fanoI
e36aeefd1a Trying to enanche the constant variables declaration:
- Added a version of XS.SSE.MoveSS that accepts a String as source (to use the constant variable name)
- Added XS.SSE2.XorPd
- Neg opcode declares the constant inline and not uses XS.LiteralCode anymore

Please note that this code actually fails the second float neg test for no valid reason!
2016-07-31 17:01:50 +02:00
fanoI
6e1bfb8d92 - Implemented Neg Opcode for floating point
- Added test for Neg OpCode for float and double
- Conv.U8 wrongly changed the sign of double before converting it to ulong
- Div_Un, Add_Ovf and Add_Ovf_Un had code for floating point but they should not have that for ECMA specs
2016-07-17 17:05:00 +02:00
fanoI
0af7c5b78f - Finally the conversion of an ulong to a double works (IL opcode conv.r.un is completed)
- TestRunner should not be Run in process!
- Removed all unused 'variables' in CosmosAssembler.cs
- Fixed X#: FloatStoreAndPop() ignored the RegisterSize value
2016-07-03 15:00:04 +02:00
Charles Betros
37a4e71deb Merge some compiler changes from master. 2016-06-29 23:18:04 -05:00
Charles Betros
b7cd470c33 Merge 2016-06-28 23:36:03 -05:00
Charles Betros
607db8f5ff Merge missing stuff from plug manager. 2016-06-28 23:32:53 -05:00
Matthijs ter Woord
c74800a073 Merge branch 'master' into rat 2016-06-28 10:29:07 -04:00
Charles Betros
1bb7d6335f Merge from master. 2016-06-26 13:44:56 -05:00
Matthijs ter Woord
218f3ef03a Merge pull request #395 from jp2masa/ConsoleUpdate
Implemented some console methods and fixed a bug in the console, copying the behaviour of background color in windows console applications.
2016-06-26 20:27:26 +02:00
Matthijs ter Woord
5ba4fa9913 Merge pull request #391 from jp2masa/master
Replace PXE interface textbox with a combobox, filled with local machine interfaces
2016-06-26 19:27:15 +02:00
Matthijs ter Woord
8cfa0b89ca Merge pull request #389 from MichaelTheShifter/console
Added more keys to the ConsoleKeyEx -> ConsoleKey converter.
2016-06-26 19:09:01 +02:00
fanoI
56beccb8af Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	source/Cosmos.sln
2016-06-26 15:09:13 +02:00
fanoI
4e1c505e52 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Tests/Cosmos.Compiler.Tests.SingleEchoTest/Kernel.cs
#	source/Cosmos.Assembler/Assembler.cs
#	source/Cosmos.IL2CPU/IL/Add.cs
#	source/Cosmos.IL2CPU/IL/Ceq.cs
#	source/Cosmos.IL2CPU/IL/Cgt.cs
#	source/Cosmos.IL2CPU/IL/Cgt_Un.cs
#	source/Cosmos.IL2CPU/IL/Clt.cs
#	source/Cosmos.IL2CPU/IL/Clt_Un.cs
#	source/Cosmos.IL2CPU/IL/Conv_I2.cs
#	source/Cosmos.IL2CPU/IL/Conv_I4.cs
#	source/Cosmos.IL2CPU/IL/Conv_I8.cs
#	source/Cosmos.IL2CPU/IL/Conv_R4.cs
#	source/Cosmos.IL2CPU/IL/Conv_R_Un.cs
#	source/Cosmos.IL2CPU/IL/Conv_U1.cs
#	source/Cosmos.IL2CPU/IL/Conv_U2.cs
#	source/Cosmos.IL2CPU/IL/Div.cs
#	source/Cosmos.IL2CPU/IL/Mul.cs
#	source/Cosmos.IL2CPU/IL/Sub.cs
2016-06-26 15:02:38 +02:00
jp2masa
9b6bd665be Fix String.EndsWith and add reference to PlugsInspector project (#393)
* Fix String.EndsWith

* Add Cosmos.Core.Plugs as Reference to PlugsInspector so the list includes every plug.
2016-06-26 01:49:23 -05:00
Matthijs ter Woord
c083c8f35f Add kernel panic method to debugstub. 2016-06-25 19:33:26 -04:00
Matthijs ter Woord
6e5d7620a9 Little progress. 2016-06-25 17:37:45 -04:00
Matthijs ter Woord
38e897543b Ongoing progress integrating new memory model. 2016-06-25 15:30:58 -04:00
Matthijs ter Woord
3bfaf7f670 Make plugmanager not throw exceptions when plug targets are not found. 2016-06-25 12:16:51 -04:00
Matthijs ter Woord
c4330ffcc2 Remove fat kernel from msbuild build. 2016-06-25 11:50:31 -04:00
Matthijs ter Woord
16e57658f0 Fix project settings. 2016-06-25 11:30:33 -04:00
Matthijs ter Woord
626c96eb40 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-06-25 10:52:56 -04:00
Matthijs ter Woord
1433340ba5 Generic plugs work now. 2016-06-25 10:52:50 -04:00
Matthijs ter Woord
0af938b0b8 Disable boot projects of the tests, so they don't get built on normal builds. 2016-06-25 09:18:10 -04:00
Charles Betros
1550c86a05 Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-06-24 23:59:58 -05:00
Charles Betros
4bd3c44060 Fix call stack in the core dump. 2016-06-24 23:59:51 -05:00
Charles Betros
222426bfa2 Merge branch 'rat' of https://github.com/CosmosOS/Cosmos.git 2016-06-24 21:39:02 -05:00
Charles Betros
f3bb974712 Progress on memory. Fix ldelem_ref. 2016-06-24 21:38:55 -05:00
Kudzu
39cdcad275 Heap 2016-06-24 15:56:58 -04:00
Matthijs ter Woord
19160c30d4 Now plugs which aren't being used aren't being compiled anymore. 2016-06-24 15:26:31 -04:00
José Pedro
8788205719 Replace PXE interface textbox with a combobox, filled with local machine interfaces 2016-06-24 20:01:18 +01:00
Charles Betros
bae772237f Added missing debugstub plug. 2016-06-24 10:27:00 -05:00
Matthijs ter Woord
9c3a2dd6d5 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-06-24 10:12:48 -04:00
Matthijs ter Woord
bcf4b08719 Ongoing progress to get z-machine going. 2016-06-24 09:22:43 -04:00
Charles Betros
a18c034163 Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-06-24 01:47:32 -05:00
Charles Betros
117a4b9053 Created a simple core dump 2016-06-24 01:47:18 -05:00
José Pedro
fbac0cabcf Implemented some console methods and fixed a bug in the console, copying the behaviour of background color in
windows console applications.
2016-06-24 00:41:30 +01:00
Matthijs ter Woord
610f2b652a Geting closer on zork. 2016-06-23 18:12:28 -04:00
Matthijs ter Woord
3bc4ea78dd Some basic improvements. 2016-06-23 16:36:08 -04:00
Matthijs ter Woord
a6afa5b785 Enable magic breakpoints in bochs debugger. 2016-06-23 16:34:20 -04:00
Kudzu
af5f0230a9 Merge branch 'rat' of https://github.com/CosmosOS/Cosmos into rat 2016-06-23 15:14:41 -04:00
Kudzu
8320a6dee7 heap 2016-06-23 15:03:04 -04:00
Matthijs ter Woord
989cc0cb4b . 2016-06-23 11:04:34 -04:00
Matthijs ter Woord
83e1ae9edc Progress. 2016-06-22 16:32:16 -04:00
Matthijs ter Woord
96bf9209de Ongoing fixes. 2016-06-22 15:55:32 -04:00
Matthijs ter Woord
e97100d4e6 More progress. 2016-06-22 11:27:21 -04:00
Matthijs ter Woord
8a40af1b87 More ongoing progress. Getting closer to being able to run again.. 2016-06-21 21:03:46 -04:00
Matthijs ter Woord
7f94d132be Even more ongoing progress. 2016-06-21 20:34:27 -04:00
Matthijs ter Woord
1ac8619640 More ongoing progress. 2016-06-21 20:00:33 -04:00
MichaelTheShifter
903860a77d FAT File Deletion work.
Yet again, my hands are typing words. Jokes aside, deleting doesn't work
yet - but at least using System.IO.File.Delete() won't cause a plug
issue.
2016-06-21 19:38:44 -04:00
Matthijs ter Woord
ada707f1d6 Ongoing progrss. 2016-06-21 19:19:08 -04:00
Matthijs ter Woord
4641286f0f More progress on ram. 2016-06-21 18:57:38 -04:00
Matthijs ter Woord
5e8a93b0c3 Ongoing work on memory. 2016-06-21 18:34:23 -04:00
Matthijs ter Woord
b5ff4a75db Ongoing memory work. 2016-06-21 17:16:51 -04:00
Matthijs ter Woord
d592b2dc0d Ongoing memory work. 2016-06-21 17:16:44 -04:00
fanoI
49192ffa24 - Conv.r.un is now partially implemented: an uint can be converted to double, not working code for ulong to double conversion
- Added (not working) test for ulong to double conversion
- Added to Assembler.cs costants needed for floating point conversions
2016-06-21 23:03:37 +02:00
Charles Betros
14f6f6247c Merge 2016-06-21 10:45:33 -05:00
Charles Betros
a94c40f605 Fixed some issues with ldelema and stfld. 2016-06-21 10:42:02 -05:00
Matthijs ter Woord
65c83f9491 Ongoing changes for memory. 2016-06-20 19:44:16 -04:00
Matthijs ter Woord
075e64d991 . 2016-06-20 16:11:16 -04:00
Matthijs ter Woord
d62d337b90 Fixed the exceptions. 2016-06-20 13:39:17 -04:00
Matthijs ter Woord
6be879d25a Progress on heap. 2016-06-20 13:10:34 -04:00
Matthijs ter Woord
4bdfbab03c Merge remote-tracking branch 'origin/master' into rat 2016-06-20 12:51:11 -04:00
Charles Betros
3cc57fdd5c Merge branch 'master' 2016-06-19 18:32:48 -05:00
Charles Betros
a194f1dd73 Disable Frotz build. 2016-06-19 12:35:03 -05:00
Matthijs ter Woord
f311499e26 Ongoing changes for RAT. 2016-06-19 12:47:40 -04:00
Charles Betros
1e55f613d8 Build config changes. 2016-06-19 09:18:22 -05:00
Charles Betros
8f57c22fc8 Minor build changes 2016-06-19 02:20:51 -05:00
MichaelTheShifter
db31f1bbfe Added some new Console keys. 2016-06-18 15:26:01 -04:00
Matthijs ter Woord
6ea1ca7255 Object pointer size is bumped up to 8. First the actual data pointer, then the pointer to the next object pointer 2016-06-18 15:06:30 -04:00
Matthijs ter Woord
030ba36636 Fix loading fields larger than 4 bytes from structs on the stack. 2016-06-18 14:00:58 -04:00
Matthijs ter Woord
35a15fe005 Start with increasing object reference size. 2016-06-18 12:25:17 -04:00
Matthijs ter Woord
e604e17df7 Fix the rat for now. 2016-06-18 12:02:30 -04:00
Matthijs ter Woord
ae1b309426 Works now. 2016-06-18 11:40:17 -04:00
Matthijs ter Woord
fa59b923b4 Weird build fix. 2016-06-18 10:41:55 -04:00
Matthijs ter Woord
4e426591d5 Merge branch 'crypto' of git://github.com/MichaelTheShifter/Cosmos into MichaelTheShifter-crypto 2016-06-18 10:34:53 -04:00
Matthijs ter Woord
8a880288c9 Move the rat into place. 2016-06-17 19:35:20 -04:00
Kudzu
b7d03b4312 Heap 2016-06-17 18:54:13 -04:00
Matthijs ter Woord
870a73daa8 Disable default building of frotz kernel. 2016-06-17 18:36:31 -04:00
Matthijs ter Woord
ba808f2bc6 . 2016-06-17 18:35:22 -04:00
Matthijs ter Woord
efb7823d9f . 2016-06-17 16:40:46 -04:00
Matthijs ter Woord
5d66d12d69 . 2016-06-17 15:18:29 -04:00
Matthijs ter Woord
17dcca9a91 . 2016-06-17 15:01:56 -04:00
Matthijs ter Woord
cf4025b697 . 2016-06-17 14:34:35 -04:00
Matthijs ter Woord
8ed25a38ea . 2016-06-17 14:34:31 -04:00
Matthijs ter Woord
adb9d3b988 . 2016-06-17 14:30:54 -04:00
Matthijs ter Woord
991e81a5c3 . 2016-06-17 13:46:05 -04:00
Matthijs ter Woord
47f7e95ccf . 2016-06-17 13:38:19 -04:00
Matthijs ter Woord
7a8e62b2eb . 2016-06-17 13:28:56 -04:00
Matthijs ter Woord
cc44dc021e . 2016-06-17 13:16:01 -04:00
Matthijs ter Woord
ac1f59034d . 2016-06-17 12:58:26 -04:00
MichaelTheShifter
62c8c470c0 re-added sha1 test kernel
"MY HANDS ARE TYPING WORDS"
2016-06-17 09:00:34 -04:00
MichaelTheShifter
a522e2bc0c Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into crypto 2016-06-17 08:46:47 -04:00
Matthijs ter Woord
674ed987ca Fix build. 2016-06-17 08:31:56 -04:00
Matthijs ter Woord
894ccff2b0 Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-06-17 08:23:54 -04:00
Matthijs ter Woord
4cfc7aabe7 . 2016-06-17 08:23:48 -04:00
Charles Betros
bec9009bfc More path fixes. 2016-06-17 00:00:45 -05:00
Charles Betros
b7809b0215 Fix string in the debugger locals and fix string test in bcl. 2016-06-16 22:02:12 -05:00
Michael VanOverbeek
35957a686e Added frotz kernel and switched references to project references. (#381)
* Added ZMachine demo stuff to cosmos sln

* Changed references in frotz kernel to project references
2016-06-16 21:39:24 -05:00
Matthijs ter Woord
9d203f141e . 2016-06-16 20:08:41 -04:00