0

May 4, 2011 AT 3:01 pm

AppleCrate II: A New Apple II-Based Parallel Computer

Crateii

AppleCrate II: A New Apple II-Based Parallel Computer

Since the Enhanced //e ROM has only $200 bytes available, a new “passive” boot protocol had to be devised. The new ROM code continuously monitors the network for a broadcast BOOTREQ control packet containing the load address and length of the immediately following boot code data. When the boot image has been correctly read from the network, control is passed to its starting address. This passive boot code only needs to read packets from the net, and so occupies just $190 bytes, which comfortably fits in place of the Enhanced //e ROM self-test code at $C600.

The new boot protocol capitalizes on the fact that boot code is sent as a broadcast transaction, so the machines being booted do not need IDs to receive boot code. A page of “second-stage boot” code is added at the front of the slave machine boot image. This code is given control immediately after the boot image is received, and, when enabled by the “GETID daisy chain”, it sends a GETID request to the machine that &BOOTed it, making use of the code in the full NadaNet boot image to do so (see the BOOT2 code in the NADA.CRATE listing for details).

The GETID daisy chain functions just as it did in the AppleCrate I. The “first” machine is permanently enabled by connecting its PB2 to ground. AN2 of each machine is connected to PB2 of the “next” machine. The second-stage boot code running in each machine initially sets its AN2. Then it waits until it sees its PB2 go low, enabling it to send its GETID request. When its GETID is successful it drops its AN2, enabling the next machine. Then it clears its video display, writes a banner showing the machine ID, and enters its server loop.


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — Samsung & Batteries

Wearables — Award winning shield

Electronics — Here’s the deal with BJT power

Biohacking — Microbes in the Mansion: US Presidents and their Bacteria

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.