Re: [hatari-devel] IKBD regression with EmuTOS |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] IKBD regression with EmuTOS
- From: Vincent Rivière <vincent.riviere@xxxxxxxxxxx>
- Date: Mon, 11 Feb 2013 21:23:45 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=dweWD3pliScUCG24WJha565B+KmOBTjyssbIplR8Jm0=; b=itbF5vJhQvcay8GUFc9p1QUKwvOx7t0B4A0gQhkUKFM6WUj/ipYSyVUlBxfhLTyOb7 A83CjXu3FOTI0i87Xvy5JG8O4Q4Y6HBOhNtMTQaJc8KaPCAhaAU5QT484b3N/LcjxAvM e6dJUb4i2Z1vIHOT5ESqgQZrR2n+9S52rK/65PwidzQSiKvXMic9JpLWcvWjYjMVpjH7 EPUhGLPvCB6eVdhh2w8lsaMcBMAxhwmrYimPq6eVNUkzDBilgnQL+sGxh/iAlB4AthVY MzapnHzPMlWcSvBBrCMmvrb5hid9dZ2NuYsB08hs2c8mgPLfg12DtL0lbzWAw4Vum8UO BPtw==
On 10/02/2013 19:56, Nicolas Pomarède wrote:
for example do sthg like :
- send $80 and $01 to $fffc02 to do a reset
- test bit 0 of $fffc00 (RDRF)
- when it's '1', it means you receive the $f1 byte that indicate the ikbd
has completed its reset. You should then read $fffc02 to clear the RDRF bit.
- send $1a and send $12
Ok, I did the above and it works fine :-)
I have also tested with Steem and ARAnyM, both returns 0xf1 as version byte.
However: it hangs if the keyboard is unplugged (ex: FireBee).
What to do? Use a timeout?
--
Vincent Rivière