Hacker News new | ask | show | jobs
by billforsternz 18 days ago
Yes. My first serious program was done this way. At the start of the project (final year of EE degree, 1981) I didn't really understand what a program was, but I learned by studying the technical reference manual for the Intel 8085 CPU. It kind of seemed like magic, I can mold the functionality by storing codes in memory? Wow!

I figured out exactly what I wanted to do, wrote it out very carefully on paper, looked up all the hex codes, wrote those out very carefully, adjusted addresses etc. as needed. This took many hours spread over weeks. Then I entered the whole thing on the hex keyboard and display of a primitive development board each time I needed it, perhaps an hour or so each time (I think I only did it twice). It worked first time, because why wouldn't it if you were sufficiently meticulous about your work in a process that was very obviously very intolerant of the tiniest mistake?

I must admit my program (gather input information from some transducers, do some calculations, present some results) was likely somewhere between one and two orders of magnitude simpler than a complete Basic interpreter!

2 comments

I think this comment is gold. Thanks for writing this. It feels like such a visceral description of the experience of "programming" back then. I've read a bunch of old books on programming or those that explain low level programming, but they mostly detailed the mechanics of programming, it feels like your comment captured something of the actual experience of it!
In the 90s when I was in electronics we built/used a Emacs 8085 primer trainer [1].

Had pushbuttons for entering everything, 7 segment LED display and no memory backup. So if you entered the program it would be lost when you turned off power.

At the time I did not realize how powerful this knowledge really was. Flipping the bits directly in hardware with no compiler. It was so amazing to me at the time to be able to make the row of 10 LEDs do the sweep back/forth like KITT from Knight Rider.

Final lab project involved hooking up 3 solid state relays (which we all built) to run a blender, light bulb and a fan for a set amount of time each.

And yeah, like you...we wrote everything out on paper first then entered it. I still have the primer trainer...but I haven't used it in decades.

[1] https://flic.kr/p/2mkG7gC