Jump to content
fibrewire

What fits in 64K?

Recommended Posts

Assembly has come a long way since the Atari Home Computer - and yet 64K seems to be plenty of space now as well as then.

 

Aside from system dependencies and overhead requirements, this program requires only 64K of raw code. Pretty impressive... see attached!

 

cns!ct.zip

Share this post


Link to post
Share on other sites

More likely >4 Meg just for a couple of frame buffers.

 

It's nice and all but consider that it probably depacks to some huge amount like 16 Meg+ and probably does most of the stuff by DirectX calls and doesn't have so much as a line-draw routine within the program itself.

Share this post


Link to post
Share on other sites

Looks like it's using PM overlays... I bet we could work up a couple G2F screens to prove the entire demo is possible. :-D

  • Like 1

Share this post


Link to post
Share on other sites

Using Gr.7 with digis too!

 

 

Possibly a solution ;)

As it would be easier to reproduce the graphics than the music.

Edited by emkay

Share this post


Link to post
Share on other sites

I can actually believe it. You can still write small pieces of code which manipulates massive amounts of data to produce something like this.

 

Still impressive stuff, though.

Share this post


Link to post
Share on other sites

When I watch these demos, I keep thinking that game designers are missing the boat. Some of this procedurally generated stuff would make a much cooler game environment than a bunch of texture mapped buildings and trees.

Share this post


Link to post
Share on other sites

Nowadays PC demos all use pixel shaders (= tons of parallel GPU+tons of heap) and mathematical functions to render the models. And all of the functionality is already included in the libs (DirectX/GL). So this a not related to bein able to really "code" in the sense commonly used, it's using descriptive mathematics: A point belongs to a sphere, if the distance to the center is less than the radius, i.e. "if |(x-c)|<r then color=red". You don#t need much space for that formular.

 

Too abstract? Just check this and have fun playing around: http://www.iquilezles.org/apps/shadertoy/

Share this post


Link to post
Share on other sites

I like these demos a lot, too.

 

BTW: they need more than 64k. In fact they need more than 1000 times 64k. They only need 64k on the filesystem.

On an Atari you can use a 256 bytes on disk to use 1MB Ram also. The modern PC-System has GB of installed libraries and tons of hardware. That powerful army only waits for commands. 64k of packed commands on disk.

But to get such fine art from that is not done very easy

Edited by 1NG

Share this post


Link to post
Share on other sites

I like these demos a lot, too.

 

BTW: they need more than 64k. In fact they need more than 1000 times 64k. They only need 64k on the filesystem.

 

 

That's obvious.

The 64K is just the "transport" to have the Demo running. There are Gigabytes of resources getting activated by those calculations. It's impressive in it's own way.

But it would surely be as impressive, to see similar stuff on the A8 , with the given limits ofcourse.

Numen and Control show the direction.

It would be necessary to calculate frames partially, drawing only thin parts on the whole screen, to let the scene move, not just a single object.

Well, DL tricks, PM overlay and other hw features would always upgrade the whole thing.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...