Hey everyone,
Is vesa text modes not as wide supported as graphics modes? I tested quite a few of different types of modes (graphical and textual) in both Bochs and VirtualPC. All graphics modes that I have tested seem to work fine. It seems any other text mode (Besides 0, 1, 2, 3, and 7) does not get set :/ Is this common? I just kind of find it odd so I wanted to ask here.
I decided to post this here as its for my protected mode boot loader.
Thanks for any responses
vesa text modes
Re: vesa text modes
Little update...
Im still not sure what is going on with vesa text modes, but I decided to just use vga to set a new font. Its working fine with VirtualPC right now, but not Bochs (Its rendering garbage)...have to find out why though.
Im posting here to let everyone know that I have used a different method of obtaining the solution that I wanted (a different text mode), but I am still interested at what is going on with vesa though if anyone has any ideas. If not, thats okay
Im still not sure what is going on with vesa text modes, but I decided to just use vga to set a new font. Its working fine with VirtualPC right now, but not Bochs (Its rendering garbage)...have to find out why though.
Im posting here to let everyone know that I have used a different method of obtaining the solution that I wanted (a different text mode), but I am still interested at what is going on with vesa though if anyone has any ideas. If not, thats okay
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: vesa text modes
Probably a problem with switching back to the right plane access if you just have 80x25, or otherwise some bad CRT register values. There have been some recent and less recent threads (the latter ones mentioned in the recent ones) that explain how to do that stuff.neon wrote:Im still not sure what is going on with vesa text modes, but I decided to just use vga to set a new font. Its working fine with VirtualPC right now, but not Bochs (Its rendering garbage)...have to find out why though.
When I used VESA text modes, they were readily available in all graphics cards (132x60 etc.), but that was ten years ago probably. I could imagine there's little support for them in modern cards.Im posting here to let everyone know that I have used a different method of obtaining the solution that I wanted (a different text mode), but I am still interested at what is going on with vesa though if anyone has any ideas. If not, thats okay ;)
JAL
Re: vesa text modes
Surprisingly the problem was none of those--It was inportb() always returning 0xff. ugh...That really missed up alot of the code. Its working fine now (for the most part) in bochs and virtual PC. Thanks for your helpProbably a problem with switching back to the right plane access if you just have 80x25, or otherwise some bad CRT register values. There have been some recent and less recent threads (the latter ones mentioned in the recent ones) that explain how to do that stuff.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}