stardot / b-em

An opensource BBC Micro emulator for Win32 and Linux
http://stardot.org.uk/forums/viewtopic.php?f=4&t=10823
GNU General Public License v2.0
112 stars 56 forks source link

Integra-B: CTRL-@-BREAK is not triggering reset #210

Open ZornsLemma opened 9 months ago

ZornsLemma commented 9 months ago

There has been some discussion about this on stardot on the thread starting at https://stardot.org.uk/forums/viewtopic.php?p=403056#p403056.

I've just built 464bb82239e31862e87b39b257d63086861b99e5 and this doesn't work for me. If I select a BBC B with 1770 and Integra-B it starts up fine, and the "[" key on my PC keyboard produces an "@" at the BASIC prompt (I'm in physical keyboard mode) but CTRL-[-F12 doesn't trigger the Integra-B reset. I'm suspecting this has something to do with the fact I'm on Linux (Mint 21 Vanessa), given it seems to work for Ken on various versions of b-em, but I haven't tried to debug this myself - I just wanted to raise this so it's not forgotten.

kgl2001 commented 9 months ago

I'm actually also seeing this issue with the latest a790022 build on Windows. This seems to be the same issue that we had when the Integra-B hardware was first implemented:

https://stardot.org.uk/forums/viewtopic.php?p=248995#p248995

This was fixed by clearing some cmos bits when the break key was pressed:

https://stardot.org.uk/forums/viewtopic.php?p=249181#p249181

SteveFosdick commented 9 months ago

It appears the fix, which was included in commit eb19a01e40945dd7b1f52f107cc3a75ce74f52f7 was removed by the very next commit, ec3fc56035bda18bab6f0f0846cd6fde91c80afd. I will reinstate it.

SteveFosdick commented 9 months ago

Commit pushed to fix this and new Windows release available.

kgl2001 commented 9 months ago

Just downloaded the 64 bit version, but I'm now getting a System Error: The code execution cannot proceed because libssp-0.dll was not found.

I'll try and find a copy online...

Edit: Ok, found a 64 bit version of libssp-0.dll and copied it to the B-Em folder, and now everything's working as expected. Including the Integra-B reset. Thanks!