Commit graph

4 commits

Author SHA1 Message Date
José Pedro
86a5ee339e XSharp.VS fixes.
Added back the Cosmos Graphic Subsystem demo.
2017-05-18 01:25:13 +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
86ff377084 First release of CGS, really preliminar work.
The kernel crashes for stack overflow :-)
2016-12-18 16:33:23 +01: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
Renamed from source/Cosmos.System/VBEScreen.cs (Browse further)