continue fucking with disk system

This commit is contained in:
2025-03-15 17:29:27 +03:00
parent a7a7121812
commit 526a1a07dd
3 changed files with 31 additions and 26 deletions
+6 -6
View File
@@ -18,13 +18,13 @@ void kmain()
char yooo[256] = "heheh";
printf("test string: %s\n", yooo);
printf("checking for disk...\n");
int disk_present = ide_check_disk_present();
printf("we got the result, it's %X\n", disk_present);
//printf("checking for disk...\n");
//int disk_present = ide_check_disk_present();
//printf("we got the result, it's %X\n", disk_present);
disk_info *info;
get_disk_info(info);
printf("CYL HEAD SECT: %X %X %X\n", info->cylinders, info->heads, info->sectors);
disk_info info;
get_disk_info(&info);
printf("CYL HEAD SECT: %X %X %X\n", info.cylinders, info.heads, info.sectors);
while(1)
{