Archive for the ‘Brain Board/Wozanium’ Category

Brain Board 74LS244 Grounding Issue

Tuesday, October 25th, 2011

The Brain Board review in Juiced GS included a description of a bad 74LS244. I have had one other report of problems with the Brain Board in an Apple IIe. In that second case, I had that person send back his board, twice. Though I wasn’t able to reproduce the problem in my Apple IIe with his board, I tried two different repairs, the second of which seems to be successful. The first was a simple swap of the 74LS244, which helped, but didn’t completely eliminate the problem.

After further analysis, I determined that the grounding of the 74LS244 is less than optimal on the Brain Board and switching on of the 74LS244 causes a lot of noise on the ground. Apple boards that use a similar data bus driver circuit (Apple FW card & Super Serial) also exhibit this switching noise. The stock Brain Board is somewhat worse in this regard. I found that adding an additional ground wire on the 74LS244 reduces noise to levels lower than the Apple FW board and appears to solve the problem.

This intermittent operation is typically seen as random characters input while at the console prompt, while not actually typing on the keyboard. If you notice this problem, add a wire between the ground pin of the 74LS244 and the ground lead of the decoupling cap near the other end of the edge connector.

Here is an image of a board with the fix applied.

brainboard 74LS244 ground wire fix

brainboard 74LS244 ground wire fix

One more word about this problem. Though I didn’t know of any issue with the ground, when laying out the production Brain Board, I considered shortening the ground connection to the 74LS244, running it across the center of the board, instead of the top. This change might have prevented this issue. However, I decided that, since, in several years of operation of the prototype “Brain Board”, I had seen no issues, that it was unnecessary. This is a case where the “if it ain’t broke, don’t fix it” approach, was the wrong approach. For now, the one wire fix will have to do. If I make another run of these boards, the ground trace will be widened and rerouted using the shortened path I considered before.

Also because of this issue, I’m going to have to make major changes to the layout of the protoboard that I have described earlier in this blog.

Brain Board Review in Juiced GS

Saturday, October 1st, 2011

Peter Neubauer wrote up an excellent review of the Brain Board and it is printed the in September, 2011 edition of Juiced GS.

Brain Board Assembly video

Saturday, July 30th, 2011

Check it out – done by one of the folks that picked a kit up up at K-fest.

http://www.ustream.tv/recorded/16320592

Wozanium Pack Source Code and Rom File Suitable for A2 Emulators Released

Thursday, July 28th, 2011

Ken Gagne was kind enough to take some Brain Boards out to K-fest and sold them at the vendor fair. Do to these extra K-Fest sales, I’ve now managed to cover my costs in producing the “Brain Board”. Thanks to everyone that has purchased one (or more) of these units.

Because I’ve covered my cost, and it might be interesting to some folks, I’m now releasing the source code for the Wozanium pack.

Also included, is a ROM file suitable for emulators, such as Virtual II. This allows you to run and debug Apple 1 software in the Apple II emulator environment. Just select the .ROM file as the ROM for your machine and reset your virtual machine. Just as in the Brain Board, right arrow will clear the screen. With Virtual II, you can download AIF files of A1 basic and assembly language programs and run them in your emulated Apple II, using the emulated cassette interface built into Virtual II. Note that this ROM version does not include the ACI driver at C100, so you must enter the Cassette driver by entering “D000R”, instead.

You can build the source with the 6502 DASM cross assembler.
Use the following command line:
“dasm a2a1emulv5_1.asm -DBLD4ROMBD=0 -DHUSTNBASIC=0 -oa2a1rbh.o -la2a1rbh.lst”

Included in this zip is

* a1basic-universal.asm – Apple 1 BASIC modified to run on Brainboard/Wozanium (note copyright at beginning of this file)
* COPYING.txt – GNU lincense for rest of Wozanium pack
* a2a1emulv5_1.asm – Wozanium source code
* a2a1emulv5_1.lst – Listing
* a2a1emulv5_1.o – Object file
* a2a1emulv5_1.rom – 12K rom file that can be used with A2 emulators, such as Virtual II.

Click a2a1emulv5_1.zip to download Version 5.1.

More about the Brain Board can be found at:
http://www.willegal.net/appleii/brainboard.htm

Which Apple Interpreted Basic is the Fastest?

Saturday, May 21st, 2011

While at the vintage computer festival, I had an Apple 1, an Apple II with integer BASIC and an Apple IIplus with Applesoft all up and running.

At one point late in the afternoon on Sunday, I decided to have a simple performance contest between these machines. This is the program.

10 FOR I = 0 TO 10000
20 NEXT I
30 PRINT “DONE”
40 END

Two machines were matched against each other and the program started at the same time on both machines. The first to finish was the winner.

After several heats, here are the results.

1st place – Apple 1 – by a little
2nd place- Apple II
3rd place – Apple II plus – way behind

At first, I was confused by the Apple 1 beating the Apple II, as the Apple II should run about 5% faster than an Apple 1. This is do to the more efficient method for refreshing memory on the Apple II. The Apple 1 stops processor clocks while refreshing, while the Apple II uses unused portions of the 6502 bus cycles to refresh memory (and read video display data). Integer BASIC on the Apple II is a direct development of Apple 1 Basic, so I was thinking that the performance would depend on the processor, not the Integer BASIC implementation, which were basically the same.

After a while I realized that Apple 1 BASIC might be a little simpler than Apple II BASIC and thus faster. I ran a second test. In this test, I booted the A2plus that I had there at the show into Apple 1 mode, with the Brain Board/WOZANIUM and ran the test against the original Apple 1. Both machines were now running virtually the same version of BASIC. In this case, the Apple II beat the Apple 1 by the expected amount. Thus, Apple 1 BASIC running on an Apple II, is the fastest version of Apple BASIC.

However, keep in mind that if print statements are added to the loop, the Apple II will beat the Apple 1 by a substantial amount.

Note on BB assembly, Version 5.1 PROMs shipped, and Why Is the BB Upside Down?

Wednesday, May 4th, 2011

For people that still had the FCS, 4.0 PROMs, version 5.1 PROMs were shipped on Monday and should be in your mailboxes soon. I will only be updating version 5.0 PROMs upon request. The only difference between version 5.1 PROMs and 5.0 PROMs, is in the power up screen and it doesn’t affect operation in any way.

Though assembly is really straight forward, there is one thing to watch out for when assembling Brain Boards. Where the traces run between pads, the soldermask reveal extends right up to the edges of the traces and, on some boards, where registration isn’t perfect, the solder mask reveal may expose a tiny part of the trace. There is potential here for shorting the trace to the pad when soldering a component to this pad.

Brainboard-soldermask

When soldering these pads, be careful that you don’t accidentally bridge the gap between the pads and the adjacent trace. If you can’t get rid of the bridge with a solder wick or solder sucker, the easy fix is to cut the solder bridge with a hobby knife. Check continuity with an ohm meter to make sure the connection is broken.

Is the Brain Board Designed Upside Down?

It’s funny that no one has questioned or commented about the upside down layout on the brain board. This was done on purpose because of the vastly improved layout possible with upside down chips. The layout of the address and data bus connections between the 27c256 and 74LS244 sockets and the edge connector would be much more complicated if the chips were right side up. Flipping the 27c256 right side up moves the data bus connections of the 27c256 to the opposite side of the chip from the 74LS244 and Apple data bus. Also, all the lower address lines would have to be crossed to properly connect the 27C256 to the Apple bus.

Once I flipped the 27C256, I figured I had to flip all the chips and the silk screen to prevent confusion and mistakes during assembly.

Version 5.1 Brain Board Manual posted on BB page

Thursday, April 21st, 2011

The only difference between version 5.0 and 5.1 is the power up screen. The original A1 had alternating “_” and “@” signs with the @ signs flashing. The @ signs actually disappeared during the flash off.

With version 5.0, I had the @ signs flashing between normal and inverse instead of completely disappearing. With version 5.1, this was fixed to have the @ signs disappear during flashing, like on the original Apple 1. I actually had it right on earlier versions, but made a change to dramatically improve initialization time in version 5.0 and created this discrepancy at that time.

I’ve been shipping 5.1 since 4/1/11, and have heard no reports of issues. In fact, other than the flashing @ signs, I haven’t heard of issues with any of the versions, other than someone verifying the memory corruption bug with 4.0, that I previously reported in my blog.

Because the difference is pretty small and does not affect operation in any way, I don’t intend on automatically shipping updated 5.1 PROMS to those who already have 5.0 PROMs. If you have version 5.0 you can request an update or if you have a PROM burner, I can send you an Intel hex file with the new image.

There are still a few people with version 4.0 that I owe an update to – I plan on shipping version 5.1 to you around the end of the month.

First Batch of Brain Boards Shipping Tomorrow

Sunday, March 20th, 2011

The design is frozen and ready for general shipments. I’m now accepting orders and will be shipping the first batch of Brain Boards tomorrow.

Send me an email, for ordering information.

Brain Board Update #2 – Beta Almost Complete

Sunday, March 13th, 2011

The Brain Board/Wozanium pack web page is up and includes a link to the Beta Manual with has all kinds of information about the implementation. I have a little more to add, including an example downloadable driver that allows a user to control the machine through a super serial card.

I have had some good feedback from the Beta team. Several improvements have been made to the Wozanium firmware and will undergo testing this week. I plan on starting general shipments on 3/21/2011.

Cost for kits will be $59 with free shipping in USA and $10 shipping internationally. I also plan on offering built up units, once I get through any flurry of initial kit orders. Send me an email, if you have any questions.

Brain Board Update

Saturday, March 5th, 2011

I have shipped several Beta kits to some Mimeo builders who also have Apple IIs. Once I incorporate any feedback from the Beta Testers, I’ll open up for ordering. Hopefully this will take only a couple of weeks. My own testing of the production board has revealed no bugs.

In some ways, this is the most complex retro-project I have yet attempted. There was a pretty decent blue print for the Apple 1 and Apple II projects. The complexity involved making sure I didn’t overlook any of the content in the blue print and filling in a few blank pages. The Brain Board project involves creating a way to map the blue print from one fairly complex architecture into another. It also involves mapping the software systems along with the hardware systems. With the motherboard projects, the software was a given. A similar project was the PS/2 to ASCII keyboard adapter, but that mapping is much more constrained.

Several folks have suggested I take pre-orders for this project. Though demand on this project is hard to estimate, I think I have enough parts on hand to supply immediate demand and pre-orders are not necessary.

I have decided to classify this kit as a level 1 kit – it is very easy to build. If you can figure out which end of a chip has pin 1 and have a decent soldering iron, you should be able to build it. Here is a list of projects that I have offered with their skill levels.

1) Apple Cassette Interface (stocked), Brain Board (shipping soon)
2) PS/2 keyboard adapter (stocked)
3)
4) Apple 1 (stocked), Apple 2 rev 0 (discontinued)
5) Datanetics keyboard (several PCBs left)