Page 1 of 12
What's your OSDev AWWWW YEAH! moment?
Posted: Sat Feb 01, 2014 9:39 pm
by Bender
After thinking on my coding for a while, I felt that I was just copy-pasting for no reason, so I decided to start
from scratch.
This time I've decided to make a 32-bit Operating System called BenderOS, but the problem came, as it usually comes,
after doing a far jump to fix CS, the infamous "Triple Fault",
.
After 2-3 days of researching and changing the code randomly, this was that moment when I saw that 'A' on that screen!
AWWWWWWWWWW YEAH!
So what are your AWWW YEAH! moments?
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Sat Feb 01, 2014 9:54 pm
by b.zaar
A few moments...
1. The first time I booted on real hardware. This was before I discovered Bochs & Qemu.
2. Having a working VM86 monitor and switching the graphics mode to 0x0013... VGA 256 baby!
3. The first time someone on the interweb downloded the image file.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Sat Feb 01, 2014 10:59 pm
by thepowersgang
For me, the biggest moment was when someone mentioned my OS as one of the "good" ones on the #osdev IRC channel. I realised that people were actually paying attention to what I was doing, and I had finally risen above the noise.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Sun Feb 02, 2014 1:48 am
by VolTeK
Completing the designs and nearly getting finished implementing features such as,
Multitasking (Pre-emptive for processes, Cooperative for Drivers, Drivers sat inside the kernel process),
Memory management (Down to the page, in bitmap) with one page overhead per allocation. Mapped out all 1MB for the kernel, additional memory drivers handled anything else (Above 1MB).
Small driver system (For installable file systems mainly, never got finished, and could only test it with dummy IFS drivers).
In assembler, for the 8086. I always loved the challenge of writing software for tech with very low resources. With good memory management techniques (and if you implement it, software based virtual memory), it's possible. But then i decided to work on other interesting projects that could help my future, and left it all about a year ago.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Sun Feb 02, 2014 2:42 am
by Jezze
Besides actual features, getting starred by 20 people on github and also receving a pull request.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Sun Feb 02, 2014 4:32 am
by bluemoon
Boot on real hardware (ancient macbook 1,2) - AWWW YEAH!
However, that was quickly went off, after boot loader spent a minute loading kernel and modules, it hangs on A20 enabling code - HOLY!
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Sun Feb 02, 2014 6:36 am
by Kevin
I guess the biggest single "AWWW YEAH!" moment was joining our IRC channel from tyndur for the first time.
The "Hello world" posting in the Lowlevel forum with a ported lynx wasn't bad either. Or listening to some .ogg file for the first time, even though the greatest part of the audio stuff wasn't even written by myself but by XanClic (credit where credit is due).
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Sun Feb 02, 2014 3:18 pm
by sortie
Mmm, you'll get to have a bunch of these moments as you osdev for years.
One of my biggest ones was running Quake on my OS on my desktop computer with graphics set to 1920x1080x32. It ran so smoothly that I forgot I was using my own OS and pressed Alt-Tab to switch to Firefox, just to realize nothing happened because I was not using Linux.
Other fun stuff includes doing stable releases of your OS, compiling your OS under itself, implementing features, posting screenshots of your OS, porting stuff to your OS, and so on.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Mon Feb 03, 2014 10:10 am
by bwat
When you have to look in your own reference manual to check up on how to use some feature you implemented years ago. You surprise yourself to find not only a good description but also pretty interesting example code. You think to yourself "I wrote that? Wow!".
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Mon Feb 03, 2014 11:48 am
by mathematician
I have usually been too busy cursing it, to have an awwww moment when something works.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Mon Feb 03, 2014 1:06 pm
by Octocontrabass
My most recent? Writing to video memory from the boot sector of a floppy disk.
...on a Macintosh Quadra 605.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Mon Feb 03, 2014 3:02 pm
by Combuster
mathematician wrote:I have usually been too busy cursing it, to have an awwww moment when something works.
Yea, there's not much instant gratification in this hobby. The last time I actually felt like I achieved something great was when I got the triangle setup operational on the Mach64 (for which there is no documentation). I've done a fair share of things since, but in this hobby most are just minor victories over established work.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Thu Feb 20, 2014 7:20 am
by siavoshkc
I read the clock from RTC in my OS. First checked if it is in BCD format by reading the related I/O. Then wrote a procedure for printing BCD numbers on screen. It was the first time I read from a device register with an I/O instruction and the clock shown on Bochs window was the same as my Win clock.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Feb 21, 2014 2:23 am
by h0bby1
just done with multi tasking, ata/atapi , and implementing acpica, hell yeah
now i'll use that on the window manager to have a real asyncrhonous event handling, for ui controls, and global window environment, disk browsing, etc
then enable the handling of PIC/APIC for multi cpu
then only will be missing to finish the ndis layer handling, and i'll got about all the basis done, with vga text/vesa, usb, ata/atapi, audio, graphic (image, filters, fonts, etc), and networking with windows drivers to handle all pci card and usb dongles
then i'll be able to start on the non kernel, system space base API for the user space apps, where i'll stick my raytracer, and bunch of dev tools like compiler/debuggers, to start working on real hardware to develop drivers for true graphic card
but it's clear it's ant work, need to read docs and plan ahead for 2 month to write 5 lines of code lol
well still plenty of minor things to improve and fix there and there, but i prefer to have at least all the functional basis implemented before to start getting into drastic debugging and polishing of all the base kernel interface
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Feb 21, 2014 11:49 am
by Pancakes
My best moment was:
1. the very first time I booted from a real floppy by the BIOS on the x86!! I had copied the code, LOL.
It would not have been possible with out this site. Well, back then it was on the megatokyo forums, but it is basically the same site. It is just that it changed owners. I think now with the wiki it is a major improvement! And, I appreciate Chase taking the time to keep the site running and I know he pays the bill which I appreciate. Also, would not have been possible with out the old guys who not only wrote the tutorials and sample code, but helped me when I ran into a problem that I just could not figure out on my own.
But, some of my other moments:
2. switching into protected mode
3. finally figuring the GDT/LDT tables out (years ago the bit ordering and byte ordering confused the hell out of me)
4. having a working paging system and separate address space for each process with some shared kernel memory
5. getting a barely working micro-kernel going (it needed tweaking but it did work)
6. figuring out hardware.. anytime I finally get a piece of hardware working I am excited (network, sound, graphics, PIC, timers, ..)
7. writing my first heap implementation and having it work
8. getting interrupts and exceptions working and having a system to share them in my kernel
9. first time I got code to execute on the an ARM processor (real processors and QEMU) [preface to kernel]
10. oh can not forget getting processes and threads working.. both kernel threads and user space processess
A bunch of exciting times! I love writing system software, kernels, and trying to write an operating system.