resource fork, file type.

This commit is contained in:
Kelvin Sherlock 2021-07-18 22:00:54 -04:00
parent 760209d790
commit 031e352370
3 changed files with 20 additions and 6 deletions

View File

@ -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

View File

@ -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
View 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"
};