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

print: use hex #29

Open
stefandrissen opened this issue Feb 11, 2024 · 0 comments
Open

print: use hex #29

stefandrissen opened this issue Feb 11, 2024 · 0 comments

Comments

@stefandrissen
Copy link
Contributor

stefandrissen commented Feb 11, 2024

print outputs numbers in decimal.

The SimCoupe debugger and the map file are all hexadecimal.

Unfortunately parse_expression does not like having a hex function inserted, so I cannot:

print hex($)

I tried allowing for hex in parse_expression and failed: error: Opcode not recognised

So for now I will just modify line 766 to text.append(str(hex(a)))

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

No branches or pull requests

1 participant