From d8a679faf1f1434799d8b10a8a499ca3c403f770 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 24 May 2019 10:55:29 +0200 Subject: [PATCH] Work on ATA --- kaleid/kernel/sh/shcmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaleid/kernel/sh/shcmds.c b/kaleid/kernel/sh/shcmds.c index 958495a..d3dd430 100644 --- a/kaleid/kernel/sh/shcmds.c +++ b/kaleid/kernel/sh/shcmds.c @@ -141,7 +141,7 @@ error_t CmdDumpATASect(int argc, char **argv, char *cmdline) IoReadATA(sector, 1, sectNumber); - while(x < 513) { + while(x < 512) { KernLog("%C", shcol); for (int i = 0; i < step; i++) { KernLog("%02x ", (uchar)sector[i+x]);