uae-wii/src/filesys.sh

8 lines
368 B
Bash
Executable File

#! /bin/sh
# Script to convert an Amiga executable named filesys into a series of
# dw(...) statements.
# This assumes that the first four lines only contain hunk information.
# That is what you get if you assemble/link with a68k/blink
od -v -t xC -w8 filesys |tail -n +5 | sed -e "s,^.......,," \
-e "s,[0123456789abcdefABCDEF][0123456789abcdefABCDEF],db(0x&);,g"