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 tkchia Homepage, 31.12.2020, 08:16

Hello jassenna,

> There is a third that I use:
> INT10 function 1Bh . This function is well documented both in RBIL
> and in "PC Video Systems".
> It returns a 64 byte data structure containing, among other info,
> video mode, number of characters/line, number of lines/screen.

Thanks, interesting. But I see that, like int 0x10, ax = 0x4f03, it is not supported by all BIOSes, so one will need to fall back on one of the other detection methods (e.g. int 0x10, ah = 0x0f), in any case...

Thank you!

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

 

Complete thread:

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