Date: Sat, 24 Mar 2001 22:57:26 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Michael Duxbury" Message-Id: <9003-Sat24Mar2001225724+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <99ivbn$d45$1@uranium.btinternet.com> (M DOT R DOT Duxbury AT btinternet DOT com) Subject: Re: assembler probs References: <99dc06$p3b$1 AT uranium DOT btinternet DOT com> <99g2bn$dtt$4 AT ctb-nnrp2 DOT saix DOT net> <99iuvh$cbn$1 AT uranium DOT btinternet DOT com> <99ivbn$d45$1 AT uranium DOT btinternet DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Michael Duxbury" > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 24 Mar 2001 20:18:38 -0000 > > Like I said just trying to learn a little. I would like to know how I could > do this type of string insertion into assembly running in C, like I could in > stand alone assembly. It's probably better to learn how to do this in C first. Issuing system calls and writing to video memory from a protected-mode program is fairly advanced stuff, even in C. Add inline assembly subtleties to that, and you have a problem that many newbies will stumble on. I'd suggest to read chapter 18 of the DJGPP FAQ list, write your program in C, and when that works, rewrite it in assembly.