cyboard-for-cpc
Cyboard: An Open-Source SYMBiFACE II-Compatible Board That Brings the 1984 Amstrad CPC Online with the W5100S
0
Project description
Summary
Cyboard is an expansion board for the Amstrad CPC. It packs CompactFlash storage, a PS/2 mouse, an RTC and Ethernet onto a single SYMBiFACE II-compatible board. The WIZnet W5100S handles Ethernet and connects to the 4 MHz Z80 in indirect parallel bus mode using only four I/O ports. Because the chip runs TCP/IP in hardware, a 40-year-old 8-bit machine can ping, transfer files over FTP and sync its clock from SymbOS and CP/M.
Overview
The Amstrad CPC is a Z80-based 8-bit home computer released in 1984, running at 4 MHz. Its community is still active, and it even runs SymbOS, a graphical desktop OS. The SYMBiFACE II was an expansion board that added IDE storage, a PS/2 mouse and an RTC to the CPC. Only about 200 units were built between 2006 and 2012, and today it is available only second-hand.
In February 2023, Dimitris Kefalas from Greece (forum handle d_kef) designed a compatible board that places the CF card, mouse and RTC at the same I/O addresses as the SYMBiFACE II. He then added W5100S Ethernet (#FD20–#FD23). Because the addresses match, existing SYMBiFACE II software can use these devices as-is. The schematic, PCB, Gerbers, BOM and firmware are all published under GPL-3.0.
The same designer later released Net4CPC, a standalone board that carries only the Ethernet part of Cyboard. This article centers on Cyboard, the original, and also covers Net4CPC, its derivative.
→ GitHub repository: https://github.com/salafek/cyboard-for-cpc
Hardware
| Function | Parts | Notes |
|---|---|---|
| Address decoding | GAL20V8B + 74HCT21 | Full 16-bit I/O address decoding |
| Storage | CF card socket | Runs in memory mode and is accessed directly as an 8-bit device |
| Mouse | PIC16F84A + USB-A connector | PS/2-compatible mouse, 5 buttons and scroll wheel |
| Clock | DS12887A | Same DS12887-family RTC as the original SYMBiFACE II |
| Ethernet | W5100S network module | Indirect parallel bus mode, #FD20–#FD23 |
| Other | 74HCT244 (mouse data buffer), reset button, CF activity LED | Mother X4-compatible connector |
Unlike the original SYMBiFACE II, the RAM and ROM expansion is left out. Ethernet takes its place.
Ethernet comes from an off-the-shelf W5100S parallel network module with a built-in 3.3 V regulator, which plugs into the board. The designer notes that WIZnet's own WIZ810SMJ (W5100S) or WIZ610MJ (W6100) modules can also be used with small design changes.
Architecture
Every I/O request from the CPC passes through a single GAL20V8B. The GAL looks at the address and asserts the chip-select line of one of the four devices. The firmware source defines the W5100S condition like this:
W5CS = IOREQ & A1X & A8 & !A9 & !A7 & !A6 & A5 & !A4 & !A3 & !A2;
A1X is asserted when A15–A10 are all 1. The addresses that satisfy this equation are #FD20–#FD23, and the remaining A1 and A0 select one of four registers inside the W5100S.
→ GAL source: https://github.com/salafek/cyboard-for-cpc/blob/main/firmware/gal20v8b/cyboard.pld
Technology Background
Z80 I/O Space and GAL Address Decoding
The Z80 has an I/O space separate from memory. When an IN or OUT instruction runs, the IORQ signal goes active and the port number appears on the address bus. An expansion board must check that address to decide whether it is being spoken to. The circuit that makes this decision is the address decoder.
Decoders used to be built from several 74-series logic ICs. Cyboard instead handles decoding for all four devices with a single programmable logic device, the GAL20V8B. This cuts the part count, and changing an address only means editing the .pld source and reprogramming the chip. Cyboard compares the full 16-bit address. [Inferred] This lowers the risk of address clashes with other expansion boards.
SYMBiFACE II Compatibility
The SYMBiFACE II is a multi-function CPC expansion board. It provided an IDE hard-disk interface, a PS/2 mouse, a PC-compatible RTC, and 512 KB of RAM plus 512 KB of ROM expansion. Cyboard places its CF card (in place of IDE), mouse and RTC at the same I/O addresses as the SYMBiFACE II. Software that supports the SYMBiFACE II can therefore use these Cyboard devices unchanged. The RTC is also from the same DS12887 family as the original.
→ SYMBiFACE II (CPCWiki): https://oldwiki.cpcwiki.eu/index.php/SF2
SymbOS and KCNet: The Network Software on This Board
Two families of software use Cyboard's Ethernet.
- SymbOS network daemon: In SymbOS, the graphical desktop OS, network applications reach the W5100S through this daemon. The daemon ships in the
Extra/folder of the Net4CPC repository - KCNet utilities: A set of CP/M network tools originally written for the East German KC85 computer. They were ported to the CPC with permission from the original author, susowa. The set includes
NCFG(network setup),PING,NTIME(time sync),FTP,TFTP,WOL,NPRINT,CPMNETand a KERMIT client
KCNet comes with a condition that allows private, non-commercial use only.
→ KCNet for Net4CPC: https://github.com/salafek/KCNet-software-for-Net4CPC
→ SymbOS network daemon: https://github.com/salafek/Net4CPC/tree/main/Extra
Technical Highlights
- Four devices decoded by one chip: All GAL20V8B outputs are programmed as combinational logic. The 74HCT21 combines A15–A10 and hands the result to the GAL, which compares the rest of the address
- Storage with no initialization: The CF card runs in memory mode, so it is accessed directly as an 8-bit device. No software initialization is needed
- A mouse controller clocked by the CPC: The PIC16F84A runs from the CPC's 4 MHz clock, and its firmware is written in assembly
- Plug-in Ethernet module: The W5100S chip is not mounted on the board itself. Instead, a finished module carrying the chip and RJ45 jack plugs in, so there is no need to solder a 48-pin chip by hand
- All design files published: The repository holds the EAGLE sources (
.schand.brd), Gerbers, a BOM with Digi-Key part numbers, and GAL and PIC sources and binaries
Where WIZnet Fits: What the W5100S Does
Why the W5100S
On Cyboard, the W5100S is a hardwired TCP/IP controller that handles all TCP/IP processing. The Z80 only writes commands to socket registers and copies data. It does not manage TCP state or retransmissions.
Three properties make the W5100S a good fit for this machine.
- 8-bit parallel bus: Besides SPI, the W5100S supports a parallel bus with 2 address lines and 8 data bits. It attaches to the Z80 bus with no SPI conversion circuit
- 5 V tolerance: The W5100S runs at 3.3 V, but its I/O tolerates 5 V signals. It can therefore sit on the CPC's 5 V bus without a level-shifter IC. In the circuit, the data lines pass only through 470 Ω series resistors, and
/RDand/WRthrough 1N4148 diodes - 4 hardware sockets and 16 KB of buffer: The chip handles TCP, UDP, ICMP and ARP and keeps 16 KB of TX/RX buffer on-chip. The CPC's 64 KB or 128 KB of RAM is not needed for network buffers
→ W5100S official documentation: https://docs.wiznet.io/Product/Chip/Ethernet/W5100S
Indirect Parallel Bus Mode: Reaching Inside the Chip Through Four Ports
The W5100S lays out its registers and buffers in a 16-bit address space. The parallel bus has only two address lines, so the CPC uses four I/O ports and works by "write the address first, then read or write the data." This is indirect bus mode.
| Port | Register | Role |
|---|---|---|
#FD20 |
MR | Mode register |
#FD21 |
IDM_ARH | Upper 8 bits of the internal address |
#FD22 |
IDM_ARL | Lower 8 bits of the internal address |
#FD23 |
IDM_DR | Reads or writes data at the selected address |
The datasheet states that this mode supports N-byte sequential reads and writes. After setting the address once, the CPC can move a buffer by reading or writing #FD23 repeatedly.
What Happens When Connecting to a Server
Here is what happens when FTP.COM on CP/M connects to a server, following the standard W5100S socket procedure.
- Open the socket: The Z80 sets the address of socket 0's mode register through
#FD21and#FD22, then writes TCP mode to#FD23. It then writes theOPENcommand - Request the connection: It writes the server IP and port 21 into the destination registers and writes the
CONNECTcommand. This is where the Z80's work ends - The chip takes over: The W5100S resolves the peer's MAC address with ARP and performs the SYN → SYN-ACK → ACK handshake itself. If there is no response, it retries a set number of times on its own
- Check the status: The Z80 only reads the socket status register to see whether it has reached
ESTABLISHED - Send data: The Z80 copies the FTP command string into the TX buffer through
#FD23and writes theSENDcommand. The chip splits data into MSS-sized segments and retransmits when there is no response - Receive data: When the server replies, the chip sends the ACK and stores the data in the RX buffer. The Z80 reads the received size, pulls that many bytes out through
#FD23, and frees the buffer with theRECVcommand
→ W5100S TCP procedure (official app note): https://docs.wiznet.io/Product/Chip/Ethernet/W5100S/Application-Note/tcp
Think of it this way: the W5100S is a post office counter, and the Z80 is a customer dropping off a letter. The customer only hands over the address and the letter. Finding the destination (ARP), confirming registered delivery (handshake and ACK), and resending returned mail (retransmission) are all the post office's job. The customer only checks later whether the letter arrived.
Without the Chip
Without the W5100S, putting a CPC on a network would mean adding a separate Ethernet MAC chip and running the entire TCP/IP stack in Z80 software. A 4 MHz Z80 would have to compute checksums for every packet, manage TCP state and retransmission timers, and reserve buffers in CPC RAM. [Inferred] That would take CPU time and memory away from applications, and running a desktop OS alongside networking would become much harder.
The CPC-ENet, an earlier Ethernet card for the CPC, used the CS8900A Ethernet controller. [Inferred] The CS8900A does not run TCP/IP on-chip, so in that design host-side software has to handle TCP/IP.
→ CPC-ENet (CPCWiki): https://oldwiki.cpcwiki.eu/index.php/CPC-ENet
A Derivative Board: Net4CPC
Net4CPC is a standalone board that carries only Cyboard's Ethernet interface. Its repository README describes it as a stand-alone implementation of the Ethernet interface found on Cyboard. SymbOS and KCNet support Net4CPC as well.
| Item | Cyboard | Net4CPC |
|---|---|---|
| Functions | CF card, mouse, RTC, Ethernet | Ethernet only |
| Address decoding | GAL20V8B (needs programming) | 74LS30 + 74LS32 (standard logic ICs) |
| Module options | Off-the-shelf W5100S module | Off-the-shelf W5100S module or WIZ810SMJ / WIZ610MJ |
| Power | Regulator on the module | Adds an AMS1117-3.3 for genuine WIZnet modules |
| First repository commit | 2023-02-05 | 2023-02-11 |
Net4CPC uses no GAL, so it can be built without a device programmer, and the board has a dedicated footprint for genuine WIZnet modules. The connection to the W5100S (470 Ω series resistors on the data lines and 1N4148 diodes on /RD and /WR) is the same on both boards.
→ Net4CPC repository: https://github.com/salafek/Net4CPC
You can try this board without the real hardware. The Amstrad CPC emulator 1984 reproduces Net4CPC down to the W5100S register level, so the same KCNet and SymbOS software runs on a PC.
→ 1984 emulator: https://github.com/salvogendut/1984
Similar Projects on WIZnet Makers
- Spectranet: An interface that adds a WIZnet W5100 to the ZX Spectrum (Z80), providing TCP/UDP sockets, a network file system and firmware updates over the LAN. It is open hardware under the MIT license and is also sold. Like Cyboard, it attaches the chip over a parallel bus, but it maps the chip into the Spectrum's memory space and adds flash and SRAM to go deeper on networking
→ Project link: https://maker.wiznet.io/TheoIm/resellers/spectranet-1/ - GR8NET: A commercial cartridge for the MSX (Z80) that combines W5100 Ethernet with BASIC network commands, TCP/IP UNAPI and FPGA media features. Like Cyboard, it puts several functions on one board, but it uses an FPGA to also include a memory mapper, audio and SD storage
→ Project link: https://maker.wiznet.io/Benjamin/resellers/where-does-w5100-fit-in-the-gr8net-ethernet-and-media-cartridge-for-msx/ - MT011: An RC2014 (Z80) bus-compatible Ethernet controller using the W5500. It shares the idea of attaching a WIZnet chip to a Z80 bus, but connects over SPI rather than a parallel bus
→ Project link: https://maker.wiznet.io/sophia/projects/MT011-is-an-RC2014-compaitible-ethernet-controller-based-on-the-w5500/
All three take the same design choice: "let the chip handle TCP/IP for the Z80 machine." Handing TCP/IP to a hardwired chip, rather than running it on an 8-bit CPU, is the established approach to networking in retro computing.
| Item | Cyboard | Spectranet | GR8NET | MT011 |
|---|---|---|---|---|
| Target machine | Amstrad CPC | ZX Spectrum | MSX | RC2014 |
| CPU | Z80 | Z80 | Z80 | Z80 |
| WIZnet chip | W5100S | W5100 | W5100 | W5500 |
| Connection | Indirect parallel bus (4 I/O ports) | Parallel bus (memory-mapped) | Cartridge bus (memory-mapped) | SPI |
| Non-network features | CF, mouse, RTC | Flash, SRAM, CPLD | Memory mapper, audio, SD | None |
| Form | Open hardware (GPL-3.0) | Open hardware (MIT), sold | Commercial | Unknown |
What sets Cyboard apart is that it adds Ethernet while keeping compatibility with an existing expansion board (the SYMBiFACE II), and that it attaches the chip through only four I/O ports instead of memory space, leaving the CPC memory map untouched.
Use Cases
- Networking for the SymbOS desktop: With storage, mouse, clock and network on one board, network applications can run on the graphical desktop
- Network tools on CP/M: KCNet handles IP setup, ping, time sync, FTP and TFTP file transfers, and Wake-on-LAN. Moving files between a PC and the CPC no longer needs floppies
- A reference design for other 8-bit machines: The GAL decoding equations and the indirect parallel bus connection are public, so they serve as a direct reference for adding a W5100S to any other machine with a Z80 bus
- Development without the hardware: Since the 1984 emulator reproduces this board, network software can be written and tested without a real CPC, then moved to the hardware
Limitations and Future Improvements
Current limitations:
- No TLS: TLS is not among the protocols the W5100S handles. HTTPS would require the Z80 to handle encryption, and no CPC software that does this was found
- IPv4 only: The W5100S supports IPv4 only
- Four concurrent connections: The W5100S has four hardware sockets. [Inferred] That is usually enough for retro use, but it limits running several services at once
- No recent updates: The last commits to the Cyboard and Net4CPC repositories are from May 2023, with no releases (the KCNet repository was updated in September 2025). Whether the boards are sold is not confirmed
Directions for improvement:
- W6100 module support: The designer has already said a W6100 module (WIZ610MJ) can be used, and Net4CPC has a footprint for genuine modules. The W6100 supports an IPv4/IPv6 dual stack and eight hardware sockets, so [Inferred] once software follows, it could address both IPv6 and the connection limit
- TLS through an external proxy: [Inferred] Rather than handling TLS on the Z80, a more practical setup is another device on the LAN that converts HTTPS to HTTP
→ W6100 official documentation: https://docs.wiznet.io/Product/Chip/Ethernet/W6100
FAQ
Q. Can I build one myself? A. Yes. The Gerbers and BOM (with Digi-Key part numbers) are public, so you can order the PCB, buy the parts and assemble it. The GAL20V8B and PIC16F84A must be programmed with a device programmer, though. If you only need Ethernet, Net4CPC is simpler because it has no GAL.
Q. How do Cyboard and Net4CPC differ?
A. The Ethernet part is the same (W5100S at #FD20–#FD23). Cyboard is an all-in-one board that also includes the CF card, mouse and RTC, while Net4CPC is an Ethernet-only standalone board. [Inferred] If you already own a SYMBiFACE II, adding just Net4CPC is also an option.
Q. Can I use a W6100 module instead of the W5100S? A. The designer says the WIZ610MJ (W6100) module can be used with small design changes, and the Net4CPC board has a footprint for it. However, no CPC software using the W6100's IPv6 features was found.
Q. Can I try it without the hardware? A. The Amstrad CPC emulator 1984 reproduces Net4CPC's W5100S down to the register level, so you can run the same KCNet and SymbOS software on a PC.
Q. How is the network configured?
A. On CP/M, KCNet's NCFG sets the IP address, subnet mask, gateway and DNS. On SymbOS, the network daemon handles configuration.
요약
Cyboard는 Amstrad CPC용 확장 보드로, CF 카드 저장장치·PS/2 마우스·RTC·Ethernet을 한 장에 담은 SYMBiFACE II 호환 보드입니다. Ethernet은 WIZnet W5100S가 맡으며, 간접 병렬 버스 모드로 I/O 포트 4개만 써서 4MHz Z80에 연결됩니다. TCP/IP 처리는 칩이 하드웨어로 수행하므로, 40년 된 8비트 기계가 SymbOS와 CP/M에서 핑·FTP·시간 동기화 같은 네트워크 기능을 쓸 수 있습니다.
개요
Amstrad CPC는 1984년에 나온 Z80 4MHz 기반의 8비트 홈 컴퓨터입니다. 지금도 커뮤니티가 활발해서, 그래픽 데스크톱 OS인 SymbOS까지 돌아갑니다. CPC에 IDE 저장장치·PS/2 마우스·RTC를 더해 주던 확장 보드로 SYMBiFACE II가 있었는데, 2006~2012년에 약 200대만 만들어져 지금은 중고로만 구할 수 있습니다.
그리스의 Dimitris Kefalas(포럼 닉네임 d_kef)는 2023년 2월, CF 카드·마우스·RTC를 SYMBiFACE II와 같은 I/O 주소에 둔 호환 보드를 설계하고, 여기에 W5100S Ethernet(#FD20–#FD23)을 더했습니다. 주소가 같기 때문에 SYMBiFACE II용 기존 소프트웨어가 이 장치들을 그대로 쓸 수 있습니다. 회로도·PCB·거버·BOM·펌웨어는 모두 GPL-3.0으로 공개돼 있습니다.
이후 같은 제작자는 Cyboard의 Ethernet 부분만 떼어 낸 단독 보드 Net4CPC도 공개했습니다. 이 글은 원본인 Cyboard를 중심으로, 파생 보드인 Net4CPC까지 함께 다룹니다.
→ GitHub 저장소: https://github.com/salafek/cyboard-for-cpc
하드웨어 구성
| 기능 | 부품 | 비고 |
|---|---|---|
| 주소 디코딩 | GAL20V8B + 74HCT21 | 16비트 I/O 주소 전체 디코딩 |
| 저장장치 | CF 카드 소켓 | 메모리 모드로 동작해 8비트 장치로 직접 접근 |
| 마우스 | PIC16F84A + USB-A 커넥터 | PS/2 호환 마우스, 5버튼·휠 지원 |
| 시계 | DS12887A | 원본 SYMBiFACE II와 같은 DS12887 계열 RTC |
| Ethernet | W5100S 네트워크 모듈 | 간접 병렬 버스 모드, #FD20–#FD23 |
| 기타 | 74HCT244(마우스 데이터 버퍼), 리셋 버튼, CF 활동 LED | Mother X4 호환 커넥터 |
원본 SYMBiFACE II와 달리 RAM·ROM 확장은 빠져 있습니다. 대신 Ethernet이 들어갔습니다.
Ethernet은 시중에서 파는 W5100S 병렬 네트워크 모듈(3.3V 레귤레이터 내장)을 꽂는 방식입니다. 제작자는 WIZnet 정품 모듈인 WIZ810SMJ(W5100S)나 WIZ610MJ(W6100)도 설계를 조금 바꾸면 쓸 수 있다고 밝혔습니다.
