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

a427
Member
Member
Posts: 40
Joined: Sun Mar 15, 2009 9:45 pm

Re: The Fourth 512-byte OS Contest!

Post by a427 »

@js: Are you in the process to submit an entry you're still working on,
or do you intend to compete with your snake-like (gfx mode) demo shipped with your nifty kb input trick ?

(because I've started listing all submitted entries in the main post of this topic)

remember, deadline is jan 15th 2010
js
Member
Member
Posts: 38
Joined: Thu Feb 26, 2009 1:45 am

Re: The Fourth 512-byte OS Contest!

Post by js »

a427 wrote:@js: Are you in the process to submit an entry you're still working on,
or do you intend to compete with your snake-like (gfx mode) demo shipped with your nifty kb input trick ?
I'm still working on it, this was just a tip for other competitors.
a427 wrote:remember, deadline is jan 15th 2010
I know, thanks :) .

Cheers.

EDIT :
@XanClic I forgot to say I was impressed that you managed to fit some network communication in only 312 bytes... If I have time [ which I never have], I'd like to make a joke based on your bootsector... I hope you don't mind ?
Last edited by js on Wed Jan 06, 2010 4:58 pm, edited 1 time in total.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: The Fourth 512-byte OS Contest!

Post by Dex »

Nice work XanClic 8).

I am too busy with the next release of DexOS, but good luck to all who enter.
js
Member
Member
Posts: 38
Joined: Thu Feb 26, 2009 1:45 am

Re: The Fourth 512-byte OS Contest!

Post by js »

About the deadline hour, it's 15th january 2010 23h59 UTC, right ?
Or is it 15th january 2010 00h00 UTC ??? (owowow, I'mnotgonnamakeit :-p)

*actively working on my entry*
Krap
Posts: 3
Joined: Thu Jan 14, 2010 1:49 pm

Re: The Fourth 512-byte OS Contest!

Post by Krap »

Hi everybody,

I come a bit late, but not too late, so here's my compo !
It's been quite ready for 2 months, but i wanted to take time to improve it a bit and fix a few bugs, ... but no time for it :roll: , so here it is, as is.

It's named "The Imperial Couac !" ; it's a "scenarized" :mrgreen: Conway's game of life-like, with its wonderful (close your ears to avoid damage) soundtrack that gave its name to the program :lol:

So here's the binary :
TheImperialOuch.zip
The binary... Fun to make a zip bigger than its content ;-)
(637 Bytes) Downloaded 251 times
And here's the source code
TheImperialOuch.asm
The source...
(16.52 KiB) Downloaded 318 times
I must thank a427 for giving me the opportunity to get back my hands in assembly after more than 10 years (and for having threatened me of the most horrible things if i hadn't sent my code) ! It was sooooooo good :D

Good luck to everyone !
a427
Member
Member
Posts: 40
Joined: Sun Mar 15, 2009 9:45 pm

Re: The Fourth 512-byte OS Contest!

Post by a427 »

js wrote:About the deadline hour, it's 15th january 2010 23h59 UTC, right ?
Or is it 15th january 2010 00h00 UTC ??? (owowow, I'mnotgonnamakeit :-p)

*actively working on my entry*
The deadline is the 15th january 2010 23h59 UTC.
I mean we should theoretically close the contest for submission starting from the 16th january 2010 00h00 UTC.

This way, you get a little more time to join us !

I plan to open the poll starting from the 16th january, and let it go for 2 weeks.. (hoping that some people will vote in that period)

what do you think guys ?
js
Member
Member
Posts: 38
Joined: Thu Feb 26, 2009 1:45 am

Re: The Fourth 512-byte OS Contest!

Post by js »

a427 wrote:The deadline is the 15th january 2010 23h59 UTC.
I mean we should theoretically close the contest for submission starting from the 16th january 2010 00h00 UTC.
Pheeeew.... glad of that.
a427 wrote:I plan to open the poll starting from the 16th january, and let it go for 2 weeks.. (hoping that some people will vote in that period)
I wonder if competitors will be able to vote ?

[my life]
Yeeeeaaaaah !!! I managed to fit that darn heightmap function into 69 bytes ! I found myself singing and dancing around the room :lol:... luckily, nobody's there watching
[/my life]
a427
Member
Member
Posts: 40
Joined: Sun Mar 15, 2009 9:45 pm

Re: The Fourth 512-byte OS Contest!

Post by a427 »

js wrote: I wonder if competitors will be able to vote ?
Well I guess so...
Like a normal vote : every OSDev.org forum members interested in this contest should be able
to vote for their favorite 4th 512 byte asm compo entry..

Only once of course !

But I don't see why competitors couldn't vote, too...
(one could even vote for somebody else, if the competitor performed better ;-))

Anyway, this contest (compared to quok's one) has no money prize, and is only run for fun,
so I suppose we can tolerate such a loosely democratic poll... :-)
a427
Member
Member
Posts: 40
Joined: Sun Mar 15, 2009 9:45 pm

Re: The Fourth 512-byte OS Contest!

Post by a427 »

@js :

Are you in the process to submit your entry real soon, or should we close the submission and start the vote ?
js
Member
Member
Posts: 38
Joined: Thu Feb 26, 2009 1:45 am

Re: The Fourth 512-byte OS Contest!

Post by js »

my entry.
Attachments
512.txt
compiled bootsector with nasm
(512 Bytes) Downloaded 271 times
512.asm
assembly
(15.09 KiB) Downloaded 340 times
js
Member
Member
Posts: 38
Joined: Thu Feb 26, 2009 1:45 am

Re: The Fourth 512-byte OS Contest!

Post by js »

[EDIT]Use qemu -fda 512.txt to test it. I didn't try it with any other emulator or real machine, although it should work.[/EDIT]

DAMN THIS SLUGGISH COMPUTER ! I posted my entry one minute after deadline, I hope you'll still accept it.

Now for the description I didn't have time to put in my previous post :

Features
* Code is 456 bytes, so there's some space left for improvement (and I didn't squish my last hour of work, so you can assume it to be below 450 bytes actually).
* Draws a (fractal) 3D terrain in grayscale on the screen.
* Draws (fractal) trees on it
* Is interactive : you can move by pressing the Up/Down/Left/Right keyboard keys. Press one per frame though, as otherwise the BIOS will kindly buffer a dozen movements for you.

Non-features
* It's slow as hell. But since AFAIK, real mode code is executed by an emulated 8mhz chip by the processor, this explains that...
Those I didn't have time to implement :
* The sky isn't cleared at each frame, as a result the top of the trees stays there forever...
* I didn't use double-buffering, but I don't think there's enough space left to add that and the missing features below.
* The movement is parallel to your initial angle. Only a few instructions are missing to add rotation, though, since each column is computed as a rotation, starting from leftmost (or is it rightmost ?)
* Initially, I intended to display a (fractal) butterfly, with flapping wings, which would be the protagonist moving in the terrain. But I didn't have time to implement that *at all*, and now I see it's already 450 bytes, I doubt it will actually fit.
* The colormap is grayscale. I have done some experiments to use a nice gradient, but didn't have time to finish it / merge it.
* Talking about colors, I intended to have one gradient for the ground, another one for the butterfly, and maybe a third and fourth for the trees & sky.

The entry is named "butterfly", a reference to the should-have-been butterfly with flapping wings.

(my stupid browser crashed, I had to type everything again, grr...)
a427
Member
Member
Posts: 40
Joined: Sun Mar 15, 2009 9:45 pm

Re: The Fourth 512-byte OS Contest!

Post by a427 »

@js: Yeah don't worry, your entry has been accepted, and is in the process of being validated the exact same way I did for other entries.
(watch out your PM !)

So now the submission process is officially closed, and I'm glad so much people took part in this fun competition
(we have 10 entries ! perfect for the poll system ;-))

Well, whatever the results, I hope you all had so much fun coding your entry as I did, and, once again,
thanks for your participation !!

I'll soon create the poll and let it run for about two weeks.

a427.
a427
Member
Member
Posts: 40
Joined: Sun Mar 15, 2009 9:45 pm

Re: The Fourth 512-byte OS Contest!

Post by a427 »

Now the poll is open to elect the best entry for the fourth 512-byte OS compo !!!

Please vote now for your favorite entry !!
(go to the first post to place your vote)
User avatar
~
Member
Member
Posts: 1226
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Re: The Fourth 512-byte OS Contest!

Post by ~ »

XanClic wrote:Hi,

This is my contribution to this contest. It's an OS running in real mode which is capable of sending an ARP network packet over an RTL8139 network card. That means you can resolve IP addresses to MAC addresses in the current LAN. Once it's started, you enter your IP and the IP to be resolved. Then it'll print your MAC and (hopefully :wink:) the destination's MAC address.
Does it work on any of the 8139 family cards, for example would it work in a Realtek 8139D? If so, your program could be among the 3 more practical ones that were posted here.
YouTube:
http://youtube.com/@AltComp126

My x86 emulator/kernel project and software tools/documentation:
http://master.dl.sourceforge.net/projec ... 7z?viasf=1
User avatar
XanClic
Member
Member
Posts: 138
Joined: Wed Feb 13, 2008 9:38 am

Re: The Fourth 512-byte OS Contest!

Post by XanClic »

It worked on my RTL8139C, I can't say anything about other non-qemu cards. :wink:
Post Reply