Text mode - Higher resolution?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
IRBMe

Text mode - Higher resolution?

Post by IRBMe »

Just a quick question. I'm sitting in text mode with the standard 80x25 resolution and I'm just wondering if (and if so, how) I can increase this to something higher. I've searched around for a while, but can only find stuff on graphical mode. I would just like a resolution of 90x60 or perhaps something better, so that I can fit a bit more text on the screen. It's not hugely important, but any links or info would be good. Meanwhile, I'll continue searching and see if I can find anything that doesn't confuse me with graphical modes ;)

Thanks in advance.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:Text mode - Higher resolution?

Post by Brendan »

Hi,

You can change 80*25 into 80*50 by changing the size of the character font. There's a BIOS function for this:

Code: Select all

   mov ax,0x1112
   mov bl,0
   int 0x10
Also some video cards will handle higher resolution text modes via. VESA functions, e.g. 132*25 and 132*43.


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Text mode - Higher resolution?

Post by Solar »

It's certainly possible, as Linux boot-up messages show. If GPL and Linux kernel sources don't scare you, you might want to have a look at whatever they do...
Every good solution is obvious once you've found it.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Text mode - Higher resolution?

Post by Pype.Clicker »

i suppose http://my.execpc.com/~geezer/software/90x60.asm is what you're looking for ...
IRBMe

Re:Text mode - Higher resolution?

Post by IRBMe »

Very interesting code snippet Pype.Clicker. Thanks. I'll just go try to understand this now I guess
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Text mode - Higher resolution?

Post by Pype.Clicker »

print the pages from FreeVga (linked from the HardWareVga page of the FAQ) and see what value is placed where.

I assume that some of them are clock reprogramming for the CRT controller (like saying "there's twice as much rows") etc.
Post Reply