mirror of
https://github.com/ksherlock/hfs-boot.git
synced 2024-12-21 15:29:24 +00:00
resource fork, file type.
This commit is contained in:
parent
760209d790
commit
031e352370
12
Makefile
12
Makefile
@ -2,12 +2,14 @@
|
||||
.PHONY: all
|
||||
all : bootblock loader
|
||||
|
||||
bootblock : bootblock.omf | hfs.po
|
||||
mpw makebiniigs -s -org 2048 bootblock.omf -o bootblock
|
||||
dd bs=512 if=bootblock of=hfs.po conv=notrunc oseek=0
|
||||
bootblock : bootblock.omf | hfs24.po
|
||||
mpw makebiniigs -s -org 2048 bootblock.omf -o bootblock
|
||||
dd bs=512 if=bootblock of=hfs24.po conv=notrunc oseek=0
|
||||
|
||||
loader : loader.omf loader.rii | hfs24.po
|
||||
mpw makebiniigs -s -org 8192 -t \$$bc loader.omf -o loader
|
||||
mpw reziigs loader.rii -o loader
|
||||
|
||||
loader : loader.omf | hfs.po
|
||||
mpw makebiniigs -s -org 8192 loader.omf -o loader
|
||||
sh cp-loader.sh
|
||||
|
||||
# bootblock.omf : bootblock.obj
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
export dir=`mktemp -d`
|
||||
profuse -orw --fst=hfs hfs.po "$dir"
|
||||
profuse -orw --fst=hfs hfs24.po "$dir"
|
||||
cp loader "$dir/"\!
|
||||
umount "$dir"
|
||||
|
12
loader.rii
Normal file
12
loader.rii
Normal file
@ -0,0 +1,12 @@
|
||||
#include "TypesIIgs.r"
|
||||
|
||||
resource rComment (1) {
|
||||
"GS/OS is booting on an HFS disk. This boot loader (and a boot block) enable it."
|
||||
};
|
||||
|
||||
resource rVersion (1) {
|
||||
{ 1, 0, 0, beta, 0 },
|
||||
verUS,
|
||||
"!",
|
||||
"Kelvin Sherlock, Kansas Fest 2021"
|
||||
};
|
Loading…
Reference in New Issue
Block a user