Minor changes

This commit is contained in:
2024-04-19 16:16:54 +02:00
parent 2a864eb366
commit 896f9f5fe0
2 changed files with 29 additions and 1 deletions
+3
View File
@@ -208,6 +208,9 @@ void main() {
char buf[size * 512];
diskRead(sector, size, buf);
// TODO: Print .txt files, launch .bin files
// For calling .bin files, use '((void (*)(void))buf)()' to jump to it
for (size_t i = 0; i < size * 512; i++) {
if (buf[i] != '\0') {
putc(buf[i]);