Re:Emu68: M68K Emulation for ARM
by bitwize on Monday August 09, 2021 @09:50AM
(#28116790)
Sounds like a good match for PiStorm, that madlad project to turbocharge the Amiga by strapping a Raspberry Pi in where the 680x0 CPU used to live. Though personally, I wish they'd put in a socket for the original CPU and a passthrough for it. Sometimes I want to drive the car without a JATO bottle on the roof...
Re:Emu68: M68K Emulation for ARM
by siraben on Monday August 09, 2021 @12:50PM
(#28119194)
Nixpkgs recently added support for cross-compilation to M68K[0], so if you want to cross-compile programs to run on this emulator such as GNU Hello, for instance, run
nix-build '<nixpkgs>' -A pkgsCross.m68k.hello
You may have to update your Nixpkgs channel for this to work. For larger packages it'll handle cross-compilation of dependencies and linking. See [1].
Re:Emu68: M68K Emulation for ARM
by vidarh on Monday August 09, 2021 @07:52AM
(#28115582)
It appears to be JIT'ing, so presumably a significant performance difference compared to not JIT'ing. If you mean compared to a JIT with multiple backends, presumably not.
[0] https://github.com/NixOS/nixpkgs/pull/131310
[1] https://nix.dev/tutorials/cross-compilation
Documentation files seem outdated. Repository seems a bit low on information. Are there any unit tests too?
EDIT: Here's an article about PJIT that compared it to Emu68 that gives more info: https://www.buffee.ca/Why-PJIT-Why/