RE: C64 Keyboard Scanning

From: COPLIN, Nicholas. (ncoplin_at_orbeng.com.au)
Date: 2000-10-10 10:14:53

Hi Spiro, 
[COPLIN, Nicholas.]  
> BOTH!
> At first, it sets all rows, testing if there is any key pressed. If not,
> that's all. If one was pressed, the kernal tests the  rows one by one to
> identify the key. But it does not use any other combination (2..7 rows at
> once).
[COPLIN, Nicholas.]  So the feedback scheme is possible, but would require
four-bit logic? 

Keyboard scanning:
00000000 or 01111111 or 10111111 or 11011111 etc

Feedback codes:
xxxx0011	start rumbler
xxxx1100	stop rumbler (or power on condition)

btw, do I have it correct in that normally port A does the driving, port B
is read? Is there any *danger* if with interrupts disabled I reverse this
(first making both inputs).

Regards, 
Nick


PLEASE TAKE NOTE:

The contents of this email (including any attachments) may be
privileged and confidential. Any unauthorised use if the contents
is expressely prohibited. If you have received this email in error,
please advise us immediately (you can contact us by telephone
on +61 8 9441 2311 by reverse charge) and then permanetly
delete this email together with any attchaments. We appreciate
your co-operation.

Whilst Orbital endeavours to take reasonable care to ensure
that this email and any attachments are free from viruses or other
defects, Orbital does not represent or warrant that such are free from
computer viruses or other defects.

(C) 2000: Orbital Engine Company (Australia) PTY LTD and its
affiliates
-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tml.hut.fi.

Archive generated by hypermail 2.1.1.