Saturday, February 6, 2010

Discouraging start to the day...

Well, I don't know what the heck happened here, but my keyboard decided not to function today. It was working fine last night... I burned a new BASIC EPROM chip, plugged in the firmware card, powered up the board, and now the keyboard is not working. Some keys work: 1, A, S, D, E, H, J, K, L, Q and that's about it. Most of the other keys do not work. My keyboard has always been flaky, and restarting usually worked. But today, no deal!

UPDATE: I hooked the keyboard up to an Apple II Plus and verified that the problem is the keyboard.

So...

Wednesday, February 3, 2010

Apple-1 BASIC Firmware Card





Another EUREKA moment... well, sort of...
I spent some time over the last few weeks building an expansion card with Apple-1 BASIC programmed on an EPROM. I am able to see the code starting at address $E000. I had initially included a 7404 inverter on the card (as in the picture) but it is not needed and the wiring has all been disconnected and the chip removed. I will post details on how I built this card soon... I am still trying to get BASIC to actually run.

After a little more research it looks like I'm going to be adding a 7410 3 input NAND gate, so that I can AND and invert VMA * clock(00) * J3 pin 11 and the output will be connected to /CE on the EPROM. When all 3 inputs are active HIGH, the output will be LOW, thus activating EPROM.

UPDATE Feb/3/2010: After looking at the schematics again, I guess I don't need to add any gates.
I have been trying to get BASIC to run using the following commands without any luck:

Start system
Clear screen, Reset
enter: E000R
output: E000: 4C@

At this point, I can't do anything except for a reset. No keyboard input is accepted.
4C is the first byte of BASIC. I should be getting the ">" prompt according to the manual.

=====
I also tried the following:
Start system
Clear screen, Reset
enter: E000.E000R
wait until the "\" appears (as stated in the manual when loading from cassette)
output afterwards, these are the last 3 bytes I see, plus the cursor: E_\@
enter: E000R
output: E000: 4C@



Wednesday, January 27, 2010

A14F Rectifier Diode

I've received quite a few emails on where to find the A14F rectifier diode, and my answer has always been: http://www.talonix.com/shop/item.aspx?itemid=8334

It turns out talonix.com doesn't have them and I do not know where to find them -- if anyone does, please let me know. (I obtained my A14F in a trade for a 2519N with an Apple 1 owner who has long since, sold his board, and I have lost contact with him, so I'm not sure of the source).


Wednesday, January 13, 2010

News tidbits

If you are interested in obtaining your own Apple 1 reproduction kit, you might want to check out willegal.net to see Mike's progress on the Apple 1 he is reproducing. Hopefully we'll all be able to purchase boards and kits soon!

I was also informed today that Cameron C. is starting a new community for Apple 1 enthusiasts : www.apple-1.org Cameron is still working on the site but stay tuned.

There are 2 guys working on wire wrapped Apple 1s.

I am working on short videos of my progress -- although my camera sucks, I'll see what I can make available (probably on youtube because of blogger's video size limit).

Second PCB Bug

Mike Willegal had posted a question on applefritter.com awhile ago for someone to check/verify that pin 12 of the Address Decoder / 74154 was connected to ground. From the scans he was working with, he found that pin 12 was not grounded. I checked the board that came with the kit and could see visually, that pin 12 was grounded. At the time I assumed there was nothing wrong with the non-kit board I have, but I assumed wrong. Earlier this week I removed the DIP socket where the 74154 resides, because I wanted to check for solder-bridges under the DIP. I then placed multimeter leads (set to Ohms) from pin 12 to ground and verified that pin 12 is not connected to anything.

I resoldered a new DIP socket, and added a jumper from pin 12 to the ground side of the closest ceramic capacitor. Unfortunately, I am still picking up a 1+ volt signal on ground... more to come on this when I know more.
BTW, it appears at quick glance that the schematics omitted showing GND on each component.

Friday, January 1, 2010

PCB Bug



For all of those who purchased an Obtronix board (not the kit) on ebay several years ago, there is a bug on this board. I can't say we all have the same board, but the board I have is missing a trace on D7 (74161) from pin 7 to pin 10. This bug was causing characters to repeat after a reset. I soldered a jumper wire across these pins, and the repeating chars stopped. This bug was found by Mike Willegal (willegal.net). I verified these pins were not connected by using a multimeter.

Wednesday, December 23, 2009

DS0025CN vs DS0026CN

I tested the DS0026CN chip last week. Although you can enter a program which the system appears to accept, displaying the bytes in memory afterwards shows completely different data. Why bother? Because the DS0025CN is pretty hard to find. I believe I paid $13 USD for a single chip!

Sunday, December 13, 2009

Mounting everything to Plywood



On Dec 12, 2009 I used anything I could find laying around in the basement and garage to mount all of the parts to plywood. I mounted the transformers, the power switch, the keyboard interface PCB, and the keyboard.

Clear Screen Button


On Dec 11, 2009 - I added a momentary switch for Clear Screen, per the schematics.
The switch uses +5v which is supplied by the ZIFF on the "CPU" side of the small PCB.
I also worked on mounting the keyboard and motherboard to plywood.

Wednesday, December 9, 2009

Keyboard connected, up and running!





On Dec 8 at 1:15AM I finally had reset working and dropping into the monitor program. After building the keyboard circuit, I keyed in the test program from the Apple 1 manual. Eureka! Well, one board works (the one that came with the kit). The board I built from scratch components doesn't pick up keyboard events yet, so this board will need additional debugging. But as you can see on the board that works, the ASCII charset is being dumped repeatedly just like it is supposed to.

I started the night with building the Apple II keyboard -> Apple 1 mapping circuit based on WSander's mapping schematic. I did not wire up the Repeat -> Clear mapping yet (which requires one trace modification on the keyboard).
Pin 1 (+5v) on the Apple II keyboard ribbon cable was broken clean off, so I had to separate the wire from the ribbon. I did this with an Exacto blade. Then I extended it about 5 cm by soldering another piece of wire. I didn't have any heat-shrink on hand, so I had to use electrical tape to cover up the bare connections. This made the wire long enough to sneak it underneath and into the DIP socket. As you can see in the photos, I used 16 pin ZIFF sockets on each of the ribbon cables. I also added a DIP socket to each end of the ribbon cable to protect the pins.

One thing worth mentioning, as I am not that familiar with Apple II keyboards -- there is a switch on this particular 1979 model, underneath the keyboard on the encoder PCB. This switch has 2 settings: Ctrl and Reset. My keyboard Reset button did not work until I flipped the switch from Ctrl to Reset.

Saturday, December 5, 2009

Apple II Keyboard to Apple 1 mapping/schematics








All of the preceeding images were sent to me by W.Sander
I will be using Sander's design for my keyboard rig. He was kind enough to go out of his way to obtain the video signal images and a nice image of the Apple 1 screen when the system is first booted.
Note that the ampersand symbols flash, but the dashes do not flash. Check out the cool case for the Apple 1, also designed by Sander.

Clock Signal on Clone number 2




This is a shot of the clock signal on the 6502 / PIN-37
The peak is at 4 volts, and the frequency is 1.020 MHz. Horiz sweep is 500.0 ns.
I'm not sure why there is a negative spike in each cycle?
You can see the same spike in one of the photos below, on the analog scope taken from Clone number 1.

First Glimpse of Working Video on Clone number 2



This image shows the first time I had ever seen video. I don't know why one of the chars is blank, but that only happened the first time I powered up the board.

Building the 2nd Clone


I started working on the second clone (the kit version) last night. I finished it tonite, and this one works. I haven't figured out what is wrong with the first one I built (the non-kit version), but I still cannot obtain any video.

The image above shows the PCB with DIP sockets, 22uF capacitors and diodes soldered into place. The resistors all came in one bag, so they had to be checked with a multimeter and sorted.

Looking at the image above this, you can see that this system is generating video. When I power up the board, I see a screen filled with flashing "_@_@_@_" symbols. I know that this is the correct behavior (An Apple 1 owner recently sent me this info). I don't have a keyboard hooked up yet, so what you see here is the expansion board I built a few months ago, being used to send a reset (recall that after you power up the Apple 1, you hit "Clear" then "Reset"). I don't always get the same results, but I am seeing the "\" and the "@" symbol most of the time after hitting reset. I believe this is correct behavior.
I decided to go ahead and test some of the chips I had laying around. I briefly swapped out the DS0025CN with a DS0026CN and I'm not 100% sure yet, but I think the DS0026CN might work. I need to play around with this a bit more to be sure. While I was at it, I also checked a few of the PROMs I had programmed.
I learned a few things while building this second board, and the first thing I learned was that .032 solder was too thick. I ended up using .020 63/37 rosin core on the second board (See video below). I really thought it was going to be too thin to work with, but it turned out to be perfect. I did use .032 on the components with larger PCB holes and thicker leads (e.g. the power regulators, and the big blue caps).
I also found that the first little PCB I built for the video RCA jack is messing up the signal. I suspect the LED, resistor and IN914 diode. The second board I put together last night works fine, but this one has no LED, resistor, or IN914 diode.

Soldering resistors

I actually didn't know I could take video on this camera. This clip shows a few moments of soldering a handful of resistors onto clone number 2 motherboard.

video

Thursday, October 29, 2009

Solder Bridge Found...



A few days ago, I noticed that the LED for address line A4 on the expansion card was not illuminated. I removed the expansion card and connected it up to a 5v power supply and probed the header connectors. All of the LEDs were working fine. I figured there must be either a bad chip somewhere or a solder bridge. After poking around for about 30 mins with a magnifying glass, I finally found the solder bridge under one of the 74S257 DIP sockets. After dragging a hot solder iron through the bridge, and powering up the clone again, I had an illuminated LED for Address line A4. Very hard to see! (I need to get some flux remover I guess .... that would probably make things a bit easier to see).

Saturday, October 24, 2009

Clock Signal Fixed...




Note the square wave on the scope... I finally have a clock input signal on pin 37 of the 6502 processor. I found that replacing the Philips 74HCT04N with a National Semi 7404N (D12 in the schematic) gave me a square wave. I found this problem by first checking pin 37 on the 6502, then checking the schematic, and seeing that the output from the crystal clock circuit is sent to pin 9 on the 74175 (C13 in the schematic). I then checked pin 9 with my scope and what I saw was certainly not a square wave, so I immediately thought this chip must be bad and replaced it (the 7404). After powering down, then back up again, I was pumped to see my expansion card LEDs flashing away as they should be! Finally. In the image above, you can see the square wave generated while I have my left hand holding the oscilloscope probe on pin 37, and the camera in my right.
The video is still not working, but it is late (5:30 AM) so I will take a closer look at the video issue "in the morning".

-- 9-dec-2009 UPDATE: The video section needs a 7404. 74HCT04 and 74LS04 will not work. I replaced the 7404 with a new one and now have video.

Tuesday, October 20, 2009

2513 Character Generator

This description of the 2513 Character Generator is from Don Lancaster's TV Typewriter Cookbook. The description explains clearly how this thing works. Compared to the datasheet, I thought this was easier to understand, so figured I'd share it with the community.

I've been spending a bit more time on the video section of my Apple 1 clone, trying to locate the source of the problem (I have a signal, but no video). I re-soldered most of the points on the back of the board thinking maybe I had either a solder bridge or just a bad connection. I pulled and reinstalled the chips. Still no video. I tried removing and reinstalling all RAM chips, still no video. I tried swapping out a few of the chips, still no video. I checked all of the 1404 voltages, and everything looked fine. I'm going to have to spend a little more time with the scope, the schematics and the datasheets to figure out what's wrong here....

Monday, October 12, 2009

On Sunday, Oct 11, 2009 I decided to put together an expansion card to plug into the Apple 1 motherboard. This card provides the ability to send a "reset" signal to the CPU, read the address bus, and provide +5v and ground pins for a logic probe or oscilloscope probe. The above image shows the card with power applied, and the logic probe connected. The card is connected using the exact same 44 pin connector that is on the motherboard.


Lights off, first test. The green LED is the power indicator letting me know the board is getting power from the motherboard : +5 volts




Here you can see the 16 address LEDs, with sibling 300 ohm resistors. Note just to the left of the "+ 5v" label (bottom left) and the ground label (top left) there is a single molex pin. These 2 pins are for debugging the motherboard (i.e. the pins are used to hook up a logic probe).
The LED for the reset will be removed -- mainly because I wired it up wrong, and the signal for reset was blocked. Cool to have, but not necessary. Just above the switch is a .1 uF ceramic capacitor - for debouncing. The cap is connected to each pin on the switch.


Rat's nest on the back of the board. What you see here are the address lines, reset, +5 volts running across the top of the board from connector pin 1, ground across the bottom of the board from pin 20. The reset line is held high with a 10k ohm resistor. When the momentary switch is pressed the line is forced low, sending a reset signal to the motherboard / CPU. Testing with a logic probe shows we are good to go.


I attached the 44 pin header to the card using super-glue and a couple of C-clamps. What you see taped onto the board are (6) 16 pin DIP sockets which were soldered into place later on. These will eventually be used for hex displays.

Friday, October 9, 2009

I added the IN914 diode previously mentioned to protect the Apple 1 from unwanted external video surges, and I also added a "power on" LED indicator just for kicks.

Thursday, October 8, 2009


On October 6, 2009 I built this external circuit to bring the video, ground and +5v out to a separate PCB with an RCA jack. Eventually I'll add an LED and I should have included a diode to protect the Apple 1 from any surges coming from the video terminal. It's on my list.
In any case, I did not see anything on the video monitor other than a gray screen. I don't have a keyboard set up yet, with reset and clear, but I was thinking I might at least see random characters.

Monday, October 5, 2009

Miscellaneous images while populating the PCB





More power supply images...


Above: prepping to solder the ON/OFF switch.

Above - prepping to solder the female connector to the power supply lines. I don't know why I waited so long to buy "Helping Hands"... let's see how long it takes before I finally break down and purchase a solder-sucker...


Above: soldering the molex housing pins, one at a time.

Above is the completed power supply. At some point the transformers will be bolted to the floor of a home-made case, or maybe just a piece of plywood...
BTW, that is a 0.5 Amp 250v fuse.

Building the Power Supply




Note that the 4 pin header looks a little rough, because it's actually a cut down version of the 6 pin header. If I took crapier pictures you wouldn't notice :D.



Today I pulled out the 2 Stancor transformers and put together the power supply. I didn't have all of the parts. After spending too much money on hard-to-find chips and carbon composite resistors, I decided it was time to do what we all should do, a little spring cleaning!
So I dug through the basement and garage and found a decent 2 prong power cord, and a fuse housing wire (from an old Panasonic car stereo equalizer) . There were also 4 nice nuts and bolts probably for mounting the stereo equalizer that I snatched out of the equalizer box to use for mounting the (2) Stancor transformers. While digging around I also found a brand new 125v ON -OFF toggle switch that was perfect for this project, in one of my parts bins down in the basement. I grabbed a handful of various old male/female wire connectors I thought I'd find useful as well.

I first started with assembling the 6 pin Molex connector housing and pins. I soldered each connector pin to each of the corresponding Stancor transformer wires after crimping them. I added wire connectors between the fuse wires and also for the ON/OFF switch. Every minute or so I referred back to the Apple 1 manual I had displayed on my computer screen just to make double sure I wasn't screwing up. I had never built a power supply before, so I was a little worried I was either going to hurt myself or fry the board. I took my time, and everything came together just fine. I powered up the board (after soldering the 6 Pin and 4 Pin headers to the board) with the supply and checked a few points to make sure I had the expected voltages (-5, +5, -12, +12). I did this using 3 tools:

1) Oscilloscope
2) Logic Probe and
3) Multimeter set to measure DC voltage

Everything looked OK to me except for one area, which I am still confused over....
The Apple 1 schematic (drawing 101 - Power Supply) shows J3 pins X, Y, and Z where X = GND, Y = +12v and Z = -12v. I measured 22.5v and -22.5v for both of these points. However, the manual said that these 2 pins should not be used, and if they are used need to be regulated (the voltage is not regulated as is).

After cleaning up a bit, I went ahead and soldered the jumper points above the 74154. I used a combination of the Apple 1 manual - schematic notes, and the scant instructions (from the web) from Obtronix. They are slightly different, but I don't know why:

Apple 1 Manual (schematic notes) jumper connections:
Y => CSF
Z => CSD
W => CS1
X => CS0 (zero)

Obtronix:
Y => F
Z => D
W => E (Note Apple jumps W=>CS1)
X => 0 (zero)
R => C

I took a look at a few Apple 1 images, and found a couple with jumper wire from W=>E so that is what I went with as well.

I powered up the board again and checked a few more points. I shut everything down, cleaned up a bit more, then proceeded to install the chips. After installing all of the chips, I powered up the board again looking for smoke, arcing, fire, flames, explosions, and nothing happened. But this time the board started producing heat. The 74154, the ROMs and the LM323k were all generating heat. The 6502 was not, however. I checked the voltages for 5v on the 6502 and everything looked fine.

So, enjoy the photos, and tomorrow after work maybe I'll see if I can knock out the keyboard and video.

Thursday, September 24, 2009

oops...

I just realized all four of the A14F are installed backwards...

OK, so it took me about 2 hours to fix this major screwup. The A14Fs are back in business.

LM323K Voltage Regulator Installation






Tonite I installed the LM323K voltage regulator (5v / 3a).
A pair of magnetized wire strippers came in handy to drop the screws into place. Needle nose plyers would have worked fine too I guess. I used a tiny amount of masking tape to tape the washers to the screws so that I could drop them into place easily. The area is too tight to get your fingers into (maybe you can, but I could not).
This was a bit more frustrating than I thought it would be, but everything is now soldered into place.

Soldering resistors and ceramic capicitors





So today I got a package in the mail from Surplus Sales.... which contained all of the carbon composite resistors (EXCEPT for the (12) 3k ohm), the ceramic caps, the 47pF capacitor, and the 100 ohm video trim potentiometer. I soldered the A14F rectifiers, the MPS transistor (video signal), the .1uF, .01uF and .001uF ceramic disc capacitors, the 47pF dipped cap, and the 14.138 Mhz crystal.
In the image at the top, you can see that I shorted the (2) "6502" bridges, as well as the No DMA bridge. I used wire that was trimmed from the resistors to short the (2) "6502" bridges.
(The No DMA short only has one hole in the PCB, not sure why?)

Anyhow, here are a couple of things that I learned tonite:

1) The MR501 rectifier diodes have wire leads that are too big for the holes in the PCB so I used A14F rectifiers instead. (A friend of mine sent me these from Ca. as I could not find them anywhere -- apparently they are only 15 cents each at the electronics shops in the Bay Area)

2) If you are working with ceramic caps with really short leads, make sure that you tape them to the PCB before you solder them. Otherwise they might fall out when you turn the board over. And if they do fall out *while you are soldering*, as did for me, you will be swearing for the next 15 minutes trying to get the solder out of the holes so that you can start over. Luckily, it only happened once. I didn't have much luck removing the solder using copper braid. So I ended up using a piece of trimmed resistor wire and a pair of plyers to hold the wire (so I wouldn't burn myself). I reheated the solder in the hole while plunging the resistor wire into the hole until it came loose. After a few tries I was able to remove enough solder to get the capacitor back into place AND TAPED to the PCB before attempting to solder. (I will purchase a solder sucker soon...)

3) If you use too much solder on resistors, caps and diodes, the solder will seep through to the other side and "ball up", creating small BB like balls of solder on the top of the PCB. (Maybe my iron is a little hot?)

4.) I am finding that a setting of about 3.4 on my soldering iron is a good heat to work with.
I let the iron heat up for at least 5 minutes before using it.
(Model = Weller WLC100)

Tuesday, September 15, 2009





Today a package arrived from Jameco.com, more parts for the Apple 1 clone! So tonite I soldered the 1N4001 diodes (4) and the (3) voltage regulators (-12v, +12v and 5v).
My Apple 1 board stencil was not readable, so I broke out the other board I have which does have a readable stencil around the regulators, so I've included a picture.

Saturday, September 12, 2009






So today I finally took the plunge and started soldering IC sockets, diodes and axial capacitors onto my Apple 1 clone. I guess it took about 3.5 - 4 hours total. I took my time in effort not to screw up. I taped each IC socket to the front of the board with masking tape, one at a time, as I soldered them so that they were nice and flat against the circuit board. After soldering all of the IC sockets, I soldered the IN914 diodes, then the 22uF axial capacitors. Then I did the large cap, and then the (2) 2400 uF caps.
Note the 11000uF 25v capacitor to replace the impossible to find 5300uF cap. ( Tip from a former Apple Engineer )

Monday, September 7, 2009

Interview with Monroe Postman, Original Apple 1 owner

Monroe Postman Interview
=======================

Sep.2009

Hello everyone, I am here speaking with Monroe Postman, one of the few owners of the original Apple 1 computer.

Hi Monroe, can you tell us about your background, and what sparked your interest in computing?

I got my Bachelor of Electrical Engineering (BEE) before schools were offering Computers as a Major. My long term interest in computers turned professional when I joined the UNIVAC 1 staff at New York University in the early 1950s, which led eventually to a career in designing digital computers. I also taught microprocessor equipment design in the 1970s under a National Science Foundation grant.

What can you tell us about your experience as a HomeBrew Computer Club member?

I attended The Homebrew club after it started meeting at the Stanford Linear Accelerator (SLAC) and stayed until it left that venue. I was not an "active participant;" I just listened with rapt attention as the revolution got under way.

Is it true the Lee Felsenstein thought he was in charge, but wasn't really?
Was it a free for all?

My recollection was that Lee did keep order, but wasn't "bossy." There were at least 100 people at a typical meeting, but it was hardly a free for all. And there were plenty of disagreements, but the atmosphere was generally civil.

Did you ever get to meet Steve Wozniak? If so, what can you tell us about that encounter?

I only met Steve Wozniak briefly, years later, when I asked him to sign my Apple 1, I believe at the Computer History Museum in Mountain View. He was very cordial.

Did you ever see Woz demo the original Apple at the club?

Yes, I recall seeing a demo in the lobby of SLAC. I think that he was also at the First West Coast Computer Faire held in 1977 in San Francisco. That was very exciting!

Where and when did you purchase your Apple 1?

I bought it at an estate sale, in around 1980.

What made you decide to put your Apple 1 up for sale?

I guess as a collector, my interests have evolved over time. And there are so few of these Apple 1s out there, it’s time for someone else to enjoy it.

If you could give any bit of advice to people just getting into computers, who might be interested in either software programming or hardware design what would you tell them?

I've been a hardware engineer, using a bit of programming or machine code to modify and test my designs. If I were just entering graduate school, this time I would opt to study bio-engineering which is an exciting mix of many engineering disciplines. Every engineer should know which end of a soldering iron is hot! I know that is so 20th century . . .

It seems we’re always at the end of one exciting era in the history of computers and at the beginning of another. Leave it to Apple with the iPhone to have introduced one of today’s most interesting computing platforms, with wifi, location awareness, color touch screen, video and all of its other features it is changing the way people compute.

In my own life, I have recently been working at the Department of Veterans Affairs, using sensors, hydraulics and computer control to build solutions that provide rehabilitation and assistance to stroke victims, paraplegics and quadriplegics.

Monroe, thank you very much for your time, it has been a great pleasure.

Please visit: http://apple1forsale.com