From d191c1da5bc8c2361002fff4c04b31ea9c207e54 Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Tue, 8 Aug 2023 23:52:57 -0700 Subject: [PATCH] Modify disk script to leave partition table intact --- sw/script/format_disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/script/format_disk.sh b/sw/script/format_disk.sh index 9aed55d..0564b50 100644 --- a/sw/script/format_disk.sh +++ b/sw/script/format_disk.sh @@ -13,7 +13,7 @@ sudo mkfs.vfat -F32 $DEVICE -n SUPER6502 $V echo echo "$(tput bold setaf 11)Modifying Boot Sector$(tput sgr 0)" -sudo dd if=$BOOTLOADER of=$DEVICE bs=512 count=1 $STATUS +sudo dd if=$BOOTLOADER of=$DEVICE bs=446 count=1 $STATUS echo "$(tput bold setaf 10)Done!$(tput sgr 0)"