The Third 512-byte OS Contest!

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).

Which one is the best?

Poll ended at Sat May 30, 2009 8:37 am

Dex's mouse driver
7
39%
Masterkiller's memory browser
2
11%
Inflater's low level formatter
1
6%
scgtrp's etch-a-sketch
2
11%
salil's port access tool
0
No votes
Zenith's music/graphics demo
6
33%
 
Total votes: 18

User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: The Third 512-byte OS Contest!

Post by Coty »

lol, yeah, though I don't know how to do that :lol:
My hero, is Mel.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: The Third 512-byte OS Contest!

Post by Troy Martin »

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
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: The Third 512-byte OS Contest!

Post by Coty »

whats that do?
My hero, is Mel.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: The Third 512-byte OS Contest!

Post by Troy Martin »

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
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: The Third 512-byte OS Contest!

Post by Coty »

Is this for NASM or ? (I am used to the FASM win32 assembler)
My hero, is Mel.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: The Third 512-byte OS Contest!

Post by Troy Martin »

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
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: The Third 512-byte OS Contest!

Post by Coty »

I have never used a dissasembler
My hero, is Mel.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: The Third 512-byte OS Contest!

Post by Dex »

Not much of a compo, if you do not announce the winner.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: The Third 512-byte OS Contest!

Post by Troy Martin »

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
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: The Third 512-byte OS Contest!

Post by Coty »

Do these count as tokens?
* * * * * * * * * * * * * * * * * * * *

any way congrats Dex. =D>
My hero, is Mel.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: The Third 512-byte OS Contest!

Post by Dex »

Thanks, i am supprized to win as that PC speaker demo looked good, it must be all the free code i post :lol:
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: The Third 512-byte OS Contest!

Post by Coty »

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.
User avatar
Masterkiller
Member
Member
Posts: 153
Joined: Sat May 05, 2007 6:20 pm

Re: The Third 512-byte OS Contest!

Post by Masterkiller »

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...
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: The Third 512-byte OS Contest!

Post by Coty »

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.
User avatar
Zenith
Member
Member
Posts: 224
Joined: Tue Apr 10, 2007 4:42 pm

Re: The Third 512-byte OS Contest!

Post by Zenith »

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:
MusicDemo.asm
(5.09 KiB) Downloaded 152 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."
Post Reply