[reset] Adding reboot function by shutdown -r to PC-98#2416
Merged
ghaerr merged 3 commits intoghaerr:masterfrom Oct 23, 2025
Merged
[reset] Adding reboot function by shutdown -r to PC-98#2416ghaerr merged 3 commits intoghaerr:masterfrom
ghaerr merged 3 commits intoghaerr:masterfrom
Conversation
Owner
|
Hello @tyama501, Is there a chance you could rewrite using more readable C macros, something similar to reset-swan.c? This would allow the possible use of additional defines to use as port numbers or data constants as self-documentation. This would allow much easier understanding of what is being done. Something like: I realize that reset-ism.c is written all ASM, but the reason for that is that INT 15h is executed, for which there are no predefined macros to load registers beforehand. Thank you! |
Contributor
Author
|
Hello @ghaerr I have rewritten it. Thank you. |
Owner
|
Nice, thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello @ghaerr and @drachen6jp
This is the PR to add the shutdown -r reboot function for PC-98 by @drachen6jp .
I have cherry-picked his commit, then I have added reset-pc98.c and moved the function from the reset-stub.c.
I have confirmed it work with NP2 emulator.
Thank you!