This project is a simple bootloader operating system implemented in x86 assembly language. It demonstrates basic input/output operations, including displaying messages, capturing user input, and clearing the screen.
- Displays a welcome message on boot.
- Prompts the user to type something.
- Supports a "clear" command to clear the screen.
- Echoes back user input.
- NASM (Netwide Assembler) to assemble the assembly code.
- QEMU to emulate the booting process.
- Windows operating system (tested on Windows with Mingw32).
-
Clone the repository:
git clone https://github.com/Krishneshwaran/Learning cd Learning -
Install NASM and QEMU if you haven't already.
-
Open a command prompt and navigate to the project directory.
-
Build the project:
mingw32-make all
-
Run the OS in QEMU:
qemu-system-x86_64 -drive file=build/main_floppy.img,format=raw
- Upon booting, the OS will display a welcome message.
- You can type any text, and it will be echoed back to you.
- Typing the command
clearwill clear the screen.
src/main.asm: The main assembly source file containing the bootloader code.Makefile: A Makefile to automate the building process.build/: Directory where the compiled files are generated.
Feel free to contribute to this project by submitting issues or pull requests.