Skip to content

Add 24 bin binary to 8 digit BCD conversion for the high-score-cart#10

Open
karrika wants to merge 1 commit into
steux:mainfrom
karrika:bin2bcd
Open

Add 24 bin binary to 8 digit BCD conversion for the high-score-cart#10
karrika wants to merge 1 commit into
steux:mainfrom
karrika:bin2bcd

Conversation

@karrika

@karrika karrika commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

I am currently using your high-score-cart.h for implementing the functionality to a new game I am working on. As the score range is 24 bits I did not find a suitable tool in the headers library.

So I wonder if it is ok to share my routine for doing the conversion. It uses the SED mode of the 6502. But other than that it is just a brute force approach.

The reason why I want this functionality is to display the "Hall of Fame" for the five best runs. So I need to turn the binary into decimal digits.

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.

1 participant