mirror of
https://github.com/elliotnunn/cdg5.git
synced 2024-09-27 07:54:31 +00:00
relentless hacking
This commit is contained in:
parent
0d8b3194fa
commit
6c471e30e0
20
Makefile
20
Makefile
@ -148,23 +148,19 @@ kern.o: kern.asm
|
||||
powerpc-eabi-as -many -mregnames -o kern.o kern.asm
|
||||
|
||||
|
||||
qemu-test.img: FORCE tbxi-data tbxi-rsrc
|
||||
rsync ../qemu-template.img qemu-test.img
|
||||
hfs-rsrc-fork-hack qemu-test.img tbxi-rsrc
|
||||
mkdir -p mountpoint
|
||||
sudo mount -t hfsplus -o loop qemu-test.img mountpoint
|
||||
sudo sh -c 'cat tbxi-data > "mountpoint/System Folder/Mac OS ROM"'
|
||||
sudo umount mountpoint
|
||||
rmdir mountpoint
|
||||
qemu-test.dd: FORCE tbxi.hqx
|
||||
rsync ../qemu-template.dd qemu-test.dd
|
||||
HOME=$$PWD hmount qemu-test.dd
|
||||
HOME=$$PWD hcopy -b tbxi.hqx 'QEMU HD:System Folder:'
|
||||
rm .hcwd
|
||||
|
||||
|
||||
qemu: qemu-test.img
|
||||
qemu-system-ppc -M mac99 -m 128 -prom-env 'auto-boot?=true' -g 800x837x32 -drive format=raw,media=disk,file=qemu-test.img
|
||||
qemu: qemu-test.dd
|
||||
qemu-system-ppc -M mac99 -m 1024 -prom-env 'auto-boot?=true' -g 800x837x32 -drive format=raw,media=disk,file=qemu-test.dd
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
rm -f boot tbxi.hqx kern kern.o prcl rom tbxi-data tbxi-rsrc qemu-test.img
|
||||
rm -f boot tbxi.hqx kern kern.o prcl rom tbxi-data tbxi-rsrc qemu-test.dd
|
||||
|
||||
|
||||
FORCE:
|
||||
|
Loading…
Reference in New Issue
Block a user