[HN Gopher] Emu68: M68K Emulation for ARM
       ___________________________________________________________________
        
       Emu68: M68K Emulation for ARM
        
       Author : doener
       Score  : 55 points
       Date   : 2021-08-09 09:10 UTC (13 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | azinman2 wrote:
       | Read me is quite thin...
        
       | kaetemi wrote:
       | 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?
        
         | vidarh wrote:
         | 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/
        
       | bitwize wrote:
       | 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...
        
       | Kivutar wrote:
       | Isn't Cyclone 68000 already doing the same thing? The core used
       | in Picodrive.
        
         | vidarh wrote:
         | Cyclone seems to be written in ARM assembly to emulate it
         | directly, while Emu68 is a JIT.
        
       | siraben wrote:
       | 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].
       | 
       | [0] https://github.com/NixOS/nixpkgs/pull/131310
       | 
       | [1] https://nix.dev/tutorials/cross-compilation
        
       ___________________________________________________________________
       (page generated 2021-08-09 23:02 UTC)