amitools
amitools copied to clipboard
Feature Request: Support for Linux binfmt
It would be great to see packaged support for Linux binfmt. Using Linux binfmt, Amiga OS binaries could be directly run from a Linux shell using their name.
I managed to quickly get this running on Ubuntu 22.04 using these files:
File /usr/share/binfms/amiga-vamos
:
package amiga-vamos
interpreter /home/christian.hujer/.local/bin/vamos
magic \x00\x00\x03\xf3
(The path in the file obviously would have to be set correctly by make install-binfmt
or whatever would be used.)
Then I ran sudo update-binfmts --import amiga-vamos
and sudo service binfmt-support force-reload
.
And voilà, I could run an Amiga-OS binary by making it executable chmod +x hello
and then running it using ./hello
.