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

Hang on M1 Macs using MMIO display #163

Open
mgaudet opened this issue Nov 8, 2022 · 2 comments
Open

Hang on M1 Macs using MMIO display #163

mgaudet opened this issue Nov 8, 2022 · 2 comments

Comments

@mgaudet
Copy link

mgaudet commented Nov 8, 2022

We've got a demo of using the Keyboard and Display MMIO simulator here, but it's revealing some issues with RARS + M1 Macs

If I load that displayDemo.asm into rars, open the MMIO tool then run it RARS hangs if being run on an M1 Mac.

This seems to work fine on Linux and on Windows; (I've also tested linux-on-arm on the M1 mac and it seems to work there).

We've tried a few different JVMs; the specific one I'm using right now is Eclipse Temurin, installed via brew install temurin

openjdk version "19.0.1" 2022-10-18
OpenJDK Runtime Environment Temurin-19.0.1+10 (build 19.0.1+10)
OpenJDK 64-Bit Server VM Temurin-19.0.1+10 (build 19.0.1+10, mixed mode)

Oh, and this is using a variety of rars builds :)

@jplanck
Copy link

jplanck commented Feb 2, 2023

I observed this as well. Stepping into the first line of the program before running normally makes it more stable for me. Often setting the run speed to 30instr/sec or slower helps as well.

@jplanck
Copy link

jplanck commented Feb 21, 2024

I believe this is fixed with the merge request from javalosr2004:master

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

2 participants