Merge pull request #65 from zment4/mkisofs_makefile_pr

Add ISO generation to Makefile
This commit is contained in:
jdah 2021-05-06 07:41:46 +02:00 committed by GitHub
commit 96c0bbfc64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,9 @@ img: dirs bootsect kernel
dd if=./bin/$(BOOTSECT) of=$(IMG) conv=notrunc bs=512 seek=0 count=1
dd if=./bin/$(KERNEL) of=$(IMG) conv=notrunc bs=512 seek=1 count=2048
iso: img
mkisofs -pad -b boot.img -R -o boot.iso boot.img
qemu-mac: img
qemu-system-i386 -drive format=raw,file=$(IMG) -d cpu_reset -monitor stdio -device sb16 -audiodev coreaudio,id=coreaudio,out.frequency=48000,out.channels=2,out.format=s32