This commit is contained in:
2021-09-14 18:34:14 +03:00
parent 7cb940e485
commit 4e5c38d0ff
152 changed files with 5042 additions and 2585 deletions

BIN
SysCore/objects/BSOD.O Normal file

Binary file not shown.

BIN
SysCore/objects/CMOS.O Normal file

Binary file not shown.

BIN
SysCore/objects/CONIO.O Normal file

Binary file not shown.

BIN
SysCore/objects/CPU.O Normal file

Binary file not shown.

BIN
SysCore/objects/GDT.O Normal file

Binary file not shown.

BIN
SysCore/objects/GDT_ASM.O Normal file

Binary file not shown.

BIN
SysCore/objects/HAL.O Normal file

Binary file not shown.

BIN
SysCore/objects/IDT.O Normal file

Binary file not shown.

BIN
SysCore/objects/IDT_ASM.O Normal file

Binary file not shown.

BIN
SysCore/objects/IRQ.O Normal file

Binary file not shown.

BIN
SysCore/objects/IRQ_ASM.O Normal file

Binary file not shown.

BIN
SysCore/objects/ISRS.O Normal file

Binary file not shown.

BIN
SysCore/objects/ISRS_ASM.O Normal file

Binary file not shown.

BIN
SysCore/objects/KERNEL.BIN Normal file

Binary file not shown.

BIN
SysCore/objects/KEYUS.O Normal file

Binary file not shown.

BIN
SysCore/objects/LOADER.O Normal file

Binary file not shown.

BIN
SysCore/objects/MAIN.O Normal file

Binary file not shown.

BIN
SysCore/objects/MMNGR_CR.O Normal file

Binary file not shown.

BIN
SysCore/objects/MMNGR_PH.O Normal file

Binary file not shown.

BIN
SysCore/objects/PIC.O Normal file

Binary file not shown.

BIN
SysCore/objects/PIT.O Normal file

Binary file not shown.

BIN
SysCore/objects/STRING.O Normal file

Binary file not shown.

BIN
SysCore/objects/SYSTEM.O Normal file

Binary file not shown.

BIN
SysCore/objects/TIME.O Normal file

Binary file not shown.

View File

@ -0,0 +1,16 @@
@echo off
rem The name of the loader assembly file (without extension, must be .asm):
set loader_name=loader
rem NASM and DJGPP executable paths:
set nasm_path=C:\nasm
set djgpp_path=C:\DJGPP\bin
@echo on
%djgpp_path%\ld -T link.ld
@echo off
@echo.
@echo Done!
@pause
copy KERNEL.BIN A:\KERNEL.CTA

50
SysCore/objects/link.ld Normal file
View File

@ -0,0 +1,50 @@
OUTPUT_FORMAT("binary")
ENTRY(start)
INPUT("loader.o",
"main.o",
"BSOD.o",
"cmos.o",
"conio.o",
"cpu.o",
"gdt.o",
"gdt_asm.o",
"hal.o",
"idt.o",
"idt_asm.o",
"irq.o",
"irq_asm.o",
"isrs.o",
"isrs_asm.o",
"mmngr_cr.o",
"mmngr_ph.o",
"keyus.o",
"pic.o",
"pit.o",
"string.o",
"system.o",
"time.o"
)
OUTPUT(kernel.bin)
phys = 0x00100000;
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 = .;
}