Re: [stella] z26 linux port snapshot

Subject: Re: [stella] z26 linux port snapshot
From: John Saeger <johnws8@xxxxxxxxxxx>
Date: Thu, 22 Apr 2004 00:09:41 -0700
On Wed, 2004-04-21 at 09:50, Julian Squires wrote:

> Well, it's important to remember that the simplification ``C is portable
> assembler'' is incorrect.  There are often things that one can do in
> assembly language that have no simple/direct equivalent in C.

The biggest problem with switching assemblers was the macros.  Same
thing when converting to C.  There are large chunks of code that will be
fairly straightforward, but other parts that will require a bit of
finesse.  I've played with using m4 in some of the graphics routines
that are currently in C, but maybe it's possible to use NASM as a
pre-processor.  Then we can have the best of both worlds.  Portable
code, and a powerful macro facility.  *Then* maybe we have a *portable
assembler*.

John


----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread