Turbo C++ 中的 Vesa 模式

发布于 2024-09-04 09:54:37 字数 29 浏览 3 评论 0原文

如何在Turbo C++中实现vesa模式?

How to implement vesa mode in Turbo C++?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

递刀给你 2024-09-11 09:54:37

我当时就这样做了:您需要实现确定的数据结构和函数 这里

很多 reg.h.al 之类的东西。

I did this back in the day: You need to implement the data structures and functions as determined here.

A lot of reg.h.al and stuff.

我的奇迹 2024-09-11 09:54:37

AFAIK,Turbo C++ 附带了 Borland 图形接口 (BGI),它最多只能处理 16 色 VGA,而且即便如此,它也一点也不快。

我认为您必须推出自己的库或购买其他人的库才能使 VESA 256 色高分辨率图形正常工作。请记住,这对我来说已经过去了15年......

AFAIK, Turbo C++ shipped with the Borland Graphics Interface (BGI), which only did up to 16-color VGA, and even then, it was anything but fast.

I think you had to roll your own or buy someone else's library to get VESA 256 color high resolution graphics working. Keep in mind, it's been like 15 years for me...

纸伞微斜 2024-09-11 09:54:37

您购买 Phar Lap DOS 扩展器。它附带 Vesa 模式驱动程序,您可以在 DPMI/DOS 16 位中使用。

如果我没记错的话,PharLap 工具附带了您可以使用的迷你图形库。它主要用于科学目的……但人们过去常常用来制造。

有些游戏,如 Transport Tycoon/DOS,就使用这种方法。

You buy Phar Lap DOS extender. It comes with Vesa mode drivers which you can then use in DPMI/DOS 16-bits.

If I remember correctly, the PharLap tools came with mini graphics library which you could use. It was mainly for scientific purposes... but people used to to makes instead.

Some games, like Transport Tycoon/DOS uses this method.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文