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

Native code not initialized, causes crashes #174

Open
philburk opened this issue Sep 30, 2024 · 1 comment
Open

Native code not initialized, causes crashes #174

philburk opened this issue Sep 30, 2024 · 1 comment
Assignees

Comments

@philburk
Copy link
Owner

philburk commented Sep 30, 2024

REPRO STEPS
Launch HMSL
Enter N to not initialize HMSL
Enter: da.kill

EXPECT
Nothing to happen.

ACTUAL
Crash because the low level Amiga chip emulation is not initialized.

hostClock_Init() is not called until HMSL.INIT is created.
But the underlying drivers need to be initialized when the native code launches. (PREFERRED)
Or the chip writing code needs to check to make sure mFifo exists.

@philburk
Copy link
Owner Author

philburk commented Oct 6, 2024

I fixed the crash caused by da.kill by checking for mFifo.

Now I crash if I enter:

forget task-obmethod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant