The Fourth 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).

What is your favorite entry for the fourth 512-byte OS contest ?

Poll ended at Sun Jan 31, 2010 6:52 am

waveos by waga
1
6%
wordsmith by coddy
0
No votes
mon86 by a427
6
35%
bsantm by Gigasoft
2
12%
scrollroad by MessiahAndrw
2
12%
fractalscroll by Gigasoft
1
6%
snake by Cjreek
0
No votes
ethernet by XanClic
3
18%
spatiallife by Krap
2
12%
terrain/butterfly by js
0
No votes
 
Total votes: 17

earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: The Fourth 512-byte OS Contest!

Post by earlz »

MessiahAndrw wrote:
earlz wrote:I think I'll try this one.. but when is it due? I would really like to make some extremely self-modifying 512 byte OS... I'm not quite sure what I could do in 512 bytes though... a compiler is pretty much out of the question lol
I think I see what you're trying to do. I think you'll end up being able to fit less into the binary if you're trying to fit a compiler + byte code, unless the byte code was really high level that it cut out 5+ assembly instructions. I also thought about doing compression, but the overhead of the decompression algorithm would probably remove more space than I gain.
Well if x86 was dword aligned or something, then it could be possible to do like a "macro bytecode" thing where certain word/dwords expanded to multiple instructions(where the savings are significant) but it's not possible because of variable length instructions and no alignment and such..

and I thought about a byte code, but as you said, I doubt I could make it so that it didn't use more space..

I'm wanting to make something though to do with self modifying code.. but idk what.. maybe an extremely simple genetic algorithm or something(if that is even possible in 512 bytes)
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: The Fourth 512-byte OS Contest!

Post by AndrewAPrice »

I've already got enough ideas for the fifth 512-byte contest! (Assuming there's only 1 entry per person allowed.) It's amazing how some of these demos are able to fit into 512 bytes. :shock:
My OS is Perception.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: The Fourth 512-byte OS Contest!

Post by earlz »

MessiahAndrw wrote:I've already got enough ideas for the fifth 512-byte contest! (Assuming there's only 1 entry per person allowed.) It's amazing how some of these demos are able to fit into 512 bytes. :shock:
That is by far the most confusing website I have ever seen... Could someone please "translate" it's horrible UI for me?
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: The Fourth 512-byte OS Contest!

Post by AndrewAPrice »

earlz wrote:
MessiahAndrw wrote:I've already got enough ideas for the fifth 512-byte contest! (Assuming there's only 1 entry per person allowed.) It's amazing how some of these demos are able to fit into 512 bytes. :shock:
That is by far the most confusing website I have ever seen... Could someone please "translate" it's horrible UI for me?
The website hosts a lot of demoscene demos. At the top of the page are two list boxes that are used to filter the demos that are shown. The left is the category (I selected 512 bytes, since it matched the boot sector), the right is the platform (I selected MS-DOS since it is the closest thing to running on bare metal).

In the middle they list the demos the above filters returned (so 512 byte MS-DOS demos), and at the bottom are your next page/previous page/jump to page buttons. Click on a demo's title (left column) to go to that specific demo's page. On the demo's page you can see a screenshot along with comments at the bottom, and a [download] link to the right of the screenshot.

My boot sector looks so primitive compared to some of these.
My OS is Perception.
Gigasoft
Member
Member
Posts: 856
Joined: Sat Nov 21, 2009 5:11 pm

Re: The Fourth 512-byte OS Contest!

Post by Gigasoft »

Here's another little thing I made. A fractal with scrolling 3D text. I've tested it in Bochs and VMWare.
Attachments
fractal.zip
(1.59 KiB) Downloaded 468 times
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: The Fourth 512-byte OS Contest!

Post by AndrewAPrice »

Gigasoft wrote:Here's another little thing I made. A fractal with scrolling 3D text. I've tested it in Bochs and VMWare.
That's very nice. I notice you (as well as a small minority of assembly programmers on this forum) do not indent, nor comment, nor space out your lines, nor do anything to assist readability. Do you actually write your code like that, or do you strip away everything before uploading it?
My OS is Perception.
Gigasoft
Member
Member
Posts: 856
Joined: Sat Nov 21, 2009 5:11 pm

Re: The Fourth 512-byte OS Contest!

Post by Gigasoft »

Well, that's how I write it. I usually don't have a need for comments etc. when I'm writing something since I know in my head what everything does.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: The Fourth 512-byte OS Contest!

Post by 01000101 »

Gigasoft wrote:Well, that's how I write it. I usually don't have a need for comments etc. when I'm writing something since I know in my head what everything does.
That's just... backwards. :?

Anyways, maybe I missed the expiration date for this contest as I may have an idea or two worth trying out. The last contest that I did here was quite fun.
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: The Fourth 512-byte OS Contest!

Post by AndrewAPrice »

01000101 wrote:Anyways, maybe I missed the expiration date for this contest as I may have an idea or two worth trying out. The last contest that I did here was quite fun.
I'm not sure if it's officially started yet. You certainly haven't missed out.
My OS is Perception.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: The Fourth 512-byte OS Contest!

Post by earlz »

I think it would be neat to have a "Real" 512 OS compo. Like one with prizes and official judges and such.. and where the results were posted somewhere other than a forum..
User avatar
scgtrp
Member
Member
Posts: 30
Joined: Sat Mar 28, 2009 7:32 pm

Re: The Fourth 512-byte OS Contest!

Post by scgtrp »

^^ Why? Prizes would require someone to buy them, and I see no reason to post the results of a forum.osdev.org event anywhere but forum.osdev.org.

Also, since this appears to have become the entry submission thread, I suppose I'll throw something together. Do we have a deadline?
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: The Fourth 512-byte OS Contest!

Post by AndrewAPrice »

earlz wrote:I think it would be neat to have a "Real" 512 OS compo. Like one with prizes and official judges and such.. and where the results were posted somewhere other than a forum..
+1
My OS is Perception.
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: The Fourth 512-byte OS Contest!

Post by Coty »

earlz wrote:I think it would be neat to have a "Real" 512 OS compo. Like one with prizes and official judges and such.. and where the results were posted somewhere other than a forum..
Well I could offer to host it on a sub domain ? As for the prizes Idea you could give the copyright of all the other OSes to the winner. :P

Just some ideas, but Really being able to say "I won" should be enough for anyone :|
My hero, is Mel.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: The Fourth 512-byte OS Contest!

Post by 01000101 »

I would not opt for judges as it's easier and more sensible to just let the community decide (and it's worked in the past). As for the prizes, I have absolutely no idea, and as there hasn't been a prize before I don't see a reason to have one this iteration.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: The Fourth 512-byte OS Contest!

Post by earlz »

01000101 wrote:I would not opt for judges as it's easier and more sensible to just let the community decide (and it's worked in the past). As for the prizes, I have absolutely no idea, and as there hasn't been a prize before I don't see a reason to have one this iteration.
Yes, like a voting system then would be just as well... (and maybe with categories?)

and by prizes I mean that a competition becomes a lot more formal with prizes. For instance, putting "I won the 4th annual 512 byte OS competition" on your resume at the moment means next to nothing because it's all very informal and for all anyone knows it could've just been a big rigged event that took place without moderator's knowing or anything..
Post Reply