Open selkij opened 2 years ago
Is it possible that you are trying to set a mode which is not supported by the hardware? Does FullScreenCanvas.GetFullScreenCanvas
work? What code are you using to load the bitmap?
Is it possible that you are trying to set a mode which is not supported by the hardware? Does
FullScreenCanvas.GetFullScreenCanvas
work? What code are you using to load the bitmap?
I'm not using Cosmos's canvas
Without exact code, this remains unreproducable.
see branch impl-graphic-mode
It would be a lot easier if the relevant code extracted to what is actually necessary to reproduce this issue. Understanding and debugging an entire user kernel is a lot more work.
the VBE driver just dont work on real hardware, im not hte same to say that, I assume that the VBE driver was for bochs or qemu or smth like that? VBE is to be for everything, even real hardware
My point is that since you are not using the standard cosmos vbe driver, there is no guarantee that it should work. If there is an issue with the standard vbe driver which afaik should work fine on real hardware, then we can look into it.
even when I use the default VBE driver it doesnt work
when setting the mode or using the default mode?
idr it just doesnt work, im not the only one to say that
this is an issue with cosmos's vbe driver, there isn't anything you can do unless you fix it yourself or ask somebody else to do it (ask nicely)
well, this is not what concerns me the most rn, TCP connections are badly made, it can send data, but most of the time incorrectly, and even if the server sends the response, cosmos wont get it.
and the code doesnt really explain how its done and how it works, so I can't try to fix it
Area of Cosmos - What area of Cosmos are we dealing with?
VBEDriver
Expected Behaviour - What do you think that should happen?
should boot and show my desktop environment I did.
Actual Behaviour - What unexpectedly happens?
CPU exception x0D (General Protection Fault) when loading bitmap files CPU exception x06 (Invalid OpCode) when doing this
Reproduction - How did you get this error to appear?
just do
Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?
commit 6510f61ad4b20568c1386c7e386fc9d3d50bafeb (the 2 last commits are just adding a possibility to restart the kernel so its ok)