Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

How to detect the text mode? (Developers)

posted by Laaca Homepage, Czech republic, 14.11.2020, 11:00

It was slightly mentioned in the DWED text editor thread - the cooperation with various text modes.
I like when the text mode program can cooperate with the already set text mode and does not try to change it into own mode. My beloved Volkoc commander works in this way.
But, when the graphic mode is present, it is not more possible to use the standard videomemory access scheme (segment B800h, even addresses chars, odd addresses attributes).
So the question is, how to easily distinguish between text mode and graphic mode.

I might thing that I am idiot, but I am looking for scheme working in various tweaked modes (like 90x28), SVGA text modes and special tweaked modes set by utility SVGATextMode which are basicaly graphic modes but somehow modified to be allowed the text mode videomemory access scheme.

---
DOS-u-akbar!

 

Complete thread:

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