Skip to content

Commit

Permalink
Add basic VirtIO GPU driver, remove unused drivers and minor refactor…
Browse files Browse the repository at this point in the history
…ing (#1047)

* Add initial support for VirtIO GPU

* Fix bugs, make SVGAWorld use Serial for HAL.DebugWriteLine, remove VGA

* Remove unused code

* Add some drivers back

* Capitalize acronyms constantly

---------

Co-authored-by: AnErrupTion <anerruption@disroot.org>
  • Loading branch information
AnErrupTion and AnErrupTion committed May 25, 2023
1 parent 52abb63 commit d758893
Show file tree
Hide file tree
Showing 31 changed files with 742 additions and 2,327 deletions.
2 changes: 1 addition & 1 deletion Demos/Run-Demo.SVGAWorld.x86.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
cd ../bin
./Mosa.Tool.Launcher.Console -autostart -oMax -output-asm -output-debug -output-hash -vmdk -vmware-svga -include Include Mosa.Demo.SVGAWorld.x86.dll
./Mosa.Tool.Launcher.Console -autostart -oMax -output-asm -output-debug -output-hash -vmdk -virtio-vga -include Include Mosa.Demo.SVGAWorld.x86.dll
3 changes: 2 additions & 1 deletion Source/Mosa.Demo.SVGAWorld.x86/HAL/Hardware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ public override void DebugWrite(string message)
/// <param name="message">The message.</param>
public override void DebugWriteLine(string message)
{
Console.WriteLine(message);
Serial.Write(Serial.COM1, message);
Serial.Write(Serial.COM1, (byte)'\n');
}

/// <summary>
Expand Down
93 changes: 0 additions & 93 deletions Source/Mosa.DeviceDriver/ISA/CMOS.cs

This file was deleted.

123 changes: 0 additions & 123 deletions Source/Mosa.DeviceDriver/ISA/PIT.cs

This file was deleted.

0 comments on commit d758893

Please sign in to comment.