OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 2:29 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Which one is the best?
Poll ended at Sat May 30, 2009 8:37 am
Dex's mouse driver 39%  39%  [ 7 ]
Masterkiller's memory browser 11%  11%  [ 2 ]
Inflater's low level formatter 6%  6%  [ 1 ]
scgtrp's etch-a-sketch 11%  11%  [ 2 ]
salil's port access tool 0%  0%  [ 0 ]
Zenith's music/graphics demo 33%  33%  [ 6 ]
Total votes : 18
Author Message
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 4:23 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
lol, yeah, though I don't know how to do that :lol:

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 4:26 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
ndisasm -b16 boot.bin | more

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 4:53 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
whats that do?

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 4:54 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
Disassembles boot.bin as if it were 16-bit code and pumps it to more, paging it one screen at a time. You should be able to figure that out.

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 5:00 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
Is this for NASM or ? (I am used to the FASM win32 assembler)

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 5:03 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
NASM, but the rules are generally the same for any disassembler.

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 5:06 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
I have never used a dissasembler

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon Jun 01, 2009 8:29 am 
Offline
Member
Member
User avatar

Joined: Fri Jan 27, 2006 12:00 am
Posts: 1444
Not much of a compo, if you do not announce the winner.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon Jun 01, 2009 8:37 am 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
Ego much?
Congratz, Dex, here are your twenty invisible tokens! :mrgreen:

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon Jun 01, 2009 8:53 am 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
Do these count as tokens?
* * * * * * * * * * * * * * * * * * * *

any way congrats Dex. =D>

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon Jun 01, 2009 9:08 am 
Offline
Member
Member
User avatar

Joined: Fri Jan 27, 2006 12:00 am
Posts: 1444
Thanks, i am supprized to win as that PC speaker demo looked good, it must be all the free code i post :lol:


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon Jun 01, 2009 9:24 am 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
Well, the speaker demo didn't have its source included, So there was no posible way for me to learn from it... And the fact is, you made the worlds smallest GUI.

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon Jun 01, 2009 2:16 pm 
Offline
Member
Member
User avatar

Joined: Sat May 05, 2007 6:20 pm
Posts: 153
Coddy wrote:
Well, the speaker demo didn't have its source included, So there was no posible way for me to learn from it...


Actually I dissassebled it and I noticed a call to INT 0x1A (I have never looked this interrupt number before). I found that the BIOS supports timers there (commonly based on the PIT) and I used it in my OS boot menu :D The speaker demo has 1 vote from me.
Lol, I have never expect even one vote to my program if I follow the rule to not vote for myself... And I have two votes, I am progressing in the os development (happy)

_________________
ALCA OS: Project temporarity suspended!
Current state: real-mode kernel-FS reader...


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon Jun 01, 2009 4:28 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
well, when I disassembled it I got a total of 33 lines of ??? so I am guessing that meens it does not know :?

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon Jun 01, 2009 4:42 pm 
Offline
Member
Member
User avatar

Joined: Tue Apr 10, 2007 4:42 pm
Posts: 224
Congratulations, Dex! Impressive demo you had there, and I guess the best "OS" won. (But to be honest, I thought I had a pretty good chance at first. Did I actually forget to include the source!? #-o)

I was away last week for 5 days sailing around the Gulf Islands in British Columbia (Canada) as part of a school-sponsored trip, so when I got back the voting had JUST finished and so t'was too late to right the wrongs and possibly win me a compo. But on the other hand, I guess the rickroll would've been too obvious if you read through the source beforehand. 8)

Here you guys go:

Attachment:
MusicDemo.asm [5.09 KiB]
Downloaded 136 times

There's actually no real compression involved, though the way I stored the song is I guess... creative? The first four bits of a note would represent the actual tone (an index to a bunch of frequencies) AS WELL as the 16-bit VGA color - 2 of the note AND the position it occupied on the screen (efficient, no?). The last four bits was used in a tick-checking loop to give the note the appropriate length. A 0 would indicate text to print, followed by a number which would help indicate the memory offset to start printing on, and then followed by the text (terminated by another 0). Two 0s would denote the end of the song, causing the entire song to loop again. :D

_________________
"Sufficiently advanced stupidity is indistinguishable from malice."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 47 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group