flat assembler
Message board for the users of flat assembler.

Index > Main > 512b contest 2011?

Goto page 1, 2  Next

512b 2011?
YES
90%
 90%  [ 18 ]
NO
10%
 10%  [ 2 ]
Total Votes : 20

Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
Hello, i am thinking about a contest that can be good to remake.

since many people entered the fasm community last 3 years, it can be interresting to do it again, with modern rules.

i suggest this list as the rules for this 512b contest.

    512b contest because a sector on 100% of the drives i have are 512 bytes lengh, and i estimate it is the case for 90% of coders.
    10% of coders have some extra drives with other sector resolution, but still use 512 bytes per sector on the main drive of their computer.

Then, 512 bytes is the limit.

    the program can run from DOS, BOOT, LINUX, WINDOWS, anything that can run a program.


    the executable or binary file should fit in 512 bytes, no more bytes accepted. it should feet in just one 512 bytes sector.

    for windows and linux gui, it will be a little difficult, maybe the rule can be expanded to 4KB

    for dos and BOOT, no problem, the file can fit in 512B.


    it should support an exit condition, and if this exit condition is time dependant, it should be indicated on the screen with a counter(scroll bar, falling dot, digits). the counter condition is "JLE exit" or "jG loop".


    there is not limit in the memory useage.


    the file itself can load extra sectors, but only one by one sector allowed, the code for the extra sector should be given, or at least, the binary if not executable, and is not part of the demo.


    if this sector is loaded to be executed, the code should be another demo of the contest.


    the code is responsible of the atomic sector loading. no DOS file open, windows file open, or linux file open allowed.


    you are limited to only use memory and the 512 bytes from the executable.


    the code is free to use for anybody.


    an executable file cannot just be sent as is, the source should be there, even if it is hard to read, it should be there, in order to compile it with fasm 1.69.xx or newer (1.68 is not ok because of call eax = call ax).


    No file or sector write allowed.
    if such a thing is in the code, it should be relaced by a simple RAM write, simulate disk and file manipulation with RAM, don't do it for real, it is forbiden by the rules.


    IF THE BASE CODE IS INSPIRED OF TAKEN FROM AN OLDER DEMO (like 256b contest entries), IT SHOULD BE REFERENCED SOMEWHERE, WITH CREDITS TO THE ORIGINAL AUTHOR, AND A LINK OR COPY OF THE ORIGINAL CODE.
    this rule imply that nobody can take a demo from older contest and just modify it in order to submit again. the jury delibarate about the acceptation of the entry.


all rules should be respected, otherwise, the entry is rejected.


are the rules ok?
are you ready?
who wants to be jury, if you are, you should be able to test the code, or at least, be a very good code analyst.
Post 04 May 2011, 13:54
View user's profile Send private message Visit poster's website Reply with quote
mindcooler



Joined: 01 Dec 2009
Posts: 423
Location: Västerås, Sweden
mindcooler
I would suck, but I would be interested in trying to make something.
Post 04 May 2011, 14:17
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
I would code a entry, if it was to be run again.
Post 04 May 2011, 21:11
View user's profile Send private message Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 619
cod3b453
So the 512b can load more code? (making it 512b + OS Laughing)

I think it'd be interesting to see what could be done in 512b though, especially as my OS project has started munching a lot of disk space recently Shocked
Post 08 May 2011, 00:40
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
5 yes means at least 5 coders ready to enter the contest.

then, lets go to choose a subject and improve the rules.

maybe something like a subset of snippets can be interresting to share for the contest, but everybody will use his prefered code, then... let's go for a closing date of halloween or christmass, to let everybody the time to code the best demo he/she can. Smile

but remember, time runs very fast. then, without definitive rules, we can start to code the demo.

i think a category 1024 can be accepted, but the main contest to be the 512b part only.
Post 08 May 2011, 23:24
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
so what is it supposed to do.
just boot up and go hello then "exit" in a loop?
or is there something to it I'am not getting here...
Post 08 May 2011, 23:32
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
exactlly the same things as in the 256b demoes, but with 512 bytes limit, then, many more possibilities, everything that don't flaw a rule is OK.

3D engine, OK
bipper melody, ok
file manager, ok
something else? ok too, just respect the rules.
Post 08 May 2011, 23:54
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
ok Very Happy
Post 09 May 2011, 02:22
View user's profile Send private message Reply with quote
mindcooler



Joined: 01 Dec 2009
Posts: 423
Location: Västerås, Sweden
mindcooler
typedef wrote:
so what is it supposed to do.
just boot up and go hello then "exit" in a loop?
or is there something to it I'am not getting here...


Always something!

_________________
This is a block of text that can be added to posts you make.
Post 09 May 2011, 10:27
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
typedef wrote:
so what is it supposed to do.
just boot up and go hello then "exit" in a loop?
or is there something to it I'am not getting here...

See here for the last 512b compo we had
http://board.flatassembler.net/topic.php?t=2164&postdays=0&postorder=asc&start=0
You can get the entrys here:
http://board.flatassembler.net/topic.php?p=98270#98270

Winner:
http://board.flatassembler.net/topic.php?p=16608#16608

I was call 'ASHLEY4' when that compo was run.

Tomasz Grysztar fitted a whole tetris game in the bootsector

Viktor Peter Kovacs multi-tasking
and so on.
Post 09 May 2011, 16:50
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
many years were past since this old compo, the result was not so exiting because the FASM community wasn't huge like now, then, there were very few participants.

i am very curious to see the result of this fasm contest 2011.

maybe it can be updated to be a 1024 byte contest, then, the result will be many more interresting.

just imagine how will look like the TG tetris with 512 extra bytes!
Post 09 May 2011, 22:15
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1605
Location: Ukraine
shoorick
i could suggest 2-64kb contest, winning program can be written into uv eprom forever*, if it be rom extension - i can test** it on real hardware an publish screenshot(s) or movie how does it run Wink you have enough of time to the autumn/winter, as in summer i have no much time for such games Wink

------------
* depends on chip resistance
** if my extended rom stuff is still alive Razz
Post 10 May 2011, 05:29
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
64k is too much for a contest.

if it is more than 1024 bytes, it start to be a huge project and have nothing to do with some demo contest.

1024 bytes seems a better limit because:

256b still made
512b still made
then, 1024 to do.

with 1024, the coder will be free to made a really good interactive compo. i think 1024 bytes of assembler is really a lot of code.
but it will let many coders make their compo, as they will not be forced to be an elite programmer to do something in 1k, the 256b is too less for many of us. 512 is limit, 1024 is one boot sector + one application sector, then, can be ok for this.

i think finally, the compo can be eparated in too domains:
512b boot sectors
512b application sectors

boot sectors SHOULD be able to load a org100h code.
application sector should be a org100h code.
and then, everybody will find a good domain to code.

application is anything that is not boot (org 7C00h) and can be a system, a game, a pseudo virus, or anything.

the finallity of this contest will be to provide a set of sectors, assembled as a virtual drive (contiguous string of sectors), with only the first sector to be the winner bootsector, and all other sectors to be challenger bootsectors and applications sectors.
then, the boot sector should be able to load and call an ather boot sector too at 0:7C00h.
or an application at xxxx:100h where xxxx is an arbitrary 16 bits segment.

if an application or boot sector commute in PM, it should return to RM before to call or jump the next sector.

and then, if we are enough to participate, we will be able to give something like a community modular OS. isn't it exiting?

i planned to do something like this with the 256b demos, but no time for, and this is not the fasm compo, we are not the owners of theses demos.

but as a test, i propose, for those who wants to play with demo management, to test their code with a list of 256b demos.
after, it is just a question of adjustments to make it for 512b codes.

and i really need to improve my english vocabulary, i write english like a beginner, it is frustrating. sorry, but the idea is there.

let say, the compo rules should be defined before june. it is up to you to confirm of infirm what i propose here.
Post 11 May 2011, 16:05
View user's profile Send private message Visit poster's website Reply with quote
mindcooler



Joined: 01 Dec 2009
Posts: 423
Location: Västerås, Sweden
mindcooler
I like the idea of making a multi-part demo of the results.
Post 11 May 2011, 16:21
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 619
cod3b453
I just assembled what I thought would be ~200 bytes but it turned out to be only 80...I might make it to under 512 after all! Laughing

I like the idea of 512b for main code but allowing additional sector to demonstrate it working with other code; though I think the application should be up to creator so they can choose if it is a DOS or 32/64bit PM application.
Post 11 May 2011, 16:53
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1605
Location: Ukraine
shoorick
edfed wrote:
64k is too much for a contest.

if it is more than 1024 bytes, it start to be a huge project and have nothing to do with some demo contest.


ok... then... i can write into the rom (64 - x) best projects. (x - space for shell to boot and run these projects, also can be a separate project, and space for catalog) Wink

_________________
UNICODE forever!
Post 11 May 2011, 17:28
View user's profile Send private message Visit poster's website Reply with quote
YONG



Joined: 16 Mar 2005
Posts: 8000
Location: 22° 15' N | 114° 10' E
YONG
If memory serves me right, there were only four entries in the last 512b contest - TWO were mine! Crying or Very sad Mad

Anyway, that was ancient history.

May I suggest the prize for the 2011 contest? Rolling Eyes

A brand-new assembly programming book written (and signed) by the renowned O.C.

Wink
Post 12 May 2011, 14:54
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
if it can bring more participant, i am ok, and extra feature, a dedicated signature drawing, with a pic12f675 and handmade RCD programmer for the winner.
Post 12 May 2011, 15:41
View user's profile Send private message Visit poster's website Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 238
Location: the-ideom
Mike Gonta
How about a 4K demo?
4K is the size of the current hard drive sector (most are still providing a 512 byte firmware interface),
as well as the block size of flash media - USB flash drive and Solid State Drive.
It could be loaded by a modified MBR from a FAT32 partition UFD similar to this one.

_________________
Mike Gonta
the-ideom - now you know how to compile

https://mikegonta.com
Post 15 May 2011, 18:47
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
why not, the more bytes there are, the easyier it will be to code something cool.

256b is not enough to let anybody code something, just look at the level of what was made, and you cannot hope to do something as good as them.
but with more bytes, it can be possible, even to the worse programmer, to do something interresting...

lets go for more comments about the rules.

june comes fast, then, rules will soon be defined.
Post 15 May 2011, 23:49
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.