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

The Autostart feature misses a settings to specify a specific action #9

Closed
MaRvIn054 opened this issue Feb 8, 2019 · 4 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@MaRvIn054
Copy link

Hello,
The autostart feature is very helpful to automatize start of programs.
But it doesn't work for all software:

  • On TO8, we mostly have to press B but some old ones ported from TO7 may require to press C.
  • On MO5, RUN" would work for most tapes, but some require to enter LOADM"",,R
    I think it's very difficult to support start of all existing software.
    The fastest and easiest way would be to add a setting at core startup to specify the action required to start the program.
    For example, something like theodore_autorun_action = "C" or theodore_autorun_action="LOADM".
    Maybe as a first step this new setting could only support predefined actions, and in a later release, it could be replaced some kind of macro feature.
    What do you think?

Best Regards,
MaRvIn054.

@Zlika
Copy link
Owner

Zlika commented Feb 8, 2019

Thanks for this idea. For all flavors except MO5 it's quite easy to start the game with another Basic using the virtual keyboard. For the MO5 it's more complex, the virtual keyboard does not even have all the letters required to type RUN" or LOADM"",,R (and I don't want to add too much letters because it would make the virtual keyboard unusable).
I don't know the MO5 quite well (I had a TO8), so I don't know well all the ways to start a game on it. What I would like to have is a kind of heuristic: if my understanding if right, the way to start a game depends on the language used to code it (basic vs assembly), so maybe there is a way to automatically guess the good way to start it. If you have some info on it, do not hesitate to share :-)

@Zlika Zlika added the enhancement New feature or request label Feb 8, 2019
@MaRvIn054
Copy link
Author

Hi,
thanks for the feedback.
On MO5, one way to enhance your heuristic action for tapes would be to check the first file on them during the core initialisation (that is, before showing the first screen).
Then depending on the filename found, you can adjust the action :

  • If filename ends with .BAS => RUN" is ok
  • If filename ends with .BIN => LOADM"",,R is required.
    For TO8, I beleive it's more difficult to determine what action between B or C is suitable. So for this one, maybe the easiest way (or the 1st step) would be to add the new setting I mentioned to override the defaut B action.
    Thanks again for the great work.
    Best Regards,
    MaRvIn054.

@Zlika
Copy link
Owner

Zlika commented Feb 10, 2019

Thanks for the MO5 tip.
For TO8 & others, I don't think a new core setting would be more simple to use than just pressing X or select a few times to move the virtual keyboard to the 'C' letter and then press Enter.

@Zlika Zlika closed this as completed in 78dbffe Feb 19, 2019
@Zlika
Copy link
Owner

Zlika commented Feb 19, 2019

I now use a heuristic to choose between RUN" and LOADM"",,R on MO5. For other models, using the virtual keyboard to choose C instead of B seems to be the most straightforward solution.

@Zlika Zlika added this to the 1.7 milestone Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants