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
AndrewAPrice
Member
Member
Posts: 2297
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

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

Post by AndrewAPrice »

This is a continuation of my above post.

I now have the ability to read the contents of files on an ISO 9660 filesystem (Rock Ridge long file names are supported) on an ATAPI CD!
ml1.png
ml1.png (10.9 KiB) Viewed 8706 times
There is a shell thread that does the reading & writing, a file system thread, and a device driver thread. I have an asynchronous API (you hand a callback to IO operations, they don't return anything immediately) - unfortunately it's messy to write that way in C.
My OS is Perception.
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

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

Post by SpyderTL »

AWWW YEAH!!

Just got assigned my first DHCP IP Address!!

Look out, Internet. Your new master has arrived!

:twisted:
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

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

Post by SpyderTL »

AWWW YEAH!

Just got my first HTTP GET / HTML/1.1 response back from www.microsoft.com and dumped it to the screen...
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

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

Post by SpyderTL »

I got a complete web page from http://www.osdev.org!

AWWWW YEAH!

I think I'm going to take a break from networking for a while and work on playing PCM audio.

I'm trying to decide to start with something simple and go with a simple SoundBlaster 16 driver, or just go ahead and bite the bullet and write an HD Audio driver. I'll eventually do both, but which one should I start with?

SB16 is probably simpler, overall, but it does rely on the old DMA controller. I assume that HD Audio uses PCI bus master and buffer lists, which may actually be easier to code for than DMA.

What do you guys think?
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
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 »

Bite the bullet. Old things are a waste of time. Intel HD Audio supports a lot of real hardware.
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

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

Post by Kazinsal »

And for that hardware which doesn't, AC97 is supported by just about anything. Anything much older than that and you're into Pentium pre-MMX territory.
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 »

Wasn't it the problem with in particular AC97 and possibly HDA as well that they are just bus controllers, and you still had to support the individual devices of the whole myriad that could be wired behind the front controller (pretty much functioning like USB without hotplugging features and not actually being one-driver-fits-all)?
"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
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

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

Post by BrightLight »

Probably when I completed my custom filesystem "VectFS" specification and it booted from a USB stick on real hardware :)
Aw yeaahh :D
You know your OS is advanced when you stop using the Intel programming guide as a reference.
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

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

Post by Kazinsal »

Combuster wrote:Wasn't it the problem with in particular AC97 and possibly HDA as well that they are just bus controllers, and you still had to support the individual devices of the whole myriad that could be wired behind the front controller (pretty much functioning like USB without hotplugging features and not actually being one-driver-fits-all)?
That is a problem, but for AC97, almost every sound card/motherboard sound device uses one of Realtek's AC97 ICs. The ALC101 is about as bare as you get (16-bit/48kHz out, two channels, three line-level stereo in, one mic in, amplified stereo line out, external clock), while the ALC202 and 203 have things like 20-bit DACs, 96kHz SPDIF out, internal crystal/clock, etc. Targeting the ALC101 would probably get you sound on most AC97-compatible motherboards.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

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

Post by bubach »

I probably have 3, first time I booted a simple hello world bootsector. First time in protected mode. And more recently when my VFS and FAT12 code was at the ls/dir and type/cat stage. Sadly lost all that code, which made me shelf the whole OS for another 2 years. Hard to keep away much longer then that though! Seem to always circle back. :wink:
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
charsleysa
Posts: 6
Joined: Wed Jan 21, 2015 4:19 pm

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

Post by charsleysa »

Got drivers loading through Reflection, AWWWW YEAH!
MOSA Project - v1.4
MOSA Project - v1.4
Peterbjornx
Member
Member
Posts: 116
Joined: Thu May 06, 2010 4:34 am
Libera.chat IRC: peterbjornx
Location: Leiden, The Netherlands
Contact:

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

Post by Peterbjornx »

Getting this from the serial out of my old cellphone:

Code: Select all


posnk armv7_loader built on Mar  8 2015 20:42:11
initial state:
r0: 0x0, r1: 0x7A3, r2:0x80000100
physmm: initializing...
parsing atags...
physmm: registering ram area 0x80000000-0x88000000
physmm: registering ram area 0x88000000-0x90000000
physmm: registered 256 MB RAM
physmm: 255 MB available

User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

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

Post by Candy »

- Seeing a Raspberry Pi output my text with my software-defined font to HDMI in 1080p on the first try
- Finding out why it takes a few million opcodes to switch to the idle task, to find out that there are two different bugs interacting in perfect unison to produce the right behaviour. One was following an uninitialized pointer, the other mapped pages in on-demand (without clearing them).
- Booting a computer into long-mode directly from your own loader when all docs at the time said you couldn't.
- Seeing a directory listing from my own code.
- Having GCC compile with a special myos target without any problems.
Peterbjornx
Member
Member
Posts: 116
Joined: Thu May 06, 2010 4:34 am
Libera.chat IRC: peterbjornx
Location: Leiden, The Netherlands
Contact:

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

Post by Peterbjornx »

task switching on ARM
Image
Post Reply