Loading 3D model… large boards can take a moment.
Note: this is a part of a larger set of repositories, with upet_family as the main repository.
This is the CPU board for a re-incarnation of the Commodore PET or other computer(s) from the later 1970s.
It is build on a Eurocard board and has only parts that can still be obtained new in 2024. It uses the CS/A bus interface to use other I/O boards.
As the memory mapping is programmable using the FPGA on the board, multiple types of computers can potentially re-created. I started with my favourite one, the Commodore PET.
The reason this board is called Ultra-CPU is because it can potentially be used to recreate not only the Commodore PET. The downside compared to the Micro-PET is, that it needs a separate I/O board to re-create a Commodore PET. This can be found here on my CS/A page.
The board is built with a number of features:
The system architecture is actually rather simple, as you can see in the following graphics.
The main functionality is "hidden" inside the FPGA. It does:
On the CPU side of the FPGA it is actually a rather almost normal 65816 computer, with the exception that the bank register (that catches and stores the address lines A16-23 from the CPU's data bus) is in the FPGA, and that there is no ROM. The ROM has been replaced with some code in the FPGA that copies the initial program to the CPU accessible RAM, taking it from the Flash Boot ROM via SPI. This actually simplifies the design, as
The video generation is done using time-sharing access to the video RAM. The VGA output is 720x576 at 50Hz. So there is a pixel clock of 27MHz.
The system runs at 13.5MHz, so a byte of pixel output (i.e. eight pixels) has four memory accesses to VRAM. Two of them are reserved for video access, one for fetching the character data (e.g. at $08xxx in the PET), and the second one to fetch the "character ROM" data, i.e. the pixel data for a character. This is also stored in VRAM, and is being loaded there from the Flash Boot ROM by the initial boot loader.
The FPGA reads the character data, stores it to fetch the character pixel data, and streams that out using its internal video shift register.
For more detailled descriptions of the features and how to use them, pls see the FPGA repository, as described in the next section.
The following issues have been identified:
Below are the fixes for these. Note, these are NOT yet in the BOM.
The DAC audio output is not linear with the given schematics. This can be fixed by
Here are three subdirectories:
Board That contains the board schematics and layout
Demo Some demo programs
tests Some test programs
FPGA code This separate repository contains the VHDL code to program the FPGA logic chip used, and describes the configuration options - including the SPI and DAC usage and the Video feature and register description.
ROM This separate repository contains the ROM contents to boot
To build the board, you have to find a provider that builds PCBs from Eagle .brd files. Additionally, gerber files and a full Bill-of-material are provided in the Board subdirectory.
The FPGA is a Xilinx Spartan 6 programmable logic chip. It runs on 3.3V, so the bus interface has to convert between 3.3V and 5V. Compared to previous versions and the Micro-PET, also the RAM and CPU on this board run on 3.3V now. The FPGA logic here is programmed in VHDL.
The FPGA programming is actually stored in an SPI Flash Prom, so makes re-creating it even easier compared to the previous versions that used a CPLD - the CPLD required a separate programmer, now a (serial) Flash programmer suffices.
The ROM image can be built using gcc, xa65, and make. Use your favourite EPROM programmer to burn it into the SPI Flash chip.
The ROM contains images of all required ROM images for BASIC 1, 2, and 4, and corresponding editor ROMs, including some that have been extended with wedges and colour-PET functionality.
The updated editor ROMs are from Steve's Editor ROM project and can handle C64 keyboards, has a DOS wedge included, and resets into the Micro-PET boot menu.
For more details see the ROM repository
Note that this version is without the (optional) "Brown Fix" that is included in version 1.0B of the board.
No comments yet. Be the first to ask about this board.