Slashdot Mirror


Wozniak's Original System Description of the Apple ][

CowboyRobot writes "Opening with the line, 'To me, a personal computer should be small, reliable, convenient to use and inexpensive,' Steve Wozniak gave his system description of the Apple-II in the May, 1977 issue of BYTE. It's instructive to read what was worth bragging about back then (PDF), such as integral graphics: 'A key part of the Apple-II design is an integral video display generator which directly accesses the system's programmable memory. Screen formatting and cursor controls are realized in my design in the form of about 200 bytes of read only memory.' And it shows what the limitations were in those days, 'While writing Apple BASIC, I ran into the problem of manipulating the 16 bit pointer data and its arithmetic in an 8 bit machine. My solution to this problem of handling 16 bit data, notably pointers, with an 8 bit microprocessor was to implement a nonexistent 16 bit processor in software, interpreter fashion.'"

39 of 170 comments (clear)

  1. Mistake by AmiMoJo · · Score: 4, Informative

    Spot the mistake on page 40: the timer used was a 558, not a 553.

    I re-implemented this system for a project to connect old game controllers to USB. It is low cost and works remarkably well for basic gaming.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    1. Re:Mistake by CanHasDIY · · Score: 2

      Getting back on topic, has anyone started a petition to get the other Steve back as head honcho at Apple?

      Shit, that happens, let me know.

      With Woz at the helm, I may just be forced to reconsider my Apple boycott, walled garden or not...

      --
      An enigma, wrapped in a riddle, shrouded in bacon and cheese
    2. Re:Mistake by Purity+Of+Essence · · Score: 2

      Well spotted. I recently learned how the paddle interface worked when reverse-engineering an old Apple II game. Even though I cut my teeth on an Apple II, I never knew how the circuit actually worked. When I saw the 6502 paddle code in the game it made no sense to me until I examined the Apple II's schematics. Then my mind was slightly blown. Just another one of those brilliantly simple hacks that riddle the Apple II's design and make it an almost magical device to me.

      --
      +0 Meh
    3. Re:Mistake by Anonymous Coward · · Score: 2, Informative

      Your mind is easily blown. How is a single slope A/D that's been standard practice since before Woz was even born a "brilliantly simple hack"? Jesus, I've got computer and electronics books from 1962 that are yellow and brittle that describe these circuits. Woz has a bit of an overinflated reputation IMO. Every single hardware engineer of the era worked the same way. Yes, even at Atari and Commodore.

    4. Re:Mistake by Anonymous Coward · · Score: 4, Informative
      Yes. There are so many people that labored in obscurity that are far more deserving of praise. You want "brilliant"? Try the MIT Rad Lab series. Or Englebart, or Sutherland.

      http://en.wikipedia.org/wiki/Ivan_Sutherland

      http://en.wikipedia.org/wiki/Douglas_Engelbart

      http://en.wikipedia.org/wiki/The_Mother_of_All_Demos

      http://en.wikipedia.org/wiki/Radiation_Laboratory

      http://en.wikipedia.org/wiki/J._C._R._Licklider

      Somehow, some guy plugging a resistor to a 555, as described in the 555 datasheet, fails to amaze in comparison.

      I'm just sick and tired of the continuous hype for Woz when the people who actually invented computing are forgotten.

      Your mind should be blown by people who invent entire concepts from thin air.

    5. Re:Mistake by CanHasDIY · · Score: 3, Insightful

      Getting back on topic, has anyone started a petition to get the other Steve back as head honcho at Apple?

      Shit, that happens, let me know.

      With Woz at the helm, I may just be forced to reconsider my Apple boycott, walled garden or not...

      And you'll probably be able to augment your iPhone via 6 PCI slots or one of 20 ports...

      You say that as if it's a bad thing....

      --
      An enigma, wrapped in a riddle, shrouded in bacon and cheese
    6. Re:Mistake by Purity+Of+Essence · · Score: 5, Interesting

      Here's the very strange thing about that error. I have a scan of that issue of Byte and it does indeed say 553 there. The article also has a circuit diagram, again showing a 553. If you look at the original Redbook schematics, it also shows a 553 quad timer. There is even advert for 553 quad timers on page 174 of that issue of Byte. I've also seen a post online from someone with a 553 chip in an apparent timer circuit asking about it's identity. All that and no datasheet or cross reference for a 553 quad timer can seem to be found. My best guess is 553 comes from an imprinting error on actual 558 chips.

      --
      +0 Meh
    7. Re:Mistake by Chris+Mattern · · Score: 3, Insightful

      Let me know too, I'll want to short Apple stock. Woz is a pretty good tech head but as a businessman he's a disaster.

    8. Re:Mistake by slew · · Score: 5, Insightful

      The 555 stuff isn't really that amazing, but Woz did some fairly amazing things. For example...

      Integrating the dram refresh with the video display on the original Apple ][ was pretty clever as with the 1/2 phase pixel shift to get cheap color w/o fancy sub-carrier modulation.

      The original Apple ][ floppy drive subsystem using "raw" drive mechanims from Shugart and implementing the controller mechanism in 5 chips and some software (soft sectored avoiding the punch hole detector, no track0 detector, no head load solinoid, 5/3 software group-coder allowing 13-16 sectors/track instead of 10 when others were using MFM, etc.). This when other vendors at the time had quite inferior, yet more expensive floppy disk drives.

      Sure it isn't rocket science, but it is still good engineering wizardry, not just "plugging resistors".

    9. Re:Mistake by bryan1945 · · Score: 3, Funny

      I'm just sick and tired of the continuous hype for technologists when the people who actually invented math are forgotten. :D

      --
      Vote monkeys into Congress. They are cheaper and more trustworthy.
    10. Re:Mistake by Anonymous Coward · · Score: 3, Interesting

      Woz came up with so many improvements over previous art: cutting edge stuff. As you have noted: Video retrace DRAM refresh, well designed interpreted Sweet-16, very efficient BASIC, group encoding for the floppy disk, color shift without subcarriers.

      Not rocket science? That is VERY conservative science. No place to innovate at Woz's pace. There was little, if any prior art: Microprocessors were just too small for "serious study" in most institutions. Woz was, and has always been the king of the tech inventor/implementors.

      No body, but nobody came up with so many improvements in such a short time.

    11. Re:Mistake by slew · · Score: 5, Insightful

      ??? Mr/Ms AC, I didn't change any examples, that was my first post. Perhaps you are refering to another poster?

      I can't speak for anyone else, but my first statement of my post was "The 555 stuff isn't really that amazing" and I finished with "Sure it isn't rocket science..."

      Do you have some issue with these statements?

      Or are you (Mr/Ms AC) just so filled with Woz hate that you have to attack everyone that says anything even remotely positive about Mr Woz with a hair trigger post? Are you're pissed that he wasn't eliminated before your favorite Dancing with the stars celebrity? Fan of Holly Madison, or a GoGo's fan maybe? Is that why you are posting AC? ;^) ;^)

      Of course Mr Woz isn't god (despite what some OTHER posters may have gushed about), be he seems to have been a damn good engineer. However, sometimes the best role models for people are not the ones that are so beyond us that we can never aspire to be them (scientists or researchers that create a new paradigm), but maybe for some of us lowly engineers, someone that we hope we can hold a candle to on a good day and thus more relateable and a bar that we might be able to reach some day if the stars align...

      Is it literally too hard for you to let people have their own heros instead foisting yours upon others? Something to think about Mr/Ms AC...

      But to answer your question (if it was directed to me and not the other poster), what Woz did with the 55x timer is very vanilla and probably could be copied out of a fairchild or national app-note, but what Woz did with the disc controller was something that pretty much was wizardry. Basically he single handedly designed a amazingly cheap floppy disc controller (40 chips vs 5 chips) that not only was more advanced in storage capacity and access speed than any other in the industry at the time.

      By doing so allowed Apple to sell a disc drive for under $500 with a BOM of $150 (eventually reduced to $80) enabling Apple to practically mint money with this product. In several interviews with Mr Jobs and other Apple and (some disbelieving) Shugart contemporaries, they credit this floppy disc controller design by Woz as the major growth driver at Apple and probably more important than the computer itself in launching the Apple IPO. Basically, Woz didn't have any background in floppy disc controller theory, he read some data sheets and figured it out and beat out the best in the industry at the time. He also layed out the controller circuit board to minimize the feedthroughs to help improve the reliability and manufacturability, basically a soup-to-nuts holistic designer. That's engineering wizardry (to me anyhow, as a lowly engineer)... something I might aspire to someday... But even the best designer needs to crank out a 55x-esque circuit sometimes. I'm sure all you your heroes had a few more pedestrian accomplishments along the way too.

    12. Re:Mistake by Anne+Thwacks · · Score: 2
      I was a hardware engineer in the day, and yes they did when facing these problems. Yes I did build floppy controllers which used comparable hacks, and so did others.

      I am not saying Woz was not a good engineer, I am saying that he was not the only good engineer, and he was doing what good engineers do. In those days, you could not get a patent on bending a piece of wire, or some other triviality.

      --
      Sent from my ASR33 using ASCII
  2. Almost, Apple... by jmerlin · · Score: 4, Funny

    To me, a personal computer should be small, reliable, convenient to use and inexpensive,

    Small, check.
    Reliable, check.
    Convenient to use, check.
    Inexpensive... whoops.

    1. Re:Almost, Apple... by NixieBunny · · Score: 4, Interesting

      I was in high school working in a retail computer store in 1978 when the Apple ][ and its competitors were taking hold in the market. The Apple was the only computer with high-resolution color graphics for under $5000. I could tell just by looking at its motherboard that its design was something special - having built a video display board from scratch with my brother, I knew how much circuitry is usually required.

      --
      The determined Real Programmer can write Fortran programs in any language.
    2. Re:Almost, Apple... by ThePeices · · Score: 2, Funny

      Macs price competitive for the hardware?

      Dude, what planet are you on? Let me guess, one with a bite taken out of it?

    3. Re:Almost, Apple... by lord_mike · · Score: 5, Informative

      At the time the Apple II was released, there were only two other non-kit microcomputer systems available--the Radio Shack TRS-80 and the Commodore PET. Both models were well $1000, while the Apple II was about twice as much for equivalent memory. Of course, the Apple II could do a lot more than the other two systems, especially in regards to graphics. However, as the technology improved, and competitors offered more powerful systems at lower prices, Apple never reduced their prices. At the peak of the microcomputer golden age, an Apple II system cost nearly 10 times as much as an equivalent Commodore 64 system.

      When Apple released their floppy disk drive, they priced it at $550. People asked why they priced it so high. Apple responded, "Because we can."

    4. Re:Almost, Apple... by lord_mike · · Score: 2

      Whoops... should have said, "Well under $1000." Sorry for the typo.

    5. Re:Almost, Apple... by tlhIngan · · Score: 5, Insightful

      Macs price competitive for the hardware?

      Dude, what planet are you on? Let me guess, one with a bite taken out of it?

      Depends how you compare. If you're trying to compare say, a Macbook Pro with a netbook, then yeah, Macs are more expensive. Or even a Macbook Air against a netbook. Ignoring stuff like an Atom is no way competitive to a Core2Duo, nevermind the i5, the SSD, memory, etc.

      OTOH, if you try to compare like with like (as much as possible), they're quite competitive. The usual explainations for deviations is use of cheaper bigger heavier laptops in place of svelte ones (e.g., trying to compare a MBP against some much heavier, much larger Dell model instead of using Dell's more expensive smaller and more portable ones).

      And displays as well - some fail to account for upgrading a 15" laptop from a 1366x768 display to I think the 1440x900+ that Apple puts in the 15" (nevermind the 1920x1200 on the 17")

      Heck, even the Air is standing on its own compared to the Ultrabooks Intel's trying to bring out (hint: they're all a joke. First pass - no manufacturer wanted to make an ultrabook because they couldn't be competitive. Second pass - with Intel subsidies, they got the price to be the same as the Air, but with specs that were iffier (i3 vs. i5, slower, heavier, etc). Third pass (current) - intel relaxed the specs even more to be far more generous - so you can find 14" ultrabooks that are 1" thick or so - basically "small laptop').

      Of course, this holds true pretty much for the first couple of months of Apple's refresh cycle. After that, it's not competitive anymore. Given the current Macbooks are all needing refresh, they are uncompetitive. Once Apple releases their Ivy Bridge laptops (WWDC?) they'll be competitive again. It's because Apple doesn't drop their price as time goes on nor do they have sales.

    6. Re:Almost, Apple... by Ihmhi · · Score: 3, Funny

      He's referring to modern Apple hardware, which some might call "overpriced."

      While others might call it "rape."

      Come on now, be fair. How could you "rape" someone with Apple hardware? Let's compare an iPhone to, say, a vibrator.

      A vibrator is sleek, metallic, vibrates, and can be shoved up your ass. That's completely different from an iPhone which is sleek, metallic, vibrates, and can be-

      Mother of god.

    7. Re:Almost, Apple... by gstrickler · · Score: 2

      Size matters, and it costs. The mini is comparatively expensive because it has to use notebook components to fit that form factor. It also has the lowest idle power of any mainstream computer, so it's lower cost to operate.

      When you look at notebooks, size, weight, battery life, display quality and resolution, and durability all matter. Where are the non-Apple notebooks that are competitive with the MacBook or MBP in these factors. There are several, from HP, Dell, Sony, Asus, etc., and they're all in the same price range as Apple's offerings.

      If you don't care about size, or weight, or battery life, or display quality, or durability, there are plenty of cheaper options, but don't try to claim they're comparable. They may suit your needs just as well, maybe even better, but that's not the same thing as being comparable hardware.

      Then, there is the difference in included software. Again, that may or not matter to you, but it's still a notable difference that you haven't accounted for.

      --
      make imaginary.friends COUNT=100 VISIBLE=false
    8. Re:Almost, Apple... by sensei+moreh · · Score: 3, Interesting

      Apple pricing at the dawn of the PC era (Fall 1981), when fresh out of graduate school, the university that hired me offered me $10K in start-up funds for my research lab. I knew I wanted a microcomputer system, but didn't know if the newly-introduced IBM PC was going to be anywhere nearly as well-supported as the Apple ][. So I took that $10K and bought an Apple ][+ with 64K RAM, a Z80 card, CP/M, 3 floppy drives, a monochrome (green) monitor, a color monitor, an Epson MX80 dot matrix printer, a Diablo daisy-wheel printer, Apple Pascal, Microsoft Fortran, and Wordstar. I think there were even a few dollars left over. The next spring, I decided I wanted system for myself so I spent $2200 on a Basis 108 (a German-made Apple ][ clone with a built-in Z80 card and a monstrously heavy case) with 2 floppy drives and a monochrome monitor.

      --
      Geology - it's not rocket science; it's rock science
    9. Re:Almost, Apple... by CityZen · · Score: 4, Informative

      You should look at oldcomputers.net for this info.

      Radio Shack TRS-80:
      basic unit with 4K RAM and B/W video monitor: $600
      basic unit with 16K RAM and Level II basic, monitor: $1000
      ($300 Expansion Interface required to add more than 16K memory)
      basic unit with 16K RAM, Level II, Expansion Interface, monitor: $1300
      5.25" disk drive (requires 16K, Level II, Expansion Interface): $500

      Commodore PET:
      PET 2001 (4K RAM, built-in B/W monitor): $800
      (not especially upgradeable memory-wise)
      PET 4032 (in 1980; 32K RAM, built-in B/W monitor): $1300
      CBM 8050 dual floppy drive (in 1980): $1700

      Apple II: (in 1977)
      Basic unit with 4K: $1300
      Basic unit with 16K: $1700
      Disk II floppy drive with controller card (1978): $600

      Atari 800: (in 1979)
      Basic unit with 8K: $1000
      (includes slots for 3 optional 16K RAM cartridges)
      810 floppy drive: $600

      Exidy Sorcerer: (1980)
      basic unit with 8K RAM: $900
      basic unit with 16K RAM: $1150
      S100 Expansion Unit: $420
      Video Disk unit (B/W monitor + 2 floppy drives): $3000

      Note that prices came down over time, especially due to decreases in RAM prices.

      So, I'd say that there was something of an "Apple tax" even back then, but it wasn't really so much. When you considered how much expansion capability you got with the basic unit (which for other systems was either an add-on or simply not possible), it was actually a good deal.

    10. Re:Almost, Apple... by jo_ham · · Score: 2

      Who says the $100 price difference is solely down to the extra cost of the higher density NAND? They cost more because a) that's what the market will bear and b) making different models of a similar device on a mass scale does not always enable the economics of said devices to merely come down to the raw delta in the cost of the pieces.

  3. 1977 was a seminal year by cpu6502 · · Score: 2

    Apple II released
    Commodore PET released
    TRS-80 (which became the #1 selling computer of the 70s)
    Atari VCS/2600 (#1 selling console of 1977-84)

    All ran on the same Commodore Semiconductor Group 6502 (or variant) processor.

    --
    My AC stalker: " I personally agree with your posts most of the time, but that won't keep me from modding you troll"
    1. Re:1977 was a seminal year by Anonymous Coward · · Score: 3, Informative

      The TRS-80 used the Zilog Z80.

    2. Re:1977 was a seminal year by Crag · · Score: 2

      You mean MOS Technology 6502.

      http://en.wikipedia.org/wiki/6502

  4. Man was an F'ing Genius by Nitewing98 · · Score: 3, Interesting

    Woz WAS the SH*T back then. While I still love him, he's never been the same since the plane crash. God knows what he might have come up with to save the Apple II if he hadn't had the accident.

    --

    Nitewing '98

    Everything works...in theory.

  5. 6502 was awesome! by Anonymous Coward · · Score: 3, Interesting

    I wrote a number of utilities for the Apple ][. One of which was a replacement garbage collection utility. The garbage collector in the Apple ROM would basically kick off when there was no more available memory and then "freeze" the machine for about 30 minutes while it dumped the garbage. I wrote one that could be run from the Ampersand &GC in Applesoft Basic. If your application used a lot of strings and reassigned those strings the heap would fill up really fast. My utility would run in seconds as opposed to the 30 minutes. I made about $1000 as a 16 year old kid selling this utility in Nibble magazine.

    One other comment. Woz was a genius, but his shortcut for color graphics was based on 7 lines. Each byte in the $C000 address space used a nibble encoding scheme to display color. $C000+$200 (I think would move to the next line 7 pixels down. This 7 byte math drove us developers nuts. To draw on the screen you would either use FP math (very slow) or you would pre-populate a look up byte table to know where in memory you should poke to get the right row to show up a color.

    I've not done assembly language since those days. It sure was fun and challenging though. Now everything is so bloated I rarely see tight efficient code anymore. I'm not suggesting that we go back to developing in assembly. I'm just pointing out that you were forced to be disciplined when you coded which made for more efficient code.

    1. Re:6502 was awesome! by IntlHarvester · · Score: 2

      Hey, I remember your garbage collector from Nibble magazine! Sorry, but I think pirated your utility.

      --
      Business. Numbers. Money. People. Computer World.
    2. Re:6502 was awesome! by Anonymous Coward · · Score: 4, Funny

      You evil S.O.B. Gimme my $35.

    3. Re:6502 was awesome! by IntlHarvester · · Score: 2

      Post your contact info :)

      --
      Business. Numbers. Money. People. Computer World.
    4. Re:6502 was awesome! by Anonymous Coward · · Score: 3, Funny

      No way. You pirate, you would probably sell my personal information :)

  6. Reversion to mean? by sjbe · · Score: 2

    God knows what he might have come up with to save the Apple II if he hadn't had the accident.

    Possibly nothing. Yes he is a brilliant guy. But it is entirely possible that his (hypothetical) next act would have been a failure. Woz was the right guy in the right place at the right time. Maybe he would have continued to pump out brilliant products. Maybe not. It's quite possible he was forced to quit while he was ahead. I appreciate your optimism but his first act was a pretty hard act to follow and he hasn't really pumped out much technology of note since.

    1. Re:Reversion to mean? by dbc · · Score: 2

      Woz was/is good at the 'clever hack'. Getting something for nothing. As in the Apple II, where DRAM needs to be refreshed, and Video needs to read memory in a systematic pattern, so lets just make sure the video access read pattern satisfies the refresh requirement, and never have to worry about refresh after that. Also the color video by 'color artifacts' instead of adding an honest color sub-carrier to the video. Another thing I particularly liked about the Apple II is that a certain area of ROM space was set aside for every I/O slot, so installing new hardware and the driver was trivial. No crazy jumpers and interrupt routing, and no driver software to install. It astounds me to this day that when USB was specified, that a mechanism for downloading a driver in some kind of universal byte code that could be flash-compiled for any architecture wasn't specified -- that would have made USB as good as what we had in 1974, but no.

      On the other hand, Woz's software architectures were often a little bit simplistic, and that painted the Apple II into some uncomfortable corners. For instance, the I/O slot ROM software protocol was weird and limiting. Another instance is the floppy controller being squeezed down to such a small amount of hardware that the driver was full of software timing loops that forever doomed Apple II software to be locked into timing loops.

      And one trick he missed that could have been done cheaply... if the video vertical sync pulse had been made available someplace in the I/O space as a bit you could test, then it would have been trivial to know when you were in the vertical blanking interval so that you could flip video buffers cleanly.

    2. Re:Reversion to mean? by La+Gris · · Score: 2

      And one trick he missed that could have been done cheaply... if the video vertical sync pulse had been made available someplace in the I/O space as a bit you could test, then it would have been trivial to know when you were in the vertical blanking interval so that you could flip video buffers cleanly.

      $C019 ;RDVBL bit 7 Apple IIe IIgs Vertical Blanking
      $C041 ;RDVBLMSK bit 7 Apple //c Read VBL Interrupt

      --
      Léa Gris
  7. Woz? by pbjones · · Score: 3, Interesting

    So are we seeing more Woz articles because he is moving back into the computer limelight, or are we just using him to fill a gap in the news?

    --
    There was an unknown error in the submission.
  8. Re:Woz invented Java! by russotto · · Score: 3, Insightful

    You kid, but in all seriousness, SWEET-16 probably does qualify as prior art for a few dozen currently litigated patent claims. Except you couldn't really call the Apple II "mobile". You could fairly call it a "limited resource computing device", though (a phrase found in one of Apple's iPod patents)

  9. So much engineering goodness, so very non-Apple by Sarusa · · Score: 2

    Engineering is optimally solving problems given your constraints, and in that sense the Apple ][ is an engineering master course.

    I remember reading the available docs and being completely bowled over by two things: The video display doing the DRAM refresh for free and the workings of the Disk ][ encoding. It was mostly software driving very basic hardware, which was way ahead of its time. DOS 3.2 was kind of ugly, but since it was mostly software, he could upgrade it, and DOS 3.3 was a major improvement! It's hard now to appreciate how revolutionary this was at the time.

    Even Woz could make mistakes - his sector interleaving wasn't optimal. In the time it took to process a sector, the next one was already past, so each sector took an entire rotation of the disk. But it was software, so various alternate DOSes just added one to the sector interleave, so instead of sector 1 2 3 4 5 you had sector 1 8 2 9 3 9 and you could copy the entire damn disk in 19 seconds. At least an order of magnitude better than the pokey C64 drive which used the hardware uber alles model.

    But his engineering prowess doesn't really work for Apple's current positioning. He's unabashedly pro-consumer and pro-tech, where Apple is (wisely) in the business of providing devices that do a fantastic job of hiding the tech as much as possible, since Grandma or arts majors don't care what the hell the tech is as long as it works like they expect.

    And his charming naivete doesn't really work with a big corporate environment, which is why Jobs was able to cheat him out of so much of the money they got.