Page 2 of 12
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Feb 21, 2014 12:39 pm
by h0bby1
the very first thing that got me into it is when i booted a floppy with a drivers that initalized audio card and modulated a sinus on keyboard input, in 100% asm with a short pci scan , on real hardware with a via integrated sound card
then when i got it to run on virtual machine, it make development so much easier
then when i implemented my abi, and was able to convert .dll and .so to this format with the dynamic linking and relocation to load binaries 'in place' and resolve import/export at load time, to run binaries compiled from C code
then when implemented the whole base memory system with the allocation, memory pointer reference and tree/node system on which everything else is based
then when i implemented usb, it was the only thing that i was very fearful about, because it's something i was totally unfamiliar with unlike video and audio and multimedia things, and it took me hell of time to figure it out, but now it works well
then when i got the font and image system to work
now i just finished multi tasking, and i have to finish the windows event management
the next big wow will be when i'll have networking operational, and able to stream an audio or video file =) and implement all server functionalities =)
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Feb 21, 2014 1:01 pm
by Pancakes
h0bby1 wrote:...then when i implemented usb, it was the only thing that i was very fearful about, because it's something i was totally unfamiliar with unlike video and audio and multimedia things, and it took me hell of time to figure it out, but now it works well.....
.....the next big wow will be when i'll have networking operational, and able to stream an audio or video file =) and implement all server functionalities =)...
Oh, man that is awesome. I have not done a lot of work with USB or PCI, only very little. Yes, will be awesome when you can stream audio or video file across the network! Yea, when I found out there existed emulators it was a great moment because it did make it so much easier to test.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Feb 21, 2014 1:09 pm
by h0bby1
and as i use the ndis system of windows, i can just pick up network drivers for any pci or usb network device that has windows drivers, like the ndiswrapper of linux, just need to parse a .ini file and do a little work, but then it can load up any windows drivers with the ndis layer emulation
as i already have code to decode and playback video, and handling also streaming over networking, same for audio, and icecast things, i just wonder about camera how that work, or if maybe directshow driver can be loaded, vlc can load and use directshow codec, but i'm not sure how it works for webcam or firewire video aquisition device, that could be plugged into an icecast like thing, to have live video streaming
also one of next step is to work out with X11 ddx drivers for having yuv conversion, overlay, hardware resize, and that sort of things, it will be the next big piece of things
after that i can start coding some serious apps =)
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Sat Feb 22, 2014 10:56 am
by halofreak1990
My greatest "AWWWW YEAH! moment" was when I successfully managed to boot the second CPU in my dual core laptop.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Mar 07, 2014 1:48 pm
by onlyonemac
I think I was pretty impressed with myself when I managed to crash my PC into an infinite loop of displaying green smiley faces (just a coincidence, honest!) from the boot sector of a floppy disk. And it wasn't supposed to be an infinite loop anyway.
Then there was the time I got my real CPU into protected mode. I had spent weeks battling through incomplete online tutorials and muddled reference information (half of which made reference to DOS) before even drafting up my GDT, then I finally got to the stage where I got executable code out of the thing and got Bochs to display an "A" (this time without infinite loop) without triple-faulting. Then I booted my real PC from it.
Now my next milestone is to get the kernel to load a user program and run it... (actually not too far off, relatively speaking)
Octocontrabass wrote:My most recent? Writing to video memory from the boot sector of a floppy disk.
...on a Macintosh Quadra 605.
You're also into old Macs? I've got a Performa 475 (coincidentally the home version of the Quadra 605), but I haven't done any low-level work on it. I enjoy the Macintosh for what it is: unsurpassable, in my opinion. Anyway, are you on the 68kMLA forums? (I am.)
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Mar 07, 2014 9:36 pm
by Octocontrabass
onlyonemac wrote:You're also into old Macs? I've got a Performa 475 (coincidentally the home version of the Quadra 605), but I haven't done any low-level work on it. I enjoy the Macintosh for what it is: unsurpassable, in my opinion. Anyway, are you on the 68kMLA forums? (I am.)
I wouldn't say I'm into old Macs so much as old computers in general. I'm not on any Mac-related forums.
As far as design goes, I'm thinking System 7 could have really benefited from proper user/supervisor separation. I've barely used it and already managed to crash it a few times!
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Thu Mar 20, 2014 12:11 pm
by onlyonemac
I'd say as a user I find it pretty stable, but maybe not so much as a programmer...
Apple did stress in their programmer's reference documentation that it is OUR responsibility to check for NULL pointers, and to be honest with you I think that encourages better coding practice, as otherwise people rely on protection systems and we just get a bunch of GPFs (which is my experience with Windows 3.1).
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Tue Apr 22, 2014 1:36 pm
by onlyonemac
Recently I remapped the PIC without realising that I had just reached my second milestone in my development process! I figured it out one evening when I was messing around with interrupts.
P.S. It seems that it's not actually necessary to remap the PIC if you aren't trying to catch processor exceptions. At least that's how it goes in Bochs.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Wed Apr 23, 2014 10:58 am
by Jezze
Yeah but why wouldnt you want to be able to do that?
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Thu Apr 24, 2014 5:25 am
by onlyonemac
Because I'm too lazy to write exception handlers at present
. I'd rather spend my time actually making it
do stuff, rather than writing a pile of exception handlers which I can't exactly test very well in any case.
If I find I'm getting a lot of triple-faults then I might go back and add the exception handlers.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Thu Apr 24, 2014 6:07 am
by Bender
onlyonemac wrote:Because I'm too lazy to write exception handlers at present
. I'd rather spend my time actually making it
do stuff, rather than writing a pile of exception handlers which I can't exactly test very well in any case.
If I find I'm getting a lot of triple-faults then I might go back and add the exception handlers.
Good luck then, at least with debugging.
It doesn't take much time for writing exception handlers, there are just 31 and out of that you have some reserved ones. In my OS (for now) I just print some characters ('G' for GPF, 'D' for DF, etc.) and do the appropriate operations. You may wish to add an infinite loop.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Apr 25, 2014 10:56 am
by onlyonemac
As I said, if I feel that exception handlers are necessary then I'll go back and add them. But for now the PICs out of the exception handlers' way.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Apr 25, 2014 11:31 am
by iansjack
You can't be bothered to write exception handlers? Are you serious? I suspect that you are substituting "can't be bothered to" for "don't understand how to". I see little chance of you having any success in OS development. And I do hope you are not going to come back here asking questions that arise as a consequence.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Apr 25, 2014 11:43 am
by DavidCooper
What he probably means is that he hasn't needed any thus far because he's still able to spot his mistakes easily whenever there's a tripple fault. I have never bothered to write exception handlers for the same reason, but if random crashes start to happen and I can't find them easily, I'll maybe do something about it then.
Re: What's your OSDev AWWWW YEAH! moment?
Posted: Fri Apr 25, 2014 11:49 am
by iansjack
I'd agree with that but for the fact that the same poster has asked in the past how he can know which instruction is causing a GPF. That's the sort of question that I hope won't be asked again by someone who can't be bothered with exception handlers.