Difference between revisions of "OSBYTE &E3"
(Corrected to ctrl not shift for Elextron) |
(Tidied up and rewritten.) |
||
Line 1: | Line 1: | ||
[[Category:OSBYTE]] | [[Category:OSBYTE]] | ||
− | OSBYTE &E3 (227) - Read/Write Interpretation of | + | ==OSBYTE &E3 (227) - Read/Write Interpretation of characters &A0-&AF== |
− | + | OSBYTEs 221 to 228 control the interpretation of characters &80-&FF | |
− | + | when read from the keyboard buffer, or the serial input buffer when | |
− | + | character interpretation is enabled. | |
{| class="wikitable" | {| class="wikitable" | ||
− | ! | + | ! OSBYTE !! Characters || Modifier || Keys || Default || Effect || Electron notes |
+ | |- | ||
+ | | [[OSBYTE &E1|OSBYTE 225]] || style="text-align:center;" | &80-&8F || - || function keys 0-9, cursor keys || style="text-align:center;" | &01 || soft key || default=&01, FUNC+numbers, cursor keys | ||
+ | |- | ||
+ | | [[OSBYTE &E2|OSBYTE 226]] || style="text-align:center;" | &90-&9F || SHIFT || function keys 0-9, cursor keys || style="text-align:center;" | &80 || &80-&8F || default=&01, FUNC+A - FUNC+P | ||
+ | |- | ||
+ | | [[OSBYTE &E3|OSBYTE 227]] || style="text-align:center;" | &A0-&AF || CTRL || function keys 0-9, cursor keys || style="text-align:center;" | &90 || &90-&9F || default=&01, FUNC+Q - FUNC+Z, FUNC with : ; , - . / | ||
+ | |- | ||
+ | | [[OSBYTE &E4|OSBYTE 228]] || style="text-align:center;" | &B0-&BF || SHIFT+CTRL || function keys 0-9, cursor keys || style="text-align:center;" | &00 || ignore || | ||
+ | |- | ||
+ | | [[OSBYTE &DD|OSBYTE 221]] || style="text-align:center;" | &C0-&CF || - || function keys 10,11,12, Insert || style="text-align:center;" | &01 || soft key || | ||
|- | |- | ||
− | | | + | | [[OSBYTE &DE|OSBYTE 222]] || style="text-align:center;" | &D0-&DF || SHIFT || function keys 10,11,12, Insert || style="text-align:center;" | &D0 || &D0-&DF || |
+ | |- | ||
+ | | [[OSBYTE &DF|OSBYTE 223]] || style="text-align:center;" | &E0-&EF || CTRL || function keys 10,11,12, Insert || style="text-align:center;" | &E0 || &E0-&EF || | ||
+ | |- | ||
+ | | [[OSBYTE &E0|OSBYTE 224]] || style="text-align:center;" | &F0-&FF || SHIFT+CTRL || function keys 10,11,12, Insert || style="text-align:center;" | &F0 || &F0-&FF || | ||
|} | |} | ||
+ | Break inserts &CA into the keyboard buffer. On some systems, Alt+key is treated as a SHIFT+CTRL modifer. Note that SHIFT+CTRL also has the function of pausing screen scrolling, so entering SHIFT+CTRL+key interactively may pause scrolling. | ||
− | + | The interpretation values are: | |
− | + | * 0 - ignore the character | |
− | + | * 1 - expand as soft key or Electron shortcut key for &90-&AF | |
− | * | + | * 2 - return &00,character (MOS 3.50, MOS 5 and later) |
− | * | + | * otherwise, use as a base value and add to (character AND 15) |
==See Also== | ==See Also== | ||
− | * http://mdfs.net/Docs/Comp/BBC/ | + | * http://mdfs.net/Docs/Comp/KeyMap/BBC |
+ | * http://mdfs.net/Docs/Comp/KeyMap/Electron | ||
+ | * http://mdfs.net/Docs/Comp/KeyMap/RISCOS | ||
− | [[User:Jgharston|Jgharston]] 23: | + | [[User:Jgharston|Jgharston]] 23:03, 26 May 2009 (UTC) |
+ | [[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 04:34, 20 July 2020 (CEST) |
Revision as of 03:34, 20 July 2020
OSBYTE &E3 (227) - Read/Write Interpretation of characters &A0-&AF
OSBYTEs 221 to 228 control the interpretation of characters &80-&FF when read from the keyboard buffer, or the serial input buffer when character interpretation is enabled.
OSBYTE | Characters | Modifier | Keys | Default | Effect | Electron notes |
---|---|---|---|---|---|---|
OSBYTE 225 | &80-&8F | - | function keys 0-9, cursor keys | &01 | soft key | default=&01, FUNC+numbers, cursor keys |
OSBYTE 226 | &90-&9F | SHIFT | function keys 0-9, cursor keys | &80 | &80-&8F | default=&01, FUNC+A - FUNC+P |
OSBYTE 227 | &A0-&AF | CTRL | function keys 0-9, cursor keys | &90 | &90-&9F | default=&01, FUNC+Q - FUNC+Z, FUNC with : ; , - . / |
OSBYTE 228 | &B0-&BF | SHIFT+CTRL | function keys 0-9, cursor keys | &00 | ignore | |
OSBYTE 221 | &C0-&CF | - | function keys 10,11,12, Insert | &01 | soft key | |
OSBYTE 222 | &D0-&DF | SHIFT | function keys 10,11,12, Insert | &D0 | &D0-&DF | |
OSBYTE 223 | &E0-&EF | CTRL | function keys 10,11,12, Insert | &E0 | &E0-&EF | |
OSBYTE 224 | &F0-&FF | SHIFT+CTRL | function keys 10,11,12, Insert | &F0 | &F0-&FF |
Break inserts &CA into the keyboard buffer. On some systems, Alt+key is treated as a SHIFT+CTRL modifer. Note that SHIFT+CTRL also has the function of pausing screen scrolling, so entering SHIFT+CTRL+key interactively may pause scrolling.
The interpretation values are:
- 0 - ignore the character
- 1 - expand as soft key or Electron shortcut key for &90-&AF
- 2 - return &00,character (MOS 3.50, MOS 5 and later)
- otherwise, use as a base value and add to (character AND 15)
See Also
- http://mdfs.net/Docs/Comp/KeyMap/BBC
- http://mdfs.net/Docs/Comp/KeyMap/Electron
- http://mdfs.net/Docs/Comp/KeyMap/RISCOS
Jgharston 23:03, 26 May 2009 (UTC) Jgharston (talk) 04:34, 20 July 2020 (CEST)