Apple Monitor Format to AIFF Utility

I use this utility to convert files in Apple monitor format files to AIFF. Once in AIFF format I can download them to a real Apple II using a portable music player (iPod) and the cassette port on a real Apple II. This is the easiest and fastest way I know of, to move files to real Apple II and is an essential part of the cross development process I use for developing Apple II programs.

This version has only been tested on Intel MAC, but it was converted from a Mac PPC program, fixing endian and word length issues, so it may work, as is, on other platforms. I have a similar version for Apple 1, but it hasn’t yet been converted to Intel Mac. Here is the source for the Apple2 monitor to AIFF program.

a2aiff

New Version of PS/2 Keyboard Adapter Firmware

I had to program a new batch of micro-controllers, so I decided to make a few minor tweaks to the firmware.

  • The data invert functionality has been dropped . If you need inverted data, you can use external inverters to accomplish the same functionality. I don’t know of anyone that actually used this feature.
  • The jumper that used to control inverted data, is now used to control automatic reset and clear. Automatic reset system and clear screen upon power up is now disabled, unless the jumper is inserted. Several Apple 1 owners wanted more authentic operation, so now I disable automatic reset and clear screen feature by default.
  • A behavior that sometimes caused multiple resets when control-alt-delete reset sequence was used has been eliminated. Once reset occurs, all three keys must be released, before control-alt-delete can cause a second reset. The control-r, control-s, control-t reset functionality is unchanged.
  • Check out the manual that is downloadable from the PS/2 keyboard adapter page.

    Rod Holt’s Apple 2 Fix (part 2)

    Well I found some time and pulled the DRAM bus termination resistors from one of my rev 0 replicas, to see what would happen. I expected to find the machine still worked but with some erratic behavior. I planned to take before and after O’scope shots of the DRAM address bus to be able to demonstrate the difference.

    What I expected and what I got were quite different. What I got, was a machine that wouldn’t boot and give me a monitor prompt at all. I couldn’t really do before and after O’scope images, because I couldn’t generate an apples to apples comparison without putting the processor into the same tight loop for both test cases. However the display on the video was stable, so it shows that DRAM access was at least mostly working without the termination resistors.

    I tried 4K and 36K DRAM configurations, and found no difference in behavior.

    While my reproduction isn’t an original Apple preproduction board, I don’t think behavior would have been significantly different on a preproduction Apple II.

    Just to speculate a little. There may have been enough board to board variation that some pre-production units worked better than others, but I imagine that on the whole, things didn’t look very promising when the first prototype Apple IIs were built. Imagine the struggle that the early Apple employees had, finding a way to stabilize the computer enough to show at the West Coast Computer Faire, and more importantly get it in shape for revenue shipments.

    Rod Holt’s Apple II fix

    There are stories floating around, about how early prototypes of the Apple II were not very reliable and Rod Holt made some fixes to make the design more reliable. A recent example is this Mike Scott interview.

    Just what exactly was wrong and how it was fixed is not mentioned in any of these stories. I’ve always had my suspicions about what one of the problems was. However, without confirmation, I’ve been reluctant to speculate publicly in my blog or elsewhere. Last spring at VCF east, I had a chance to chat with Dan Kottke. Dan was very involved at the technical level with both the Apple 1 and Apple II. More importantly, he seems to have retained in his memory a great many details about those early days at Apple. Dan confirmed my suspicions about what one the of problems was.

    Since I first heard the story of the flakey Apple II prototypes, I was very suspicious of the two SIP resistor modules shoehorned at the end of two of the three rows of ram. Here is an crop of an image of Geoff Harrision’s rev 0 board, #97 showing two blue SIP packages.

    SIP Modules Shoehorned in between chips

    SIP Modules Shoehorned in between chips


    (thanks to Geoff for permission to use this image)

    These resistors are used to terminate the DRAM address bus. Termination is often added to a bus to improve signal quality in cases where noise and ringing cause performance issues. That was the first clue, but there are others. Nowhere else on the board are parts jammed so close together with so little spacing between traces. Also note the silk screen set at an angle – no other parts on the Apple II are labelled that way.

    This image of the copper layer on my rev 0 replica shows how tight this area of the layout is.

    Copper layer around SIPs

    Copper layer around SIPs

    Dan confirmed for me that these SIP packages were added after prototypes exhibited problems with a DRAM address bus that was, in Dan’s words, “all over the place”.

    Satisfied that I have found and had confirmed at least one of the problems with the preproduction Apple IIs, I still have two questions left to answer.

  • Just how bad is “all over the place? Just how well will a system without these resistors run?”
  • Are any preproduction Apple IIs without these SIP packages in existance?
  • Well, I think I have the means to get some idea of the answer to the first question. I will be doing some experiments in the future and reporting results in this blog.

    The answer to the second question will only be answered if someone comes forth with a pre-production Apple II, without the termination resistors. Knowing how engineers save prototype hardware, I’m thinking that some early Apple employee will come up with one, at some point in time. Who knows, maybe Rod still has the one in which he grafted the resistors onto, in order to test his fix.

    More SUPERPROTO ideas

    Prototypers looking to save money – check out the how I changed the 1101 SRAM tester into a permanent solution, without dedicating a SUPERPROTO board.

    http://willegal.net/superproto/index.php?title=Extending_to_Bread_Board_for_rapid_prototyping

    I also added jumper selection of SUPERPROTO superpages to my SUPERPROTO experimenters board. I’m able to change personalities of my SUPERPROTO now, simply by changing out the breadboard and by changing jumpers.

    New SUPERPROTO “Experiment” Added to Wiki

    This is really a practical application, not an experiment. Follow this link to see the details of the 1101 256×1 bit SRAM tester that I put together.

    I bought a bunch of these SRAMs for my SCELBI project, and since it is going to be a while before I can actually use them, I wanted to get some kind of read about how good or bad this lot of chips was. I have the SUPERPROTO available, so I went to work and put this tester together in three days. Probably 3/4 of the time was spent writing and debugging the test program.

    Oh – except for the one I ruined by connecting -9 volts to an address pin, all the SRAMs I’ve tried so far, test good.

    SUPERPROTO Now Available

    I’m going to open up general sales of SUPERPROTO kits and PCBs.

    Price will be $65 for a SUPERPROTO kit.

    Bare PCBs (no components) are going to be $35 each.
    I’m also offering a bundle deal of 4 bare PCBs (no components) for $125.

    Shipping will be a flat $10 to anywhere in the world. When I get busy, I often ship on Monday after packing during the weekend. Because of this, shipping may take up to a week after payment, though usually it’s less.

    For detailed ordering information, send an email to: mike@willegal.net.

    SUPERPROTO Update

    Check out the new light detector experiment that I just posted on the SUPERPROTO wiki. http://willegal.net/superproto/index.php?title=Photo_Detector It actually took me about 3 times longer to write up this new wiki page, as it took me to try this experiment out. The SUPERPROTO is really going to make experimenting on the Apple II a snap.

    Thanks to Ken Gagne, I managed to sell a number of SUPERPROTOs at K’Fest. I also sold another to a person I know well. I expect to get some feedback with the next couple weeks, as well as get the few that did not sell at K’Fest returned to me. Assuming the feedback doesn’t reveal anything serious wrong with the design, I’ll be opening up general sales in about 2 weeks.

    Regular price is still to be set, but will not be lower than the special K’Fest introductory price of $60. I know that this is quite a bit for a “proto” board, but the PCB and chip costs dictate price, and there is little I can do about it. However I will offer bare boards at approximately half the kit price, for those that can supply their own 75LS245, GAL, VIA and EEPROM, or don’t need them for their application. I’ll also consider quantity deals for folks that want a batch of bare boards to use as the basis for a limited production project. Drop me an email at mike@willegal.net if you have interest in a quantity deal.

    Significant Updates to SUPERPROTO wiki

    The reference section has been significantly improved with following topics added:

  • Power and Ground Planes
  • Prototype Area for ICs
  • General Purpose Prototype Areas
  • Apple II Bus Access
  • Extending to a Bread Board for rapid prototyping
  • I’m particularly excited about the breadboard section, as it opens up the Apple II to easy HW prototyping.

    SUPERPROTO connected to breadboard

    SUPERPROTO connected to breadboard

    A couple of years ago, James LittleJohn had offered a card (LittleProto II) with a breadboard built onto it. I think that the approach of a separate breadboard will allow you to easily work on your design, then when you feel that it is solid, move it permanently to the proto area on the card itself. In fact, Jon Titus had published a book back in the old days, that suggested a similar scheme for hardware interfacing. The book is called “Apple II Interfacing”. I talked to Jon about updating and releasing a modified version of this book a few months back, but at this point that project is in limbo.

    SUPERPROTOs will be at K’Fest

    I sent 10 kits to the show – they will be priced at $60 each. One additional kit has been donated to the organizers as a prize/giveaway.

    Here is what the built up superproto looks like.

    SUPERPROTO

    SUPERPROTO

    More information is available on the SUPERPROTO wiki. This is currently a work in progress, as there are several areas that need more documentation. In particular is a description of how the copper layer in the proto areas is set up. It is kind of hard to see, since the solder mask tends to conceal the connections between the pads.

    I also need to add a page to show how to connect the SUPERPROTO to a separate breadboard for easy prototyping.

    More kits will be available in a few weeks, once I catch up on things.

    After the grounding issue with the Brain Board, I did as much research on grounding Apple II plug in cards, as I could. This included rereading some Apple Tech Notes on the topic, which were somewhat insightful, as well as examining existing designs.

    I really tried extra hard to make the ground plane on this board as good as I could make it, and still keep the 2 layer layout. The result exceeds my expectations, as the ground noise on the base SUPERPROTO card is almost non-existent. The 5 volt supply also received some attention, and it looks clean as well. In fact, the board looks much cleaner than my wire wrapped prototype, so I must have done something right.