[Coco] Fwd: The 1 to 2K Adventure Game Competition (Game question)
theother_bob at yahoo.com
Wed Jun 30 01:12:08 EDT 2004
So the way I read it, as long as the data (string or whatever) resides in one
disk file... you don't declare string variables as part of the program, but
load their data directly off of the disk. Can potentially save useful program
space. I think that's part of what Robert Gault was hinting at with his
I know I gained about 2KB of RAM for additional functionality in FOG this way.
And 2.9KB... whoa!... that .9 is huge in this case. bye-bye TS1000.
Maybe not only that, but... can you say "self modifying code"?
So it's the executable file size on disk... hmmm.
--- James Dessart <james at skwirl.ca> wrote:
> Thought you guys might be interested in this answer:
> > The 2K size can be either the source coce, or the EXE, BIN, OBJ, PRG,
> > ELF or other self-contained, self-running binary. So you can thus
> > have, say, a 8K source code listing, so long as the binary format
> > doesn't exceed 2.9KB of size. You may also crunch the binary down with
> > a compressing program such as UPX or Winzip.
> > Sincerely,
> > Paul
> >> Is the 2K limit for source code, or the code, in memory, along with
> >> all
> >> data and variables used?
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
More information about the Coco