linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: GAS colorr pixel problem
@ 2006-11-22 20:35 A D
  2006-11-22 20:59 ` Claudio Fontana
  0 siblings, 1 reply; 13+ messages in thread
From: A D @ 2006-11-22 20:35 UTC (permalink / raw)
  To: linux-assembly

>Jean-Yves Lamoureux wrote:
>gas is just an assembler. You can do whatever you want with an assembler, 
>as every >single executed bit on your processor is the output of an 
>assembler (ok purists, I just  > simplified).
>"Filling a rectangle" means nothing. You have to draw something that will 
>be >interpreted as a bunch of pixels having the sahpe of a rectangle. You 
>can do that in >ascii (libcaca for example, http://libcaca.zoy.org ), or in 
>graphic mode (SVGAlib, old as >hell but works on most PC cards, without X), 
>X11 (which itself has dozen of low (xlib) >and high (sdl, ptc, gtk, qt, 
>whatever) level libraries to do that).

>I suggest you to learn how to call C-like functions (pushing arguments, 
>calling function), >how to work with memory (lea, syscalls, brk, etc), then 
>to use something like SDL for >example, which does most of the work for 
>you.

Thanks to all for your input. I guess it would be really difficult to color 
pixels in assembly language. Can anyone tell me what steps are involved in 
that(color pixels in assembly)? Just for my knowledge. Thanks.

--STeve

_________________________________________________________________
Buy, Load, Play. The new Sympatico / MSN Music Store works seamlessly with 
Windows Media Player. Just Click PLAY. 
http://musicstore.sympatico.msn.ca/content/viewer.aspx?cid=SMS_Sept192006


^ permalink raw reply	[flat|nested] 13+ messages in thread
* GAS colorr pixel problem
@ 2006-11-22 18:54 A D
  2006-11-22 19:33 ` Robert Plantz
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: A D @ 2006-11-22 18:54 UTC (permalink / raw)
  To: linux-assembly

Hello there! I'm new to x86 gnu assembly language and
trying to learn it. I've a question: is it possible to draw
a filled rectangle on monitor using gas? How do i
color individual pixel on my monitor? If anyone can
just give me the theory behind it or be kind enough to
write the source code I would appreciate it. Thanks.

--STeve

_________________________________________________________________
Experience Live Search from your PC or mobile device today. 
http://www.live.com/?mkt=en-ca


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-01-01  2:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BAY22-F18087E5BEE37FFA472DDD5F5E30@phx.gbl>
2006-11-22 20:38 ` GAS colorr pixel problem Jean-Yves Lamoureux
2006-11-22 21:08   ` A D
2006-11-22 22:45     ` Robert Plantz
2006-11-22 23:06   ` Frank Kotler
2006-11-22 20:35 A D
2006-11-22 20:59 ` Claudio Fontana
  -- strict thread matches above, loose matches on Subject: below --
2006-11-22 18:54 A D
2006-11-22 19:33 ` Robert Plantz
2006-11-22 19:44   ` Markus Rechberger
2006-11-22 19:49     ` Jean-Yves Lamoureux
2006-11-22 19:42 ` Jean-Yves Lamoureux
2006-12-31 18:43 ` Hendrik Visage
2007-01-01  2:36   ` Claudio Fontana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).