Xref: news2.mv.net comp.os.msdos.djgpp:4733 From: Chris Grubb Newsgroups: comp.os.msdos.djgpp Subject: asm putpixel routine in djgpp Date: Sat, 08 Jun 1996 17:24:10 -0400 Organization: TDS TELECOM - Madison, WI Lines: 9 Message-ID: <31B9EF7A.183D@ccm.tdsnet.com> NNTP-Posting-Host: aumi2-a15.ccm.tds.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp hi, I'm trying to make a putpixel routine for mode 13h in inline asm .. so far I have converted everything correctly, but I looked through 'brennan's guide to inline assembly' .. and couldn't find help for this..so I'm turning here..this is the line I'm trying to convert: 'mov [es:di],color' .. where es:di is the memory location of the pixel.. now, I read something that said you have to put an underscore before variables..so sofar I have this.. 'movl _color,' .. but then I'm not sure about the next part..any help is GREATLY appreciated..thanks