news.volyx.in

Memories – 256 bytes demo winner of Revision 2020 (sizecoding.org)

574 points by guiambros · 2353 days ago · 119 comments on HN

Article summary

The article discusses the creation of a 256-byte demo called 'Memories' that won the 'PC 256 byte' competition at the Revision 2020 demoscene event. The demo features various effects, including a zooming circle, scrolling tilted plane, and parallax checkerboards, all within a tiny 256-byte executable. The article provides an in-depth analysis of the demo's code and development process. The demo's author explains the techniques used to optimize the code and create the effects.

Main themes

  • tiny demos
  • size optimization
  • demoscene
  • low-level programming
  • code efficiency
  • music and sound design
  • technical achievement
  • community reception

What commenters say

  • The demo's small size and complexity are impressive and comparable to other forms of optimized code, such as JavaScript implementations.
  • The use of timer interrupts and screen refresh rates allows the demo to run at a consistent speed across different systems.
  • Some commenters argue that tiny demos rely on native OS system libraries, while others counter that the only platform-specific code is used for setting video modes and timers.
  • The demo's music and sound effects are notable achievements given the 256-byte size constraint, and some commenters discuss the possibilities and limitations of creating music within such tight constraints.
  • The comparison between the demo's size and the size of its video recording highlights the efficiency of the demo's code.
  • The development of tiny demos often involves using tricks such as self-modifying code and exploiting BIOS or video ROM functionality to minimize size.
  • The speed of the demo's animation can be affected by the underlying CPU speed, but the author claims that the demo is designed to run at a consistent speed across different systems.
  • Some commenters praise the demo's technical achievement and its impact on the demoscene community.