vesa模式105h或117h [英] vesa mode 105h or 117h

查看:285
本文介绍了vesa模式105h或117h的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图以vesa模式105h或117h访问视频内存。这些

模式是1024x768。当我试图填满屏幕时,我只填写了最高的
75%。我的问题是如何访问完整的视频内存?看来这个
是65k块的问题,我如何访问其他块?


memset((char *)0xA0000,0x0E,0x10000 );


劳伦斯

I am trying to access the video memory in vesa modes 105h or 117h. These
modes are 1024x768. When I try to fill the screen, I only fill in the top
75%. My question is how do I access the complete video memory? It seems this
is an issue with the 65k block, how do I access the other blocks?

memset( (char *) 0xA0000, 0x0E, 0x10000);

Lawrence

推荐答案

劳伦斯< ju ***** @ nowhere.com>潦草地写下:
Lawrence <ju*****@nowhere.com> scribbled the following:
我试图在vesa模式下访问视频内存105h或117h。这些
模式为1024x768。当我试图填满屏幕时,我只填写了最高的75%。我的问题是如何访问完整的视频内存?看来这是65k块的问题,如何访问其他块?
memset((char *)0xA0000,0x0E,0x10000);
I am trying to access the video memory in vesa modes 105h or 117h. These
modes are 1024x768. When I try to fill the screen, I only fill in the top
75%. My question is how do I access the complete video memory? It seems this
is an issue with the 65k block, how do I access the other blocks? memset( (char *) 0xA0000, 0x0E, 0x10000);




这不是关于C的问题,它是关于你的计算机的问题's
视频内存运行。请在专门为您自己的

计算机实现的新闻组中询问。


-

/ - Joona Palaste(pa * ****@cc.helsinki.fi)-------------芬兰-------- \

\ ----- -------------------------------------------------- - 规则! -------- /

蜜蜂实际上可以收集它的垃圾。 Llamas(没有可怜的四肢)调整

并发誓兴奋地缩放。

- JIPsoft



This is not a question about C, it''s a question on how your computer''s
video memory operates. Please ask in a newsgroup dedicated to your own
computer implementation.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-------------------------------------------------------- rules! --------/
"A bee could, in effect, gather its junk. Llamas (no poor quadripeds) tune
and vow excitedly zooming."
- JIPsoft




劳伦斯 <菊***** @ nowhere.com>在消息中写道

news:cr *********** @ news3.infoave.net ...

"Lawrence" <ju*****@nowhere.com> wrote in message
news:cr***********@news3.infoave.net...
我正在尝试访问视频内存在vesa模式105h或117h。这些
模式为1024x768。当我试图填满屏幕时,我只填写了最高的75%。我的问题是如何访问完整的视频内存?看来这是65k块的一个问题,如何访问其他块?
I am trying to access the video memory in vesa modes 105h or 117h. These
modes are 1024x768. When I try to fill the screen, I only fill in the top
75%. My question is how do I access the complete video memory? It seems
this is an issue with the 65k block, how do I access the other blocks?




查找Bank切换。 64k限制不是VESA限制,

但是实模式内存分段的限制。拨打电话

到VESA切换到下一个银行,你就可以进入下一个

64k


如果你正在使用保护模式,你或图形模式

与0x4000和启用LFB(线性帧缓冲),

我使用DPMI物理地址映射,你可以在1次点击中访问显示内存的几乎全部

(这64个没有废话)


阅读


* DPMI物理地址映射

* VESA LFB模式。


如果你处于实际模式,你会遇到64k段并且不得不使用银行转换(痛苦)。


Alex



Look up Bank switching. The 64k limit is not a VESA limitation,
but a limitation of real mode memory segmentation. Make a call
to VESA to switch to the next bank and you''ll get access to the next
64k

if you''re using protected mode, you OR the graphic mode
with 0x4000 and that enabled LFB (Linear Frame Buffer),
My using DPMI physical address mapping, you can access virtually ALL
of the display memory in 1 hit (none of this 64 nonsense)

Read up on

* DPMI Physical address mapping
* VESA LFB modes.

if you''re in real mode, you''re stuck with 64k segments and having to
use bank switching (a pain).

Alex


alex< ye*@yep.yep.yep.com>潦草地写下:
alex <ye*@yep.yep.yep.com> scribbled the following:
" Lawrence" <菊***** @ nowhere.com>在消息中写道
新闻:cr *********** @ news3.infoave.net ...
"Lawrence" <ju*****@nowhere.com> wrote in message
news:cr***********@news3.infoave.net...
我试图在vesa模式下访问视频内存105h或117h。这些
模式为1024x768。当我试图填满屏幕时,我只填写了最高的75%。我的问题是如何访问完整的视频内存?看来这是65k块的问题,如何访问其他块?
I am trying to access the video memory in vesa modes 105h or 117h. These
modes are 1024x768. When I try to fill the screen, I only fill in the top
75%. My question is how do I access the complete video memory? It seems
this is an issue with the 65k block, how do I access the other blocks?


查找Bank切换。 64k限制不是VESA限制,而是实模式内存分段的限制。打电话给VESA切换到下一个银行,如果你使用的是保护模式,你可以访问下一个64k
,你或者图形模式
使用0x4000并启用LFB(线性帧缓冲区),
我使用DPMI物理地址映射,您可以在1次点击中访问几乎所有显示内存(这64个无效)
读取
* DPMI物理地址映射
* VESA LFB模式。
如果你处于真实模式,你就会陷入64k段并且不得不使用银行转换(痛苦)。

Look up Bank switching. The 64k limit is not a VESA limitation,
but a limitation of real mode memory segmentation. Make a call
to VESA to switch to the next bank and you''ll get access to the next
64k if you''re using protected mode, you OR the graphic mode
with 0x4000 and that enabled LFB (Linear Frame Buffer),
My using DPMI physical address mapping, you can access virtually ALL
of the display memory in 1 hit (none of this 64 nonsense) Read up on * DPMI Physical address mapping
* VESA LFB modes. if you''re in real mode, you''re stuck with 64k segments and having to
use bank switching (a pain).




你认为这与C有什么关系?


-

/ - Joona Palaste(pa ***** @ cc.helsinki.fi)-------------芬兰-------- \

\ --------- -----------------------------------------------规则! -------- /

"您已移动鼠标,要使这些更改生效,您必须关闭

并重新启动计算机。你想现在重新启动电脑吗?

- Karri Kalpio



And what do you think any of this has to do with C?

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-------------------------------------------------------- rules! --------/
"You have moved your mouse, for these changes to take effect you must shut down
and restart your computer. Do you want to restart your computer now?"
- Karri Kalpio


这篇关于vesa模式105h或117h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆