This commit is contained in:
2021-09-14 18:46:50 +03:00
parent d605c6a016
commit b6ddeca1c3
180 changed files with 5909 additions and 2039 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -4,10 +4,10 @@ set loader_name=loader
rem NASM and DJGPP executable paths:
set nasm_path=C:\nasm
set djgpp_path=C:\DJGPP\bin
set djgpp_path=C:\mingw\bin
@echo on
%djgpp_path%\ld -T link.ld
ld -T link.ld
@echo off
@echo.
@echo Done!

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,59 +0,0 @@
OUTPUT_FORMAT("binary")
ENTRY(start)
INPUT("loader.o",
"main.o",
"BSOD.o",
"cmos.o",
"conio.o",
"cpu.o",
"ctype.o",
"dma.o",
"floppy.o",
"gdt.o",
"gdt_asm.o",
"hal.o",
"idt.o",
"idt_asm.o",
"irq.o",
"irq_asm.o",
"isrs.o",
"isrs_asm.o",
"mmngr.o",
"mmngr_de.o",
"mmngr_ph.o",
"mmngr_te.o",
"mmngr_vi.o",
"keyus.o",
"pic.o",
"pit.o",
"shell.o",
"stdlib.o",
"string.o",
"system.o",
"time.o",
"video/vga03h.o"
)
OUTPUT(kernel.bin)
phys = 0xC0000000;
SECTIONS
{
.text phys : AT(phys) {
__code = .;
*(.text)
*(.rodata)
. = ALIGN(4096);
}
.data : AT(phys + (__data - __code))
{
__data = .;
*(.data)
. = ALIGN(4096);
}
.bss : AT(phys + (__bss - __code))
{
__bss = .;
*(.bss)
. = ALIGN(4096);
}
__end = .;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.