Re: [cc65] Goodbye _curunit, Hello chdir()

From: Payton Byrd <plbyrd1gmail.com>
Date: 2012-10-20 00:41:19
This
On Oct 19, 2012 4:50 PM, "Oliver Schmidt" <ol.sc@web.de> wrote:
>
> Hi,
>>
>> Currently, you can read _currunit to get the drive number you start
from.  What is replacing that?
>
> You need to call getcwd().

That means I'll have to carry the weight of both the CBM specific library,
which I cannot escape, and the posix stuff too for CBM-Command.  This may
push CBM-Command into memory issues.  If I don't use getcwd() i'll have to
read the drive from a register which is different on each target.  Why did
_curunit HAVE to go away completely?

>
> Regards,
> Oliver

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Oct 20 00:41:36 2012

This archive was generated by hypermail 2.1.8 : 2012-10-20 00:41:40 CEST