delorie.com/archives/browse.cgi | search |
Date: | Mon, 3 Feb 1997 18:02:37 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Max <mjiinas AT ix DOT netcom DOT com> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Programming Graphics - colorrot.c [1/1] |
In-Reply-To: | <5d2njp$gbt@sjx-ixn2.ix.netcom.com> |
Message-ID: | <Pine.SUN.3.91.970203180015.27257A-100000@is> |
MIME-Version: | 1.0 |
On 2 Feb 1997, Max wrote: > Call frame traceback: > in function memset+31 > colorrot.c(188) in function H_Line > colorrot.c(221) in function main > in function __crt1_startup+138 > > The program compiles... It just won't run. > > unsigned char *video_buffer = (char *)0xA0000000L; // vram byte ptr ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This will never work in DJGPP. Please read section 10.2 of the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) for the explanation why and for details about how to achieve this in DJGPP.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |