177 points · by skymt · 15y ago · 51 comments
In some ways (and I'm speaking in a general sense) situations like that actually make me more nervous than when I know there's a problem. I get this uneasy "there's no way it really went that smoothly" feeling that can be hard to shake.
Then again, my personality is to approach most things in life iteratively, so that probably plays a part as well. Great read either way.
And, BTW, the 6502 was a work of art. Simple, elegant and fast (even at 1 MHz), it ran rings around the Z-80's you found in more expensive computers of the time. Plus, it was delightful to program.
Simple maybe, but not delightful to program. I don't know of any assembly language that is delightful to program.
BTW, I knew someone from junior high & high school who could write code for the 6502 using a hex dump with amazing speed. You might have heard of him: Randy Linden.
These days I'm writing a lot of code in Ruby and JavaScript on the JVM, and find myself considering Java my current equivalent of assembly. It's sad really, being so far away from what the CPU is actually executing.
I imagine this is similar to how someone who likes to tinker with engines might prefer an old motorcycle they can take apart and put back together themselves even though there are many advantages in terms of reliability, efficiency, comfort, and so on to driving a Prius.
http://research.swtch.com/2008/04/computing-history-at-bell-...
Typing shit in to the hex monitor for a few years will do that :)
you have to love programming to really appreciate assembly, the succinctness, the satisfaction of being so close to the metal, none of this high level peek and poke nonsense of high level languages :)
you don't write code using a hex dump???
You write assembly code using either hand assembly or more efficiently using a tool called an assembler which makes the tedious task of mapping instructions by name to their hex values easier. After a while you get to remember the common ones though, C9 for example.
And I haven't heard of your school buddy, sorry.
The PDP 10 had a delightful instruction set. While I didn't use the 7094 instruction set, many seemed to feel that it was a good set, and felt let down by the 360 instruction set when it came out.
The motorolla 6809 was nice, and it seemed to have a flavor of the pdp-11 (which itself was a delightfully simple and elegant set).
> We chatted for an hour about peripherally related topics. Broderbund, corporate America, the rat race, capitalism, freedom. I was seducing him.
At the critical psychological moment, I remarked: "You know, all my clipping is done on the byte boundaries."
There was a pause
http://jordanmechner.com/old-journals/page/33/
April 3, 1989
Clickable links to the 6 parts:
http://www.youtube.com/watch?v=HW9AWBFH1sA
http://www.youtube.com/watch?v=bBE4KHKzhKc
http://www.youtube.com/watch?v=tRBo7O_blVo
http://www.youtube.com/watch?v=H_15RtVbqGU
MOS 6502, Number of Transistors: 3510
So in theory, a chip with 65536 MOS 6502 cores each with 64K of internal RAM (4Mb cache) could be made.
My crowning achievement was a multi-threaded kernel for a CNC punch. Since the stack was at a fixed memory address and there was no PUSHA, I had to change threads (in response to an IRQ) by sequentially pushing the registers on to the stack and then swapping the stack with a block copy. It worked! Crazy :/
I loved reading this article - thanks for posting. Awesome stuff! Makes me want to code my own circuit emulator :)