Open alessiob07 opened 9 months ago
same thing
seems like a cgs issue
Effects VBox as well.
I've found an odd workaround that works for me and created this method for it - I just call it after doing canvas.Disable();
public static void SetupCLI()
{
VGAScreen.SetGraphicsMode(Cosmos.HAL.Drivers.Video.VGADriver.ScreenSize.Size320x200, ColorDepth.ColorDepth4);
VGAScreen.SetTextMode(Cosmos.HAL.Drivers.Video.VGADriver.TextSize.Size80x25);
}
Area of Cosmos - What area of Cosmos are we dealing with?
I think with Canvas.Disable
Expected Behaviour - What do you think that should happen?
Kills the grahics driver and return to normal CLI/TTY mode
Actual Behaviour - What unexpectedly happens?
Vmware disaplays this error:
Reproduction - How did you get this error to appear?
with this custom function: public static void Disable() { try { cnv.Disable(); ProcessMgr.running.Clear(); Kernel.SetGraphicsMode('c'); } catch(Exception ex) { aText.Errore("disable gpu",ex.Message); } }
p.s. cnv is the Canvas.
and kernel.setgraphics mode 'c' is: [...] case 'c': onGUI = false; if (!aCLI.alreadyInit) { aCLI.Init(); aCLI.alreadyInit = true; } graphicsMode = 'c'; break; [...]
and kernel loop is: try { //update the clock
aClock.Aggiorna(); //Ottimizza la gestione della Memoria - Memory manager optimization Heap.Collect();
[...]
Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?
I'm using devkit v106027