512-byte OS Contest
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: 512-byte OS Contest
El-Torito is 2048 bytes, you epic fail.
It is 2 KB, is it not?
It is 2 KB, is it not?
Re: 512-byte OS Contest
How long do we have before the poll is checked and the date chosen?
Re: 512-byte OS Contest
El-Torito is however much you tell BIOS to boot for you. In practice, most El Torito loaders limit themselves to 2048 bytes due to BIOS bugs with loading more than that. 2048 bytes is the size of a sector on a CD, remember.Troy Martin wrote:El-Torito is 2048 bytes, you epic fail.
It is 2 KB, is it not?
However, that's not to say that it HAS to be 2048 bytes. It's certainly possible to use only 512 bytes.
So, I don't "epic fail" for two reasons. I didn't go over your silly 512 byte limit, and I said I wasn't going to actually submit it.
Edit: Clarifying here, I'm talking about the no-emulation loaders.
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Re: 512-byte OS Contest
What an entirely pointless topic..
@Troy, are you by any chance wearing a chapeau on your gluteus maximus?
@Troy, are you by any chance wearing a chapeau on your gluteus maximus?
Re: 512-byte OS Contest
Double post here... but don't I get any points for using an oddball interpreted language that runs in its own virtual machine?
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: 512-byte OS Contest
Brynet: Define pointless. Maybe you're just not the kind who likes these things.
Quok: I think that does deserve points That's probably the first time I've heard of that in a boot sector! Now you should've made the bootsector a FALSE interpreter, that would be a hell of an entry.
And the winning date is January 6th.
Quok: I think that does deserve points That's probably the first time I've heard of that in a boot sector! Now you should've made the bootsector a FALSE interpreter, that would be a hell of an entry.
And the winning date is January 6th.
Re: 512-byte OS Contest
@brynet: What an entirely pointless post from you.
Seriously now. Feb 7th?! What the hell do you want to put in 512 bytes to reserve a month for it? Let's say the deadline is on fourth of January and that's it... the winter holidays for me are ending at 8 Jan, too. For example I'm coding a DOS MZ-EXE loader in 512 bytes and it's very hard make it fit into the single sector...
Once and for all: deadline on 4. January and that's it. No more code than 512 bytes, no any bootloaders like GRUB, bootr01 and any else. Who doesn't agree with this, don't join.
Seriously now. Feb 7th?! What the hell do you want to put in 512 bytes to reserve a month for it? Let's say the deadline is on fourth of January and that's it... the winter holidays for me are ending at 8 Jan, too. For example I'm coding a DOS MZ-EXE loader in 512 bytes and it's very hard make it fit into the single sector...
Once and for all: deadline on 4. January and that's it. No more code than 512 bytes, no any bootloaders like GRUB, bootr01 and any else. Who doesn't agree with this, don't join.
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Re: 512-byte OS Contest
EDIT: Removed 2015: Imageshack replaced all links with spam.Troy Martin wrote:Brynet: Define pointless. Maybe you're just not the kind who likes these things.
Last edited by Brynet-Inc on Fri Aug 28, 2015 8:51 pm, edited 1 time in total.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: 512-byte OS Contest
Did you just excrete a hat in my topic? Touche.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: 512-byte OS Contest
Thank you.inflater wrote:Once and for all: deadline on 4. January and that's it. No more code than 512 bytes, no any bootloaders like GRUB, bootr01 and any else. Who doesn't agree with this, don't join.
Now I made it 7 since there were a few who said "mid-January" and I respect that. But it shouldn't take you until February to write 512 bytes of code. If it does, you SERIOUSLY need to read a book on assembly.
Re: 512-byte OS Contest
Brynet-Inc: did you really need to post that utterly useless post? Also, the competition is not pointless to everyone. I think having these competitions are great as they are not time consuming and it's good fun in a normally boring environment.
I agree that waiting until Feb would be a little overboard. I program in C and just use the Intel manuals as a guide for assembly programming and I'm confident that I can write something functional in 512 bytes in less than a week.
I agree that waiting until Feb would be a little overboard. I program in C and just use the Intel manuals as a guide for assembly programming and I'm confident that I can write something functional in 512 bytes in less than a week.
Website: https://joscor.com
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: 512-byte OS Contest
Yeah.
Almost done my entry, what 'bout you guys?
Almost done my entry, what 'bout you guys?
Re: 512-byte OS Contest
To be fair, my bootsector doesn't include the Forth interpreter or set up the environment that one would need. I simply require a Forth interpreter to build the bootsector. I also cheat in that my bootsector doesn't understand the ISO9660 filesystem. It uses the el torito boot info table to load the specified block list. It would be possible to add a mini ISO9660 driver but I'm sure that's quickly go over the 512 byte limit.Troy Martin wrote: Quok: I think that does deserve points That's probably the first time I've heard of that in a boot sector! Now you should've made the bootsector a FALSE interpreter, that would be a hell of an entry.
Basically my bootsector is meant to be prepended to whatever binary is used as the boot image on the CD. So that this doesn't go any farther off topic, I'll start a separate topic about it once I finish debugging things, which should be tonight or tomorrow.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: 512-byte OS Contest
Nifty. Should really do a FALSE interpreter though. It would be real simple.
/idea kicks in
/idea kicks in
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: 512-byte OS Contest
I have one done, but its really just a chainloader with a command line interface XD
As a future competition, why don't we do an el torito version (2048 bytes instead of 512 bytes)? It might be interesting to see if we can do things like SMP and long mode.
As a future competition, why don't we do an el torito version (2048 bytes instead of 512 bytes)? It might be interesting to see if we can do things like SMP and long mode.