Claudio Fontana | 1 Jan 03:42 2007
Picon

Re: AsmIDE release

Hello Jeff,

--- jeff <jko <at> bsn1.net> wrote:

>  http://members.save-net.com/jko%40save-net.com/asm/
> 

I'd like to point out a broken link from the opinion
page:

http://members.save-net.com/jko%40save-net.com/asm/opinion.htm

to the following address:

http://members.save-net.com/jko%40save-net.com/asm/op_forecast.htm

Or maybe you mean that the future for assembly is
nowhere to be found ? ;)

Happy new year,

Claudio

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i
messaggi 
http://mail.yahoo.it 
-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
(Continue reading)

Claudio Fontana | 1 Jan 03:36 2007
Picon

Re: GAS colorr pixel problem


Hello,

--- Hendrik Visage <hvjunk <at> gmail.com> wrote:

> I believe you'll
> find code snippets etc. on using it inside Linux in
> both SVGAlib and X, but
> sometimes the "problem" might be that you'll need to
> do a realmode BIOS call
> (yuck) to get things initialized... correct me if
> I'm wrong here...

Source code of SVGAlib shows how it is done.

>  SDL:
> I'm sometimes surprised on how long this has
> survived!! 

I am not. SDL is likely to stay.
OpenGL is not a replacement for SDL, they are
different things.
You can use both, and typically this is what happens
for graphic-intensive 3D games (for example
Neverwinter Nights, or UT-200x).

> However, X consists of a protocol (There is/was an
> O'Reilly book out
> in a series of X that described that protocol fairly
> in depth...) 
(Continue reading)

Henio Paszczak | 10 Jan 18:23 2007
Picon

literature for programming graphic card

Hi.
I'm looking for some good sources how to program
graphics card in Linux does any body something like
this :) ?

By the way i want to ask two others question.

First, I have Intel GMA 950 graphics card and i want
to use SVGATextMode for it .. but i have no idea what
chipset to use.

Second, for three days I've Pentium D processor and,
again , I'm looking for literature about programming
two core, there is a lot of stuff in Internet but
maybe some of You know something really good.

Lukas

 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Hendrik Visage | 13 Jan 10:23 2007
Picon

Re: literature for programming graphic card

On 1/10/07, Henio Paszczak <blurrpp <at> yahoo.com> wrote:
> Hi.
> I'm looking for some good sources how to program
> graphics card in Linux does any body something like
> this :) ?

Source code would be the Xorg drivers and svgalib ;^P
(See previous thread related to programming graphics,
drawing lines etc.)

> Second, for three days I've Pentium D processor and,
> again , I'm looking for literature about programming
> two core, there is a lot of stuff in Internet but
> maybe some of You know something really good.

Refer to any text on SMP, threading, etc.
It's the same things just now you have two cpus on the same
silicon wafer enclosed and with pins added instead of one.

At least in Linux/Solaris you shouldn't have issues as long as you do the right
things to create the threads/processes that'll be distributed by the OS
over the available CPUs/cores.

--

-- 
Hendrik Visage
-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Hendrik Visage | 15 Jan 18:06 2007
Picon

CPU cores...

On 1/14/07, Henio Paszczak <blurrpp <at> yahoo.com> wrote:

> Thanks .. but i want to turn secund core alive, and i
> don't know how. For example how to write program for
> two cores .. first core is summing integers from memry
> locations mem0-mem1, second core does the same but
> with memory location (mem1+1)-mem2 ... , how to load
> %eip register in second core and start it , and so one
> .. :)
> Lukas

Well yeah....

I'm going to explain from the Linux perspective AFAIK, and you
can check the dmesg etc. output to confirm these.

When the kernel starts up, it will startup on (typically) CPU0 core0, ie. the
first available CPU/core, as the BIOS etc. does that initialization, and since
it is single threaded only, only a single cpu/core is "active" at that stage.

The kernel then checks the ACPI (MPI??) and related information to
see how many CPUs etc and then also checks the CPUs to see their
capabilities. Once done (and SMP/HT/etc. is enabled in the kernel) the
kernel will fire up and activae all those CPUs and their cores.

Check /proc/cpuinfo for the info the kernel knows about.

Then it's simple scheduling algorithms that the kernel makes decisions to decide
which CPU/core gets which process that available to execute.

(Continue reading)

Henio Paszczak | 14 Jan 18:21 2007
Picon

Re: literature for programming graphic card


--- Hendrik Visage <hvjunk <at> gmail.com> wrote:

> On 1/10/07, Henio Paszczak <blurrpp <at> yahoo.com>
> wrote:
> > Hi.
> > I'm looking for some good sources how to program
> > graphics card in Linux does any body something
> like
> > this :) ?
> 
> Source code would be the Xorg drivers and svgalib
> ;^P
> (See previous thread related to programming
> graphics,
> drawing lines etc.)
> 
> 
> > Second, for three days I've Pentium D processor
> and,
> > again , I'm looking for literature about
> programming
> > two core, there is a lot of stuff in Internet but
> > maybe some of You know something really good.
> 
> Refer to any text on SMP, threading, etc.
> It's the same things just now you have two cpus on
> the same
> silicon wafer enclosed and with pins added instead
> of one.
(Continue reading)

Henio Paszczak | 16 Jan 13:51 2007
Picon

Re: CPU cores...


--- Hendrik Visage <hvjunk <at> gmail.com> wrote:

> On 1/14/07, Henio Paszczak <blurrpp <at> yahoo.com>
> wrote:
> 
> > Thanks .. but i want to turn secund core alive,
> and i
> > don't know how. For example how to write program
> for
> > two cores .. first core is summing integers from
> memry
> > locations mem0-mem1, second core does the same but
> > with memory location (mem1+1)-mem2 ... , how to
> load
> > %eip register in second core and start it , and so
> one
> > .. :)
> > Lukas
> 
> Well yeah....
> 
> I'm going to explain from the Linux perspective
> AFAIK, and you
> can check the dmesg etc. output to confirm these.
> 
> When the kernel starts up, it will startup on
> (typically) CPU0 core0, ie. the
> first available CPU/core, as the BIOS etc. does that
> initialization, and since
(Continue reading)

Hendrik Visage | 17 Jan 12:23 2007
Picon

Re: CPU cores...

On 1/16/07, Henio Paszczak <blurrpp <at> yahoo.com> wrote:
> >
> Yes .. I understand that kernel is controlling that
> everything, but for sure there is some linux system
> call which give possibility to load secund core
> another thread, to synchronize this processes and so
> one. Any way .. some body  had to write the kernel and
> give it "power" to decide which core to use ( of
> course i can read kernel source and for sure i will,
> but now i don't have enough time :) )

SOlaris gives you (the system administrator/programmer/etc)
 the ability to bind (using pbind) a process (not sure about threads,
but it might
be possible too) to a specific CPU/core.
I still haven't played enough on multiple core Linux servers to
have a need for that facility/function :( as I've found that the
kernel's scheduling is mostly adequate enough once I've threaded/forked of the
correct number of threads/processes for the available CPUs/cores.

... so for
> example i want to create binary file .. program which
> doing some computation on both cores, put it to
> diskette boot block and restart system. There is no
> linux and other os I can use only bios system calls
> etc. and there is for sure some method to take control
> over both cores.
> Lukas

Check on ACPI and I think MPI (I believe 1.4 is the later version)
(Continue reading)


Gmane