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

Add platform independent AT91 JIT path to speed up SAM emulation #388

Open
toxieainc opened this issue Dec 16, 2024 · 4 comments
Open

Add platform independent AT91 JIT path to speed up SAM emulation #388

toxieainc opened this issue Dec 16, 2024 · 4 comments

Comments

@toxieainc
Copy link
Member

Maybe something like https://asmjit.com/ could help? That includes even Arm, and seems to be used by quite some multi-platform larger projects (e.g. GZDoom).

Also could aid potential SPIKE support at some point.

@francisdb
Copy link
Contributor

Is there some issue that tracks what needs to be done for SPIKE emulation? Linking to research / findings / ...

@volkenborn
Copy link
Contributor

volkenborn commented Dec 16, 2024

Sure, easy: emulate a complete PC running some Linux offspring.
Actually I guess it's easier to emulate the i486 platform running Pinball 2000 (SWEP1 / RFM).
And one of the first obstacles to overcome is a reliable microsecond timer.

@toxieainc
Copy link
Member Author

Pin2K was done by erikie for MAME, so we 'just' would need to port all of this, including the MediaGX parts, etc. ;)
For SPIKE we may already be in the land of 'too much effort', true, and some other project like qemu might be better suited to be leveraged.
erikie went for the same with Pin2K in the end.

@toxieainc
Copy link
Member Author

Nevertheless, replacing the existing AT91 JIT code may still be worth it, especially on mobile platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants