scene.org File Archive

File download

<root>­/­parties­/­2022­/­vccc22­/­wild/mik_oric_c_vc3-2022.zip

File size:
131 289 bytes (128.21K)
File date:
2022-12-30 11:32:14
Download count:
all-time: 6

Preview

  • cc65_wild/ dir
  • cc65_wild/c.sh 127B
  • cc65_wild/cc65_wild.gif 135.74K
  • cc65_wild/file_id.diz 941B
  • cc65_wild/r.sh 108B
  • cc65_wild/sc.c 822B

file_id.diz

Wild C star challenge

Author: Mik / Computer Asylum
Category: Wild
System:   Oric 1/Atmos
Language: C for the cc65 compiler
Len source code: 822
Len exe file:    1166
Len code only:   ?
Instructions:
Two scripts have been provided for Linux to compile and to run (and can easily be adapted to another OS)
The run script "r.sh" must be edited to set the correct path to Oricutron (the emulator)
execute ./c.sh to compile
execute ./r/sh to run
type RUN in the emulator
Description:
A nice animated disitegrated star (most of the time looks like a snow flake, sometimes looks like the star from the challenge).
Uses the algorithm that only goes through the points of the star and does not do any costly (performance wise) operation.
It is especially fast in this C version (around 0.09 seconds for drawing the star once).
It draws the star whith random holes in it and then redraws it with other holes, until the user presses a key.
Comments: