Skip to content

NativeCall 1.5.0

Choose a tag to compare

@Sdursun Sdursun released this 05 Nov 18:21

First release of NativeCall: native AArch64 calls for 68k Amiga programs on a PiStorm with a Raspberry Pi 4 and an unmodified Emu68.

nativecall.library 1.5, hypervisor 4 (armstub md5 0d8169cb555b157083dbdff559056982).

Requires a Raspberry Pi 4 with 8 GB. On a Pi with less RAM this armstub gives a black screen; removing the armstub= line from config.txt recovers. See INSTALL.md.

Assets

  • NativeCall-1.5.0.zip: the SDK and all sources, README.md, docs/NativeCall.pdf, and binaries/:
    • nativecall-armstub.bin for the SD card
    • Libs/nativecall.library for LIBS:
    • gcc/ and vbcc/: the example programs hello, cputest, bench, ncdemo, mandeldemo
  • NativeCall.pdf: what NativeCall is and how it works
  • SHA256SUMS.txt

What it does

  • nc_call, nc_run: kernels on ARM, with a 68k fallback from the same source
  • nc_run_mp: also on the two ARM cores Emu68 leaves idle
  • nc_start_mp / nc_wait: jobs on the helper cores while the 68k keeps running
  • SDK for VBCC and GCC, built in Docker; modules embedded in the program

On the A1200 test machine: NEON Mandelbrot on 3 cores is 8.8x the 68k in iterations per second, and a software 3D demo goes from 44.6 to 169.3 fps. GPU-limited programs gain little. See RESULTS.md.

Test status

  • QEMU, unmodified Emu68: the hv and base runs passed on this commit.
  • A1200: hello (GCC and VBCC) and mandeldemo ran from these binaries on hypervisor 4; cputest on hypervisor 3.
  • bench and ncdemo: these builds have not run on hardware; earlier builds did.
  • All hardware results come from one machine. async_log and ppc_enable with several cores have not been tested.