mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 20:16:54 +01:00
8 lines
368 B
Bash
Executable File
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"
|