File: quickstart.md | Updated: 11/18/2025
An interactive tutorial to get you started with bootOS.
Build bootOS:
make
Run in QEMU:
make runqemu
You should see the bootOS prompt:
$
Before using bootOS, format the disk:
$format
bootOS
$
This initializes the directory structure and copies bootOS to the boot sector.
Try these basic commands:
$ver
bootOS
$
$dir
$
The directory is empty since we just formatted.
Let's create a "Hello, World" program.
Type enter to start entering hexadecimal code:
$enter
h
Now enter the machine code for "Hello, World":
hbb 17 7c 8a 07 84 c0 74 0c 53 b4 0e bb 0f 00 cd
h10 5b 43 eb ee cd 20 48 65 6c 6c 6f 2c 20 77 6f
h72 6c 64 0d 0a 00
h
Press Enter on an empty line to finish.
Now give it a name:
*hello
$
List the directory:
$dir
hello
$
Run the program:
$hello
Hello, world
$
Congratulations! You've created and run your first bootOS program.
Create a second program:
$enter
hcd 20
h
*goodbye
$
This creates a program that just exits (int 0x20).
$dir
hello
goodbye
$
$del goodbye
$dir
hello
$
The "Hello, World" program in assembly:
; Point to string
mov bx, 0x7c17
loop:
; Load character
mov al, [bx]
test al, al
jz done
; Print character
push bx
mov ah, 0x0e
mov bx, 0x000f
int 0x10
pop bx
inc bx
jmp loop
done:
; Exit to OS
int 0x20
; String data
db "Hello, world", 0x0d, 0x0a, 0x00
See the Commands Reference for all available commands.
Check out Creating Programs to learn how to write programs for bootOS.
Read about System Interrupts to use bootOS services in your programs.
bootOS has a growing collection of games and utilities. See Available Software.
$hello
Hello, world
$enter
h (just press Enter on first prompt)
*hello2
$
This copies the hello program to hello2.
ff 00 12 abbootOS supports up to 32 files (one per track). To make room:
$dir
file1
file2
file3
$del file1
This error appears when:
int 0x20 (cd 20) to exitThe directory is limited to 32 files. Delete unused files with del.
enter command