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

[a8 dos] Exit via DOSVEC #332

Merged
merged 1 commit into from
May 30, 2024
Merged

Conversation

cwedgwood
Copy link
Contributor

No description provided.

@cwedgwood cwedgwood force-pushed the atari8-dos-fix-exit branch 3 times, most recently from 0d8ca38 to d9c1b2e Compare May 28, 2024 08:44
Copy link
Member

@mysterymath mysterymath left a comment

Choose a reason for hiding this comment

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

There's nothing unusual about JMP ($a) as an implementation of _Exit() (the C standard function that performs an immediate exit with no cleanup). Accordingly, we should merge the library exit-custom from common to provide the full exit() and after-main functionality in terms of _Exit() in atari-dos's crt0, and then the atari-dos target only needs to implement _Exit in its own _Exit.s

@mysterymath mysterymath merged commit 8ed2b87 into llvm-mos:main May 30, 2024
@mysterymath
Copy link
Member

Went ahead and fixed this; landing.

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