delorie.com/archives/browse.cgi | search |
From: | "Johan Venter" <jventer AT writeme DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <Pine DOT UW2 DOT 3 DOT 95 DOT 991020220808 DOT 12680B-100000 AT bryggen DOT bgnett DOT no> <7ulo1q$5jf$1 AT news4 DOT svr DOT pol DOT co DOT uk> |
Subject: | Re: memset func |
Lines: | 18 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Message-ID: | <f2BP3.290$we.606@newsfeeds.bigpond.com> |
Date: | Thu, 21 Oct 1999 17:37:37 +1000 |
NNTP-Posting-Host: | 139.134.162.154 |
X-Trace: | newsfeeds.bigpond.com 940498187 139.134.162.154 (Thu, 21 Oct 1999 19:29:47 EST) |
NNTP-Posting-Date: | Thu, 21 Oct 1999 19:29:47 EST |
Organization: | Telstra BigPond Internet Services (http://www.bigpond.com) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hammy <darren AT grayce DOT freeserve DOT co DOT uk> wrote in message news:7ulo1q$5jf$1 AT news4 DOT svr DOT pol DOT co DOT uk... > im sure you dont use a & for the address of a pointer? > anyway, videbuffer is a char * set to the address of the videoram by the vbe > stuff You can't do that in DJGPP. You are violating memory protection. To access the VBE videoram in DJGPP, you need to either 1) use the far* functions or 2) enable near pointers which is not recommended as it disables memory protection. -- Johan Venter ICQ 3643877 - jventer AT writeme DOT com The TPU DJGPP Interest Group - http://surf.to/djgppig The RSXNTDJ 1.5 HOWTO - http://surf.to/rsxntdj
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |