[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ProDOS and Apple II (not +)
Michael J. Mahon wrote:
> After looking over the source, I'm wondering: why do you copy a
> REM token and the startup flename to BASIC input buffer at $200?
IIRC, this is some parameter-passing convention of cc65. It serves to
get something into main()'s argc/argv. Since there is no real
free-format command line passing in BASIC.SYSTEM, you'd say CALL
<address>:REM <parameters> to give parameters to a BLOADed cc65-compiled
piece of code. I guess this is somehow related to that.
--
Linards Ticmanis