Re: [cc65] New release?

From: Karri Kaksonen <karri1kosh.dna.fi>
Date: 2008-04-11 06:21:57
Ullrich von Bassewitz kirjoitti:
>> I also noticed that the Lynx stdjoy-driver does not need to do anything
>> for flip-screen functionality. That code should be removed completely.
>>     
>
> You mean, anything labeled "; Set joypad for flipped display"?
>
> Regards
>
>
>         Uz
>
>
>   

Yes. I found out that the Lynx swaps the joypad internally in hardware 
when you tell it to flip the display.

The correct INSTALL routine would be:

INSTALL:
lda #<JOY_ERR_OK
ldx #>JOY_ERR_OK
rts

After this change the macros like JOY_RIGHT() work correctly in all 
cases and the programmer does not have to write any extra code for 
supporting flipped displays for left-handed people.

--
Regards,

Karri

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Apr 11 06:22:11 2008

This archive was generated by hypermail 2.1.8 : 2008-04-11 06:22:14 CEST