Re: What does your OS look like? (Screen Shots..)
Posted: Fri Jul 29, 2016 1:59 am
The Place to Start for Operating System Developers
http://f.osdev.org/
Looks good!omarrx024 wrote:New window theme on real HW in video mode 1366x768x32bpp.
Thanks!Ch4ozz wrote:Looks good!
Do you have a GUI console implementation?
You are 1360 x 768 God.omarrx024 wrote:New window theme on real HW in video mode 1366x768x32bpp.
It's VESA. Real hardware doesn't support BGA, and I don't have a BGA driver.thehardcoreOS wrote:You are 1360 x 768 God.
Just curious, VESA or BGA? That is freaking amazing, I can't reach more than 1024x768x32 w/ VESA.
It looks amazing, it is not much, but it is very very very exciting. Good job!
Very interesting. Can GRUB enabled VESA support custom resolutions like that?omarrx024 wrote:It's VESA. Real hardware doesn't support BGA, and I don't have a BGA driver.thehardcoreOS wrote:You are 1360 x 768 God.
Just curious, VESA or BGA? That is freaking amazing, I can't reach more than 1024x768x32 w/ VESA.
It looks amazing, it is not much, but it is very very very exciting. Good job!
Technically, reaching any resolution with VESA is all the same; just don't depend on hardcoded mode numbers and you can achieve any resolution supported by the BIOS/monitor configuration.
Well, I would really like to see a wiki article about that.Kazinsal wrote:VBE is interesting because on some cards it's just a dumb emulation and on others it's fairly well-stocked with resolutions. On a couple that I've encountered, it actually pulls its mode tables from a section of system memory, so if you know how to craft the numbers required by the VESA Generalized Timing Formula, you can inject new modes into the list and the VBE code will happily set high resolution video modes of your design.
This is kind of off-topic though. Perhaps I'll write a wiki article on it.
Although that's probably going to be card-specific enough that you might as well write actual card drivers.Kazinsal wrote:On a couple that I've encountered, it actually pulls its mode tables from a section of system memory, so if you know how to craft the numbers required by the VESA Generalized Timing Formula, you can inject new modes into the list and the VBE code will happily set high resolution video modes of your design.
I don't use GRUB. Probably it can; but on hardware that doesn't support these custom resolutions your kernel won't boot. In general, using GRUB for video modes is easy but has many disadvantages.thehardcoreOS wrote:Very interesting. Can GRUB enabled VESA support custom resolutions like that?
Yeah, it is better to write your own VESA VBE 3.0 then mess with GRUB.omarrx024 wrote:I don't use GRUB. Probably it can; but on hardware that doesn't support these custom resolutions your kernel won't boot. In general, using GRUB for video modes is easy but has many disadvantages.thehardcoreOS wrote:Very interesting. Can GRUB enabled VESA support custom resolutions like that?
I use VBE 2.0, not VBE 3.0. VBE 2.0 really has everything I need: a linear framebuffer and 32-/24-bit modes. If I recall correctly, 24-bit modes were support in VBE 1.2 as well, but I don't use it because I don't want to use bank switching. I think VBE 3.0 is just like VBE 2.0 but with a protected mode interface. Anyway, Bochs doesn't support VBE 3.0.octacone wrote:Yeah, it is better to write your own VESA VBE 3.0 then mess with GRUB.
The thing I "hate" when using GRUB VESA is that you can't control when it sets it. For example I want to enter GRUB VESA video mode only when I type "start-gui" but can't do that because of GRUB.
Nice, it's a great buzz.omarrx024 wrote: CPU usage is apparently very little over 0.002%.
How many loops per second?omarrx024 wrote:When the CPU is idle, it really is a constant loop of "sti; hlt; call yield", and yield gives control to the running tasks, both of which are waiting for mouse click (which is a GUI event), and so they call yield again, returning to the idle task.
CPU usage is apparently very little over 0.002%.