2023-01-24 00:46:08 +03:00
|
|
|
# Yet Another BootLoader, OS Kernel and Other stuff
|
2023-01-13 12:56:54 +04:00
|
|
|
|
2023-01-24 00:46:08 +03:00
|
|
|
## Quickstart:
|
2023-01-13 12:56:54 +04:00
|
|
|
```
|
|
|
|
|
$ ./setup.sh
|
|
|
|
|
$ make
|
|
|
|
|
```
|
2023-01-24 00:46:08 +03:00
|
|
|
## How to run using llvm
|
2023-01-13 12:56:54 +04:00
|
|
|
|
2023-01-24 00:46:08 +03:00
|
|
|
You can use this way even if you have windows. You need to install llvm and qemu.
|
|
|
|
|
Check that executables `clang`, `ld.lld`, `qemu-system-i386` available from your terminal/console.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
make LLVM=on
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## How to debug in my favorite IDE
|
|
|
|
|
|
|
|
|
|
Start debug server using command `make debug-server` or `make debug-server-nox` if you don't want to see gui, and
|
|
|
|
|
then connect using remote gdb option to localhost:1234 (symbols file is kernel.bin)
|
|
|
|
|
|
|
|
|
|
## Includes code from:
|
2023-01-13 12:56:54 +04:00
|
|
|
* https://github.com/mit-pdos/xv6-public
|
|
|
|
|
* https://github.com/FRosner/FrOS
|
|
|
|
|
* https://github.com/dhavalhirdhav/LearnOS
|
|
|
|
|
* https://wiki.osdev.org
|
2026-04-09 20:19:10 +03:00
|
|
|
|
|
|
|
|
# Змейка
|
|
|
|
|
Про игру читать `PLEASE READ.md`
|