start messing with fat32

This commit is contained in:
2025-03-24 22:03:19 +03:00
parent bf6ab81791
commit bb5d94bb0c
6 changed files with 2108 additions and 8 deletions
+3 -2
View File
@@ -2,6 +2,7 @@
#define DISK_H
#include <stdint.h>
#include <stdbool.h>
typedef struct {
unsigned short cylinders;
@@ -11,7 +12,7 @@ typedef struct {
void get_disk_info(disk_info *info);
int ide_check_disk_present();
uint8_t ata_read(uint8_t *buffer, uint32_t lba);
void ata_write(uint8_t *buffer, uint32_t lba);
bool ata_read(uint8_t *buffer, uint32_t lba);
bool ata_write(const uint8_t *buffer, uint32_t lba);
#endif