scene.org File Archive

File download

<root>­/­demos­/­compos­/­codecraft2­/­1k/flourpower.zip

File size:
5 706 bytes (5.57K)
File date:
2014-10-10 23:02:19
Download count:
all-time: 24

file_id.diz

name:    FlourPower (well, FlowerPower was 11 chars...)
author:  casma (mark adcock) mailto:adcock@intonet.co.uk
size:    1004 bytes 
needs:   arm3 ? 
descr.:  hippy happy flower power lazy weekend 1k doodle.

 -----------------------------------------------------------------------[ยง]

PrObLeM:   sunday evening and monday morning with nothing to do. :(
sOlUtiOn:  write an obscenely silly program for cc#2. :)

So Here it is. It'll take 5 secs or so to generate the sprites. (all 120 of
them!)

You'll probably have to assemble your own executable to get the best from
your processor. 20 is about right for arm6/7, 16 for arm3. More for
StrongARM! The program expects to find Squasher in the current directory.


    FiLeS iNcLuDeD:
$.ReadMe          -  this file
$.FlourPower      -  24 flower executable
$.more.source     -  source code

    CrEditZ/thAnKs:
  * Squashed with ... (wait for it) ... Squasher (!) by Pervect/Topix
  * Thanks to baah for the rnd generator in 8 bytes:
        {r5 = rnd number in}
      eor         r5,r5,r5,rrx 
      adc         r5,r5,r5,ror #7
        {r5 = rnd number out}
  * that ford advert with the flowers which sort of inspired this program.
    of course that was a precalc animation, this is real time. and on a
    40mhz arm7, and in 1k, and in one evening and the next morning.

 ---CUo--------------------------------------------------------casma-------