
Arduino 386EX V5
dbalsom/arduinoX86
An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

The Dot clock is generated by multiplying the color clock by 4 and divide by 9:
C64PALClockGen is an open-source printed circuit board by christianeisendle, from the christianeisendle/C64ClockGen repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 4-layer board of 23.4 × 24.6 mm with 24 parts on 21 nets, routed with 203 tracks and 36 vias.
It is built around the 74AHCT1G125SE and LDL1117S33R. Its parts include 11 capacitors, 3 resistors, 3 ICs, 2 connectors and 1 crystal.
This is a replacement for the MOS 8701 clock generator IC used in C64 board revisions 250425-01 and later. It's not a 1:1 replica but the generated clocks follow more strictly the PAL specification. MOS 8701 is a simple PLL which generates two clocks using a 17.734475 MHz XTAL oscillator. These clocks are:
The Dot clock is generated by multiplying the color clock by 4 and divide by 9:
$\frac{17.734475MHz * 4}{9} = 7.8882MHz$
Furthermore, VIC divides the dot clock by 8 (as one character consists of 8 pixel and memory access is character based) which gives the $\phi0$ clock of 0.986025MHz which is also the resulting CPU and VIC frequency. This is where C64 violates the PAL standard: One raster line is made of 63 CPU/VIC cycles which gives a duration of
$\frac{1}{0.986025MHz}*63 = 63.8929us$
However, PAL defines the horizontal/line frequency as 15.625kHz which is 64us. So C64 is off here by
$1-\frac{63.8929us}{64us} = 1.676\%$
On old CRT screens this isn't really an issue as they make use of the synchronization pulses within the video signal. However, modern LCD screens (which perform internal AD conversion of the video signal) are quite strict on these tolerances and produce screen artifacts in case frequency deviation becomes too big. In particular, Samsung based models need an exact ratio between the color frequency of the video signal and the horizontal/vertical line/screen frequency as defined by PAL. While C64 precisely implements the color frequency of 4.43361875 MHz (which is the 17.734475 MHz color clock divided by 4) the line/screen frequency and with that the overall ratio is off.
{:width="400px"}
This clock generator uses a the IDT5V49EE902 programable clock generator from Renasas to generate the required clocks. This IC has a built-in EEPROM to store the configuration, i.e. an extra microcontroller is not needed for operation (but required for initial programming). The integrated XTAL oscillator uses the existing 17.734475 MHz XTAL on the C64 board, so only MOS 8701 needs to be replaced. The color clock is directly generated by this oscillator while the dot clock is created using frequency synthesis and the included PLL. The PLL output frequency is configured to 425.25 MHz which is fed into an output divider of ratio 54. The output frequency based on input frequency is defined as:
$f_{out} = f_{in} * \frac{M}{D} * Q$
where M and D are the PLL loop dividers and Q is the output divider. With M = 1127, D = 47 and Q = 54 we get the following dot clock for an input frequency of 17.734475 MHz:
$f_{out} = 17.734475MHz * \frac{1127}{47} * 54 = 7.875MHz$
This results in a line frequency of
$f_{line} = \frac{7.875MHz}{8} / 63 = 15.625kHz$
The python script in pll/prog.py contains the programming sequence for the IDT5V49EE902 using I2C. The script can be executed on a Raspberry Pi Pico running MicroPython (https://www.raspberrypi.com/documentation/microcontrollers/micropython.html). Porting it to another MicroController or a USB to I2C bridge should be easily possible. The C64 Clock Generator Board has two I2C testpads exposed with on board pull-up resistors.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 100n | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | C3, C4, C5, C6, C7, C8, C9, C10, C11 |
| 2 | 4k7 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R3 |
| 2 | 74AHCT1G125 | Package_TO_SOT_SMD:SOT-353_SC-70-5 | U2, U3 |
| 2 | Conn_01x08_Pin | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J1, J2 |
| 1 | 1u | Capacitor_SMD:C_0603_1608Metric | C1 |
| 1 | 4u7 | Capacitor_SMD:C_0603_1608Metric | C2 |
| 1 | 5R | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1 |
| 1 | 5V49EE902 | Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.3x3.3mm | Y1 |
| 1 | CLKIN | TestPoint:TestPoint_Pad_D1.0mm | TP1 |
| 1 | FerriteBead_Small | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | FB1 |
| 1 | LDL1117S33 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | SCL | TestPoint:TestPoint_Pad_D1.0mm | TP3 |
| 1 | SDA | TestPoint:TestPoint_Pad_D1.0mm | TP2 |

dbalsom/arduinoX86
An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs



OpenIPC/hardware
A collection of hardware developments by the OpenIPC team


hoeken/frothfet
Yarrboard load controller board with current sense, volt sense, fuses, and sender support.


Fefe-Nayz/kbhe-monorepo
TIPE 2026 - 75% Hall effect keyboard ISO layout - Monorepo: Firmware, PCB, 3D Models, PC Software
It measures 23.4 × 24.6 mm and has 4 copper layers, 1.61 mm thick.
24 parts, built around the 74AHCT1G125SE and LDL1117S33R. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the christianeisendle/C64ClockGen repository on GitHub, at the commit this page was made from: the board is C64PALClockGen.kicad_pcb and its schematic C64PALClockGen.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the CERN-OHL-P-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).