DOC: Update usage.md with new make flags

This commit is contained in:
boreddevnl 2026-04-17 00:06:09 +02:00
parent 7e123b6429
commit dd6cbf1fe0

13
docs/build/usage.md vendored
View file

@ -33,14 +33,21 @@ 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: To test the generated ISO quickly without real hardware, use the QEMU emulator:
For MacOS:
```sh ```sh
make run make run-mac
```
For Linux:
```sh
make run-linux
```
For Windows:
```sh
make run-windows
``` ```
This command invokes QEMU with specific arguments: This command invokes QEMU with specific arguments:
- `-m 4G`: Allocates 4 Gigabytes of RAM. - `-m 4G`: Allocates 4 Gigabytes of RAM.
- `-cdrom boredos.iso`: Mounts the built OS image as a CD-ROM. - `-cdrom boredos.iso`: Mounts the built OS image as a CD-ROM.
- `-netdev user...`: Sets up a basic NAT network interface for the OS's networking stack.
- `-smp 4`: Enables 4 CPU cores. - `-smp 4`: Enables 4 CPU cores.
- `-drive file=disk.img...`: Attaches a raw disk image included in this release of BoredOS. - `-drive file=disk.img...`: Attaches a raw disk image included in this release of BoredOS.