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

cpu/xa: New Philips XA disassembler #12504

Merged
merged 5 commits into from
Jun 29, 2024
Merged

cpu/xa: New Philips XA disassembler #12504

merged 5 commits into from
Jun 29, 2024

Conversation

mamehaze
Copy link
Contributor

  • added a disassembler for the XA architecture from Philips which is sometimes referred to as 80c51XA (it isn't binary compatible with an 8051 in any way, just designed to have a similar enough instruction set and memory layout that code can be translated easily over using software Philips provided)

  • hooked this up to igs_fear.cpp (fearless, superkds) and igs_m027.cpp (haunthig, crzybugs)

@mamehaze
Copy link
Contributor Author

The output here is comparable to IDA Pro, and I've used that as a template for the general formatting. A few bugs were found in the IDA Pro output (wrong register sizes used)

The code in general could do with a bit of beautification, but is functional, IMHO easy to follow, and will help unlock further progress on the IGS titles (specifically superkds for now, as we have a complete dump of that one)

@ajrhacker could you give this a quick lookover?

David Haywood added 2 commits June 23, 2024 10:55
…cates they're usually optional, but does show this syntax in places)
src/tools/unidasm.cpp Outdated Show resolved Hide resolved
@rb6502 rb6502 changed the title New Philips XA disassembler cpu/xa: New Philips XA disassembler Jun 29, 2024
@rb6502 rb6502 merged commit 9d66f71 into mamedev:master Jun 29, 2024
5 checks passed
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