[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 8-bit unzip utility
>>>>> "PS" == Paul Schlyter <pausch@saaf.se> writes:
PS> unzip does however use "new style" function headers here and
PS> there, so these headers might have to be rewritten in K&R style.
PS> It'll take maybe 15 minutes or so to do that.
cc65 uses ANSI syntax, so there's no need muck about with K&R.
M> so you'd need to construct some sort of wrapper program that
M> handled argument passing, etc.
PS> That ought to be included in cc65 already -- how else can the
PS> runtime library of cc65 manage to fill the argv[] array with
PS> proper contents?
By leaving it empty on platforms that don't support application
arguments. On the C= targets you can specify arguments with:
RUN:ARG1 ARG2 ...
when starting from basic.
PS> (I'm here making the optimistic assumption that cc65 will produce
PS> executable binaries for the Apple II, but maybe that assumption is
PS> false).
Yes, it supports Apple II, but I have no idea if argument passing is
implemented.
--
___ . . . . . + . . o
_|___|_ + . + . + . Per Olofsson, arkadspelare
o-o . . . o + MagerValp@cling.gu.se
- + + . http://www.cling.gu.se/~cl3polof/