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).
Post Reply
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

512-byte OS Contest

Post by Troy Martin »

http://forum.osdev.org/viewtopic.php?f=15&t=18746 wrote:
Dex wrote:We had a 512byte compo on the fasm forum many moons a go .... maybe we could have another one here ?
Troy Martin wrote:We should lay down some rules though ....
The Second 512-byte OS Contest
(The first was at http://board.flatassembler.net/topic.php?t=2164)
We're having some serious poll issues, the poll options are doubling and disappearing O.o
Rules:
  • Entries must be in by Jan. 6th, 2009 at midnight PST (GMT-8)
  • Winner is decided by public vote on Jan. 6-9th, polls closed 10th and winner is decided
  • Must be your own code
  • MUST fit in 512 bytes (including 0x55 0xAA)
  • You don't need to keep the previous filesystem and BPB intact
  • Must have some kind of interface
Code your OS, .zip it up, PM it to me, and I'll post it here. Any questions on the rules or anything, post here!

Entries:
Last edited by Troy Martin on Wed Jan 07, 2009 9:38 am, edited 18 times in total.
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
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: 512-byte OS Contest

Post by 01000101 »

Jan 3rd?! that's really soon.

also, it needs to be a OS that fits in a bootsector correct? so does that also mean no GRUB?

[edit]criteria for winning?[/edit]
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: 512-byte OS Contest

Post by Troy Martin »

No GRUB allowed. Must fit in the boot sector.

Basic criteria:
  • Fits in 512 bytes
  • Has boot signature (dw 0xAA55)
  • More functionality, the better
  • Please note that the entries will be judged by the public
E, I'm expecting long mode in a boot sector from you :D
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
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: 512-byte OS Contest

Post by 01000101 »

lol yeah, I'm probably going to do 64-bit, but then again, with limited space, I may not be able to produce a feature-rich bootstrap in long mode lol.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: 512-byte OS Contest

Post by Troy Martin »

Bet you can fit at least a pmode keyboard driver in a sector.
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
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: 512-byte OS Contest

Post by 01000101 »

lol yeah,
so I'm assuming I'll be seeing 186-compatible code and BIOS trickery? =)
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: 512-byte OS Contest

Post by Dex »

That much too short a time, you need to give at least a month or two.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: 512-byte OS Contest

Post by Troy Martin »

Hell yeah!

Dex: A month? for writing 512 bytes of code? My entry's almost done, just got to think of something to fill up 50 bytes with...
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
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: 512-byte OS Contest

Post by 01000101 »

a month max... this is a contest and should put the pressure on people.
I've spent about 20 minutes on mine and I've already filled ~100bytes, so I doubt it would take anyone such a lengthy period of time.

I agree that 4 days is a bit... short lol.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: 512-byte OS Contest

Post by piranha »

I vote 1 week, even though I wont be entering

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: 512-byte OS Contest

Post by Dex »

The trick is
1. Thinking what you want to code.
2. Than coding it, it should fill say 1.5-2k.
3. Than you optimize, it to fit into a boot sector eg: 512bytes.

If you can code it in a short time, than it will not WIN, you need to show what you can do, if you can just code it in 3 days, its will not show anyone anything other than you know ASM.
For example, try fiting a working tetris game in 512bytes, which is not easy, but it only came 5th in the last compo and that was by the coder of FASM.
Plus the more that enter it, the better, the word will take more than a week to get round.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: 512-byte OS Contest

Post by 01000101 »

excellent point on getting the word around.

I vote 1-2 weeks.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: 512-byte OS Contest

Post by Troy Martin »

By popular vote the due date is a week from today. Midnight PST, January 6th, 2009.
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
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: 512-byte OS Contest

Post by VolTeK »

thanks for getting the word around troy, i will work on mine tonight
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: 512-byte OS Contest

Post by Troy Martin »

Nifty, that makes it three people so far!
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
Post Reply