Re: [cc65] odd results

Date view Thread view Subject view

From: troy silvey (tbsilvey_at_juno.com)
Date: 2001-02-25 22:49:20


I checked the bug reports. I assume the ax
bug is the one you're refering to. I noticed this
afternoon I am having another problem in
this same function. No matter what value
pmenu reaches (0-7), carry always remains
zero. Is this part of the same bug, or do you
see a mistake I may have made here?
I am using windows. Is there an easy way
for me to apply the ax fixes to CC65?

unsigned char choiceA(unsigned char);

(a  peice of main)
}
    unsigned char carry;
    carry=(choiceA(0));
    printf("carry = %d ");
}

unsigned char choiceA(unsigned char)
}
    if (more==60)
        {
             if (VIC.spr0_y>162)
                 {VIC.spr0_y=106;}
             VIC.spr0_y=VIC.spr0_y+4;
             VIC.spr0_y=VIC.spr0_y+4;
             ++pmenu;
             if (pmenu>6)
                {pmenu=255;}
        }
    if (more==1)
        {	
            *clearkeybuffer=0;
            VIC.spr_ena=0;
            return pmenu;
         }

}


thanks

troy

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
----------------------------------------------------------------------
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 : 2001-12-14 22:05:39 CET