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

New instructions and other fixes #13

Merged
merged 2 commits into from Mar 22, 2019
Merged

New instructions and other fixes #13

merged 2 commits into from Mar 22, 2019

Conversation

M-HT
Copy link
Contributor

@M-HT M-HT commented Mar 21, 2019

  • Add fnstsw, lahf, rep movsw instructions
  • Fix div function in libc wrapper
  • Use dummy error handler in function my_snd_lib_error_set_handler in libasound wrapper
  • Add interrupt flag to default emu flags

…apper; Use dummy error handler in function my_snd_lib_error_set_handler in libasound wrapper; Add interrupt flag to default emu flags
@@ -195,7 +195,7 @@ GO(__dgettext, pFpp)
GO(difftime, dFuu)
GO(dirfd, iFp)
GO(dirname, pFp)
GO(div, UFii)
GOM(div, pFpii)
Copy link
Owner

@ptitSeb ptitSeb Mar 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As div return a struct, I think it will need the GOS macro to put a RET 4 instead of RET (like with ldiv function)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I studied more about how it actually works and you're right. I fixed it in new commit. Although it's strange that it worked with RET instead of RET 4.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, when I count the number of error I fixed, I would say it's surprisingly resilient to mistakes!

@ptitSeb ptitSeb merged commit 37961f5 into ptitSeb:master Mar 22, 2019
@M-HT M-HT deleted the fixes branch July 5, 2019 11:22
@ghost ghost mentioned this pull request Jul 23, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants