Commit graph

6356 commits

Author SHA1 Message Date
NuHash
de938b21e8 Commented out GraphicsTest 2017-05-21 22:30:21 +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
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
jp2masa
dda88d4e1f Merge pull request #622 from valentinbreiz/patch-1
Broken link removed and french articles added.
2017-04-26 20:39:46 +01:00
Valentin Charbonnier
d6797b92e5 Broken link removed and french articles added. 2017-04-14 15:34:30 +02:00
jp2masa
28873dee94 Merge pull request #596 from Stephanvs/patch-1
Fixed some typos in the docs
2017-03-08 13:54:04 +00:00
Stephan van Stekelenburg
fcdd71d7fb Fixed some typos 2017-03-08 10:42:56 +01:00
José Pedro
0e73e13a3b Fixed build.
Moved Cosmos Graphic Subsystem project to Demos.
2017-03-07 00:26:59 +00:00
fanoI
4f1d2e92c1 Merge pull request #536 from fanoI/master
CGS finally ready to use!
2017-03-06 00:17:36 +01: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
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
fanoI
d804a30f37 Merge pull request #552 from cjhannah/patch-1
Add check for BGA
2016-12-31 15:10:49 +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
fanoI
ce406f97a6 Merge pull request #521 from CaveSponge/master
Update readme.md
2016-12-02 09:57:43 +01:00
José Pedro
a44f62a9ac Convert fix. 2016-12-01 14:52:55 +00:00
fanoI
890152d8e7 Merge pull request #524 from zarlo/master
just update a page in the docs
2016-11-29 10:31:54 +01:00
kaleb
6a90c55852 update 2016-11-29 10:34:59 +10:00
kaleb
c4d6219622 Merge remote-tracking branch 'refs/remotes/CosmosOS/master' 2016-11-29 10:34:55 +10:00
Arawn Davies
193334c9ae Update readme.md
Included a YouTube link to the interview of Cosmos on Channel 9
2016-11-27 20:54:27 +00:00
Kudzu
fee2ef5556 bla 2016-11-27 15:04:11 -04:00
Charles Betros
2fffdd124b Merge pull request #512 from jp2masa/Bugfixes
Fix FAT Test and Minor Changes
2016-11-20 11:24:02 -06:00
José Pedro
8e2aa72d4e Fix FAT test.
Minor changes in ToHexString and the FAT test.
2016-11-19 22:43:15 +00:00
Charles Betros
a133012a61 Merge pull request #510 from jp2masa/Bugfixes
Fix MemberwiseClone
2016-11-17 11:35:43 -06: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
Charles Betros
c7196ff873 Merge pull request #507 from jp2masa/Bugfixes
General Bugfixes and Minor Changes
2016-11-12 13:58:02 -06: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
ee3a8e7b62 Enable fat tests. 2016-11-02 23:30:30 -05:00
Charles Betros
1c8901850c Fix array copy 2016-11-02 20:19:54 -05:00
Charles Betros
a887cf87a0 Foreach tests. 2016-11-02 13:34:26 -05:00
Charles Betros
ffc84a0af5 Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git 2016-11-02 04:36:30 -05:00
Charles Betros
04ca044e34 Add array copy test. 2016-11-02 04:36:13 -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