We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

80x43 textmode

Levin
Levin asked
on
Medium Priority
1,047 Views
Last Modified: 2008-03-10
How do you set text modes like 80x43, 80x45 and 80x60?

I've read Ralph Brown's interrupt list but there are no such modes listed there that work on all video cards.

IDEs like Borlandc's BC and DJGPP's RHIDE use these modes, so there's got to be a way. In RHIDE the 80x43 mode has number 0x503 (I think). With int 10h ah=0 you can only set
modes 0-0ffh. How does RHIDE set that mode? (It must be mode numbers. Mode 80x25 has 0x3 just as usual.)

If there are no ordinary modes, can I tweak the vga regs to get these resolutions?

TIA
Comment
Watch Question

You were looking at the right thing, but the wrong place.
Text modes like 80x43 and 80x50 are not new dispay modes, but
rather modifcations of mode 3.  What you have to do is set the
number of scan lines that the text characters take up.  

Look up int 10h, sub function AH=11h.  From there AL=14h for 25
line mode, AL=12h for 43 line mode, and AL=10h for 50 line mode.
You will need to use int386() or _asm {} to be able to set
these modes.  Keep in mind that text function libraries that do
strange things like cursor position, text page swapping etc.,
may not function as expected as a result of setting the line
height directly like this.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
I was looking for textmode(C4350).

But OK, here are your points.

Commented:
I just loaded a different sized font into the EGA card and that did the trick. I have written a host of text display handling stuff which you are welcome to have (but I haven't had time to write any documentation yet).

Go to http://freespace.virgin.net/anthony.cooper/ and then to the software downloads page and look under MS-DOS.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.