Fixed boundaryFill (sorta, circle is still broken, idk why)

This commit is contained in:
2024-05-01 21:04:17 +02:00
parent 953fe9b59a
commit 437b423d19
8 changed files with 35 additions and 19 deletions
+2
View File
@@ -259,6 +259,8 @@ void main() {
clear();
} else if (strcmp(fileType, "tab") == 0) {
printFiletable(address);
} else if (strcmp(fileType, "fnt") == 0) {
print("Loading...\n");
} else {
for (size_t i = 0; i < size * 512; i++) {
if (address[i] != '\0') {
+1 -1
View File
@@ -5,7 +5,7 @@
%define VIDMEM 0xb800
%define KERNEL_LOC 0x1000
%define FILETAB_LOC 0x7000 ; TODO: Read kernel size and location from ft
%define KERNEL_SIZE 30 ; 15kB
%define KERNEL_SIZE 30; 15kB
start:
mov [driveNum], dl ; Store the drive number
+1 -1
View File
@@ -250,7 +250,7 @@ protected_start:
; Store VBE Mode Info Block in memory
mov esi, modeInfoBlock
mov edi, 0x5000 ; Destination
mov edi, 0x9000 ; Destination
mov ecx, 64 ; 64 * 4 = 256B (size of modeInfoBlock)
rep movsd