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
Charles Betros
6b8055cbd1
Comment GetPoint()
2019-06-30 21:34:04 -05:00
zarlo
8b694f7d22
Update MouseManager.cs
2019-06-15 01:07:20 +10:00
zarlo
c1b34ed15a
Update MouseManager.cs
...
why not most people will not likely do this in there code so why not here
2019-06-12 15:55:10 +10:00
Quajak
a7722657fe
Merge pull request #1124 from fanoI/cgs-fix
...
Fixes #1109 and #1078 .
2019-05-04 19:14:00 +02:00
Charles Betros
b9307acfdf
Fix multi-cluster allocation when writing using fatstream.
2019-04-19 18:07:47 -05:00
fanoI
ffca0df48e
Fixes #1109 and #1078 .
...
The CGS test kernel is now enabled always.
2019-02-17 16:35:24 +01:00
José Pedro
6c411b3872
Code cleanup.
2018-12-26 15:57:47 +00:00
José Pedro
d1b6d4c61e
Fixed project references.
2018-11-19 12:50:25 +00:00
José Pedro
d9b65bde1b
Fixed project references.
2018-11-19 01:19:28 +00:00
Quajak
b5f4e054fe
Fixed magic number check for bitmap
2018-11-18 12:32:26 +01:00
José Pedro
746b6da5d7
Build updates.
2018-11-01 14:39:15 +00:00
José Pedro
14a661b579
Removed CA1708 suppression from Cosmos.System.
2018-10-25 22:29:20 +01:00
jp2masa
54c9472244
Merge pull request #1065 from CosmosOS/cgs-code-cleanup
...
CGS code cleanup
2018-10-24 00:18:39 +01:00
José Pedro
dec3e16d63
CGS code cleanup.
2018-10-23 21:02:33 +01:00
José Pedro
acdc048402
Network code cleanup.
2018-10-20 17:02:45 +01:00
José Pedro
39b06adcaa
Added roslyn analyzers.
2018-10-15 21:19:01 +01:00
José Pedro
470d47b6c9
Code cleanup.
2018-10-02 22:07:00 +01:00
fanoI
613f0a83a0
Merge pull request #1025 from fanoI/MemoryCopyOperations.Copy_work
...
Memory copy operations.copy work
2018-09-23 14:37:32 +02:00
fanoI
1fc3c768b6
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into DiskManager
...
# Conflicts:
# Tests/Cosmos.TestRunner.Core/Cosmos.TestRunner.Core.csproj
2018-08-27 13:19:46 +02:00
fanoI
5659ff5a83
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into MemoryCopyOperations.Copy_work
...
# Conflicts:
# Test.sln
# Tests/Cosmos.TestRunner.Core/Cosmos.TestRunner.Core.csproj
# Tests/Cosmos.TestRunner.Full/TestKernelSets.cs
2018-08-21 21:50:13 +02: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
José Pedro
227a00d854
Added InternalsVisibleTo build target.
2018-08-05 00:23:49 +01:00
José Pedro
91a9ffc7ff
Fixed unit tests and added them to Test.sln.
...
Removed compiler unit tests.
2018-08-04 21:30:50 +01:00
Valentin Charbonnier
69d4bcc228
Minor changes.
2018-07-28 16:08:38 +02:00
Valentin Charbonnier
0228bb544d
UDP Checksum works + Changes.
...
- Calculate and send packet with the correct checksum.
- Receive or not a packet if the checksum is correct or not.
- IsBroadcastAddress working.
- IsAPIPA
- Changes on OutgoingBuffer
2018-07-25 11:54:59 +02:00
Valentin Charbonnier
ac589eed64
Minor changes + debugger.
2018-07-25 11:45:29 +02:00
fanoI
b43d2bb67d
Removed ReadBuffer "optimization": it made fail read of file bigger of one cluster :-(
2018-07-22 17:42:03 +02:00
fanoI
da61f7885f
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into DiskManager
...
# Conflicts:
# Test.sln
# source/Cosmos.System2/FileSystem/FAT/FatFileSystem.cs
2018-07-22 16:16:39 +02:00
fanoI
a52d7918a5
Created new DiskManager class with the required methods that DriveInfo does not have: Format, ChangeDriveLetter, CreatePartition.
...
- Only Format is implemented for now
- Modified Bochs configuration: increased IPS to 4'000'000 this makes it more faster
- Optimized ReadFatSector to allocate less
2018-07-22 14:58:57 +02:00
José Pedro
4a801eb167
File system fixes and code cleanup.
2018-07-21 21:06:18 +01:00
Quajak
10528e0158
Fixed the problems
2018-07-11 18:02:34 +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
33d16fca1c
Readded ByteConverter class so that the Set methods can be still used.
...
Improved dialog of testrunner for saving the file
Fixed changes in FatDirectoryEntry
Added tests to EncodingTests for UnicodeEncoding
2018-07-04 22:31:20 +02:00
José Pedro
6549a6db18
Moved keyboard and mouse detection logic to Cosmos.HAL.Global.
...
Bug fixes.
Code cleanup.
2018-06-29 02:37:14 +01:00
José Pedro
45560ee3a6
Merge latest from master.
2018-06-28 21:59:42 +01: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
Quajak
7635fcdb77
Merged
2018-05-19 13:33:28 +02:00
Quajak
cacc918f09
Removed the byte converter class and used encoding or bitconverter classes for the correct classes.
2018-05-13 21:23:43 +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
Arawn Davies
9ee2bf6fd2
PCI Detection changes
2018-05-08 16:29:14 +01:00
Arawn Davies
1e0a71fd5d
Mostly code warning fixes, slight speed increase for SVGAII
2018-05-08 02:46:18 +01:00
Arawn Davies
1fdcbc71be
VGADriver rework
2018-05-08 02:14:19 +01:00
Arawn Davies
fcfcb95f2b
Merge branch 'master' into CGSE
2018-04-25 15:16:07 +01:00
fanoI
24ae9bb3b1
Merge pull request #953 from quajak/master
...
[CGS] Add support for 24 bit bitmaps
2018-04-22 21:30:37 +02:00
fanoI
57dc7813d5
Merge pull request #955 from fanoI/driveinfo_work
...
Driveinfo work
2018-04-22 21:30:07 +02:00
fanoI
d97d3b6e53
- Removed "m_" for properties names
...
- Renamed class FatDiretoryEntry to FatDirectoryEnty
2018-04-22 15:11:02 +02:00
Quajak
be01d41a36
Fixed requested changes
2018-04-18 17:29:00 +02:00
fanoI
ad44cfa9b7
Bugfix: TotalSize, AviableSize and TotalFreeSpace must be expressed in Bytes not MegaBytes
2018-04-15 19:56:09 +02:00
fanoI
7439eed145
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into driveinfo_work
2018-04-15 13:29:57 +02:00
Quajak
4905318479
Now supports 24bit bitmaps
2018-04-14 11:32:39 +02:00
Siaranite
a1c72e1c51
Plugged Console.Beep
...
Not sure about nuget.exe must've upgraded during build.
2018-04-14 02:12:42 +01:00
fanoI
d2ecdfdeee
First part of the work on DiskManager
...
- plugged DriveInfo
- added tests for DriveInfo
- added to VFS a new method RegisterFilesystem()
2018-04-13 17:43:00 +02:00
Arawn Davies
f851d5dafb
Merge branch 'master' into master
2018-04-04 00:23:03 +01:00
Siaranite
2d21791c66
Return to text mode fixed for VMWare
2018-04-01 15:58:58 +01:00
Siaranite
9da7709573
Fixed 1024x768@32 issue
2018-04-01 02:30:57 +01:00
Siaranite
826858f053
Return to text mode WIP
2018-04-01 01:57:36 +01:00
Siaranite
1bbf3251a5
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into CGSE
...
Updates from master
2018-03-31 23:13:12 +01:00
Quajak
8c70d57bed
-Added new ctor from byte array of pixels
...
-Added note that ctor with Memory stream does not work, as memory streams do not work correctly
-Improved the cosmos graphic system example
2018-03-26 17:40:20 +02:00
Quajak
b3729308c0
Changed the ctor work done in the Bitmap
2018-03-26 11:45:20 +02:00
Quajak
b12f4fc3b6
Fixed Filestream write
...
Did requested changes
Added test for Filestream read and write
2018-03-22 21:38:41 +01:00
José Pedro
274fa3e9a5
Build targets.
2018-03-21 23:05:20 +00:00
Qujak
7e18638915
Update FatStream.cs
...
Commented out debug info again
2018-03-19 21:34:31 +01:00
Quajak
493e043742
Final cleanup
2018-03-19 21:31:50 +01:00
Quajak
c379ea32ba
Fixed fat stream
...
Improved file test
2018-03-19 20:54:47 +01:00
Quajak
9f47e6f8a4
Added test which fails until ReadAllBytes has been fixed
...
Rewrote Bitmap to use single ReadAllBytes
2018-03-18 13:45:46 +01:00
Quajak
0ff1c57fbc
Minor fixes and change to file stream
2018-03-03 20:49:40 +01:00
Quajak
dd21b17499
Fixed draw image
...
Fixed bitmap handling of uncompressed files
2018-02-28 20:51:43 +01:00
Quajak
37e6ee122f
Merge remote-tracking branch 'upstream/master'
2018-02-28 17:58:27 +01:00
Quajak
6a2ffb0c89
First implementation of a bitmap. Code loading the bitmap from fs is broken on Cosmos and loads some random garbage and a part of the image.
2018-02-28 17:54:21 +01:00
Arawn Davies
2c6009fd06
Removed unused defaultGraphicsMode property, changed default mode of SVGA II to 800x600@32, because 1024x768@32 isn't supported (?), added Mouse (unused for now)
2018-02-26 21:22:36 +00:00
Arawn Davies
bcc5c2e3e0
Fixed DrawFilledCircle
2018-02-26 20:06:39 +00:00
Arawn Davies
e0eea66c3b
CGS improvements, adding DrawFilledCircle and DrawFilledEllipse
2018-02-26 00:12:57 +00:00
Arawn Davies
8a87167ce9
Merge pull request #906 from CosmosOS/pr-767
...
[CGS] VMWare SVGAII Support
2018-02-25 14:59:32 +00:00
Arawn Davies
a7c2d5fefb
Changes
2018-02-25 14:43:12 +00:00
Arawn Davies
becfc92417
Finally! Fixed PCIDeviceExists returning null if it doesn't instead of false - Bit of a hack but it's done the job for now, needs redoing
2018-02-25 00:13:19 +00:00
Arawn Davies
efa36d1600
Re-write of GetFullScreenCanvas
2018-02-24 22:10:18 +00:00
Arawn Davies
359f8ea974
Update FullScreenCanvas.cs
2018-02-22 11:57:13 +00:00
Arawn Davies
c954eb5b51
Merge pull request #838 from KingLuigi4932/patch-12
...
Fix: Getting one volume only
2018-02-22 11:47:16 +00:00
Arawn Davies
d61cfa6c06
Nearly there
2018-02-22 00:22:45 +00:00
Arawn Davies
620150edf8
Adds required changes to CGS when initializing the driver
2018-02-20 21:29:30 +00:00
Arawn Davies
a4e797f388
[WIP] [CGS] Merge pull request #767 from KingLuigi4932/patch-7
...
[CGS] VmWare Support
2018-02-20 21:12:32 +00:00
José Pedro
3d30e35332
Project file cleanup.
2018-02-15 19:25:36 +00:00
José Pedro
4cede67a45
Fixed namespaces.
2018-02-04 19:13:31 +00:00
fanoI
4a990ac2af
Added the concept of Encoding to the Console for now ASCII (default) and CP437 are supported (for others as CP858 I think it is needed to change font too)
...
- moved EncodingTest on Text subdir
- added ConsoleTest (not enabled by default)
- removed ASCIIEncodingImpl (it was not needed)
- Made plugs of Console better and added plugs for formatted versions
- Removed code to test Hashtable, Hashtable it will be a separate PR
2018-01-27 20:00:11 +01:00
fanoI
c50b581d91
More work on Encoding
...
- Resolved problem with UTF8Enconding.BaseName property
- Started work to plug Hashtable to make the Encoding / Decoding more efficient
2018-01-10 20:29:05 +01:00
fanoI
ff78034a1c
Added CP437 and CP858 (DOS Latin1) support to Encoding, CP858 is not working for VMT bugs.
2018-01-07 21:25:07 +01:00
fanoI
d19e3f867b
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.TestRunner.Core/DefaultEngineConfiguration.cs
2018-01-03 22:22:31 +01:00
KingLuigi4932
d5200d3f07
Update CosmosVFS.cs
2017-12-26 22:27:32 +03:00
KingLuigi4932
c9277c28cb
Update CosmosVFS.cs
2017-12-26 20:03:28 +03:00
KingLuigi4932
cf6500859d
Update CosmosVFS.cs
2017-12-26 19:43:04 +03:00
KingLuigi4932
81872c1dc3
Update CosmosVFS.cs
2017-12-26 19:42:19 +03:00
KingLuigi4932
f9aeddd582
Revert foreach
2017-12-26 19:41:25 +03:00
KingLuigi4932
db0b4bc5df
QaB
2017-12-26 11:42:41 +03:00
KingLuigi4932
3f8a858d43
Remove break and use foreach
2017-12-26 11:24:17 +03:00
zarlo
458c035302
hot fix
2017-12-20 12:15:28 +11:00
zarlo
68f646e36f
update
2017-12-20 01:32:47 +11:00
zarlo
900d63c9db
update
2017-12-18 21:33:31 +11:00
zarlo
d5e82612e9
DrawArray and some other things
2017-12-18 20:50:30 +11:00
zarlo
f0121b1fe3
update
2017-12-17 17:25:14 +10:00
zarlo
09136174f4
ThrowIfModeIsNotValid now uses CheckIfModeIsValid
2017-12-17 03:02:46 +10:00
zarlo
3566c26577
ThrowIfCoordNotValid(Point point)
2017-12-17 02:53:02 +10:00
fanoI
f3633a5356
Cosmos.IL2CPU has changed name in simply IL2CPU
2017-12-10 21:53:39 +01:00
fanoI
d6aff6ab3b
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# source/Cosmos.System2_Plugs/System/IO/DirectoryImpl.cs
# source/Cosmos.System2_Plugs/System/IO/FileImpl.cs
2017-12-10 21:23:51 +01:00
José Pedro
00a884437a
Cosmos.IL2CPU.API -> IL2CPU.API.
2017-12-10 15:57:12 +00:00
fanoI
299c155f4c
Removed a lot of plugs from File: the promise is mantained it uses StreamReader / StreamWriter directly
...
- CosmosEncoding replacement of Encoding is not needed: Encoding runs perfectly on Cosmos!
- Added tests to BCL for UTF8Encoding
- StreamWriter does not needs a plug anymore, TextWriter is plugged instead but the plug is really the Ctor only
- Commented COSMOSDEBUG
2017-12-01 22:21:15 +01:00
fanoI
81234d1cd9
StreamReader implemented but found bug in IL2CPU plug resolution :-(
2017-11-18 11:12:17 +01:00
fanoI
eb0a469315
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Test.sln
# Tests/Cosmos.Kernel.Tests.Fat/Kernel.cs
# Tests/Cosmos.TestRunner.Core/TestKernelSets.cs
2017-10-29 18:09:47 +01:00
fanoI
4071e75a47
Trying to plug StreamWriter(), but Flush() has only a buffer filled all with 0x0000 not with the text to Write()!
2017-10-24 23:17:50 +02:00
José Pedro
e5d089c6ed
Removed unneeded code.
...
Updated comments.
2017-10-12 21:42:35 +01:00
José Pedro
435d92d4b5
Fixes.
2017-10-12 21:24:59 +01:00
Arawn Davies
0a3da1d6b9
Revert "might make console faster"
2017-10-05 23:19:03 +01:00
Arawn Davies
85cdb0f2c8
Merge pull request #718 from zarlo/ExtendedASCII
...
might make console faster
2017-09-30 00:49:14 +01:00
fanoI
b509da1690
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.Kernel.Tests.Fat/Kernel.cs
2017-09-24 19:59:52 +02:00
fanoI
806e6e9e89
More FAT work
...
- Make DirectoryInfo work
- Refactored FAT TestRunner in a similar way to the BCL one
- Bugfix: Path.GetTempPath() did not returned a complete path
- Added to VFS "naive" support to Get / Set file attributes (for now only Get is supported)
- Added more debug logs
2017-09-24 18:12:58 +02:00
José Pedro
3e5aff9463
Implemented Console.KeyAvailable.
2017-09-15 00:23:47 +01:00
zarlo
42ed5093be
Update FullScreenCanvas.cs
...
this is better
2017-09-15 04:30:50 +10:00
KingLuigi4932
bd658a5bd3
[CGS] VmWare Support: Fix Issue
2017-09-14 18:28:17 +03:00
KingLuigi4932
a641ea6521
[CGS] VmWare Support: Hidding VideoDriver Enum from User
2017-09-14 18:18:13 +03:00
KingLuigi4932
77e260d610
[CGS] VmWare Support: return SVGAII
...
and VideoDriver Enum
2017-09-13 23:30:41 -07:00
KingLuigi4932
2c4cdea994
[CGS] Misc: TODOs
2017-09-13 23:28:40 -07:00
KingLuigi4932
10792f79a0
[CGS] VmWare Support: Screen Class
2017-09-13 23:26:02 -07:00
KingLuigi4932
e12a89550a
[CGS] Misc: TODOs
2017-09-13 23:24:21 -07:00
fanoI
ff2a75685c
Merge pull request #734 from valentinbreiz/patch-1
...
mSize in GetVolumes fix.
2017-09-05 20:23:01 +02:00
zarlo
c8ca3b51bb
moved things
2017-09-04 16:30:51 +10:00
José Pedro
a63f4eaa5a
Moved to .NET Core 2.0.
2017-08-24 19:20:44 +01:00
zarlo
fe06a5fe84
Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into ExtendedASCII
2017-08-17 13:38:03 +10:00
Arawn Davies
804e112e55
Added DrawFilledRectangle and example in CGS demo
2017-08-14 20:38:45 +01:00
Valentin Charbonnier
9d462b60f5
Changes.
2017-08-13 23:36:15 +02:00
Valentin Charbonnier
9e198d1ba7
Revert "long changed to ulong."
...
This reverts commit f827994340 .
Revert.
2017-08-13 20:56:03 +02:00
Valentin Charbonnier
f827994340
long changed to ulong.
2017-08-12 19:36:32 +02:00
Valentin Charbonnier
d9e45ce26b
Fix.
2017-08-12 19:07:40 +02:00
Valentin Charbonnier
5300250a28
GetVolumes mSize fix.
2017-08-12 18:51:21 +02:00
Kudzu
4a64fbb4ac
separation
2017-08-10 18:56:55 -04:00
Kudzu
fa4c223452
Move again because of submodules being less than half baked in git.
2017-08-10 16:04:19 -04:00
Kudzu
fa00b78441
New Cosmos parent dir
2017-08-08 11:29:41 -04:00
José Pedro
c6ff16aa8b
FAT fixes.
2017-08-05 16:18:58 +01:00
Kudzu
c64597ce6e
Attribs NS
2017-08-03 16:46:15 -04:00
Kudzu
af30db49e1
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
2017-08-03 15:17:38 -04:00
Kudzu
221460e191
Attrib NS change
2017-08-03 15:17:34 -04:00
Valentin Charbonnier
d53ff6b087
Change.
2017-08-03 17:28:12 +02:00
Valentin Charbonnier
1a805d8f25
FileSystem Fixes.
2017-08-03 17:27:47 +02:00
zarlo
37b0fdcba7
Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into ExtendedASCII
2017-07-31 21:27:34 +10:00
José Pedro
a859d25e53
g3
2017-07-30 18:50:13 +01:00
José Pedro
a58e3f2fa0
g3
2017-07-30 18:38:20 +01:00