Skip to content

Fix broken 6502 test cases #213

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

Merged
merged 5 commits into from
Jul 9, 2025
Merged

Fix broken 6502 test cases #213

merged 5 commits into from
Jul 9, 2025

Conversation

Miezekatze64
Copy link
Contributor

This fixes the literals and divmod by ignoring l modifiers in printf and adding an unsigned division/rem for %u.
It also updates the test cases to expect 16bit outputs

@rexim
Copy link
Member

rexim commented Jul 9, 2025

@Miezekatze64 looks good! Thank you for figuring out what we expect from smol platforms such as uxn and 6502!

@rexim rexim merged commit cb5882e into tsoding:main Jul 9, 2025
3 checks passed
@Miezekatze64 Miezekatze64 deleted the 6502-printf branch July 10, 2025 09:24
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.

2 participants