...
This commit is contained in:
28
README.md
28
README.md
@@ -4,24 +4,15 @@
|
||||
|
||||
### Building the kernel
|
||||
|
||||
- `make`
|
||||
- `i386-elf-gcc`
|
||||
- `i386-elf-ld`
|
||||
- `nasm`
|
||||
|
||||
### Creating a disk image
|
||||
|
||||
- `grub`
|
||||
- `mtools`
|
||||
- `make`
|
||||
- `x86_64-elf-gcc`
|
||||
- `x86_64-elf-ld`
|
||||
- `nasm`
|
||||
|
||||
## Building
|
||||
|
||||
### Kernel
|
||||
|
||||
```sh
|
||||
make kernel
|
||||
```
|
||||
|
||||
### Disk image
|
||||
|
||||
```sh
|
||||
@@ -30,8 +21,15 @@ make iso
|
||||
|
||||
## Running
|
||||
|
||||
After building, run the following:
|
||||
After building the iso, run the following:
|
||||
|
||||
```sh
|
||||
qemu-system-i386 -kernel .build/kernel
|
||||
qemu-system-x86_64 -cdrom .build/nub-os.iso
|
||||
```
|
||||
|
||||
## Debugging
|
||||
|
||||
```sh
|
||||
qemu-system-x86_64 -s -S -cdrom .build/nub-os.iso
|
||||
gdb -tui .build/kernel -ex "target remote localhost:1234"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user