Keyboard: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 5: Line 5:
|Writable=No
|Writable=No
|Subsystem=Input
|Subsystem=Input
|PortMask=%xxxxxxxx-------0 where only one bit in x is 0
|PortMask=%xxxx xxxx ---- ---0 where only one bit in x is 0
}}
}}
Reads keys on the keyboard depending on the upper byte of the port number.
Reads keys on the keyboard depending on the upper byte of the port number.

Revision as of 16:48, 28 August 2017

Number PortNumber::$**FE
Decimal NumberDec::
Short desc. ShortDesc::Series of specific ports that read keyboard key presses.
Bit Mask PortMask::%xxxx xxxx ---- ---0 where only one bit in x is 0
Readable Readable::Yes
Writable Writable::No
Subsystem Subsystem::Input

Reads keys on the keyboard depending on the upper byte of the port number.

Port upper byte Keys affected
$7F B, N, M, Symbol Shift, Space
$BF H, K, J, L, Enter
$DF Y, U, I, O P
$EF 6, 7, 8, 9, 0
$F7 5, 4, 3, 2, 1
$FB T, R, E, W, Q
$FD G, F, D, S, A
$FE V, C, X, Z, Caps Shift

File:Speckeys.png