From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Plantz Subject: Re: GAS colorr pixel problem Date: Wed, 22 Nov 2006 11:33:56 -0800 Message-ID: <1164224036.5255.47.camel@ubuntu> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-assembly-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: A D Cc: linux-assembly@vger.kernel.org Given that everything ultimately resolves to assembly language (try the -S gcc option when compiling), yes, you can do graphics on the monitor. On the other hand, I've been an assembly language programmer for 30 years, and I would not even consider doing this in assembly language. In my view, the main reason for learning assembly language these days is to gain an understanding of how computers actually work. Bob On Wed, 2006-11-22 at 13:54 -0500, A D wrote: > 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