Date: Mon, 3 Feb 1997 18:02:37 +0200 (IST) From: Eli Zaretskii To: Max 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.