delorie.com/archives/browse.cgi | search |
From: | Niklas <d95-nlu AT nada DOT kth DOT se> |
Newsgroups: | comp.os.msdos.djgpp,comp.graphics.algorithms |
Subject: | Re: VESA 2.0 and getch() bug? |
Date: | Wed, 19 Mar 1997 17:17:21 +0100 |
Organization: | Solace Computer Society |
Lines: | 16 |
Message-ID: | <33301191.7727@nada.kth.se> |
References: | <332FB886 DOT 3A9F AT finebody DOT com> |
NNTP-Posting-Host: | red64.nada.kth.se |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
btw this works too void VESAdriver::flipPage(byte* poff) { byte* video = (byte*)ADDR; __djgpp_nearptr_enable(); video -= __djgpp_base_address; memcpy(video,poff,320*3*240); __djgpp_nearptr_disable(); putch('a'); // changed line... } I bet it has something to do with DPMI Niklas ------------------------------------------------------------------------d95-nlu AT nada DOT kth DOT se
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |