Commit graph

3631 commits

Author SHA1 Message Date
Valentin Charbonnier
1a9e83b632 Some modifications...
ACPI class clarified.
Start ACPI added when starting a Cosmos Kernel project. (it does not
work with remote debugging, the project crash in the VM)
2017-06-21 19:26:08 +02:00
Valentin Charbonnier
b9aba9a17b Minor change
Set "AllowUnsafeBlocks" to false.
2017-06-21 13:40:37 +02:00
Valentin Charbonnier
78f276aded ACPI.cs moved to Cosmos.Core
(From Cosmos.HAL)
2017-06-21 13:38:40 +02:00
José Pedro
d382572b07 Version updates. 2017-06-20 19:29:28 +01:00
Valentin Charbonnier
a9eb8c314b Shutdown Reboot with ACPI added 2017-06-19 22:56:34 +02:00
José Pedro
ebeb20fd7c Reverted version change. 2017-06-17 01:44:39 +01:00
José Pedro
1204411e4e Updated packages and templates. 2017-06-17 00:40:54 +01:00
José Pedro
412c55410f Builder fixes. 2017-06-16 18:31:47 +01:00
José Pedro
354e913e4e Merge branch 'master' of https://github.com/CosmosOS/Cosmos into netcore 2017-06-11 01:15:48 +01:00
José Pedro
ecc8ae397a Installer change. 2017-06-11 01:15:16 +01:00
Charles Betros
7468ab1339 Local names and caching. Minor csproj changes. 2017-06-10 12:35:21 -05:00
José Pedro
ed497c5345 Fixes. 2017-06-09 16:43:25 +01:00
José Pedro
5103e8e72d Added back the Random plug. 2017-06-07 19:29:28 +01:00
José Pedro
2d40461181 Installer change. 2017-06-04 19:54:15 +01:00
José Pedro
2493690980 Fixed debugger bug. 2017-06-01 22:17:19 +01:00
Charles Betros
95ccc7019e Add restore target to include prerelease packages. 2017-05-29 14:10:44 -05:00
Charles Betros
52270342ce Add dependencies so they are build when using test runner. 2017-05-28 15:41:57 -05:00
Charles Betros
e52a15355b Set size for source or destination if indirect. 2017-05-28 11:28:43 -05:00
Charles Betros
522a054d70 Size for asm indirect ops 2017-05-28 09:23:11 -05:00
Charles Betros
50b43f88d6 Mov sign/zero extend. 2017-05-27 15:24:30 -05:00
Charles Betros
1147b18134 Install changes to remove dotnet cli.
include sqlite in vsix.
2017-05-26 18:30:53 -05:00
Charles Betros
20f510be47 Merge branch 'netcore' of https://github.com/CosmosOS/Cosmos into netcore 2017-05-24 18:08:53 -05:00
Charles Betros
b2d5d8af95 Fix sign extend opcodes. Remove use of dotnet cli and removed some embedded assemblies from vsip. 2017-05-24 18:08:46 -05:00
José Pedro
bc9bbb4ecc Fixed project properties bug. 2017-05-24 22:01:27 +01:00
jp2masa
c7286fe825 Merge pull request #571 from zarlo/patch-1
Console Optimize
2017-05-23 20:15:08 +01:00
jp2masa
adfb302ef1 Update Canvas.cs 2017-05-23 19:51:40 +01:00
jp2masa
eb944bb27d Merge branch 'master' into master 2017-05-23 19:43:48 +01:00
jp2masa
d4fc437d9e Merge pull request #646 from nuhash/DrawCircle
Implemented additional drawing function as per issue #603
2017-05-23 19:28:17 +01:00
NuHash
ab56018cf3 Removed PointsCollection 2017-05-23 14:30:58 +01:00
NuHash
feffe0a39f Made requested changes
Made DrawPolygon variadic
Included exception handling for drawing out of bounds
Updated CGS demo
2017-05-22 22:51:07 +01:00
José Pedro
9c90f7eaae Merge branch 'master'. 2017-05-22 01:51:41 +01:00
José Pedro
2139371c47 Changed Cosmos.targets path. 2017-05-22 00:58:55 +01:00
NuHash
fb2065fd78 Added virtual keywords 2017-05-21 22:45:08 +01:00
NuHash
fa5b7e30b7 Completed DrawPolygon method
Create Point and PointsCollection classes to make it easier to use.
2017-05-21 22:27:19 +01:00
NuHash
ba861ddd18 Completed DrawCircle and DrawEllipse
Tested
2017-05-21 21:49:37 +01:00
jp2masa
f3a10fb5f6 Merge pull request #611 from teokitan/patch-1
Update OpNone.cs for Math.Round()
2017-05-21 20:39:07 +01:00
jp2masa
b9b777e17d Merge pull request #550 from Suchiman/master
Added basic Hyper-V support
2017-05-21 20:29:03 +01:00
jp2masa
60a198ccea Added missing switch cases. 2017-05-21 20:15:51 +01:00
jp2masa
686904c918 Merge pull request #525 from zarlo/Dictionary
Dictionary test
2017-05-21 20:11:04 +01:00
NuHash
8476a1f0fd DrawCircle and DrawEllipse
Need to implement Bresenham
2017-05-21 02:23:00 +01:00
NuHash
cbb2f4440a Began DrawCircle function 2017-05-20 23:02:38 +01:00
José Pedro
4d68d027d4 Project build fixes. 2017-05-19 21:57:58 +01:00
José Pedro
86a5ee339e XSharp.VS fixes.
Added back the Cosmos Graphic Subsystem demo.
2017-05-18 01:25:13 +01:00
José Pedro
490506edab Added back the MemberwiseClone plug.
Fixed issue with dotnet sdk version.
2017-05-16 22:29:02 +01:00
José Pedro
2826446441 Added missing dependency. 2017-05-14 02:22:50 +01:00
José Pedro
6e50e69d8c Fixed packages versions. 2017-05-14 01:31:31 +01:00
José Pedro
9553ab3f31 Project build fixes. 2017-05-13 17:27:17 +01:00
José Pedro
2d0ab5be77 Project build fixes. 2017-05-12 01:41:02 +01:00
José Pedro
188f91a983 Project build changes. 2017-05-06 01:37:42 +01:00
DjAlEx234
297cbdff0f update
add stuff
2017-05-04 20:48:06 -05:00
José Pedro
5e5f2d564b Finished merging. 2017-05-04 18:50:52 +01:00
José Pedro
5096e3cd90 Merge branch 'master'. 2017-05-04 01:18:50 +01:00
José Pedro
846e1923f1 Install fixes.
Fixed AppVeyor.
2017-05-04 00:56:31 +01:00
José Pedro
7cc7a8d16b Fixed the debug engine.
Added kernel packages to installation.
2017-05-03 00:34:28 +01:00
José Pedro
0dccc8e69b Tests and debugger fixes. 2017-05-01 21:19:50 +01:00
Valentin Charbonnier
ffd8660aa1 Update ConsoleKeyExExtensions.cs 2017-05-01 21:06:50 +02:00
Valentin Charbonnier
573c7a805b ConsoleKeyEx (numpad : 0123456789*-+/.) added!
That fix "KeyEx not implemented!".
2017-05-01 16:52:52 +02:00
DjAlEx234
ac812dbeed DrawTriangle 2017-04-30 10:22:35 -05:00
DjAlEx234
542db2e460 changed 2017-04-29 19:20:50 -05:00
DjAlEx234
d4c0729ad7 Should Work
Fix spelling mistake and fix errors
2017-04-29 14:15:17 -05:00
zarlo
0cc2ef0573 Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into patch-1 2017-04-28 13:34:26 +10:00
DjAlEx234
e1e5c0165b CGS 2017-04-27 21:28:18 -05:00
DjAlEx234
161e3c54b1 Canvas Update 2017-04-27 19:50:45 -05:00
José Pedro
7228f90bc4 Tests fixes.
Improved IL2CPU assembly loading.
Fixed PlugManager bug.
2017-04-27 00:48:18 +01:00
José Pedro
2e61be6d8c Project build fixes. 2017-04-24 20:53:22 +01:00
kaleb
81c1148088 \r moves the cursor back at the start 2017-04-21 04:47:53 +10:00
kaleb
e3ec545d40 Console Optimize 2017-04-21 04:41:51 +10:00
José Pedro
02a006318d Fixes. 2017-04-18 15:13:36 +01:00
Charles Betros
aaee21a3a1 Work on debugger and fix assembly name in templates. 2017-04-17 09:02:54 -05:00
Charles Betros
0fef242e8e Add dependencies and includes to vsix. 2017-04-16 18:44:53 -05:00
Charles Betros
47585a4981 Include assemblies in vsix 2017-04-16 11:32:20 -05:00
Charles Betros
79b06357e6 Unused references 2017-04-16 10:10:35 -05:00
Charles Betros
8efad97af1 work on templates 2017-04-16 09:55:28 -05:00
Charles Betros
9eb0d74100 Make boot project template target net standard. 2017-04-16 01:42:03 -05:00
Charles Betros
eb4fae9253 Cosmos project property pages fix. 2017-04-14 23:28:26 -05:00
Charles Betros
17dec178de Fix load of boot project property pages. 2017-04-12 01:35:47 -05:00
Charles Betros
55e24343e7 Add targetframework to project templates. 2017-04-11 15:29:30 -05:00
Charles Betros
4702a1ec83 Cosmos project property pages. 2017-04-11 15:00:26 -05:00
Charles Betros
0d4b994a7d Add cosmos project options pages. 2017-04-11 13:17:59 -05:00
Charles Betros
a7716160e9 One more project template fix. 2017-04-11 11:28:11 -05:00
Charles Betros
bf7c30e69c Fix some template issues and modified mpf a bit. 2017-04-11 11:25:24 -05:00
Charles Betros
40d1382c4f Organize tool window and add guids for toolbar cmdsets. 2017-04-11 10:46:51 -05:00
Charles Betros
e502904a4d Fix path for net fx target. 2017-04-11 09:55:40 -05:00
Charles Betros
8a2f7b2062 Move netfx facades target to source folder for reuse. 2017-04-11 09:54:15 -05:00
Charles Betros
2c2d3be1c5 Change back to packages.config and include System.Runtime in windows vsix. 2017-04-11 07:13:44 -05:00
Charles Betros
9781aedf60 Minor changes to VS Windows package. 2017-04-09 12:37:44 -05:00
Charles Betros
43154e4426 Working on install. 2017-04-06 15:41:02 -05:00
Charles Betros
923466735f Install Vsip and targets. 2017-04-06 00:36:05 -05:00
Charles Betros
eb174e4354 Missed one. 2017-04-03 23:56:58 -05:00
Charles Betros
f255b9aa88 Project system work. 2017-04-03 23:55:10 -05:00
Teo K
0203ceb874 Update OpNone.cs for Math.Round()
OS says Math.Round() is not implemented without the changes. It should work now!
2017-03-31 20:05:17 +02:00
Charles Betros
f2b0cc6e76 Fix syntax error in boot project. 2017-03-26 23:50:21 -05:00
Charles Betros
106fb0f6de Merge branch 'netcore' of https://github.com/CosmosOS/Cosmos into netcore 2017-03-26 12:32:57 -05:00
Charles Betros
3ceb2944c9 Progress on vs 2017. 2017-03-26 12:32:48 -05:00
José Pedro
78d4bdb326 Installer work.
Updated NuGet to v4.0.0
Fixed Cosmos.Debug.Hosts.VMWare
2017-03-23 23:45:16 +00:00
José Pedro
dbf135816d Installer work. 2017-03-23 21:02:16 +00:00
José Pedro
ddc326887c Fixes. 2017-03-20 22:54:00 +00:00
Charles Betros
6cb98d2c58 Remove some files that shouldn't be in source control. 2017-03-19 20:12:43 -05:00
Charles Betros
a319a3f97e VS 2017 work. 2017-03-19 09:29:46 -05:00
José Pedro
0e73e13a3b Fixed build.
Moved Cosmos Graphic Subsystem project to Demos.
2017-03-07 00:26:59 +00:00
fanoI
9e70004cce Remove GraphicTestBoot from default configuration to avoid AppVoyer crashing... 2017-03-05 23:59:46 +01:00
fanoI
6e33a51bd7 Is AppVoyer happy now? 2017-03-05 23:34:23 +01:00
fanoI
765cc6688a Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	source/Cosmos.HAL/Drivers/VBEDriver.cs
2017-03-05 22:30:05 +01:00
fanoI
db5b713090 CGS is finally ready to be used! Let's merge it...
- To solve the slowness of the MemoryBlock Fill() method when the block has a big size I've created a new class for this MemoryOperations that for now contains only the method Fill() with a part implemented in ASM and with some overloads to semplify its usage from managed code. In future in this class will be added other methods to operate fast on memory for example Cmp() and Copy().
- Adding (not passing) test of the Color struct to the BoxingTest kernel
- Removed BoxingTest kernel inside BCL test: it was a duplicate of the BoxingTest kernel
- Restored correct TestKernelSets
- In the CGS Test kernel the last rectangle is now LimeGreen instead of another type of red (more clear that is working correctly)
- Added to X# the generation of the instruction Shuftps
- Added to X# the generation of the instruction MoveUPS
- Modified Guess Demo to wait for a key press to terminate (it closed suddenly in case the number was guessed)
- The VBE IOMemoryBlock has again size of 1920x1200 (the max usable)
- Added CGS Demo
- Code clean up
2017-03-05 20:32:55 +01:00
José Pedro
91bacb5210 Updated packages. 2017-02-26 15:40:53 +00:00
José Pedro
c87ac235b9 Updated packages. 2017-02-26 15:29:53 +00:00
José Pedro
c20bf21e3d Installer fixes. 2017-02-25 18:29:45 +00:00
José Pedro
59eb3c421e Added project.json for Cosmos projects. 2017-02-21 18:16:36 +00:00
José Pedro
8c37df18af Test Runner fixes. 2017-02-20 20:36:12 +00:00
José Pedro
a6353d9a0e Added back FAT plugs.
Fixed GetTypeFromDefinition for nested types.
2017-02-20 20:02:49 +00:00
José Pedro
e6dedfbba9 Fixed Stind_I1 and Stind_I2. 2017-02-19 01:55:02 +00:00
José Pedro
6da5a0060a Plugs fixes. 2017-02-12 01:08:29 +00:00
José Pedro
eb2c2eec14 Plugs fixes. 2017-02-09 22:43:27 +00:00
José Pedro
32d1f2502d Fixed some plugs.
Fixed DebugConnector.Thread.
Compiler fixes.
2017-02-09 19:55:49 +00:00
José Pedro
79c86781a2 Disabled tests Boot projects build. 2017-02-06 01:36:43 +00:00
José Pedro
35f52ba5d1 Fixed part of the project templates. 2017-02-06 01:03:30 +00:00
José Pedro
cd6a34daad Plugs.
Fixed part of the installer.
2017-02-05 21:36:38 +00:00
Charles Betros
2637bc9b41 Plugs 2017-02-05 01:36:54 -06:00
José Pedro
50214ab94b Fixed virtual methods scanning.
Added back some system plugs.
2017-02-03 22:26:47 +00:00
José Pedro
8bcc922f71 Fixed AppVeyor test project. 2017-02-03 19:59:18 +00:00
kaleb
4ff5b1835c i think this will be faster 2017-02-04 03:39:10 +10:00
José Pedro
1ec74b94a8 Fixes. 2017-02-03 12:53:07 +00:00
José Pedro
fc2fe6195f Fixes. 2017-02-03 00:53:08 +00:00
Charles Betros
6c221324f0 Fix reference to CPU. 2017-02-02 14:28:41 -06:00
Charles Betros
cb5ed51f67 Embed xs files for debug stub. Fix endfinally label. 2017-02-02 14:15:01 -06:00
Charles Betros
cadc917530 Add dapperextensions project, some work on install, and testrunner. 2017-02-02 07:39:44 -06:00
Charles Betros
d561610f28 Changes for the install. 2017-02-01 17:06:40 -06:00
Charles Betros
0c0c9e3b64 Test runner work. 2017-01-31 15:09:55 -06:00
Charles Betros
2633005924 Exception regions and assembly ring. 2017-01-31 11:22:59 -06:00
Charles Betros
31cfc63535 Load debug symbold to sqlite db. 2017-01-30 08:15:38 -06:00
Charles Betros
38626920d2 Added buffer plugs and changed some project configs to any cpu. 2017-01-29 22:59:35 -06:00
Charles Betros
fd767c67ca Added more plugs. 2017-01-29 17:24:43 -06:00
Charles Betros
28e27af420 Generic type and parameter args. Added a few plugs back. 2017-01-29 16:55:08 -06:00
Charles Betros
2fb7a701c3 More locals work. 2017-01-29 14:18:53 -06:00
Charles Betros
ced66a79b6 membertype was too granular for the scanner type check. 2017-01-29 13:24:11 -06:00
Charles Betros
a06bc64ecf Add mor local sigs. 2017-01-29 00:50:57 -06:00
Charles Betros
4e92a523b4 Moved plugs from il2cpu. 2017-01-28 23:04:47 -06:00
Charles Betros
aa08e48366 Get locals 2017-01-28 16:39:30 -06:00
Charles Betros
4ac1ca23f2 Got ResolveType, String, Method, Field working. 2017-01-28 00:27:45 -06:00
Charles Betros
296ca05ab0 Get references. 2017-01-22 09:07:37 -06:00
José Pedro
c095cbbf93 TestRunner port to net core. 2017-01-17 00:35:58 +00:00
Charles Betros
ff966cd3f1 Fix up Build solution. 2017-01-16 06:38:35 -06:00
Charles Betros
afd18e2f15 Code cleanup and solution cleanup for netcore. 2017-01-15 22:23:56 -06:00
José Pedro
c2d422edf4 Compiler fixes.
Created project.json files for projects that need it.
2017-01-11 00:12:14 +00:00
fanoI
73aa970508 CGS finally works!
Please note that this version works only with Bochs.

- To make it works was needed to renounce to all structures (a part for primitive types) so now Mode and Color are classes.
- Implemented methods of Canvas DrawPoint(), DrawLine() and DrawRect() for now only color depth of 32 bit and integer coordinates are supported
- Changed IoPort of Bochs / VBE to MemoryBlock and not MemoryBlock08 so I can write an 32 bit ARGB color in only an operation instead of 4, this will semplify the future
  work of RGB24 and RGB16 too. Changed the name to the correct one "LinearFrameBuffer".
- Made VBEDriver more object oriented (used enums instead of hardcoded values, created methods and so on...)
- Bugfix in the Pen class there was confusion in the setter / getter of the Color property
- In VBEScreen removed the old code that is not needed anymore, added check to method arguments (that throws in case of fatal errors)
2017-01-08 22:57:27 +01:00
José Pedro
fc9a412652 Compiler fixes.
Moved XSharp implementation to XSharp.Common.
2017-01-08 20:55:52 +00:00
José Pedro
3db5ce43bb Compiler fixes.
Compiler fixes.
Updated project.json files.
Removed *.lock.json files and updated gitignore to ignore them.
Updated some Cosmos.Debug projects.
2017-01-08 14:54:29 +00:00
Charles Betros
1d49522495 Merge branch 'netcore' of https://github.com/CosmosOS/Cosmos.git 2017-01-06 16:09:41 -06:00
Charles Betros
8e62606d50 Created some csproj specific project json 2017-01-06 16:09:35 -06:00
José Pedro
d930431c89 Debug projects changes and port to PCL. 2017-01-05 20:43:14 +00:00
Charles Betros
88bdb029a9 Progress on net core. 2017-01-03 15:31:21 -06:00
hannah
99adf8db11 Update VBEDriver.cs 2016-12-31 01:59:13 +00:00
hannah
dc47fa3c4c Update VBEDriver.cs 2016-12-31 01:52:53 +00:00
hannah
72c0143918 Add check for BGA 2016-12-29 17:59:58 +00:00
Charles Betros
216d8a3209 Get compiler working. 2016-12-29 00:20:34 -06:00
Charles Betros
004dbfba0a Fix get assembly name. 2016-12-28 00:35:37 -06:00
Charles Betros
10cfcbea73 Progress on netcore. 2016-12-28 00:27:54 -06:00
Suchiman
9efb12fd1f Fix NamedPipe selection in project settings 2016-12-27 17:22:44 +01:00
Suchiman
4425f66984 Remove outdated comments 2016-12-27 17:22:15 +01:00
Suchiman
570dd62085 Added basic Hyper-V support 2016-12-27 01:20:09 +01:00
Charles Betros
8e3046219a Netcore changes. 2016-12-22 23:02:29 -06:00
Charles Betros
8d4f634d48 Going with PCL for now to make P2P references easier. 2016-12-19 10:45:38 -06:00
fanoI
660195fbc6 - The Video drivers in HAL are now in a proper subdirectory 2016-12-18 16:38:53 +01:00
fanoI
86ff377084 First release of CGS, really preliminar work.
The kernel crashes for stack overflow :-)
2016-12-18 16:33:23 +01:00
Charles Betros
411ce3e872 Create projects and msbuild targets for dotnet core. 2016-12-13 22:39:41 -06:00
kaleb
370691d789 Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into Dictionary 2016-12-02 22:10:25 +10:00
kaleb
a705f1ccc9 . 2016-12-02 20:12:57 +10:00
kaleb
ef489b0f2f Dictionary test 2016-12-02 20:00:09 +10:00
José Pedro
a44f62a9ac Convert fix. 2016-12-01 14:52:55 +00:00
José Pedro
8e2aa72d4e Fix FAT test.
Minor changes in ToHexString and the FAT test.
2016-11-19 22:43:15 +00:00
José Pedro
91094a87ca Fix MemberwiseClone.
Fix object sizes in Newobj.
Minor changes in Castclass and VTablesImpl.
2016-11-16 23:49:37 +00:00
José Pedro
e36451b6f9 Fixed try..finally blocks.
Added test for try..finally inside a finally.
2016-11-12 18:32:13 +00:00
José Pedro
39ea6ee678 Fixed return on foreach
Fixed Array.Clear
Minor changes
2016-11-09 00:08:23 +00:00
José Pedro
c8844527a5 Merge branch 'master' 2016-11-03 22:50:14 +00:00
José Pedro
a8dca0d21d Minor changes 2016-11-03 22:43:21 +00:00
Charles Betros
4beeee98ab Enable some tests and small change to fat allocation. 2016-11-03 14:02:44 -05:00
Charles Betros
1c8901850c Fix array copy 2016-11-02 20:19:54 -05:00
fanoI
1a7aed0611 Merge pull request #407 from jp2masa/KeyboardUpdate
Keyboard Update
2016-10-26 20:40:34 +02:00
José Pedro
53c9ecaa06 Bugfix 2016-10-24 21:28:05 +01:00
José Pedro
a50641b615 Updated exception message on ObjectPointerAccessAttribute errors.
Fixed op_Equality and op_Inequality.
2016-10-24 21:21:24 +01:00
jp2masa
da7e340148 Trying to fix KeyboardManager.cs 2016-10-24 20:49:22 +01:00
Charles Betros
afdc5a31bf Merge pull request #478 from MellenIO/master
Builder changes - better detection for VMware Player
2016-10-23 03:31:05 -05:00
José Pedro
4f71752ca8 Merge branch 'master' of https://github.com/CosmosOS/Cosmos into KeyboardUpdate 2016-10-13 21:52:08 +01:00
fanoI
a277900369 - Fixed ldarga so it will work again with types > bytes
- Fixed typos on DoubleTest
- Restored GetNumberString() as it was on my commit of the end of August
2016-10-10 21:43:38 +02:00
Bobrocket
e9ae271513 Code readability
Angle brackets for one liners
2016-10-01 09:33:42 +01:00
Bobrocket
608765c4b8 Code to fit builder
Code didn't seem to work when placed in the builder itself, so modified
it slightly
2016-10-01 09:29:29 +01:00
Bobrocket
c21f2bbdec Fixed builder not always finding VMWare Player
Fixed builder not always finding VMWare Player
2016-10-01 09:15:46 +01:00
jp2masa
c21d780074 Update DirectoryInfoImpl.cs 2016-09-29 20:52:42 +01:00
jp2masa
0db57dc3b0 Update DirectoryInfoImpl.cs 2016-09-29 20:52:16 +01:00
José Pedro
a860b2373a Fixed Newobj for string with length parameter.
Minor changes in debugging and FAT test messages.
Removed useless "if" in FAT, previously added by me.
2016-09-29 19:48:59 +01:00
José Pedro
f7521dcd9a Merge branch 'master' of https://github.com/CosmosOS/Cosmos into KeyboardUpdate 2016-09-29 18:26:49 +01:00
Charles Betros
4b67c02f26 Fixed delegates and moved some assemblers. 2016-09-28 23:24:04 -05:00
Charles Betros
73ef14d551 Working on delegates. 2016-09-26 06:55:37 -05:00
José Pedro
594bf34fd6 Merge branch 'master' into KeyboardUpdate 2016-09-14 23:48:57 +01:00
Charles Betros
b3737d726c Fat fixes. 2016-09-11 16:35:43 -05:00
Charles Betros
c7fda235b2 Fix up solution 2016-09-11 15:31:53 -05:00
Charles Betros
0d645c53ba Solution version. 2016-09-11 08:03:52 -05:00
Charles Betros
95f4dbad77 More memory work. 2016-09-11 07:53:45 -05:00
Charles Betros
a9cb616f86 Merge from master. 2016-09-07 19:42:40 -05:00
fanoI
9610858423 Fixed Shr for long with count > 32 2016-09-08 00:27:01 +02:00
Charles Betros
1a63a35507 Fix for remainder op. 2016-09-07 17:03:15 -05:00
Charles Betros
c2b3094c57 Ongoing memory changes. 2016-09-07 14:49:22 -05:00
Charles Betros
4b5bc34445 Remove breakpoints. 2016-09-06 14:38:29 -05:00
Charles Betros
286d670276 Fix more tests 2016-09-06 14:34:19 -05:00
Charles Betros
87d964a602 More memory. 2016-09-05 01:01:54 -05:00
Charles Betros
1b18908a2b working on statics. 2016-09-04 09:57:47 -05:00
Charles Betros
4f13a49a85 Compiler changes for memory. 2016-09-03 00:40:33 -05:00
José Pedro
ba66f8b28d Merge branch 'master' of https://github.com/CosmosOS/Cosmos into KeyboardUpdate 2016-08-31 15:13:27 +01:00
fanoI
74534282bc Merge pull request #448 from jp2masa/TestsUpdate
Tests Update
2016-08-30 13:56:11 +02:00
fanoI
81402241c0 Fixed Template for Visual Basic kernel
- Visual Basict projects do not accept ';' as separator between the constant definitions they accept instead ','
- The example kernel was wrong as nothing was really echoed back!
2016-08-29 15:44:57 +02:00
José Pedro
479c5ed8ff Comment failing tests 2016-08-27 17:25:25 +01:00
Charles Betros
85103e9d9b RAT progress 2016-08-26 07:02:18 -05:00
fanoI
84f628614f Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2016-08-25 15:47:54 +02:00
fanoI
0dbb621c5d Fixed DataMember to handle long / ulong values (that is the correct NASM type 'dq' is emitted) 2016-08-25 15:43:52 +02:00
Charles Betros
4ab093e732 Merge pull request #394 from MichaelTheShifter/fat-stuff
Adds plug for System.IO.File.Delete(), and adds deletion capabilities to FAT.
2016-08-24 20:17:55 -05:00
José Pedro
74ccda1ffc Finished merging 2016-08-24 20:04:07 +01:00
José Pedro
a3b055fa7c Merge branch master into KeyboardUpdate 2016-08-24 19:45:25 +01:00
José Pedro
3238ebce24 Small change 2016-08-24 19:39:04 +01:00
fanoI
4dbad9501d Merge pull request #435 from Unknown6656/date-time-functions
Added Stopwatch, Thread.Sleep and some CPUID implementation
2016-08-24 19:39:12 +02:00
José Pedro
92dad7b905 Merge branch 'master' of https://github.com/CosmosOS/Cosmos into TestsUpdate 2016-08-23 16:48:19 +01:00
fanoI
e2f363a200 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Tests/Cosmos.Compiler.Tests.Bcl/System/DoubleTest.cs
#	Tests/Cosmos.Compiler.Tests.Bcl/System/SingleTest.cs
2016-08-22 17:12:59 +02:00
fanoI
ad960c9a1a Continuation of Float work
- Fixed Single.ToString() on special cases (infinities, NaN and 0) and aumented the range of printable values
- Fixed Double.ToString(): it always printed "Double Overrange" for a bug in opcode ldarga
- Fixed opcode ldarga: the displacement of the argument variable was off of 4 bytes
- Fixed opcodes shr, shr_un and shl when the shift was more that 32 bytes, added to BCL relative tests
- Added BLC tests regarding BitConverter and unsafe code
- Moved the meat of the code of Single.ToString() and Double.ToString() to the class StringHelper together with the analogous methods for numer types
- Re-added _floatsignbit to CosmosAssembler.cs so the neg test should not fail anymore
- Removed all code relative to x87 that I had left under #if false
- Clean up
2016-08-22 16:31:22 +02:00
Unknown6656
bc8e7a7659 Reverted the changed XOR-call 2016-08-19 19:38:05 +02:00
Unknown6656
a7f72cc2e6 Fixed bool-bool-operations 2016-08-19 18:50:03 +02:00
Unknown6656
4030c1336b Changed XOR call, as it is not implemented for boolean 2016-08-19 18:20:37 +02:00
Unknown6656
f246908358 Added the german keyboard layout
* Added the German keyboard layout and made the keyboard implementation
more scalable and modular to permit future foreign keyboards.
* Added support for ALTGR-keypresses
* Added support for the OEM-102-key
* Cleaned up some code
2016-08-19 18:12:25 +02:00
Unknown6656
3ae267a1d5 Switched to expression-bodied methods
Used C#6's feature of expression-bodied methods due to readability and
code size reduction
2016-08-19 16:52:26 +02:00
Unknown6656
a0bfff9f37 Fixed time measurement 2016-08-19 09:59:14 +02:00
Charles Betros
045fe549fb Merge branch 'master' 2016-08-18 16:55:23 -05:00
Charles Betros
565053414d Merge pull request #369 from fanoI/master
- Initial work as for https://github.com/CosmosOS/Cosmos/issues/359
2016-08-18 16:32:23 -05:00
fanoI
ec6e231ac9 - Bugfix Shr_un does not really did a shift right unsigned
- Bugfix Shr does not really did a shift right signed
- Bigfix ShiftRighDouble was implemented as  ShiftLeftDouble
2016-08-18 20:10:10 +02:00
José Pedro
153cde7d5e - CosmosVFS.GetDirectoryListing(DirectoryEntry): "Argument is null or empty" error - Fixed
- File.Delete and Directory.Delete implementations - Fully Working

- Change Guess demo references to Project References - Done
2016-08-18 15:32:29 +01:00
Charles Betros
73b81c7bcc Working on rat. 2016-08-18 07:32:45 -05:00
Unknown6656
593aefad6c sry ... forgot to rename one function occurence
well ... this is awkward ....
2016-08-18 13:18:40 +02:00
Unknown6656
743b6c9a6f Rewritten ASM code to use the XS-class
I have rewritten the code to use the `XSharp.Compiler.XS`-class inside
the plug-file and I have renamed the internal functions
2016-08-18 13:15:33 +02:00
Unknown6656
c950605c71 removed the PlugRequired-Property for the CPUID-functions 2016-08-14 19:46:18 +02:00
Unknown6656
037cfcf459 Implemented Thread::sleep(int) and StopWatch::GetTimestamp() 2016-08-14 19:05:23 +02:00
Unknown6656
d31ac91b97 Added CPUID functions 2016-08-14 18:19:31 +02:00
Unknown6656
19bc57bf7f Revert "Added Stopwatch and Thread.Sleep implementation + added some cpuid-functions"
This reverts commit 1d53deb45e.
2016-08-14 18:04:11 +02:00
Unknown6656
1d53deb45e Added Stopwatch and Thread.Sleep implementation + added some cpuid-functions 2016-08-14 17:54:03 +02:00
Unknown6656
1fd7a0367c Added ASM instructions and basic DateTime-implementation
Added the x86-instructions 'LEA', 'RDTSC' and 'RDMSR'.
Added a simplistic plug for 'system::datetime', which now contains the
method for fetching the current date/time
2016-08-14 06:06:30 +02:00
José Pedro
ed181c503c Added "Save Log" button to the Test Runner UI. Added tests for StreamReader, StreamWriter, BinaryReader and BinaryWriter for FAT. Added MemoryStream tests. 2016-08-11 17:02:23 +01:00
Charles Betros
b8f35da19c Merge branch 'master' into rat 2016-08-10 22:22:22 -05:00
Charles Betros
00ae14ab24 Fix newobj for char[] 2016-08-10 19:27:52 -05:00
Charles Betros
98528fabc2 Remove temp breakpoints and commented lines. 2016-08-10 19:27:28 -05:00
Charles Betros
c8dfbd8127 Fix array copy. 2016-08-10 18:06:18 -05:00
Kevin
23c7e4c01e Fixed (short-short) op bug 2016-08-10 13:15:12 -04:00
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
José Pedro
47222a3a96 Keyboard update: KeyboardManager static class to manage different keyboards. 2016-07-18 21:26:35 +01:00