是否有适用于43行或更多线路的标准BIOS Int 10h视频模式? [英] Is there a standard BIOS Int 10h video mode for 43 lines or more?
问题描述
我正在编写在加载任何操作系统之前以实模式运行的代码.我的程序的一部分涉及到将信息转储到视频显示器上,而标准的80x25文本模式不能消除这种情况.
I'm writing code which runs in real mode before any OS is loaded. Part of my program involves a dump of information to the video display, and the standard 80x25 text mode is not cutting it.
许多版本的Windows和其他操作系统在显示内核恐慌时似乎都可以轻松切换到更大的文本模式(我认为是43行).我知道较大的文本模式已经存在了很长时间,所以我希望至少有一种标准模式.
Many versions of Windows and other OSes seem to have no trouble switching to some larger text mode, 43 line I think, when they show kernel panics. I know larger text modes have been around a long time so I would expect there's at least one standard mode.
这里有很多BIOS视频模式:
There's a pretty large list of BIOS video modes here:
http://www.columbia.edu/~em36/wpdos/videomodes. txt
不幸的是,相同的模式号在芯片组之间的含义似乎差异很大.
Unfortunately, the same mode numbers seem to vary wildly in meaning between chipsets.
曾几何时,我似乎记得曾经使用一种称为VESA BIOS的东西以与设备无关的方式访问Super VGA图形模式,但我似乎还记得,其中涉及到必须加载的DOS TSR.由于DOS没有运行,因此这里不是一个选择.
Once upon a time I seem to remember having used a thing called VESA BIOS to access Super VGA graphics modes in a device-independent manner, but I also seem to remember that involving a DOS TSR which had to be loaded in. That's not an option here as DOS is not running.
我正在寻找一种适用于各种硬件的模式,包括VMware ESXi中的虚拟视频适配器.更改模式的代码也必须紧凑,因此我希望一个简单的Int 10h可以做到.
I'm looking for a mode that will work on the widest variety of hardware, including the virtual video adapter in VMware ESXi. The code to change modes needs to be compact also, so I was hoping a simple Int 10h would do it.
有什么想法吗? Windows和Windows如何VMware内核恐慌了吗?
Any ideas? How do the Windows & VMware kernel panics do it?
推荐答案
您可以使用80x25模式并加载8x8字体(ax = 1112h),这将产生80x50个字符.据我所记得,那是很标准的.
You can use 80x25 mode and load an 8x8 font (ax = 1112h), that will result in 80x50 characters. As far as I can remember, that was pretty standard.
这篇关于是否有适用于43行或更多线路的标准BIOS Int 10h视频模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!