Christian North | 2 Jul 23:00 2004
Picon

(unknown)

subscribe linux-assembly
-
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

Fikri Aydemir | 4 Jul 17:05 2004

(unknown)

subscribe linux-assembly
-
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

K.a.m.a.l | 8 Jul 10:28 2004
Picon

Fanfold Problem

I installed Red Hat Linux 9 with Epson LQ-1070
Printer. Using Openoffice 1.1 for
Word/Excel/PowerPoint. Using CUPS for printing I m not
getting any support to use Fanfold stationery. Kindly
let me know how to set Fanfold stationery. OR is there
any setting available to add stationery size in Linux
CUPS Printing Or in OpenOffice.

Regards, 
Kamal

	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
-
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

kt | 10 Jul 20:45 2004
Picon
Picon

Where to find register content after exception ?


Hi,

I would like to get hold of the machine state after my user space 
exception handler has been invoked by the kernel.
I wonder whether this information is passed by the  third argument if 
this type of handler :

void (*sa_sigaction)(int, siginfo_t *, void *);

has been installed by sigaction (man sigaction doesn't tell me this). 
The other possibility could be that the kernel deposits this information 
somewhere on the user stack before invoking the handler. I wonder 
whether this is indeed the case and whether someone has already come up 
with a nice solution to access this data if it is available in this 
form. Since this is possibly system dependent, let me mention that I'm 
using linux-ppc32 version 2.6.6 running on a PowerMacG5.

Regards,

K. Timmler
-
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

Rick Hohensee | 12 Jul 08:29 2004
Picon

SPAM] osimplay still the way

osimply is still the best way to program a register machine such as you
PC. Running Linux makes it easy. C is obsolete. osimplay is lucid
assembly.

browse ftp://linux01.gwdg.de/pub/cLIeNUX/interim

Rick Hohensee
Precision Mojo Engineer

-
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

Fikri Aydemir | 13 Jul 10:51 2004

Device Driver Development in Assembly Language


Hi,

I am making a research on device driver development in assembly
programming language for linux systems. I know that it is easier to
write a device driver in C but my professor wants me to make it in
Assembly language, preferably in Intel syntax. 

Is there anyone who has worked on device driver development? Do you know
any resource such as a book or web site which I can benefit from? Thank
you... 

Fikri Aydemir
-
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

fmarmond | 13 Jul 21:56 2004
Picon

Re: Device Driver Development in Assembly Language

Hi,  
Hum... 
You know, drivers stands in kernel stage, and must follow 'standardized' way 
for regestering to the kernel itself. 
What do you teacher wants exactly? 

Do the driver's operations in assembly?  
-> embed assembly into a C prog, that will take advantage of all C macros for 
registering driver to kernel (=> teacher wants you to do assembly for its 
speed for particular driver tasks but don't care of the glue around) 

or write a .asm that would do all the stuff (teacher wants you to learn 
exactly what a driver must do to register, catch events, perform operations, 
release, ...) which is pretty much longer to write... 

I hope you have access to the sys calls at least! 
One tip: if you have to write 100% assembly, write a small driver in C (with 
full debugger options), and decompile it, to see what it does. Then, 
understand the schem, and re-write it in optimized assembly... 

If you have more precise questions, feel free to ask, I can answer in nights 
(french time) 

good kuck! 

Fred 

Selon Fikri Aydemir <facse238 <at> fastmail.fm>: 

>  
(Continue reading)

Daniel R. Blair | 14 Jul 18:15 2004

Re: Device Driver Development in Assembly Language

On Tue, 13 Jul 2004, Fikri Aydemir wrote:

>
> Hi,
>
> I am making a research on device driver development in assembly
> programming language for linux systems. I know that it is easier to
> write a device driver in C but my professor wants me to make it in
> Assembly language, preferably in Intel syntax.
>
> Is there anyone who has worked on device driver development? Do you know
> any resource such as a book or web site which I can benefit from? Thank
> you...

There are two good books that I have read that will help you a little, 
with one example for a device driver for the pc speaker as a timer or 
something.. one is the infamous "Assembly Language: Step by Step" now in 
it's 2nd edition.. and the other is a smaller book called "Linux Assembly 
Language" it is white with Purple writing for the words "Linux Assembly 
Language Programming" (it may have Programming as part of the title, I'm 
not 100% sure..) but, both of them are great.. the first one is by Jeff
Dunteman (search Amazon for the 2 titles about and you'll find them).. His 
first edition (Black cover, blue writing for title) was widely accepted 
and lovedby lots of ASM programmers, and when I saw he had a 2nd edition 
out, (White with Red writing for the Title) I had to get it and read it 
too.. it is a lot of the same, but, updated for use with new registers, 
instructions, etc.. as well as a section(s) in the back on Linux.. he uses 
NASM too.. so, check these two books out, you will not be dissatisfied.. 
they are excellent books to read and to use as references later on.. the 
one by Jeff Dunteman should be read first, in my opinion, as it is not 
(Continue reading)

fmarmond | 16 Jul 22:56 2004
Picon

Re: Device Driver Development in Assembly Language

hi, 
No, i don't have 100% asm driver for linux... 
I think it would be waste of time to write one, as (as i wrote you) linux 
drivers usually use lots of C macros. But it can be usefull for learn purpose, 
to understand internal mechanical. As i'm not still a student, and not a 
teacher, I don't have one in my archives... ;) 

I'm very busy those days, so I won't have time to write one for you, nore 
write a dummy C driver and decompile it.(only few minutes left to answer 
you... ;) ) 

I only can suggest you to do it if you don't know where to start: create a C 
driver, compile it with full debug options, and then decompile it. Then, try 
to understand how a (C) driver is done (in asm)... and then write your own. 
Ask me if you don't know how to do it. 

good luck! 
Fred 

 
Selon Fikri Aydemir <facse238 <at> fastmail.fm>: 

>  
> Hi, 
>  
> Do you have any simple device driver example written in Assembly 
> language? If so, can you send it to me? I really would like to ask you 
> more precise questions but I have just started to work on this subject 
> and my professor is not very helpful to me? I hope soon I will have more 
> precise questions to ask. 
(Continue reading)

miked | 16 Jul 22:58 2004
Picon
Picon

Linux Assembly language programming.

Greetings,

I am interested in learning and programming in Assembly language in 
Linux environment.
Are there any books that you can suggest to buy to learn it. Or any 
other web site or publication or whatever....etc
Any ideas or helps would be appriciated.
(I have progrmmed in MVS/S390 and Windows/DOS Programming environment 
using Asssembly).
Thank you very much.
Regards,
Mike

-
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


Gmane