Aw: [stella] Color Tweaker, v1.0

Subject: Aw: [stella] Color Tweaker, v1.0
From: cybergoth@xxxxxxxx
Date: Tue, 11 Sep 2001 11:27:21 +0200 (CEST)
Hi Brian!

> This does exactly what I want it to, except one thing: the fire button
> still
> acts wonky on the Atari. What's the normal way to debounce the fire button?

Do one buffered read per frame and check if
the current reading differs from the last.

>  lda INPT4
>  and #$80 ; did player press fire button?
>  bne skip_stick ; if not, skip the rest of this routine, otherwise...

Later, when optimizing your source and struggling for every Bit,
You'll probably do

lda INPT4
bmi NoFire

instead :-)

Greetings,
     Manuel



-----------------------------------------------------------------------
Keinen grünen Daumen?
Individuelle Angebote zu Dachbegrünungen und Blumendekorationen.
http://www.nexgo.de/c/pub/redir.php/yo6
-----------------------------------------------------------------------


-
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/

Current Thread