[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 8-bit unzip utility



On Jun 20, 7:12 am, pau...@saaf.se (Paul Schlyter) wrote:

> and compile it on any platform of one's choice, provided a suitable C
> compiler is available for that platform.  With e.g. Aztec C, one ought
> to be able to produce executable files also for the 8-bit Apple II.

You might have more luck cross-compiling it with cc65, since none of
the native 8-bit C compilers are ANSI level, and even then it might be
tricky since not even cc65 is a full implementation (no floating
point, bit fields, or passing structs as arguments to functions).

Then there's the hassle that there's no command line interpreter on
the Apple II, so you'd need to construct some sort of wrapper program
that handled argument passing, etc.

More luck may be had with the WDC's 65xx toolchain, which is
supposedly an ANSI C implementation, but it more than likely produces
65C02 code, and quite possibly uses the Rockwell/WDC extensions as
well.

Matt