NHacker Next on Rails
  • top
  • new
  • best
  • ask
  • show
  • jobs
login
GuidelinesFAQListsAPISecurityLegalApply to YCContact

Hacker News on Rails, powered by React on Rails Pro. Open the source on GitHub by ShakaCode.

Commit 06fc0df

Rendered at 11:17:13 GMT+0000 (Coordinated Universal Time) with Rails + React on Rails RSC.

The Annotated VT100 Firmware (2022) (vt100.net)

82 points by Aleksandr_NFA 2d ago | 6 comments

rasz 2d ago
Its Claude again!

Claude Sylvain’s and Jay Cotton’s asm8080 that is :-] Mad props for going old school with command line disassembler. Im too much of a GUI slave to attempt such a feat, I stick to ida/ghirda when disassembling PC bioses for fun (several uploaded on my github). There are just too many nice features like Type tooltips, automagic mechanisms and one click operations that would be tons of typing in text editor.

ErroneousBosh 1d ago
> Its Claude again!

I'm picturing "Why should I change *my* name? He's the one who sucks!"

pitrdevries 1d ago
Really great presentation by Richard Thomson at VCF Midwest this year about How the DEC VT100 Terminal Was Secretly an 8-Bit Computer which includes thanks to vt100.net: https://youtu.be/6Ec97GFiqWA
MisterTea 12h ago
I always find it amusing when people use hyperbole to describe technology that is mostly mundane. Of course a terminal is a computer. Just a very stripped down embedded computer that ran a single terminal program from firmware. There is no secret here.
JdeBP 1d ago
Xe misconstrues how the standards process works, a bit. Standards don't develop out of thin air. Usually they standardize some sort of existing practice, and in this case that existing practice was DEC VTs.

In addition, there was ECMA-35 as well as ECMA-48. ECMA-35 provides some important context to ECMA-48, and the reason that ECMA-48 appears to not concretely define some stuff is that actually that stuff is in ECMA-35.

vttest post-dated these standards by three quarters of a decade for the latter and by a dozen years for the former, and wasn't really a comprehensive test suite until the 1990s.

ouch-blurred52 1d ago
I keep going back to this annotation because the escape-sequence state machine is where most of the 'magic' actually lives. People assume the VT100 was just print-this-char, but the ROM is really a careful little state machine chewing through the CSI/SS3 sequences, and the annotated version makes it obvious how much logic was squeezed into that ~16KB. Curious where the cursor bookkeeping (position, wrap-around, the pending-newline bit) actually lives in the data structures - that part quietly explains half the weird terminal behavior people still trip over today.