dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Remoclone Ver06

Re: Remoclone Ver06

From: Alan Korr <>
Date: Tue, 18 Dec 2001 11:26:49 +0100

I do some changes yet to handle RB3 and RB5 better without any goto :
  BTFSS KEYPAD,<key1> ; <key1> = RB2/RB4 and <key2> = RB5/RB3
  BTFSS KEYPAD,<key2> ; databyte[<code>] = 0 if <key2> not pressed or
both <key1> and <key2> pressed;

For other RBs :
  BTFSC KEYPAD,<key> ; databyte[<code>] = 0 if <key> not pressed;

And of course, DATABYTE must be initially in binary : 11111110 <- the last
bit being for START BIT :)

Some minor modifications too : RETFIE instead of SLEEP in WAKEUP. SLEEP is
now in START in a infinite loop. Hope this program is okay.

----- Original Message -----
From: Tjerk Schuringa <>
To: <>
Sent: Tuesday, December 18, 2001 7:46 AM
Subject: Re: Remoclone Ver06

> Much better! I did find two flaws which have to be taken care of: the
order of
> keypad tests matters (check PortB:2 & 3 first) and a test must be made for
> correct bitpattern. It may not happen, but if a key bounces (or something)
> remoclone should put out only ones. Oh, and DATABYTE may have the wrong
> value. That's easily checked.
> The putchar routine looks much cleaner too, but I'll verify it in my
> Prolly will need some finetuning :-)
> T.J.

Received on 2001-12-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy