Noise X16

For Scene Demos that display animations, graphics, and music. Also for tech demos of graphics capability of VERA or the audio capabilities of the PSG, FM, or PCM audio channels.
Post Reply
LRFLEW
Posts: 9
Joined: Sun Apr 11, 2021 11:52 pm

Noise X16

Post by LRFLEW »


This program simulates TV static using the X16's bitmap mode.




This program generates a 320x240@4bpp static effect at just over 26 fps. In other words, it generates just shy of 2 million pixels per second, or uses about 4 clock cycles per pixel.




You can check out the source code here: https://github.com/LRFLEW/Noise-X16



Change the PRNG from LCG-based to SWC-based. This provides a better entropy distribution on the screen and is 4 clock cycles faster per frame. The new PRNG has a shorter period, but it is still long enough to run continuously for years without exactly repeated frames.


Attachments
Noise X16
Noise X16
noise.png (45.88 KiB) Viewed 458 times
noise.prg
Noise X16
(150 Bytes) Downloaded 97 times
Post Reply