-7.9 C
New York
Sunday, December 22, 2024

Bald Engineer’s Mega IIe Is a Fashionable Miniature Apple II Primarily based on Mega-II Chip From 1986



When Apple launched the Apple IIGS in 1986, it contained a chip known as the Mega-II. This chip is described as “an Apple IIe on a chip.” This intriguing assertion made this engineer surprise: “Are you able to construct a standalone Apple IIe-compatible pc across the Mega-II?” Within the newest element14 Presents venture video, I doc my multi-year journey to reply this query.

The 16-bit Apple IIGS featured near-perfect backward compatibility with the 8-bit II, II+, and IIe software program library. Many imagine the explanation for this compatibility was the Mega-II chip. Nonetheless, after inspecting the design of the IIGS, it grew to become clear to me it wasn’t liable for software program backward compatibility in any respect! The Mega-II solely does two issues: handle IO units and produce the Apple II video modes. The IIGS’s chipset and firmware deal with every part else.

The video explains three different units that use the Mega-II or variants: the Tiger Studying Pc (TLC), Video Overlay Card, and Apple IIe Enlargement Card. The enlargement card used a a lot later design known as Gemini. None of those units seem to make use of the identical Mega-II within the IIGS to operate as an IIe. Though the TLC, which by no means left take a look at advertising, comes very shut.

The element14 Presents video covers a quick overview of the preliminary design known as Rev 1. It was a small assortment of PCBs that booted to the Applesoft immediate. However that was it! The remainder of the video walks by the rev2 and rev3 designs.

Rev 2 is a Mega-II {hardware} growth platform. It incorporates a backplane design to permit for testing blocks of the Apple IIe circuit and capabilities of the Mega-II. The backplane’s sign format solved a major concern from the primary revision. It eradicated 30 fly-wire connections by laying out the tackle and knowledge indicators so they may join on to the Digilent Digital Discovery! This one easy trick made debugging with the logic analyzer practically painless!

General, Rev 2 offered vital learnings in regards to the Mega-II. Whereas I encountered a number of points, none have been important roadblocks. For instance, the video briefly explains the function of one other IIGS ASIC known as Slotmaker. This chip offered an Apple II-compatible slot AND the flexibility to speak to disk drives by one other IC. The Built-in Woz Machine (IWM) is a single-chip model of the Apple II Disk Card, designed by Steve Wozniak.

The Mega-II makes use of two Raspberry Pi RP2040 microcontrollers, one for enter and one for output. On the enter facet, an RP2040-based circuit offers an interface for contemporary USB keyboards. The microcontroller’s Programmable IO (PIO) modules for the GPIOs reply quick sufficient to the keyboard management indicators from the Mega-II. (Conventional microcontroller interrupts have been too sluggish.) On the output facet, an RP2040 captures the digital video bus from Mega-II and converts it to VGA output.

Rev 3 grew to become the main focus after testing and growing all of the {hardware} blocks. This model of the venture is a single-board model of Rev 2. The 4-layer printed circuit board measures roughly 165 by 175 millimeters. It consolidates a contemporary WDC 65c02, EEPROM, 128K of DRAM, the Mega-II, an IWM with 20-pin and 19-pin connectors, Slot Maker with Apple-II appropriate slot, and each Gameport connector varieties.

Mega IIe’s extra interfaces embrace a VGA port, USB-Host for the Keyboard, a 3.5 earphone jack, and energy enter. The general bundle is simply barely bigger than the 5.25-inch disk drive used with the unique Apple IIe!

Sadly, the preliminary Rev 3 expertise was much less enjoyable than Rev 2. The issues began with the (first) PCB home manufacturing the boards incorrectly after which cascaded from there. The EEPROMs have been extremely unreliable, a board design downside prevented them from working, and once I lastly bought the board in addition, I loaded the EEPROM with the flawed binary. Nonetheless, persistence paid off, and finally, Rev 3 answered my query in regards to the Mega-II!

You’ll be able to watch the complete video above. Skip to 24:26 for a quick overview and demonstration. Further data and hyperlinks in regards to the venture can be found on this element14 Neighborhood put up. You’ll be able to see all design information within the Mega IIe GitHub repository.

Related Articles

Latest Articles