Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
9xbt authored Aug 15, 2023
1 parent 4d58aa0 commit 6ef58bb
Showing 1 changed file with 1 addition and 46 deletions.
47 changes: 1 addition & 46 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,49 +6,4 @@ A simple kernel made in assembly.

![image](https://www.ekeleze.net/assets/external/iDOS.png)

## Building on Linux
Prerequisites:
- make
- nasm
- qemu
- cdrtools

To install them simply run `sudo apt install prerequisite-here` on ubuntu-based distros<br>or `sudo pacman -S prerequisite-here` on arch-based distros.

Before you build it, you should set up a Makefile.<br>
(Note: The makefile is no longer included because the makefile sometimes varies from computer to computer)

It should look something like this if you are on linux:
```
all: build
qemu-system-x86_64 -cdrom kernel.iso
build:
nasm -f bin -o kernel.bin src/kernel.asm
mv kernel.bin bin/kernel.bin
mkisofs -b kernel.bin -no-emul-boot -o kernel.iso bin/
clean:
rm -rvf kernel.bin
rm -rvf kernel.iso
```

Then to build and run, simply run `make all` in the terminal.

## Building on Windows
Prerequisites:
- nasm
- qemu
- cdrtools

Most of these can be found with a Google search.<br>
(Note: I had to add all of them to the path before I could get it to work, most of them don't do by default.)

Make a .bat file to compile and run, it should look something like this:
```
nasm -f bin -o kernel.bin src/kernel.asm
move /Y kernel.bin bin
mkisofs -b kernel.bin -no-emul-boot -o kernel.iso bin/
qemu-system-x86_64 -cdrom kernel.iso
```
Then run the .bat file.
Please take a look at the [wiki](https://github.com/9xbt/iDOS/wiki) for building and contributing.

0 comments on commit 6ef58bb

Please sign in to comment.