delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Lines: | 6 |
X-Admin: | news AT aol DOT com |
From: | jbs30000 AT aol DOT com (JBS30000) |
Newsgroups: | comp.os.msdos.djgpp |
Date: | 27 Sep 2004 04:55:03 GMT |
References: | <l5rel0h54p2gacp73agkfsddgrqu1ffjq0 AT 4ax DOT com> |
Organization: | AOL http://www.aol.com |
Subject: | Re: Strange VESA problem |
Message-ID: | <20040927005503.22383.00001136@mb-m17.aol.com> |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
There's a LOT more code than what I showed you, but I was only showing you the relevant parts. Anyway, all the rest works fine, so I'll just leave it the way it is. Anyway, I took your advice and took the & 0xFFFF out of the dosmemget and used it in the Real_Mode_PTR = (((variable >> 16) & 0xFFFF) << 4) + (variable & 0xFFFF) and it worked. Thanks.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |