Minimig
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Minimig (a portmanteau of Mini Amiga) is an open source re-implementation of an Amiga 500 using a field-programmable gate array (FPGA).
Minimig started around January 2005 as a proof of concept by Dutch electrical engineer Dennis van Weeren. He intended Minimig as the answer to the ongoing discussions within the Amiga community on implementing the Amiga custom chipset using an FPGA. The project's source code and schematics were released under version 3 of the GNU General Public Licence on 25 July 2007.
Original prototype
[edit]The original Minimig prototype is based on the Xilinx Spartan-3 Starter Kit, the Original Amiga Chipset is synthesized in the FPGA. Two printed circuit boards are attached via the FPGA kit expansion ports. The first one holds a 3.3V Motorola 68000-type CPU. The second has a MultiMediaCard slot with a small PIC microcontroller acting as a disc controller that supports the FAT16 filesystem and does on-the-fly Amiga disk file (ADF) decoding.
VGA-+-PS2 (joystick etc.) | CPU <-> FPGA <-> Microcontroller <-> Flashmemory | RAM
The prototype was shown[2] at an Amiga meet and loaded most Amiga programs, with some bugs. This prototype used verilog instead of VHDL on a PC using Xilinx Webpack software for code development.
Hardware
[edit]Platform
[edit]As of Minimig rev1.0 board:
- Xilinx Spartan-3 400k gate (XC3S400-4PQ208C) FPGA using 82% capacity.
- Freescale MC68SEC000, 3.3V, at 7.09379 MHz. However, there's no 'E' clock, MOVE sr,<EA> is privileged and there is no real replacement instruction.
- Amiga Chip RAM bus and Slow RAM merged into a single synchronous bus running at 7.09379 MHz.
- 2 MB 70 ns asynchronous SRAM organised as 2x 524 288 x 16-bit banks.
- MCU PIC 18LF252-I/SP[3] (An alternative is Atmel AVR) implements a FAT16 disk layout and handles loading of FPGA configuration and Kickstart. This simulates a floppy disk to the Amiga by encoding on the fly from ADF files.
- MMC Flash memory card to load FPGA configuration, kickstart and software for the implemented computer.
- 3× LEDs to display the disk activity, main power, and Amiga power-up status. Amiga power-up status led will also change intensity to show audio filter status.
- Video D/A consists of 4 resistors for each color red, green, blue (4 bits/color), and output via VGA connector.[4]
- Audio from an 8 bit dithering sigma-delta converter with 2nd order analogue filter.
- +5V DC main power (~200 mA).
Ports
[edit]- Spare 3x generic I/O from the FPGA (GPIO)
- JTAG for programming chips (TMS, TDI, TDO, TCK)
- RS232 serial port
- 2x Joystick of Atari 2600 DE9M type.
- DE15F VGA video (which can output PAL-compatible signals to connect to SCART).
- MMC Flash memory card slot.
- PS/2 connector Keyboard + Mouse
- 3.5 mm audio jack
- +5V DC 2.1 mm cylindrical DC plug power supply inlet.
Implementation
[edit]- Motorola 68000 type CPU.
- Hardware OCS and ECS, PAL & NTSC video switchable via OSD.
- 512 KB SRAM for Kickstart used as ROM.
- 0 .. 1536 KB Slow RAM expansion (originally 512 KB).[5]
- 512 .. 2048 KB Chip RAM (originally 1024 KB).
- On-screen display offers selection of ADF disk images from the SD/MMC card using the keyboard or a joystick.
Roadmap
[edit]Date | Event |
---|---|
2005-03-06 | Verilog sources coding started. |
2005-12-05 | Project announced. |
2006 Spring | Verilog sources completed. |
2006-06-11 | Screenshot of schematic for board v1.0 published. |
2006-10-15 | Schematic for board v1.0 completed. |
2007-06-xx | Sources original release date (postponed). |
2007-07-04 | Last source edit (core). |
2007-07-24 | Minimig sources released on the official website. |
Issues
[edit]- It lacks a binary copy of the AmigaOS kickstart ROM from a real Amiga 500 or free re-implementation like AROS-68k which is not yet fully compatible.[6][7]
- The current firmware for loading ROM and floppy images is limited to a single root directory and 8.3 filenames.
Development tools used
[edit]Computer: Shuttle barebone, Prescott Pentium 4 (L2-cache 1024 KB, 533 to 800 MT/s) 3 GHz, 1 GB RAM.
Software: Xilinx Webpack version 6.3.03i (2007-07-22 9.1). Time from HDL source to loadable configuration file (.bit) = 2 minutes. CPU cache and memory speed is vital for the Synthesis + Place & Route Silicon compiler in FPGA generation software.
Future
[edit]Possible future developments include:
- A faster CPU, ECS chipset, AGA graphics (new FPGA board is required), hard disk, ethernet, small RISC-Core for enhanced AROS functions, etc.
- Use of a free kickstart replacement (e.g. AROS).[8]
- A networked version would eliminate the need for swapping flash memories.
Upgrades
[edit]Read/write support
[edit]On 3 September 2008, a new FPGA core enables read/write support, as well as some chipset improvements.[9]
ARM controller board upgrade
[edit]On 22 December 2008, a replacement board that fits in the PIC (MCU) controller socket were announced. It makes hard drive, 4x floppy disk and write support possible.[10] The FPGA core is the same for the new ARM and PIC firmware but only the ARM has enough resources to support four drives. The PIC only supports two. The upgrade also allows an increase of the CPU speed from 7.09 to 49.63 MHz with a 4 KB zero wait state CPU cache. However, it requires an FPGA core to actually carry it out (which works with the 16 MHz 68SEC000 chips).[11] The hard drive support is available by a virtual A600/A1200 style GAYLE parallel ATA interface. Up to 551 KB/s[11] is possible with a minor hardware modification. Otherwise only ~300 KB/s is possible.[12]
USB peripherals and MIDI
[edit]The Minimig port for the MiST board supports USB peripherals including USB keyboard and USB mouse as well as a physical MIDI interface.[13]
Additional 2 MB RAM
[edit]On 22 December 2008, a modification of the original PCB by piggybacking another set of SRAM chips enables up to 4 MiB of RAM in total.[10]
AGA support
[edit]The Minimig port for the MIST board was updated to support major AGA features allowing it to run many AGA games. A binary release, as well as the full source code, is available under GPL.[14][15][16][17]
An unreleased Minimig core has been upgraded with AGA support and extended to support at least 50 MiB of Chip memory on the prototype Replay board designed by Mike Johnson at FPGA Arcade.[18][19][20]
Similar projects
[edit]Jeri Ellsworth, who designed the C64 Direct-to-TV Commodore 64 on a chip ASIC, had a working Amiga on a chip prototype in 2003. Except for the 68000 processor and disk interface, everything was emulated inside a FPGA. However, the project was never finished or turned into an ASIC.[21]
Illuwatar, a small private hardware designer in Sweden, implemented a Mini-ITX form factor version of the Minimig under the Open Source design License.[22] This hardware version fits in standard Mini-ITX cases and has dimensions of 17 cm x 17 cm. Connecting ports in this version were moved to the back of the mainboard to comply with Mini-ITX requirements.
On 9 Feb 2008 ACube Systems announced the availability of finished Minimig v1.1 boards.[23]
On 2006-10-11 Jens Schönfeld at Individual Computers revealed that they had been working on a commercial Amiga-in-FPGA for the past year called "Clone-A" that is similar to Minimig. In contrast to Minimig, Individual Computers's Clone-A was developed by a three-person development team employing a powerful logic analyzer. The system intends to use clone chips to replace CIAs, Paula, Gary, Agnus and Denise, and the CPU will be the original from Motorola. Final chips will also include AGA and a working parallel port to enable 4-player games.[24] Still unreleased since 2015.
Wolfgang Förster has completed the Suska project, which is an Atari ST-on-FPGA.[25]
Inspired by Minimig, Till Harbaum invented MIST,[26] an open FPGA based implementation of Atari ST and Amiga intended to have a low price and be easy built at home. Different than Minimig, the 68000 CPU is not present as physical device but implemented inside the FPGA.
Inspired by MIST, Alexey Melnikov invented MiSTer,[27] an FPGA based implementation of Atari ST and Amiga, based on a commercial board by Terasic : DE10-nano. There are at least five so-called "daughter boards" that enhance the capabilities of MiSTer.
Vampire V4 Standalone, released by Apollo Team in 2019, provides ECS/AGA chipset re-implementation, plus 68080 CPU and SAGA core, also using a field-programmable gate array (FPGA)[citation needed].
References
[edit]- ^ "Minimig rev 1.0 PCB". Archived from the original on 2012-07-18. Retrieved 2009-06-29. 2006-06-11 amiga.org
- ^ "HCC Commodore GG meet". Archived from the original on 2007-09-28. 060218 amigaroxx.zuurkool.com
- ^ "PIC18F252". 070715 microchip.com
- ^ Minimig schematics v1 Page 3
- ^ "Amiga.org - Photo Album". amiga.org
- ^ "AROS Research Operating System". aros.sourceforge.net.
- ^ "Kickstart ROM Replacement (Phase II)". power2people.org.
- ^ "AROS Kickstart ROM Replacement bounty (Phase II)". Archived from the original on September 25, 2008.
- ^ "Amiga.org - News". 090629 amiga.org
- ^ a b "Amiga.org - Forum". 090629 amiga.org
- ^ a b "youtube.com". YouTube. 24 April 2009. Archived from the original on 2021-12-14. 090629 youtube.com
- ^ "Amiga.org - Forum". 090629 amiga.org
- ^ "Minimig MIDI playback on youtube.com". YouTube. 25 November 2014. Archived from the original on 2021-12-14.2014-11-25 youtube.com
- ^ "Lion King running on Beta Minimig AGA core for the MIST". YouTube. 21 October 2014. Archived from the original on 2021-12-14.2014-10-21 youtube.com
- ^ "AGA Source code on Github". GitHub.2014-11-31 github.com
- ^ "AGA core binaries".2014-11-31 google.com
- ^ "AGA thread on Atari forum".2014-10-28 atari-forum.com
- ^ "youtube.com". YouTube. 21 February 2010. Archived from the original on 2021-12-14.100221 youtube.com
- ^ "FPGAArcade | Programmable Gaming Hardware".
- ^ "Amiga.org - Forum". Archived from the original on 2011-07-17. Retrieved 2010-03-07.100221 amiga.org
- ^ Jeri Ellsworth (22 June 2011). "The Amiga on a Chip Project - Too bad it was canceled". Archived from the original on 2021-12-14 – via YouTube.
- ^ "Mini-ITX MiniMig". www.illuwatar.se.
- ^ "ACube Systems Srl". www.acube-systems.biz.
- ^ Individual Computers at CeBit, Clone-A presentation on 2007-03-31 2007-03-09 amigaworld.net
- ^ "Ein in VHDL modellierter Open Source IP-Core mit Atari ST(E) Funktionalität". www.experiment-s.de.
- ^ "MIST - a FPGA based aMIga and ST". harbaum.org.
- ^ "MiSTer". github.com.