Skip to content

Commit fe58a2b

Browse files
committed
FINALY FIXED PROBLEM WITH THE STRING. I have to read more sectors from the disk, so it can write full kernel to memory
1 parent 3ffe8dc commit fe58a2b

13 files changed

Lines changed: 13 additions & 20 deletions

File tree

OS.iso

0 Bytes
Binary file not shown.

boot.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ section .text:
3838

3939
mov [disk_index], dl ; Save boot disk to variable
4040
mov bx, kernel_address ; Write to BX kernel origin
41-
mov dh, 0x02 ; Read two sectors
41+
mov dh, 0x14 ; Read 20 sectors
4242
call _read_disk ; Read 16 bits from disk
4343

4444
mov ax, 0x03 ; Clears screen

bootloader/zeroes.asm

Lines changed: 0 additions & 1 deletion
This file was deleted.

build/OS.bin

-9.9 KB
Binary file not shown.

build/full_kernel.bin

100 Bytes
Binary file not shown.

build/full_kernel.elf

0 Bytes
Binary file not shown.

build/kernel.o

0 Bytes
Binary file not shown.

build/vga_text_driver.c.o

344 Bytes
Binary file not shown.

build/zeroes.bin

-10 KB
Binary file not shown.

iso/floppy.img

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)