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: References: 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