News for hackers. Stuff that matters.
Re:Ask HN: When was your "ah-ha" moment when learning how to... by stevep98 on Friday May 27, 2011 @02:16PM (#2592486)
When I was 12 I took the Commodore VIC-20 Programmer's reference guide to spain on vacation (!) for 2 weeks. I figured out how to program assembly and hand-assembled a short program to rapidly toggle the screen color from black-to-white.

Hmm if I try real hard I can probably recreate it here: 169 0 141 15 144 169 1 141 15 144 76 0 32

Anyway, when I got home, I tried it out. It changes the screen color, but then crashed because of a mistake in the loop instruction.

That was definitely an AHA moment - realizing how CPU's work.

There are no comments on this comment yet.