Xref: news-dnh.mv.net comp.os.msdos.djgpp:4052 Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!news.sesqui.net!rice!news!sandmann From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Video axs in v2 which should be in the faq. Date: Thu, 28 Dec 1995 15:34:32 CST Organization: Rice University, Houston, Texas Lines: 9 Message-ID: <30e30d68.sandmann@clio.rice.edu> References: <4brgjt$moq AT supreme DOT pcug DOT org DOT au> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: clio.rice.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > It's simple. In the top(ish) have char *vidmem; and in the initialisation > part you must do this (psuedo-ish code, I forgot the function names ;) This code has a lot of bugs in it. In particular, a call to sbrk() by any of the libc routines will reset the limit on DS and cause this to break. A call to sbrk() may also move the base of the selector - so base_addr is not a constant, etc. See sys/nearptr.h and crt0.h for the correct way to do this (its supported and documented in the next release).