Jump to content
stephena

Stella 5.0 released

Recommended Posts

After only few hours of installing, rebooting, and configuring, on the 3rd build attempt it started and succeeded in seconds!

 

I love the sound and the added subtle "light" selection for the GUI.

 

Thanks a lot for the feedback! There will be an official beta soon.

 

The new audio core required some very invasive changes in the way Stella's scheduling loop works, most notable the introduction of threading to decouple emulation timing from the interaction with the OS video system (which may block when a frame is rendered). As a side effect, timing has greatly improved; emulation should now run at almost the same speed as the real console for all games. I was able to run Pick'n'Pile (a particularly nasty test case that generates an irregular video signal) in parallel in Stella and on my VCS, and both played happily along in tune for a minute or so :)

  • Like 3

Share this post


Link to post
Share on other sites

Many additional thanks for Stella!

 

After only few hours of installing, rebooting, and configuring, on the 3rd build attempt it started and succeeded in seconds!

 

...

 

On the 3rd build attempt it succeeded in a few seconds!

 

Good to hear that it worked out. And for anyone else that is interested, a lot of this is documented on the Stella development page (how to set up the compiler, brief intro to git, etc):

https://stella-emu.github.io/development.html

  • Like 2

Share this post


Link to post
Share on other sites

I know this may be a long shot, but I figured it was worth an ask if there were any other Mac users around... I am running Stella 5.1.3 on a Mac with a touch bar (High Sierra) and was trying to use BetterTouchTool to give me context appropriate buttons on the touch bar while Stella was running. This seems to work with the exception of start and select. Since I wasn't sure if it was the BetterTouchTool product that was having the problem, I took that out of the equation and wrote an AppleScript to send the key codes to Stella and got the same result. Is there something specific to the way the start and select keys are processed as opposed to the ones like color/bw or difficulty? I tried remapping select and start to keys other than F1 and F2 and still got nowhere. Just seems kind of strange. I also ran into nearly the same thing with Altirra in Wine - Start, Select and Option don't work there either (and I apologize for the crosspost in the A8 Altirra forum)... Anyway, the example to send F1 (mapped to Select) is below if someone else with a Mac wants to give it a go.

 

tell application "Stella" to activate

tell application "System Events" to key code 122

Edited by jc13

Share this post


Link to post
Share on other sites

Stella needs to eventually receive a 'key release' event too. Otherwise it thinks you've pressed and held the Select/Reset button.

 

I suspect Altirra and other similar emulators have the same requirement.

Share this post


Link to post
Share on other sites

I believe that sending the key code does that by default, but just to test I tried:

 

tell application "Stella" to activate

tell application "System Events" to key down (key code 122)

delay 0.25

tell application "System Events" to key up (key code 122)

And still no luck - just seems to be the select and reset though...

Share this post


Link to post
Share on other sites

I know I'm beating a dead horse here, but just to add a little more info... In the gui the TouchBar button I have configured for Frying sends the backspace code correctly (if I type in the search bar, "Fry" backspaces over the text) - but once the emulator starts, the same softkey isn't processed. Not sure why this is bugging me so much - I just want to TouchBar on the Mac to be useful for something! :grin:

Edited by jc13

Share this post


Link to post
Share on other sites

Stella needs to eventually receive a 'key release' event too. Otherwise it thinks you've pressed and held the Select/Reset button.

 

I suspect Altirra and other similar emulators have the same requirement.

 

Bringing closure to this... stephena got me on the right track (thanks!) and I got this to work by adding mappings in Stella for select and reset to the modifier keys option and command. The reason for those particular keys is that the up and down methods only work with modifier keys (you can use control too) in AppleScript.

 

tell application "System Events" to tell process "Stella"

key down {option}

key up {option}

end tell

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...