What's your OSDev AWWWW YEAH! moment?

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

What's your OSDev AWWWW YEAH! moment?

Post 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", :P.
After 2-3 days of researching and changing the code randomly, this was that moment when I saw that 'A' on that screen!
Image
AWWWWWWWWWW YEAH!
So what are your AWWW YEAH! moments?
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
b.zaar
Member
Member
Posts: 294
Joined: Wed May 21, 2008 4:33 am
Location: Mars MTC +6:00
Contact:

Re: What's your OSDev AWWWW YEAH! moment?

Post 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.
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: What's your OSDev AWWWW YEAH! moment?

Post 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.
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: What's your OSDev AWWWW YEAH! moment?

Post 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.
User avatar
Jezze
Member
Member
Posts: 395
Joined: Thu Jul 26, 2007 1:53 am
Libera.chat IRC: jfu
Contact:

Re: What's your OSDev AWWWW YEAH! moment?

Post by Jezze »

Besides actual features, getting starred by 20 people on github and also receving a pull request.
Fudge - Simplicity, clarity and speed.
http://github.com/Jezze/fudge/
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: What's your OSDev AWWWW YEAH! moment?

Post 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!
Kevin
Member
Member
Posts: 1071
Joined: Sun Feb 01, 2009 6:11 am
Location: Germany
Contact:

Re: What's your OSDev AWWWW YEAH! moment?

Post 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).
Developer of tyndur - community OS of Lowlevel (German)
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: What's your OSDev AWWWW YEAH! moment?

Post 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.
User avatar
bwat
Member
Member
Posts: 359
Joined: Fri Jul 03, 2009 6:21 am

Re: What's your OSDev AWWWW YEAH! moment?

Post 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!".
Every universe of discourse has its logical structure --- S. K. Langer.
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Re: What's your OSDev AWWWW YEAH! moment?

Post by mathematician »

I have usually been too busy cursing it, to have an awwww moment when something works.
The continuous image of a connected set is connected.
Octocontrabass
Member
Member
Posts: 5517
Joined: Mon Mar 25, 2013 7:01 pm

Re: What's your OSDev AWWWW YEAH! moment?

Post by Octocontrabass »

My most recent? Writing to video memory from the boot sector of a floppy disk.

...on a Macintosh Quadra 605.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: What's your OSDev AWWWW YEAH! moment?

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
siavoshkc
Member
Member
Posts: 40
Joined: Wed Feb 19, 2014 11:10 am

Re: What's your OSDev AWWWW YEAH! moment?

Post 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.
Check out my FSB Data Integrity Tester at http://fsbdit.sourceforge.net/.

Siavosh
h0bby1
Member
Member
Posts: 240
Joined: Wed Aug 21, 2013 7:08 am

Re: What's your OSDev AWWWW YEAH! moment?

Post 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 :D

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
User avatar
Pancakes
Member
Member
Posts: 75
Joined: Mon Mar 19, 2012 1:52 pm

Re: What's your OSDev AWWWW YEAH! moment?

Post 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.
Post Reply