Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Number of rows and columns (Developers)

posted by Rugxulo Homepage, Usono, 10.10.2008, 05:40

> Does anybody know how one may determine the number of lines and columns for
> the text mode, which is currently set? I've taken a look at some of the
> functions of INT 10h, but unsuccessfully. I remember there was one
> function that returned either the number of lines or columns, but not
> both.

Hopefully this is what you want, but I can't guarantee it 100% of course. But it works well enough.

int 10h,0Fh

int 10h,1130h

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 276 users online (0 registered, 276 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum