Commit graph

96 commits

Author SHA1 Message Date
valentinbreiz
b99750ab08 add one other mode 2020-07-06 06:26:16 +02:00
valentinbreiz
9db7fea272 use linear framebuffer offset got from VBE ModeInfo 2020-07-06 05:39:07 +02:00
valentinbreiz
cf019fef47 check if VBE is available with multiboot 2020-07-06 05:31:17 +02:00
valentinbreiz
59647ee324 GetVRAM fix + DrawFilledRectangle fix 2020-07-04 21:52:21 +02:00
valentinbreiz
4c9e963346 Merge branch 'master' into dev/doublebuffering 2020-07-04 20:12:23 +02:00
valentinbreiz
83adc03b7e lfb in bgra no argb 2020-07-04 18:14:31 +02:00
Arawn Davies
40fcf12e32
Merge pull request #1382 from CosmosOS/cgs-docs
Re-added the Graphics documentation XML comments
2020-07-04 14:55:31 +01:00
Elia Sulimanov
3162cc2b56 Re-added the Graphics documentation XML comments 2020-07-04 14:28:56 +01:00
valentinbreiz
bc4d781e94 GetPointColor fix in VBECanvas 2020-07-04 02:03:53 +02:00
valentinbreiz
57547fd245 double buffering working! 2020-07-03 23:46:38 +02:00
valentinbreiz
24d0634cdd Merge branch 'master' into CGSE 2020-07-03 16:45:44 +02:00
valentinbreiz
09d8de0cc7
VirtualBox detection in canvas init
Since VirtualBox emulates a generic VBE compatible video device, it can be detected thought PCI devices (0x80EE, 0xBEEF : VirtualBox Video Adapter)
2020-07-02 22:57:27 +02:00
Elia Sulimanov
b64584fc92 Done Bitmap api docs 2020-06-16 08:30:48 +03:00
Elia Sulimanov
ad785a73c6 Working on the Bitmap class api0 2020-06-15 23:54:09 +03:00
Elia Sulimanov
4737567162 Done Canvas api docs 2020-06-15 19:45:44 +03:00
Elia Sulimanov
8af6adc6d7 Done FullScreenCanvas api docs 2020-06-15 16:03:27 +03:00
Elia Sulimanov
dbfd606a09 Done SVGAIIScreen api docs 2020-06-15 10:38:20 +03:00
Elia Sulimanov
1991577394 Done VBEScreen api docs 2020-06-15 08:41:38 +03:00
Elia Sulimanov
36193ab376 Done VGAScreen api docs 2020-06-11 23:03:15 +03:00
Elia Sulimanov
04b00b83c9 Done Pen class api docs 2020-06-11 22:13:35 +03:00
Elia Sulimanov
e78962cbb5 Done Mode struct api docs 2020-06-11 13:44:58 +03:00
Elia Sulimanov
2023423c82 Done Point api docs 2020-06-11 08:30:19 +03:00
Elia Sulimanov
b0e7a10a64 Done Image and ColorDepth api docs 2020-06-11 08:30:04 +03:00
Quajak
a833b76bca Final fixes 2020-05-27 23:33:52 +02:00
Quajak
aed0bd670e Fixed that words were written, not bytes 2020-05-21 16:58:11 +02:00
Quajak
1a3e3dd2c9 Improved disabling of canvas + going back to text mode 2020-05-20 01:06:00 +02:00
Quajak
6d65f6b07a Added support for changing fonts 2020-05-19 23:02:28 +02:00
Quajak
3523c588e6
Merge pull request #1325 from MostafaNanticock/TrimLine
Implemented & used TrimLine() in Canvas.DrawLine()
2020-05-18 21:26:32 +02:00
Quajak
5164c0a240 Typo 2020-05-18 21:09:42 +02:00
Quajak
570045ebeb Removed additional test
Cleaned up code
2020-05-18 20:41:30 +02:00
Mostafa Mahmoud
29cf68fe32 Implemented & used TrimLine() in Canvas.DrawLine() 2020-05-18 20:37:51 +02:00
Quajak
e36c87192f Correctly use VGA palette now
Optimised some VGA operations
2020-05-18 00:24:11 +02:00
Quajak
19cffbadd1 VGA should work now 2020-05-17 18:29:22 +02:00
Quajak
ae8d3ef435 Getting the code running again 2020-05-11 14:24:56 +02:00
Quajak
299c0b1e49 Merged master into CGSE 2020-05-10 10:44:58 +02:00
Charles Betros
d418a8ce86
Merge branch 'master' into bug/bitmap 2020-05-07 21:58:37 -05:00
Quajak
1c913100e4 Fixed loading and rendering of 24 bit bitmaps 2020-05-07 23:14:53 +02:00
Quajak
71f078eab8 Fixed bitmaps (Should hopefully work now)
Added bitmap tests
Extended equalityhelper
2019-12-18 02:12:10 -05:00
Arawn-Davies
4543741d8d Unified Canvas classes and updated references 2019-09-01 00:45:31 +01:00
Arawn-Davies
a1c46a8e02 Reverted change in master that sets VBEDriver.Disable to private, and fixed mode list in Cosmos.System namespace 2019-08-31 21:49:43 +01:00
Arawn Davies
688a4a74c9
Merge branch 'master' into CGSE 2019-08-31 21:38:55 +01:00
fanoI
ffca0df48e Fixes #1109 and #1078.
The CGS test kernel is now enabled always.
2019-02-17 16:35:24 +01:00
Quajak
b5f4e054fe
Fixed magic number check for bitmap 2018-11-18 12:32:26 +01:00
José Pedro
dec3e16d63
CGS code cleanup. 2018-10-23 21:02:33 +01:00
fanoI
8691707b52 Created MemoryOperations.Copy that copies128 bytes any iterations using ASM
- VBE (Bochs Graphic Adapter): made bitmap drawing faster using MemoryOperations.Copy
- VBE (Bochs Graphic Adapter): made filled rectangle drawing faster using MemoryOperations.Fill
- Created TestRunner for MemoryOperations
2018-08-21 14:48:10 +02:00
Arawn Davies
4be3655899
Merge branch 'master' into CGSE 2018-07-11 01:39:28 +01:00
Quajak
65f114dd91 Merge remote-tracking branch 'upstream/master' 2018-07-04 22:35:40 +02:00
Quajak
ee4c09bcdb Fixed requested changes
Added plugs for BitConverter ToUInt16, 32 and 64 methods
Used ToUInt methods
2018-05-20 17:46:46 +02:00
fanoI
655786934e Implemented requested changes 2018-05-20 15:35:04 +02:00
fanoI
376c0d2db6 Changed some classes of CGS to be struct as they should have been from the beginnning.
- Mode and Point are now structures
- The copy of System.Drawing.Color is not needed anymore the real System.DrawingColor is used instead
- Updated CGS Test Kernel
- Made SVGAII a little more faster (but this not the complete solution)
2018-05-13 20:17:20 +02:00