Re: [cc65-devel] Keyboard and joystick reading problem
cc65 - a freeware C compiler for 6502 based systems
Brought to you by:
gpz
|
From: Marc 'B. R. <ma...@ri...> - 2016-06-16 23:56:43
|
On 17/06/16 01:38, gr...@gm... wrote:
> On Friday 17 June 2016, 01:30:14 Marc 'BlackJack' Rintsch <ma...@ri...>
> wrote:
>> On 16/06/16 06:46, Janne Peräaho wrote:
>> […] The following program shows odd behaviour on VICE's xplus4:
> [snip]
>
> better confirm it on a real plus4 - i wouldnt trust xplus4 for anything, its
> really very broken (and its almost completely untested too).
I would if I had one. :-)
But the following BASIC program works for both joystick ports and also
recognises joystick button presses in xplus4:
5 print"{CLR}"
10 print joy(1)
20 print joy(2)
30 goto 5
Which makes a problem with cc65's driver at least a little bit more
plausible.
Ciao,
Marc 'BlackJack' Rintsch
--
“Digital files cannot be made uncopyable,
any more than water can be made not wet.”
-- Bruce Schneier
|