Article View: comp.os.linux.development.apps
Article #16Re: Assembler Statement in C program
From: smryan
Date: Sun, 21 Apr 1996 12:37
Date: Sun, 21 Apr 1996 12:37
27 lines
1679 bytes
1679 bytes
: I'm trying to port some piece of C code to linux/unix. : This code contains statement in assembler. : 1. How can I compile it under linux with gcc or gas ? I have no idea. : 2. Will this be portable ? Only to other DOS machines. If you're running X-Windows on an x86, you don't want to use BIOS to clear the screen; and if it's called BIOS on a Sparc, it is a very different (though forthright) BIOS. Although the concept is portable, no implementation is, so you'll have to do something specific for the system and display. For example, if you're doing X-Windows, you can clear a window with X calls, or with curses if it xwsh, or something of that ilk. On a Mac, you set up the clipping region and fill it. On a glass tty, you can you curses or look up the terminal clear screen code (or send a few dozen new lines). -- The Queen who loves, the Queen of life, | smryan@netcom.com PO Box 1563 the Queen who straits, the Queen of strife;| Cupertino, California with gasp of death or gift of breath | (xxx)xxx-xxxx 95015 she brings the choice of birth or knife. | I don't use no smileys
Technical Details
Message-ID:
<smryanDq7ppy.K5t@netcom.com>Path:
arc1-ca.pugleaf.net!netcom.com!smryanReferences:
<317A2105.77EF485@bis.co.il>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.linux.development.apps,comp.unix.programmer,comp.lang.c Path: arc1-ca.pugleaf.net!netcom.com!smryan From: smryan@netcom.com (@#$%!?!) Subject: Re: Assembler Statement in C program Message-ID: <smryanDq7ppy.K5t@netcom.com> Followup-To: comp.os.linux.development.apps,comp.unix.programmer,comp.lang.c Organization: The Programmer formerly known as S M Ryan X-Newsreader: TIN [version 1.2 PL1] References: <317A2105.77EF485@bis.co.il> Date: Sun, 21 Apr 1996 12:37:09 GMT Sender: smryan@netcom15.netcom.com