delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/14/04:45:50

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems adressing memory variable
Date: 14 Mar 2003 08:14:03 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 14
Message-ID: <b4s30b$n6o$1@antares.lu.erisoft.se>
References: <RUfca.942$z_3 DOT 477599 AT news1 DOT news DOT adelphia DOT net>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ken Jenkins (ken DOT jen AT adelphia DOT net) wrote:
: This program is supposed to print "Hello!" in gray letters on a blue
: background at screen position (10, 10).  However all I'm getting is the blue
: background with no text, 6 characters long.  Can anybody tell me what I'm
: doing wrong?

Yes. You are issuing a real mode interrupt in protected mode. You
aren't moving the values the real mode call need into conventional
memory. Read __dpmi_int and related FAQs.


Right,

						MartinS

- Raw text -


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