Commit graph

124 commits

Author SHA1 Message Date
Emile Badenhorst
a3cadd2b95 Fixed VBE to support Bochs 2015-12-18 15:17:20 +02:00
fanoI
847a1a772b Used right expception, new TextScreenHelpers class (for debug)
- In the DebugTextScreen class used the already existing
NotImplementedException instead of create a new exception type
- Created new class TextScreenHelpers  for the debug of the TextScreen
Class
- In the TextScreen class replaced any call to Debugger.XXX() in
TextScreenHelpers.DebugXXX()
2015-12-13 16:39:04 +01:00
fanoI
6c4b3c02cd GetCursorSize(), SetCursorSize(), GetCursorVisible() and SetCursorVisible() throw Exception("Not implemented") 2015-12-07 15:29:46 +01:00
fanoI
45a3f79c50 Implemented Console's CursorSize and CursorVisible properties
- Now Console's CursorSize and CursorVisible properties
- Console Cursor default size is 25 as on Windows (before was 1)
- Console Cursor is visible by default
2015-12-07 15:11:57 +01:00
fanoI
f566917239 Console modifications
- In MemoryBlock added Fill overloads that accept UInt16
- In TextScreen removed unused variables, magic number and finally the
Clear() method does what is expected!
2015-11-18 23:27:33 +01:00
CSharpLover
a8c886b485 Fixed a simple bug 2015-11-06 19:20:27 +02:00
CSharpLover
5682ef6841 VGAScreen Edit 2015-11-06 19:09:09 +02:00
CSharpLover
cabe66f8db VGAScreen 640x480 and 720x480 is working now 2015-11-06 18:58:52 +02:00
Matthijs ter Woord
d9a9737608 Filesystem/VFS/FAT work by @charlesbetros has been merged into main kernel.
This does NOT mean it's fully working yet!
2015-10-02 17:12:00 +02:00
Matthijs ter Woord
3b68fb3720 Add some tests. 2015-09-04 14:54:38 +02:00
Matthijs ter Woord
0b8ce1b4fe Merge branch 'master' into memory_handles
Conflicts:
	source/Cosmos.Core.Plugs/CPUImpl.cs
	source/Cosmos.Core/CPU.cs
2015-09-04 13:50:11 +02:00
Matthijs ter Woord
59c2bba33d Merge pull request #186 from zdimension/pwr-work
Added a Power class containing a WORKING reboot function
2015-09-02 19:20:17 +02:00
Matthijs ter Woord
e5068167dd Small change for testing. Seems to work now? 2015-08-26 16:43:24 +02:00
Matthijs ter Woord
0b5490a281 Ongoing changes. 2015-08-18 20:19:36 +02:00
Matthijs ter Woord
bccf8cb64f Build fix. 2015-08-18 19:54:06 +02:00
Matthijs ter Woord
e6c866a8d4 Merge branch 'master' into memory_handles
Conflicts:
	source/Cosmos.HAL/DefaultKeyboard.cs
	source/Cosmos.HAL/Global.cs
	source/Cosmos.HAL/Keyboard.cs
	source/Cosmos.System/Global.cs
2015-08-18 19:38:50 +02:00
zdimension
b538a3c40b Moved the Reboot func from Power to Core.CPU.Reboot 2015-08-12 18:59:19 +02:00
zdimension
488889f853 Added a Power class containing a WORKING reboot function 2015-08-12 02:21:43 +02:00
zdimension
4aabc2ae60 NumLock, CapsLock and ScrollLock are now global 2015-08-12 01:57:01 +02:00
Matthijs ter Woord
bf2a02caa6 Ongoing work 2015-08-10 12:43:36 -04:00
zdimension
24db7f8db1 Added AZERTY key layout. 2015-08-09 17:12:17 +02:00
zdimension
a67280d7f3 Fully functional new keyboard implementation. 2015-08-09 15:51:56 +02:00
zdimension
58646d1d1f BIG keyboard work (not finished though) 2015-08-09 15:37:56 +02:00
Matthijs ter Woord
e030f5b850 Progress. 2015-08-05 17:32:32 -04:00
Matthijs ter Woord
15f2df89b3 More progress. We have a bug in try...finally now.. 2015-08-04 15:32:18 -04:00
Matthijs ter Woord
18e42b92c6 Merge pull request #176 from zdimension/zdimension-keyboard-work
Add support for Shift+NumPad key
2015-08-03 17:09:01 -04:00
Matthijs ter Woord
1d9c648691 Seem to be there. Merging follows. 2015-08-02 09:46:47 -04:00
Matthijs ter Woord
ac674008e4 More compiler fixes for new memory model. 2015-08-01 14:52:14 -04:00
Matthijs ter Woord
d2db318dc1 Progress. Most stuff seems to work now. 2015-08-01 13:48:25 -04:00
Matthijs ter Woord
f54d7ace72 More progress 2015-08-01 09:04:35 -04:00
Monsieur Z
0e9968fc13 Add support for Shift+NumPad key 2015-07-31 23:55:41 +02:00
Matthijs ter Woord
73758c2643 Ongoing memory work. 2015-07-31 12:46:07 -04:00
Matthijs ter Woord
be0ace5c62 - Turns out the VMT table was not generated correctly: the _Handle datamember wasn't pointing to the actual data area
- small bugfix in heap.
2015-07-31 11:51:27 -04:00
Matthijs ter Woord
675ce71d10 Ongoing work. 2015-07-31 08:34:28 -04:00
Matthijs ter Woord
7858e43584 Ongoing work on memory 2015-07-28 20:18:14 -04:00
Matthijs ter Woord
c442a920d1 Build fix. 2015-07-28 16:58:23 -04:00
MyvarHD
6da46cf3de Compleated the VBE driver 2015-07-24 08:08:27 +02:00
MyvarHD
e5ff48ef10 added Drawing code 2015-07-23 23:17:57 +02:00
MyvarHD
7d65f793eb Fixed up the vbe mode code 2015-07-23 22:02:23 +02:00
MyvarHD
c22c0d609c Started Vbe 2015-07-23 21:16:21 +02:00
Matthijs ter Woord
5fca0ecbb7 Fix ata detection bug. CD drives were recognized as ATAPI devices, but still handled as ATA ones. Currently we don't have an ATAPI driver, so the CD drives are ignored.
Fixes #129
2015-07-05 13:28:16 +02:00
Matthijs ter Woord
7d6304bbea Merge pull request #141 from zdimension/zdimension-keyboard-work
Fixed some empty-char-thingy bugs in the keyboard implementation and …
2015-06-21 17:13:34 +02:00
zdimension
c451a319a2 Reformatted code a bit 2015-06-21 16:15:58 +02:00
zdimension
1ae8b46a40 Moved NumLock, CapsLock and ScrollLock to the base class and added value check in HandleScancode. 2015-06-21 14:11:11 +02:00
Matthijs ter Woord
89d62cc55a More work on #140. Now tests are ran. Next step is logging to xml. 2015-06-21 13:57:46 +02:00
zdimension
639043c74b Fixed some empty-char-thingy bugs in the keyboard implementation and now if you press a no-char key (like Esc, F1-12, PrtScr), it does nothing instead of printing a blank space. 2015-06-20 23:34:58 +02:00
zdimension
fda88ae3a8 Changed my keyboard impl to match the new architecture 2015-06-18 22:57:55 +02:00
zdimension
659649b6e3 Merge remote-tracking branch 'upstream/master' into zdimension-keyboard-work
Conflicts:
	source/Cosmos.HAL/Keyboard.cs
	source/Cosmos.System.Plugs/System/ConsoleImpl.cs
2015-06-18 22:18:40 +02:00
Matthijs ter Woord
1568284b27 Merge remote-tracking branch 'origin/keyboard-work' 2015-06-17 20:23:33 +02:00
Matthijs ter Woord
5c116490da Cleanup. 2015-06-17 20:22:58 +02:00
Matthijs ter Woord
68282aa557 Keyboard works. Next is enabling code that should be enabled, and removing debug code. 2015-06-17 20:09:37 +02:00
zdimension
0720ca7e2b Fixed a bug in SVGA driver 2015-06-17 18:37:38 +02:00
zdimension
9b2a1fd1ee Made VMware SVGA II driver work again 2015-06-17 11:47:09 +02:00
zdimension
f43a5dad2b Rewrote Keyboard class mostly from scratch 2015-06-17 11:13:46 +02:00
Matthijs ter Woord
44cdc7dc61 Other fixes. 2015-06-16 18:35:46 +02:00
Matthijs ter Woord
c205ec054d Merge master. 2015-05-27 18:36:40 +02:00
Andrey Kurdyumov
c26d29d113 Use shared code where possible 2015-05-26 22:42:47 +06:00
Matthijs ter Woord
9b78ed1903 Extra changes. 2015-05-24 16:43:04 +02:00
Matthijs ter Woord
dd93b7d2b9 Initial keyboard work. Does not work due to bug in the compiler. (Ldelem_ref) 2015-05-24 16:33:21 +02:00
zdimension
03e4266a3b Added Console colors to the Cosmos.System.Console class and modified the plugs calls. Now Console.ForegroundColor and Console.BackgroundColor are working again! 2015-05-22 13:37:08 +02:00
Matthijs ter Woord
e99e9ffad9 Merge pull request #77 from PathogenDavid/master
Added stobj stack push/pop information to OpType and some other smaller changes.
2015-04-20 18:49:51 +02:00
David Maas
77f741a127 Added stobj's stack push/pop information to OpType. Re-added PCSpeaker.cs to Cosmos.HAL. 2015-04-20 10:40:39 -05:00
unknown
53d7432fa0 Modifying my user kernel to test VMT. 2015-04-17 12:37:29 -05:00
Matthijs ter Woord
71647fa672 Ongoing changes 2015-01-01 13:25:25 +01:00
Matthijs ter Woord
563431dc21 Compile fixes and changes to consts. 2014-12-27 17:14:12 +01:00
Matthijs ter Woord
24ba16eb26 Some refactorings.. 2014-12-27 16:38:21 +01:00
Matthijs ter Woord
1b4627a310 arp messages are now sent correctly. 2014-12-07 14:27:28 +01:00
Matthijs ter Woord
d01251657f Progress on networking 2014-12-06 15:47:37 +01:00
Matthijs ter Woord
4d76fbb058 start with networking. 2014-12-06 13:57:53 +01:00
Matthijs ter Woord
5f2a31d455 Move Pci stuff to Cosmos.HAL. 2014-12-06 13:36:57 +01:00
Matthijs ter Woord
af46aa7959 - cleanup
- ring enforcement works now, but only based on the attributes.
2014-12-05 19:57:17 +01:00
Matthijs ter Woord
7c4a29b6f6 Rings verification
- add ring attribute and marking to kernel libraries
2014-12-05 16:02:06 +01:00
Sentinel209_cp
c591a7ff1b Reorganize source: Everything is out of source2 now and the soutions are cleaned up. 2014-11-28 00:48:23 +00:00
kudzu_cp
a2be60409a 2014-07-14 22:04:12 +00:00