From 9dbf9d0c21002983de556aa76a9d01124d556a90 Mon Sep 17 00:00:00 2001 From: kotorifan Date: Sun, 1 Feb 2026 22:18:34 +0100 Subject: Enough for today --- make.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'make.sh') diff --git a/make.sh b/make.sh index 221eb53..afca143 100755 --- a/make.sh +++ b/make.sh @@ -22,8 +22,8 @@ build() $AS_BOOT $SRC_DIR/boot/boot.stage1.asm -o $DST_DIR/s1_boot.bin $AS_BOOT $SRC_DIR/boot/boot.stage2.asm -o $DST_DIR/s2_boot.bin $AS_KERN $SRC_DIR/kernel/kernel.asm -o $DST_DIR/kernel.bin - dd if=/dev/zero of=disk.img bs=512 count=2048 - dd if=$DST_DIR/s1_boot.bin of=$IMG_FILE conv=notrunc bs=512 count=1 + dd if=/dev/zero of=disk.img bs=512 count=2880 + dd if=$DST_DIR/s1_boot.bin of=$IMG_FILE conv=notrunc echo "Written s1_boot.bin to $IMG_FILE" dd if=$DST_DIR/s2_boot.bin of=$IMG_FILE conv=notrunc bs=512 seek=1 echo "Written s2_boot.bin to $IMG_FILE" @@ -37,12 +37,8 @@ build() -no-emul-boot \ -boot-load-size 4 \ -boot-info-table \ - -iso-level 3 \ - -J \ - -R \ - -V "$NAME" \ -o $ISO_FILE \ - "$(dirname "$IMG_FILE")" + . if [ -f $ISO_FILE ]; then -- cgit v1.3