mirror of
https://github.com/cc65/cc65.git
synced 2025-04-05 13:37:17 +00:00
Fixed line endings I broke with recent change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4618 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9656dde9e3
commit
8663ae5975
@ -5,22 +5,22 @@
|
||||
; 2009-09-26, Ullrich von Bassewitz
|
||||
; 2010-02-06, Greg King
|
||||
;
|
||||
; The driver prevents the keyboard from interfering by changing the
|
||||
; keyboard's output port into an input port while the driver reads its
|
||||
; controller device. That disables a wire that is left active by the
|
||||
; Kernal. That wire is used by the STOP-key to break out of BASIC
|
||||
; programs -- CC65 programs don't use that feature. The wire is shared
|
||||
; by these keys: STOP, "Q", Commodore, Space, "2", CTRL, Left-Arrow, and
|
||||
; "1". I listed them, in order, from bit 7 over to bit 0. The
|
||||
; rightmost five keys can look like joystick switches.
|
||||
;
|
||||
; The driver prevents the mouse/joystick from interfering by "blinding"
|
||||
; the keyboard scanner while any button/switch is active. It changes
|
||||
; the input port into an output port, then stores all zero-bits in that
|
||||
; port's latch. Reading from an output port sees the bitwise-AND of the
|
||||
; latch and the input signals. Therefore, the scanner thinks that eight
|
||||
; keys are being pushed at the same time. It doesn't know what to do
|
||||
; about that condition; so, it does nothing. The driver lets the
|
||||
; The driver prevents the keyboard from interfering by changing the
|
||||
; keyboard's output port into an input port while the driver reads its
|
||||
; controller device. That disables a wire that is left active by the
|
||||
; Kernal. That wire is used by the STOP-key to break out of BASIC
|
||||
; programs -- CC65 programs don't use that feature. The wire is shared
|
||||
; by these keys: STOP, "Q", Commodore, Space, "2", CTRL, Left-Arrow, and
|
||||
; "1". I listed them, in order, from bit 7 over to bit 0. The
|
||||
; rightmost five keys can look like joystick switches.
|
||||
;
|
||||
; The driver prevents the mouse/joystick from interfering by "blinding"
|
||||
; the keyboard scanner while any button/switch is active. It changes
|
||||
; the input port into an output port, then stores all zero-bits in that
|
||||
; port's latch. Reading from an output port sees the bitwise-AND of the
|
||||
; latch and the input signals. Therefore, the scanner thinks that eight
|
||||
; keys are being pushed at the same time. It doesn't know what to do
|
||||
; about that condition; so, it does nothing. The driver lets the
|
||||
; scanner see normally, again, when no buttons/switches are active.
|
||||
;
|
||||
|
||||
|
@ -4,22 +4,22 @@
|
||||
; Ullrich von Bassewitz, 2004-03-29, 2009-09-26
|
||||
; 2010-02-08, Greg King
|
||||
;
|
||||
; The driver prevents the keyboard from interfering by changing the
|
||||
; keyboard's output port into an input port while the driver reads its
|
||||
; controller device. That disables a wire that is left active by the
|
||||
; Kernal. That wire is used by the STOP-key to break out of BASIC
|
||||
; programs -- CC65 programs don't use that feature. The wire is shared
|
||||
; by these keys: STOP, "Q", Commodore, Space, "2", CTRL, Left-Arrow, and
|
||||
; "1". I listed them, in order, from bit 7 over to bit 0. The
|
||||
; rightmost five keys can look like joystick switches.
|
||||
;
|
||||
; The driver prevents the mouse/joystick from interfering by "blinding"
|
||||
; the keyboard scanner while any button/switch is active. It changes
|
||||
; the input port into an output port, then stores all zero-bits in that
|
||||
; port's latch. Reading from an output port sees the bitwise-AND of the
|
||||
; latch and the input signals. Therefore, the scanner thinks that eight
|
||||
; keys are being pushed at the same time. It doesn't know what to do
|
||||
; about that condition; so, it does nothing. The driver lets the
|
||||
; The driver prevents the keyboard from interfering by changing the
|
||||
; keyboard's output port into an input port while the driver reads its
|
||||
; controller device. That disables a wire that is left active by the
|
||||
; Kernal. That wire is used by the STOP-key to break out of BASIC
|
||||
; programs -- CC65 programs don't use that feature. The wire is shared
|
||||
; by these keys: STOP, "Q", Commodore, Space, "2", CTRL, Left-Arrow, and
|
||||
; "1". I listed them, in order, from bit 7 over to bit 0. The
|
||||
; rightmost five keys can look like joystick switches.
|
||||
;
|
||||
; The driver prevents the mouse/joystick from interfering by "blinding"
|
||||
; the keyboard scanner while any button/switch is active. It changes
|
||||
; the input port into an output port, then stores all zero-bits in that
|
||||
; port's latch. Reading from an output port sees the bitwise-AND of the
|
||||
; latch and the input signals. Therefore, the scanner thinks that eight
|
||||
; keys are being pushed at the same time. It doesn't know what to do
|
||||
; about that condition; so, it does nothing. The driver lets the
|
||||
; scanner see normally, again, when no buttons/switches are active.
|
||||
;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user