(The code+errors+PDF are attached at the bottom)
Hello, dear programmer.
So a few months ago, I decided to create a simple operating system for personal use, and learned how from a PDF I found online. (The PDF was from a university)
After studying it for a month after schooldays, (I just finished 9th grade) I decided to try to make one.
I copied the code in the pdf for the first/simplest OS in there, as accurately as I could, (The author’s comments are even still there) and tried to run the OS. (Tested on Bochs 2.6, latest compatible version with 32-bit Windows 7)
Friend, it failed.
I spent the next month troubleshooting, and reached…nothing.
So, realizing my lack of expertise, I decided to appeal to the rest of the developer community in hopes of finding a solution.
I appeal to you, friend, to help achieve my dream.
Here are the errors: (These are also attached on GitHub at the link below)
//Note: I used Bochs 2.6 on Windows 7 Starter.
//All seems to work well, until this block of code appears at the ‘Bochs for Windows – Console’
$
00014214355i[FDD ] attempt to read/write sector 1 with media not present
00022196820i[FDD ] controller reset in software
00022250690p[BIOS ] >>PANIC<< No bootable device.
00022251997i[CPU0 ] WARNING: HLT instruction with IF=0!
00050400001e[WGUI ] Sim client size(0, 0) != stretched size(720, 400)!
//This is what I get in ‘Bochs for Windows – Display’ again all works well until
Booting from Floppy...
Boot failed: could not read the boot disk
FATAL: No bootable device.
Please help
The code is attached here, along with the error messages, the file conversion commands, and the PDF I studied from: https://github.com/ThatOneDirectory/OS-Failed-Attempt
John Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.