** One from the Vault is a best-of compendium of useful, frequently requested or just plain interesting past postings to comp.binaries.cbm, selected by the moderation staff. If you have suggestions about One From the Vault, please mail the moderators. See the FAQ for contact information. *** comp.binaries.cbm is a moderated binaries- *** *** only newsgroup (no discussion or *** *** crossposting allowed) for Commodore 8-bits *** *** *** *** For information on comp.binaries.cbm visit *** *** http://www.concentric.net/~cdkaiser/cbc/ *** *** *** *** This file is also available via FTP from *** *** ftp://videocam.net.au/cbm/incoming *** *** (allow time for submission to be received) *** >X-Original-Posting-Date: Fri, 12 Sep 1997 04:39:32 +0200 (MET DST) >From: Stephen Judd >Reply-to: Stephen Judd >Subject: Cool World (15K) Well, here it is: Cool World. Some info is below, but I've encountered a strange problem with the SCPU and $D030 (2MHz mode on the 128). The program was crunched with pucrunch, a nifty program with a link below. Well, the decompressor has an INC $D030 at the beginning and a DEC $D030 at the end, and like that it won't work. Change those to BITs though, and it works fine. There is nothing extraordinary about the decompression routine (i.e. no quasi-opcodes, etc.). Now, I can do the pokes manually from BASIC with the SCPU active, and nothing special happens. Also, I do believe polygonamy -- which was crunched with TimeCrunch, which also uses 2MHz mode -- worked just fine. So... can anyone think of a situation where 2MHz mode will hose the SCPU? Anyways, enjoy the program! And start thinking about that great SCPU game you want to write. :) evetS- -- Cool World 1997 Polygonamy, as you may recall, was an experiement -- a test of ideas and methods. This is the prototype. Cool World is a demonstration of my 3d toolkit, soon to be freely available for your own programs. It is the result of about a full summer's worth of programming, and is pretty cool. For fun I also stuck a tune in the program which I wrote in Blahtune. Since I also wrote Blahtune, I can really say that all code is by me :). ..except for the cruncher, which is pucrunch, a very cool program which you can find out more about by visitng Pasi's web site at http://www.cs.tut.fi/~albert/ The border changes color every 256 frames. So, to get a frames/sec. count just time a border change and divide into 256. I think I got up to 17 objects before I got tired of adding objects. They are concentrated in four major areas in the world: Squaresville, The All Stars, Pyromania, and My Old Friend. The tetrahedron you meet initially marks the center of the universe, and the other areas are located fairly close to it. Be sure to try it with a SuperCPU! But try it on a regular 64 first :). Otherwise you will have a very biased definition of "fast". Visit http://stratus.esam.nwu.edu/~judd/fridge/lib3d/ for info and source code. SLJ 9/11/97