File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33/stage
44* .img
55* .fd
6+ * .bin
Original file line number Diff line number Diff line change 1+ ╔═════════════════════════════════════════════════════════╗
2+ ║ Afterglow: Utility Diskette (DOS, x86) ║
3+ ╟─────────────────────────────────────────────────────────╢
4+ ║ This diskette is non-bootable. Please insert the "Boot ║
5+ ║ Diskette" and then insert this diskette after boot-up. ║
6+ ╚═════════════════════════════════════════════════════════╝
7+ Insert "Boot Diskette" and <═╛ to continue ...
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ create_blank_floppy_image() {
1212 local img_size=" $2 "
1313 local img_size_blocks=$(( img_size / 1024 ))
1414
15- mkfs.vfat -F12 --mbr=n -n ' AG-BOOT' -C " $img_file " " $img_size_blocks "
15+ iconv -t CP437 " ${CURDIR} " /assets/non-bootable-msg.txt > " ${CURDIR} " /build/non-bootable-msg.bin
16+ unix2dos " ${CURDIR} " /build/non-bootable-msg.bin
17+ mkfs.vfat -F12 --mbr=n -m " ${CURDIR} /build/non-bootable-msg.bin" -n ' AG-BOOT' -C " $img_file " " $img_size_blocks "
1618}
1719
1820# $1: floppy disk image file path
You can’t perform that action at this time.
0 commit comments