question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VBE not working on real hardware, loading bitmap files too

See original GitHub issue

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

VBE = new((ushort)Width, (ushort)Height, 32);

Reproduction - How did you get this error to appear?

just do

VBE = new((ushort)Width, (ushort)Height, 32);

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)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
terminal-cscommented, May 16, 2022

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)

0reactions
Kiirxcommented, May 21, 2022

and the code doesnt really explain how its done and how it works, so I can’t try to fix it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't I load this bitmap?
I am trying to build a static MFC library using Visual Studio 2022. Other projects in this solution use bitmaps with no problem....
Read more >
VBE higher resolution text modes support? - OSDev Forums
Was hoping to 'upgrade' to a higher resolution text mode than 80x25, and saw that VBE listed a few attractive options such as...
Read more >
VESA mode programming from real mode
By default on my 286 system I get my warning screen about no supported VBE found and my code won't load (as expected...
Read more >
VESA BIOS Extensions & Bitmap Font - Amateur OS Dev (x86 ...
I'll also try to put the overall OS source in a git repo as of the end ... working test code 20:24 -...
Read more >
Solved - 13-RC3: unexpected appearance of new loader
I had bitmap logo when I had two screens and console on higher resolution (HD). When I disconnected one of the screens and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found