Code Monkey home page Code Monkey logo

Comments (8)

kieranhj avatar kieranhj commented on June 12, 2024

PAGE UP key is meant to run b-em in unlimited update - is that not still the case?

from b-em.

ZornsLemma avatar ZornsLemma commented on June 12, 2024

It looks like you're right Kieran, but that seems to be a transient thing while you are holding down PAGE UP - my test suite can run for minutes/hours at a time (but if it crashes early, as it often does during development :-) it may only be seconds) so I'd like to be able to achieve a similar effect via a toggle.

from b-em.

SteveFosdick avatar SteveFosdick commented on June 12, 2024

As I understand it, the PguP key is "free run" mode, i.e. as fast as possible. If we allocate another key to a speed change but this time to act as a toggle rather than only working while held down would this "free run" be the best thing to do it with? What key should we use? Page Down is already taken with "pause".

from b-em.

ZornsLemma avatar ZornsLemma commented on June 12, 2024

Free run sounds good to me - I want maximum speed, I only use 500% because that's the fastest you can choose from the menu.

I don't have any strong opinions on what key we should use. Could we use something like shift+Page Up or ctrl+Page Up, the idea being that this is a kind of variation on the usual Page Up functionality?

from b-em.

SteveFosdick avatar SteveFosdick commented on June 12, 2024

I have implemented this on the new Allegro5 port in commit ce4c355 as it is easier there. I'll have a look how easy it will be to do in the existing B-Em.

from b-em.

SteveFosdick avatar SteveFosdick commented on June 12, 2024

And it is now implemented in master: 99b99ad

In both cases hitting the PgUp key always starts free-run mode. When you release the PgUp key B-Em check the status of the shift keys. If neither shift key is in force it cancels free-run and returns to normal speed just like before. If one of the shift keys is down it leaves free-run in force, Them to cancel free-run you press PgUp (which does nothing as free-run is already in force) then release it without shift and free-run is cancelled.

from b-em.

ZornsLemma avatar ZornsLemma commented on June 12, 2024

I just built the latest code from master, works brilliantly for me, thanks a lot. This will save a lot of low-level irritation during development!

from b-em.

SteveFosdick avatar SteveFosdick commented on June 12, 2024

Thanks for getting back to me Steve, I'll close this now.

from b-em.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.