OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:10 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 107 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 1:47 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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:

_________________
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


Last edited by Troy Martin on Wed Jan 07, 2009 9:38 am, edited 18 times in total.

Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 2:51 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 22, 2007 12:47 pm
Posts: 1598
Location: New Hampshire, USA
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]

_________________
Website: https://Joscor.com


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 2:55 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 3:04 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 22, 2007 12:47 pm
Posts: 1598
Location: New Hampshire, USA
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.

_________________
Website: https://Joscor.com


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 3:13 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 6:23 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 22, 2007 12:47 pm
Posts: 1598
Location: New Hampshire, USA
lol yeah,
so I'm assuming I'll be seeing 186-compatible code and BIOS trickery? =)

_________________
Website: https://Joscor.com


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 6:25 pm 
Offline
Member
Member
User avatar

Joined: Fri Jan 27, 2006 12:00 am
Posts: 1444
That much too short a time, you need to give at least a month or two.


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 6:25 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 6:26 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 22, 2007 12:47 pm
Posts: 1598
Location: New Hampshire, USA
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.

_________________
Website: https://Joscor.com


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 6:33 pm 
Offline
Member
Member
User avatar

Joined: Thu Dec 21, 2006 7:42 pm
Posts: 1391
Location: Unknown. Momentum is pretty certain, however.
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


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 6:41 pm 
Offline
Member
Member
User avatar

Joined: Fri Jan 27, 2006 12:00 am
Posts: 1444
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.


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 6:48 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 22, 2007 12:47 pm
Posts: 1598
Location: New Hampshire, USA
excellent point on getting the word around.

I vote 1-2 weeks.

_________________
Website: https://Joscor.com


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 6:56 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 8:19 pm 
Offline
Member
Member
User avatar

Joined: Sat Nov 15, 2008 2:37 pm
Posts: 815
Location: The Fire Nation
thanks for getting the word around troy, i will work on mine tonight


Top
 Profile  
 
 Post subject: Re: 512-byte OS Contest
PostPosted: Tue Dec 30, 2008 8:21 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 107 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group