OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:35 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 72 posts ]  Go to page Previous  1, 2, 3, 4, 5

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 6%  6%  [ 1 ]
wordsmith by coddy 0%  0%  [ 0 ]
mon86 by a427 35%  35%  [ 6 ]
bsantm by Gigasoft 12%  12%  [ 2 ]
scrollroad by MessiahAndrw 12%  12%  [ 2 ]
fractalscroll by Gigasoft 6%  6%  [ 1 ]
snake by Cjreek 0%  0%  [ 0 ]
ethernet by XanClic 18%  18%  [ 3 ]
spatiallife by Krap 12%  12%  [ 2 ]
terrain/butterfly by js 0%  0%  [ 0 ]
Total votes : 17
Author Message
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Sat Jan 16, 2010 4:26 pm 
Offline
Member
Member

Joined: Thu Feb 26, 2009 1:45 am
Posts: 38
Here's a compilation of all bootsectors into one floppy, plus a (grub) menu to choose between entries and display source code (page by page) and aditionnal information (incl. "real" size of the code (without the zero padding)).

@a427 : Maybe you could add it to your first post to allow easy testing ?

I tested everything in qemu, and it works exept :
* snake doesn't work (red screen) for some obscur reason (I'll check if the sector isn't corrupted...)
* game of life doesn't work in general when launched by grub. I think it's because it doesn't clears the screen (so you have the "conway game of life" part, but not the "star wars" part, which is hidden in junk).
* I couldn't hear sound for any of them, but this is likely to be a qemu configuration problem on this machine.

To use it :
Code:
qemu -fda contest-entries.img -soundhw pcspk -net user -net nic,model=rtl8139


Downloads :
* floppy image, raw (1.5Mb)
* floppy image, gzipped (170k)
* floppy image, zipped (170k)
* Source code (650k)


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Sat Jan 16, 2010 9:20 pm 
Offline
Member
Member

Joined: Sat Nov 21, 2009 5:11 pm
Posts: 852
QEMU doesn't support MIDI sound AFAIK. Bs_antm has to be run in Bochs. To get proper results, SB16 emulation must be enabled by checking the Enable SB16 emulation box right before starting emulation (because it has problems saving and loading this setting), and Synchronization should be set to realtime in the Clock & CMOS options.


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Sun Jan 17, 2010 2:37 am 
Offline

Joined: Thu Jan 14, 2010 1:49 pm
Posts: 3
js wrote:
* snake doesn't work (red screen) for some obscur reason (I'll check if the sector isn't corrupted...)

I haven't tested your compilation, but in the "raw" version, this just means... you've lost your game :)
It doesn't restart after loosing.

js wrote:
* game of life doesn't work in general when launched by grub. I think it's because it doesn't clears the screen (so you have the "conway game of life" part, but not the "star wars" part, which is hidden in junk).

Yes, this is one on the reasons i didn't want to post it as-is, but no time to rework it. The same problem appears in vmware or virtualbox IIRC, and maybe with bochs too, but not on true hard boot. I was pretty sure switching video modes was supposed to clear the associated video memory, but it seems i was wrong ;-) Another strange thing is that on real hardware boot, its really very slow while in qemu, it's correct, and in virtualbox (or vmware, my memory is really down today), it's near you don't see the shapes because of too high speed (all on the same PC). It seems emulators did a great optimization job (sure, they don't restrict themself to 8086 instructions like i did ;-) )!

js wrote:
* I couldn't hear sound for any of them, but this is likely to be a qemu configuration problem on this machine.

This sounds strange ; mine works nicely here with
Code:
qemu -soundhw pcspk TheImperialOuch
. Tip : did you mute your speakers ? ;-)
That's a bad news, since the compo lose a lot of its interest (not artistic, really, but technical) if the sound doesn't work (and more if screen isn't cleared) :(


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Sun Jan 17, 2010 5:00 pm 
Offline
Member
Member

Joined: Sun Mar 15, 2009 9:45 pm
Posts: 40
@js : Nice job !! I put a note in first post.

Your compilation of the 10 entries is very handy ! I particularly like to be able to browse all of them side-by-side,
with description plus source-code.
We can even test all sequentially in the same qemu session by issuing a 'system_reset' in qemu console !

Sadly, I confirm that this method breaks entries that expect a blank video memory.

Maybe a solution to this would be to use grub2, that I believe implements a 'write' command, that allows writing arbitrary memory address..
then, before booting an entry, simply fill the video memory with zero..
Well it's just an idea, and I'm not sure if this would be feasible in fact...

Anyway, thanks again for your work !


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Wed Jan 20, 2010 7:46 am 
Offline
Member
Member

Joined: Sun Mar 15, 2009 9:45 pm
Posts: 40
Just a reminder that the poll is open, so please vote right now for your favourite entry !

The poll is open till 31 january !!


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Wed Jan 20, 2010 11:03 am 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
LOL, you can remove my wordsmith #-o I never uploaded the fixed version :P

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Wed Jan 20, 2010 3:00 pm 
Offline
Member
Member

Joined: Sun Mar 15, 2009 9:45 pm
Posts: 40
@coddy
well I won't remove it from the poll though, else it would reset the current results..

too bad you didn't release improved versions..


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Sun Jan 31, 2010 7:11 pm 
Offline
Member
Member

Joined: Sun Mar 15, 2009 9:45 pm
Posts: 40
Well, it seems like this contest is over now...

Congrats to all participants, whatever the poll results (not really significative) !!
Some entries were really amazing ! Anyway, thanks for your time and your interest.. (I had a hard time organizing the fourth edition)
(I thought more people would have been interested in this contest and voted but, hah, so is the life...)


See you later for more competitions maybe..

a427.


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Mon Feb 01, 2010 3:39 am 
Offline
Member
Member
User avatar

Joined: Wed Feb 13, 2008 9:38 am
Posts: 138
Seems to be hard for the one who "initiated" this contest to congratulate himself... :D

Thus I'll do that. Congratulations to you, a427! =D>


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Mon Feb 01, 2010 3:47 pm 
Offline
Member
Member

Joined: Sun Mar 15, 2009 9:45 pm
Posts: 40
XanClic wrote:
Seems to be hard for the one who "initiated" this contest to congratulate himself... :D

Thus I'll do that. Congratulations to you, a427! =D>


Hehe, thanks...
I really liked your ethernet-capable OS too ! ;-)

Good luck with your entry for the fifth contest !
I tried it and managed to boot my custom 32-bit OSLOADER with it...
I too have to bootstrap OSLOADER in realmode... (need to work a bit more on my entry for that)


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Wed Feb 03, 2010 8:11 am 
Offline

Joined: Thu Jan 14, 2010 1:49 pm
Posts: 3
Congrats mr a427 :D


Top
 Profile  
 
 Post subject: Re: The Fourth 512-byte OS Contest!
PostPosted: Wed Feb 03, 2010 2:28 pm 
Offline
Member
Member

Joined: Sun Mar 15, 2009 9:45 pm
Posts: 40
Krap wrote:
Congrats mr a427 :D


Hehe, you don't say ;-)

Your entry was not bad, too.. Eventually you could enhance it to use modern 386 instruction sets, shave some bytes,
and reset video RAM to zero.... :-)


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 30 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