delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/30/18:15:47

From: Nat Saiger <lunchbox AT stayfree DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: What is __djgpp_conventional_base ??
Date: Tue, 30 Dec 1997 22:50:31 +0000
Organization: Stayfree Internet Limited.
Lines: 26
Message-ID: <34A97AB5.14FD6E93@stayfree.co.uk>
NNTP-Posting-Host: lunchbox.stayfree.co.uk
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

    I was trying to access the video ram using
        unsigned char *videoptr = (unsigned char *)0xA0000;

    (in VBE1.2 640x480x256)

    and it didn't work, so I downloaded a tutorial on video memory under
djgpp, and it used the line

        unsigned char *videoptr = (unsigned char *)0xA0000 +
__djgpp_conventional_base;

    What is __djgpp_conventional_base? There is no mention of it in
Rhide's syntax help and the document didn't explain it.

    Also, which is the FASTEST way to access the video memory, enabling
near pointers or emulating far pointers?? (or is there a better way)

    Please note that i'm using VBE1.2 so I can't use linear frames in my
graphics modes.

Thanks.

Nat Saiger.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019