Page 2 of 5
Re: The Fourth 512-byte OS Contest!
Posted: Sat Dec 26, 2009 6:40 pm
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)
Re: The Fourth 512-byte OS Contest!
Posted: Sat Dec 26, 2009 6:58 pm
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.
Re: The Fourth 512-byte OS Contest!
Posted: Sat Dec 26, 2009 7:59 pm
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.
That is by far the most confusing website I have ever seen... Could someone please "translate" it's horrible UI for me?
Re: The Fourth 512-byte OS Contest!
Posted: Sat Dec 26, 2009 9:54 pm
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.
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.
Re: The Fourth 512-byte OS Contest!
Posted: Sat Dec 26, 2009 11:12 pm
by Gigasoft
Here's another little thing I made. A fractal with scrolling 3D text. I've tested it in Bochs and VMWare.
Re: The Fourth 512-byte OS Contest!
Posted: Sun Dec 27, 2009 12:47 am
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?
Re: The Fourth 512-byte OS Contest!
Posted: Sun Dec 27, 2009 10:05 am
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.
Re: The Fourth 512-byte OS Contest!
Posted: Sun Dec 27, 2009 12:49 pm
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.
Re: The Fourth 512-byte OS Contest!
Posted: Sun Dec 27, 2009 7:00 pm
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.
Re: The Fourth 512-byte OS Contest!
Posted: Sun Dec 27, 2009 11:16 pm
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..
Re: The Fourth 512-byte OS Contest!
Posted: Mon Dec 28, 2009 12:01 am
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?
Re: The Fourth 512-byte OS Contest!
Posted: Mon Dec 28, 2009 12:06 am
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
Re: The Fourth 512-byte OS Contest!
Posted: Mon Dec 28, 2009 8:37 am
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.
Just some ideas, but Really being able to say "I won" should be enough for anyone
Re: The Fourth 512-byte OS Contest!
Posted: Mon Dec 28, 2009 12:09 pm
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.
Re: The Fourth 512-byte OS Contest!
Posted: Mon Dec 28, 2009 12:55 pm
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..