Live data from Hacker News

Emu68: M68K Emulation for ARM

github.com

1–9 of 9 posts

Re: Emu68: M68K Emulation for ARM

#2
What M68k version does this target, and is there a measurable difference in performance in targeting ARM specifically?

Documentation files seem outdated. Repository seems a bit low on information. Are there any unit tests too?

Re: Emu68: M68K Emulation for ARM

#3
post #2

What M68k version does this target, and is there a measurable difference in performance in targeting ARM specifically? Documentation files seem outdated. Repository seems a bit low on information. Are there any unit tests too?

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.

EDIT: Here's an article about PJIT that compared it to Emu68 that gives more info: https://www.buffee.ca/Why-PJIT-Why/

Re: Emu68: M68K Emulation for ARM

#4
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

#8
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 '' -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].

[0] https://github.com/NixOS/nixpkgs/pull/131310

[1] https://nix.dev/tutorials/cross-compilation

Re: Emu68: M68K Emulation for ARM

#9
post #4

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...

Indeed, the author of Emu68k has been working on pairing this with Pistorm already :)