From 0b7d141af7868e58d464f7554e7806e85701ce93 Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Mon, 23 Sep 2019 21:19:12 +0000 Subject: [PATCH] Add warning about mformat overwriting bootsector code --- boot/fat.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boot/fat.asm b/boot/fat.asm index aeb8d35..cc1a26d 100644 --- a/boot/fat.asm +++ b/boot/fat.asm @@ -54,6 +54,10 @@ fdc: db "FAT12" times (62 - ($-$$)) db " " +; mformat keeps writing until here +; if we place init earlier, code gets overwritten +times (62 - ($-$$)) nop + init: cli