├── .bashrc ├── .gitignore ├── README.md ├── guide ├── 00-BOOT-SECTOR │ ├── ex00 │ │ ├── README.md │ │ └── main.asm │ ├── ex01 │ │ └── main.asm │ ├── ex02 │ │ ├── main.asm │ │ └── org_demo.asm │ ├── ex03 │ │ └── main.asm │ ├── ex04 │ │ ├── main.asm │ │ └── print_string.asm │ ├── ex05 │ │ ├── main.asm │ │ └── print_hex.asm │ ├── ex06 │ │ └── main.asm │ ├── ex07 │ │ ├── disk_load.asm │ │ └── main.asm │ └── ex08 │ │ ├── gdt.asm │ │ ├── main.asm │ │ ├── print_string_pm.asm │ │ └── switch.asm └── 01-KERNEL │ ├── ex00 │ ├── BUILD.md │ ├── README.md │ ├── boot │ │ ├── bootsect.asm │ │ ├── disk_load.asm │ │ ├── gdt.asm │ │ ├── kernel_entry.asm │ │ ├── print_hex.asm │ │ ├── print_string.asm │ │ ├── print_string_pm.asm │ │ └── switch.asm │ ├── build │ │ └── Makefile │ └── kernel │ │ └── kernel.c │ └── ex01 │ ├── boot │ ├── bootsect.asm │ ├── disk_load.asm │ ├── gdt.asm │ ├── kernel_entry.asm │ ├── print_hex.asm │ ├── print_string.asm │ ├── print_string_pm.asm │ └── switch.asm │ ├── build │ └── Makefile │ ├── common.c │ ├── common.h │ ├── drivers │ ├── lowlevel_io.c │ ├── lowlevel_io.h │ ├── screen.c │ └── screen.h │ └── kernel │ └── kernel.c └── src ├── boot ├── bootsect.asm ├── disk_load.asm ├── gdt.asm ├── kernel_entry.asm ├── print_hex.asm ├── print_string.asm ├── print_string_pm.asm └── switch.asm ├── build └── Makefile ├── common.c ├── common.h ├── drivers ├── lowlevel_io.c ├── lowlevel_io.h ├── screen.c └── screen.h └── kernel ├── kernel.c ├── utils.c └── utils.h /.bashrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/.bashrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/README.md -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex00/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex00/README.md -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex00/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex00/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex01/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex01/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex02/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex02/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex02/org_demo.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex02/org_demo.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex03/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex03/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex04/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex04/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex04/print_string.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex04/print_string.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex05/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex05/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex05/print_hex.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex05/print_hex.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex06/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex06/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex07/disk_load.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex07/disk_load.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex07/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex07/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex08/gdt.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex08/gdt.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex08/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex08/main.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex08/print_string_pm.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex08/print_string_pm.asm -------------------------------------------------------------------------------- /guide/00-BOOT-SECTOR/ex08/switch.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/00-BOOT-SECTOR/ex08/switch.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/BUILD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/BUILD.md -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/README.md -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/boot/bootsect.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/boot/bootsect.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/boot/disk_load.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/boot/disk_load.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/boot/gdt.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/boot/gdt.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/boot/kernel_entry.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/boot/kernel_entry.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/boot/print_hex.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/boot/print_hex.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/boot/print_string.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/boot/print_string.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/boot/print_string_pm.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/boot/print_string_pm.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/boot/switch.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/boot/switch.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/build/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/build/Makefile -------------------------------------------------------------------------------- /guide/01-KERNEL/ex00/kernel/kernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex00/kernel/kernel.c -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/boot/bootsect.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/boot/bootsect.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/boot/disk_load.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/boot/disk_load.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/boot/gdt.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/boot/gdt.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/boot/kernel_entry.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/boot/kernel_entry.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/boot/print_hex.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/boot/print_hex.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/boot/print_string.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/boot/print_string.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/boot/print_string_pm.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/boot/print_string_pm.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/boot/switch.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/boot/switch.asm -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/build/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/build/Makefile -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/common.c -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/common.h -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/drivers/lowlevel_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/drivers/lowlevel_io.c -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/drivers/lowlevel_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/drivers/lowlevel_io.h -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/drivers/screen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/drivers/screen.c -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/drivers/screen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/drivers/screen.h -------------------------------------------------------------------------------- /guide/01-KERNEL/ex01/kernel/kernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/guide/01-KERNEL/ex01/kernel/kernel.c -------------------------------------------------------------------------------- /src/boot/bootsect.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/boot/bootsect.asm -------------------------------------------------------------------------------- /src/boot/disk_load.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/boot/disk_load.asm -------------------------------------------------------------------------------- /src/boot/gdt.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/boot/gdt.asm -------------------------------------------------------------------------------- /src/boot/kernel_entry.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/boot/kernel_entry.asm -------------------------------------------------------------------------------- /src/boot/print_hex.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/boot/print_hex.asm -------------------------------------------------------------------------------- /src/boot/print_string.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/boot/print_string.asm -------------------------------------------------------------------------------- /src/boot/print_string_pm.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/boot/print_string_pm.asm -------------------------------------------------------------------------------- /src/boot/switch.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/boot/switch.asm -------------------------------------------------------------------------------- /src/build/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/build/Makefile -------------------------------------------------------------------------------- /src/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/common.c -------------------------------------------------------------------------------- /src/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/common.h -------------------------------------------------------------------------------- /src/drivers/lowlevel_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/drivers/lowlevel_io.c -------------------------------------------------------------------------------- /src/drivers/lowlevel_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/drivers/lowlevel_io.h -------------------------------------------------------------------------------- /src/drivers/screen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/drivers/screen.c -------------------------------------------------------------------------------- /src/drivers/screen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/drivers/screen.h -------------------------------------------------------------------------------- /src/kernel/kernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/kernel/kernel.c -------------------------------------------------------------------------------- /src/kernel/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/kernel/utils.c -------------------------------------------------------------------------------- /src/kernel/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedenisnikulin/os-project/HEAD/src/kernel/utils.h --------------------------------------------------------------------------------