doc: adjust usage.md for updated Makefile

This commit is contained in:
boreddevnl 2026-05-10 17:29:34 +02:00
parent 2be30b3056
commit 2bae90f797

15
docs/build/usage.md vendored
View file

@ -33,23 +33,14 @@ To run BoredOS successfully (either in emulation or on bare metal), your target
To test the generated ISO quickly without real hardware, use the QEMU emulator:
For MacOS:
```sh
make run-mac
make run
```
For Linux:
```sh
make run-linux
```
For Windows:
```sh
make run-windows
```
This command invokes QEMU with specific arguments:
This command automatically detects your operating system and invokes QEMU with specific arguments:
- `-m 4G`: Allocates 4 Gigabytes of RAM.
- `-cdrom boredos.iso`: Mounts the built OS image as a CD-ROM.
- `-smp 4`: Enables 4 CPU cores.
- `-drive file=disk.img...`: Attaches a raw disk image included in this release of BoredOS.
## Running on Bare Metal