NTSC encoding/decoding in C89 using only integers and fixed point math

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • NTSC-CRT

    NTSC encoding/decoding in C89 using only integers and fixed point math. Supports NES decoding. Can be used as an image filter for games or real-time applications.

  • This is really cool! Speaking of retro, the fact that this is possible, emphasizes just how fast modern hardware is.

    The Atari 2600 has its CPU in lockstep with the graphics output. There are CPU 76 cycles during a scanline. While I've only toyed around with programming the Atari 2600, it still boosted my intuition about the relationship of compute time to real time. A single frame, 1/60th of a second, is just about the briefest perceptible period of time to a human. How many bytes can you copy during an entire frame? A couple kilobytes. And during one scanline? About 8 bytes, or in modern terms, just enough time to copy one uint64_t.

    In the same amount of time, that of drawing a scanline, a modern machine can chew through this loop: https://github.com/LMP88959/NTSC-CRT/blob/main/crt.c#L442 and apparently with plenty of time to spare.

  • cool-retro-term

    A good looking terminal emulator which mimics the old cathode display...

  • For a cool look like old-timey display check out https://github.com/Swordfish90/cool-retro-term

    So your terminal looks like snowy channel 3. Fun!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • vhs-teletext

    Software to recover teletext data from VHS recordings.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts