programming question

Al Sten-Clanton Albert.E.Sten_Clanton at verizon.net
Wed Nov 12 17:55:17 EST 2008


"you can't just convert the interupts by switching the flags. the system 
calls are way different."

Yes.  I meant to suggest some equivalency, not that one wouldn't have to
change the calls.  Not saying I was right, only that that's what I meant.

Al


-----Original Message-----
From: speakup-bounces at braille.uwo.ca [mailto:speakup-bounces at braille.uwo.ca]
On Behalf Of Tyler Littlefield
Sent: Wednesday, November 12, 2008 12:41 PM
To: Speakup is a screen review system for Linux.
Subject: Re: programming question

you can't just convert the interupts by switching the flags. the system 
calls are way different.
And no prob.

Thanks,
Tyler Littlefield
email: tyler at tysdomain.com
web: tysdomain-com
Visit for quality software and web design.
skype: st8amnd2005

----- Original Message ----- 
From: "Al Sten-Clanton" <Albert.E.Sten_Clanton at verizon.net>
To: "'Speakup is a screen review system for Linux.'" 
<speakup at braille.uwo.ca>
Sent: Wednesday, November 12, 2008 9:51 AM
Subject: RE: programming question


> I'm in the early stages of learning assembly on my Linux box.  Feel free 
> to
> correct me, of course, since I'm a beginner on my Linux box and never did
> any assembly programming in DOS.  My understanding is that using
>
> Int 0x80
>
> With the appropriate number in the EAX register (and sometimes things in
> other registers) is equivalent to the DOS interrupt routines.
>
> Also, Tyler, thanks for the links.  I rely on two assembly books, 
> "Assembly
> Language Step-by-Step: Programming with DOS and Linux, Second Edition," by
> Jeff Duntemann, and "Professional Assembly Language," by Richard Blum.  I
> now mostly use Blum's book, because it covers more instructions and 
> because
> it uses the GNU assembler instead of NASM.  (I much prefer the AT&T syntax
> to Intel's.) I have these books by way of a farily expensive online 
> service,
> though, and don't think there's a cost-free version of either.  (I do
> believe there's at least a separate electronic version of Blum's book that
> you can buy.) Blum's book sometimes contains poor explanations, so I hope 
> I
> may get some additional help from one or more of the links.
>
> Al
> -----Original Message-----
> From: speakup-bounces at braille.uwo.ca 
> [mailto:speakup-bounces at braille.uwo.ca]
> On Behalf Of Kerry Hoath
> Sent: Wednesday, November 12, 2008 6:05 AM
> To: Speakup is a screen review system for Linux.
> Subject: Re: programming question
>
> Regarding assembler under Linux; there are a few things you should know.
> firstly any programs you wrote in dos would need to be completely 
> rewritten,
>
> as Linux does not have a series of interrupt routines like dos;
> so you can't call int 10h, int21h etc.
> also note that Linux's memory model is flat; and does not use segment
> registers in the way 08x86 assembler does.
>
> there are assemblers under Linux, you want the manpages for as86 and nasm,
> note however that the syntax differs for Linux from dos syntax.
>
> Lame and flac have assembler code if you want to take a look at some.
> Regards, Kerry.
>
> ----- Original Message ----- 
> From: "Bruce Noblick" <brunobrook at columbus.rr.com>
> To: "speakup info" <speakup at braille.uwo.ca>
> Sent: Wednesday, November 12, 2008 10:10 AM
> Subject: programming question
>
>
>>A few years ago, I took a unix course.  We connected to a linux box to do
>>most of our work.  During that class I found some man pages on the subject
>>I am going to ask about now.  I remember being very qhrilled with this
>>information.  Now that I have my own linux box, I can't find these man
>>pages on it.  I am looking for information on assembler language
>>programming.  I have programs that I have written for DOS and Windows that
>>I would like to port to linux and they are written in Assembler language.
>>
>> Thanks!
>>
>> Bruce Noblick
>>
>>
>>  Those who revered the Lord spoke to one another, and the Lord listened
>> attentively. A memory book was prepared before Him in which were recorded
>> the names of those who respected the Lord and honored His name.
>>
>>  "They will belong to Me," says the Lord who rules over all, "in the day
>> when I prepare My own special property. I will spare them as a man spares
>> his son who serves him."
>>
>> Malachi 3:16-17
>>
>> See my web page for contact info and a lot more.
>> Here is the address.
>> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
>> If the above line does not act like a link, try cutting and pasting it to
>> your browser.
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup at braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> -- 
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> -- 
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup 

_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
12:00 AM
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
12:00 AM
 




More information about the Speakup mailing list