Commit graph

3281 commits

Author SHA1 Message Date
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
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
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
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
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
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