mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Fixed boundaryFill (sorta, circle is still broken, idk why)
This commit is contained in:
@@ -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
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user