Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Compo and challenge rules
2010-12-12 14:38
Sorex
Account closed

Registered: Nov 2003
Posts: 43
Compo and challenge rules

Howdy,

Just wondering...

If you have a challenge like that scroll or bbs gfx thing with a certain limit how is this limit counted?

if the limit is set to a 256 bytes program is then the actual filesize as seen on pc/mac/etc

256 (254+2 bytes load address)

or

258 (256+2 bytes load address) ?

imo the load address is not really part of the actual program.
2010-12-12 15:00
Street Tuff

Registered: Feb 2002
Posts: 88
in the prove me wrong challenge i always counted the 2 bytes for the load adress.

and if you ask ninja a 256 byte demo should have one block on disk. so load adress is included there aswell ;)
2010-12-12 15:02
iAN CooG

Registered: May 2002
Posts: 3195
wrong for me, 1block is not 256byte intro, that would make only 252 bytes available for code, 2 bytes are for the t/s link (or size if single block) and 2 for load address. To me 258 is the correct size for a 256 bytes intro, what matters is the size in memory of the loaded file (of course what it does to the whole memory after running doesn't count).
2010-12-12 15:04
Sorex
Account closed

Registered: Nov 2003
Posts: 43
so in that scroll thing it's 258 aswell?

which is where I'm at at the moment :)
2010-12-12 16:26
Cruzer

Registered: Dec 2001
Posts: 1048
In the beginning I always counted only the data loaded into the C64 memory, which means 258b .prg filesize. Then I got some complaints from lamers on Pouet and decided to try to limit the .prg to 256, or even 254 to keep it within a disk block. But really I don't think meta data shouldn't be counted. Then we should also include the filename etc.
2010-12-12 17:03
Sorex
Account closed

Registered: Nov 2003
Posts: 43
ok thanks, so we bend for noobs? :)

I've added 3 of them in the d64, it's in the releases part of this site.
2010-12-12 18:34
Ninja

Registered: Jan 2002
Posts: 411
Nonono, I never said 256-byters should have one block. I say there shouldn't be 256-byter on C64 ;)) (And for the topic matter: I would just consider the 256 byte on a C64; why should it matter how much bytes are occupied on a different system? What about a D64 then?)
2010-12-13 10:50
Frantic

Registered: Mar 2003
Posts: 1648
When I did the "tinysids" (some 256 byte music compo that were held a while ago) I always made sure to make them fit within one block on the disk. That filesize of "1" looks so neat....and wasting that second block with only 2 bytes of data or so is such a horrible waste of data. ;)
2010-12-13 11:07
Devia

Registered: Oct 2004
Posts: 401
Should be 1 block imo.. The load address can be (ab)used too and thus should be counted. And yes the 1 block count in the dirlist looks neat ;-)
2010-12-13 11:22
enthusi

Registered: May 2004
Posts: 677
so let's vote to rename that entry category since 256b IS different from one block and rises the question of load address every time...
2010-12-13 12:54
JackAsser

Registered: Jun 2002
Posts: 2014
Load addy vs. ELF/PE-header
T/S link vs. inode/fat/ntfs-entry

With that in mind it should be 256 bytes including load addy. But 1 block in the dir list do look neat, however a 256b .prg file also looks neat and that for more users/viewers aswell.

Lucky windows-dudes can use .com-files however which have no header, good for them....
2010-12-13 20:20
TNT
Account closed

Registered: Oct 2004
Posts: 189
Quoting Cruzer
Then we should also include the filename etc

Yes we should if code doesn't work if you do LOAD":*",8,8 instead of typing that strange-looking 16-char filename in full. JSR ($00bb) anyone... ;)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
MWR/Visdom
algorithm
Steffan/BOOM!
Sulevi/Virtual Dreams
Barfly/Extend
DJB/Onslaught / Blue..
Guests online: 89
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.053 sec.