From bb20921d00c770cb30bb85a300423d9062a94d91 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sun, 8 Nov 2026 07:49:23 +0800 Subject: [mubios] Multi-sector INT 13h AH=42h Signed-off-by: Richard Qin --- mubios/core/post.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mubios/core') diff --git a/mubios/core/post.c b/mubios/core/post.c index 076d262..2af797b 100644 --- a/mubios/core/post.c +++ b/mubios/core/post.c @@ -40,7 +40,7 @@ post_main (void) u8 ata_status; mbr = (volatile u8 *)0x00007C00u; - ata_status = ata_read_sector28 (0, (u16 *)mbr); + ata_status = ata_read_sectors28 (0, (u16 *)mbr, 1); if (ata_status == 0 && mbr[0x01FE] == 0x55 && mbr[0x01FF] == 0xAA) serial_write ("mubios: MBR loaded\r\n"); -- cgit v1.2.3