Difference between revisions of "OSBYTE &E1"
m (1 revision) |
(Add explanation) |
||
Line 2: | Line 2: | ||
OSBYTE &E1 (225) - Read/Write Interpretation of F-Keys | OSBYTE &E1 (225) - Read/Write Interpretation of F-Keys | ||
+ | On entry: A=&E1, ''<NEW VALUE>'' = (''<OLD VALUE>'' AND Y) EOR X | ||
+ | |||
+ | On exit: X=''<OLD VALUE>'', Y=''<NEXT OSBYTE>'' (i.e. current value for OSBYTE &E2) | ||
+ | |||
+ | The values are: | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Value !! Function | ||
+ | |- | ||
+ | | 0 || Ignore key | ||
+ | |- | ||
+ | | 1 || Expand as normal soft key | ||
+ | |- | ||
+ | | 2-&FF || Add value to soft key number to provide ASCII code | ||
+ | |} | ||
+ | |||
+ | On the Electron this controls the effect of FUNC + 0-9. | ||
==See Also== | ==See Also== | ||
* http://mdfs.net/Docs/Comp/BBC/OsbyteA6 | * http://mdfs.net/Docs/Comp/BBC/OsbyteA6 | ||
+ | * [[OSBYTE &E2]] | ||
+ | * [[OSBYTE &E3]] | ||
+ | * [[OSBYTE &E4]] | ||
[[User:Jgharston|Jgharston]] 23:03, 26 May 2009 (UTC) | [[User:Jgharston|Jgharston]] 23:03, 26 May 2009 (UTC) |
Revision as of 19:20, 11 June 2020
OSBYTE &E1 (225) - Read/Write Interpretation of F-Keys
On entry: A=&E1, <NEW VALUE> = (<OLD VALUE> AND Y) EOR X
On exit: X=<OLD VALUE>, Y=<NEXT OSBYTE> (i.e. current value for OSBYTE &E2)
The values are:
Value | Function |
---|---|
0 | Ignore key |
1 | Expand as normal soft key |
2-&FF | Add value to soft key number to provide ASCII code |
On the Electron this controls the effect of FUNC + 0-9.
See Also
Jgharston 23:03, 26 May 2009 (UTC)