x16-PRos is a minimalistic 16-bit operating system written in NASM for x86 architecture. It supports a text interface, loading programs from disk, and basic system functions such as displaying CPU information, time, and date.
- help display list of commands
- info brief system information
- cls clear screen
- shut shut down the system
- reboot restart the system
- date display date
- time show time (UTC)
- CPU CPU information
- dir List files on disk
- cat Display file contents
- del Delete a file
- copy Copy a file
- ren Rename a file
- size Get file size
- touch Create an empty file
- write Write text to a file
Basic x16 PRos software package includes:
x16 PRos includes a small set of built-in programs. You can add your own program to the system image, and then run it by entering the filename of your program in the terminal.
Here's how you can add a program:
mcopy -i disk_img/x16pros.img PROGRAM.BIN ::/
Also, PRos has its own API for software developers. See doc/API.md
You can read more about the software development process for x16-PRos on the project website: x16-PRos web site
First, clone the reposytory:
git clone https://github.com/PRoX2011/x16-PRos.git
To compile the project you will need NASM and some other pakages. Example comand for Ubuntu:
sudo apt install nasm
sudo apt install mtools
sudo apt install dosfstools
And finaly:
chmod +x build-linux.sh
./build-linux.sh
To launch x16 PRos, use emulators such as QEMU,Bochs or online emulator like v86. Example command for QEMU:
qemu-system-i386 -audiodev pa,id=snd0 -machine pcspk-audiodev=snd0 -hda disk_img/x16pros.img
You can also try running x16-PRos on a real PC (preferably with BIOS, not UEFI)
If you still want to run x16-PRos on a UEFI PC, you will need to enable "CSM support" in your BIOS. It may be called slightly differently.
- Open PowerShell as Administrator and run:
winget install nasm
winget install qemu
- Add NASM and QEMU to System Path by running:
setx PATH "%PATH%;C:\Program Files\NASM;C:\Program Files\qemu"
-
Reboot your PC for the PATH changes to take effect.
-
Run the build script:
build-windows.bat
Note: Make sure to restart your terminal or IDE after modifying the PATH variable.
- If commands are not recognized, verify the installation paths
- Ensure PowerShell was run as Administrator during installation
- Check if PATH was updated correctly by running
echo %PATH%
- PRoX (Faddey Kabanov) lead developer. Creator of the kernel, command interpreter, writer, brainf, snake programs.
- Loxsete developer of the barchart program.
- Saeta developer of the calculation logic in the program "Calculator".
- Qwez developer of the "space arcade" game.
- Gabriel developer of "Procentages" program.
If you want to contribute to the development of x16 PRos, you can:
- Report bugs via GitHub Issues.
- Suggest improvements or new features on GitHub.
- Help with documentation by emailing us at prox.dev.code@gmail.com.
- Develop new programs for the system.
The project is distributed under the MIT license. You are free to use, modify and distribute the code.