Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmable Function Keys #96

Closed
eightbitswide opened this issue Nov 15, 2023 · 3 comments
Closed

Programmable Function Keys #96

eightbitswide opened this issue Nov 15, 2023 · 3 comments

Comments

@eightbitswide
Copy link

eightbitswide commented Nov 15, 2023

Would it be possible to have definable function keys which could be configured in the autoexec.txt file at boot up?

Sample configuration:

F1="SAVE \""
F2="LOAD \"
F3="*BYE<CR>"
F4="AED "
F5="LOAD BBCBASIC.BIN<CR>"
F6="RUN<CR>"
F7="LIST<BR>"

@lennart-benschop
Copy link
Contributor

Should this be a MOS command instead, like *KEY on the old BBC Micro? Of course the VDP must also be able to pass the Function keys to MOS.

@HeathenUK
Copy link

HeathenUK commented Nov 15, 2023

Although I can see why you might add it to VDP (for example making it easier to encode multiple-lines as in the above example), I agree it should probably be in MOS (not least because you'd need to check for an assigned macro against every keypress). I've put together a simple PR for this (and one other) bit of functionality here.

@stevesims
Copy link
Contributor

As noted already, this is functionality that is better placed in MOS than the VDP codebase.

This was already raised as an issue there as AgonConsole8/agon-mos#8

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants