delorie.com/archives/browse.cgi | search |
From: | "Lequtis" <Live AT BTInternet DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: help with 640x480x65536 |
Date: | Sat, 22 Aug 1998 11:00:46 +0100 |
Organization: | BT Internet |
Lines: | 18 |
Message-ID: | <6rm5ai$b2l$1@plutonium.btinternet.com> |
References: | <6rdo2i$8ak AT news1 DOT snet DOT net> <35DB4C29 DOT AE59403 AT sympatico DOT ca> |
NNTP-Posting-Host: | host5-99-54-140.btinternet.com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Your problem seems to be, not with your friends computer but rather the way you are setting up the mode. Your code is designed for VESA1.2 and I find anything above 8bit colour doesn't tend to work. To use VESA2.0 add 0x4000 to the mode number, this makes VESA2.0 use the linear frame buffer. However, you will have to write some mode detection routines to get the linear frame buffers address and wil have to map it to linear memory ( or it will be split up into 64k chunks which can be a pain ). Get the official VBE2.0 specs from http://www.scitechsoft.com/ which will guide you better than me. NOTE: you need to know a fair bit on using the transfer buffer ( __tb ) and how to map physical memory into linear memory.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |