Re: [cc65] $ba

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-10-12 18:31:11


Hi!

On Sun, Oct 12, 2003 at 04:43:57PM +0200, carlos wrote:
> Is $ba and _curunit are different, should i add a line
>
> _curunit = *(char*)0x00ba
> to the program ?
> Or can you do it in a completely other way ?

I don't know what you want to do. If you want to set the current drive to the
one, the program was loaded from, then yes, your code will do that. I think,
someone already suggested to add code like yours to the library initialization
code (use the device, the program was loaded from as default for _curunit).

> I think this is a bug.

Yes, it is, thanks a lot! A patch and a temporary workaround are available on
the "Known bugs" page.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-12 18:31:29 CEST