Re: [cc65-devel] Keyboard and joystick reading problem
cc65 - a freeware C compiler for 6502 based systems
Brought to you by:
gpz
|
From: <gr...@gm...> - 2016-06-16 23:38:42
|
On Friday 17 June 2016, 01:30:14 Marc 'BlackJack' Rintsch <ma...@ri...> wrote: > On 16/06/16 06:46, Janne Peräaho wrote: > > I can read the keyboard with kbhit() and cgetc() functions but as soon > > as I call read_joy() function to read the joystick status, the keyboard > > reading part stops to work: I receive multiple key presses and wrong > > characters. > > > > The read_joy() function returns valid status information, except it > > doesn't register fire button. > > Although the conflict of at least one joystick port with the keyboard > might be normal (as on a C64), there seems to be something wrong with > the driver for the plus4. 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). -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ar.pokefinder.org It doesn't matter who votes. What matters is who counts the votes. <Josef Stalin> |