redquark-amiberry-rb/src/filesys.sh
Christer Solskogen a3dd9af895 Code cleanup (#393)
* Code cleanup using deheader for removing unnused headers and adding others to be portable. Removed unused files and renamed .cpp files that are only used as #includes in others

* add missing files
2018-12-23 15:34:53 +01:00

14 lines
537 B
Bash

#! /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.
#
# Befehle auf der Amigaseite mit HD0:
# DH0:
# cd asm
# PhxAss/PhxAss filesys.asm TO fs.out OPT 0
# blink FROM fs.out TO filesys
# delete fs.out
#
# 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" > filesys_bootrom.cpp.in