delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/07/04:32:24

From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DOSMEMGET Problems
Date: Fri, 07 Nov 1997 08:51:32 +0100
Organization: University of Ghent, Belgium
Lines: 15
Message-ID: <3462C884.5939@rug.ac.be>
References: <63u1qv$ond AT examiner DOT concentric DOT net>
NNTP-Posting-Host: eduserv1.rug.ac.be
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

DigitalFX wrote:
> 
> // get the ROM font from F000:FA6E and load into memory
> dosmemget((0xF000*16)+0xFA6E, 8*256, GI_CHAR_SET);

AFAIK the ROM holds only 8x8 bitmaps for the first 128 characters, not
256.
The problem may be that 0xF0000 + 0xFA6E + 8*256 >= 0x100000, which
normally 
would only occur when the A20 gating is disabled (like in real-mode DOS)
 
-- 
 \ Vik /-_-_-_-_-_-_/   
  \___/ Heyndrickx /          
   \ /-_-_-_-_-_-_/

- Raw text -


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