Commit graph

27 commits

Author SHA1 Message Date
José Pedro
5096e3cd90 Merge branch 'master'. 2017-05-04 01:18:50 +01:00
Charles Betros
a319a3f97e VS 2017 work. 2017-03-19 09:29:46 -05: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
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
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
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
Charles Betros
aaa0bb3eb6 Fixed string split and compare ordinal. Made some chnages to debug nessages to showmring and section. 2016-01-06 22:07:30 -06:00
Emile Badenhorst
a3cadd2b95 Fixed VBE to support Bochs 2015-12-18 15:17:20 +02:00
CSharpLover
a8c886b485 Fixed a simple bug 2015-11-06 19:20:27 +02:00
CSharpLover
5682ef6841 VGAScreen Edit 2015-11-06 19:09:09 +02:00
CSharpLover
cabe66f8db VGAScreen 640x480 and 720x480 is working now 2015-11-06 18:58:52 +02:00
MyvarHD
6da46cf3de Compleated the VBE driver 2015-07-24 08:08:27 +02:00
MyvarHD
e5ff48ef10 added Drawing code 2015-07-23 23:17:57 +02:00
MyvarHD
7d65f793eb Fixed up the vbe mode code 2015-07-23 22:02:23 +02:00
MyvarHD
c22c0d609c Started Vbe 2015-07-23 21:16:21 +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
Matthijs ter Woord
1b4627a310 arp messages are now sent correctly. 2014-12-07 14:27:28 +01:00
Matthijs ter Woord
4d76fbb058 start with networking. 2014-12-06 13:57:53 +01:00
Matthijs ter Woord
5f2a31d455 Move Pci stuff to Cosmos.HAL. 2014-12-06 13:36:57 +01:00
Matthijs ter Woord
af46aa7959 - cleanup
- ring enforcement works now, but only based on the attributes.
2014-12-05 19:57:17 +01:00
Sentinel209_cp
c591a7ff1b Reorganize source: Everything is out of source2 now and the soutions are cleaned up. 2014-11-28 00:48:23 +00:00