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

Fixes in crt0_msxdos_advanced and printf.c #135

Merged
merged 2 commits into from Nov 30, 2023

Conversation

Konamiman
Copy link
Owner

  • Fix error code returned to the OS in crt0_msxdos_advanced.

    • It was being taken from register L, but in newer SDCCs it's passed in register A instead.
  • Fixes in long integer handling in printf.c

    • Doc comment fixed: now it correctly says that the modifier for integers is "u" (not "ud" or "ui") and for unsigned long is "lu" (not "ul").
    • Fixed the "l" modifier, it was skipping the next character.

It was being taken from register L, but in newer SDCCs it's passed
in register A instead.
- Doc comment fixed: now it correctly says that the modifier
  for integers is "u" (not "ud" or "ui") and for unsigned long
  is "lu" (not "ul")

- Fixed the "l" modifier, it was skipping the next character
@Konamiman Konamiman added this to the v2.1.2 milestone Nov 19, 2023
@Konamiman Konamiman self-assigned this Nov 19, 2023
@Konamiman Konamiman changed the base branch from v2.1 to v2.1.2 November 21, 2023 12:16
@Konamiman Konamiman merged commit 5ae2444 into v2.1.2 Nov 30, 2023
1 check passed
@Konamiman Konamiman mentioned this pull request Nov 30, 2023
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

1 participant