On Wed, Nov 22, 2000 at 07:56:58PM +0100, Alex Wulms wrote:
> ] Everything I know is that this bit was used by MegaSCSI in some
> ] some apps to "blink" the Kana Led (according to the program manuals).
> So the answer is that the bit is used for the KANA led, to make it burn or
> not burn.
Please READ. My original message (the one that started this thread) quoted Portar.txt:
Extract from Portar.txt:
14= I/O port A (Joystick and cassette)
bit Expl.
0 = Joystick UP (0=Moved, 1=Not moved)
1 = Joystick DOWN (0=Moved, 1=Not moved)
2 = Joystick LEFT (0=Moved, 1=Not moved)
3 = Joystick RIGHT (0=Moved, 1=Not moved)
4 = Joystick trigger A
5 = Joystick trigger B
6 = Keyboard mode (On japanese machines only)
7 = Cassette input
15= I/O port B (Joystick select)
bit Expl.
0 = 1 (Used as handshaking output if touchpad)
1 = 1 (Used as handshaking output if touchpad)
2 = 1 (Used as handshaking output if touchpad)
3 = 1 (Used as handshaking output if touchpad)
4 = Pulse 1 (Positive pulse starting a monostable timer)
5 = Pulse 2 (Positive pulse starting a monostable timer)
6 = Joystick select (0=Connector 1, 1=Connector 2)
7 = Kana LED (Keyboard mode indicator. On japanese machines only)
So bit 7 of port 15 is the KANA led. I've said this over and over again.
Sean
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html