PPS3
An 8-bit home computer, designed and built from scratch.
The PPS3 (Petra Petra Sistema 3) is a single-board computer built around the WDC W65C02S, the modern CMOS version of the 6502 that powered many home computers of the early eighties. Every part is a through-hole component in a DIP package: the two-layer board can be soldered by hand and every chip sits in a socket.
It starts straight into its own BASIC, takes a PS/2 keyboard and an Atari-style joystick, talks to a PC over a USB serial link and has four expansion slots. A video and sound board for those slots is in development.
At a glance
| CPU | WDC W65C02S at 2.4576 MHz |
|---|---|
| Memory | 2 × 32 KB static RAM, 32 KB ROM, 2 KB EEPROM for user code |
| I/O | W65C22 VIA, 65C51 ACIA (serial, 19200 baud over USB) |
| Input | PS/2 keyboard, Atari-style joystick port |
| Expansion | Four 40-pin slots on the system bus |
| Power | 5 V from a USB power supply |
| Software | Machine-code monitor with 65C02 disassembler, PPS BASIC |
Processor and clock
The CPU is a WDC W65C02S running at 2.4576 MHz, generated by a crystal oscillator on the board. The timing of every memory and I/O access has been checked against the worst-case delays in the datasheets.
Memory map
| Address | Device |
|---|---|
$0000-$5FFF | RAM 1 (24 KB usable) |
$6000 | W65C22 VIA: bank switch, PS/2 keyboard, joystick, boot switches, system timer |
$6400 | 65C51 ACIA: serial port |
$6800-$77FF | Expansion slots 1-4 ($6800, $6C00, $7000, $7400) |
$7800-$7FFF | AT28C16 EEPROM, 2 KB, keeps user code with the power off |
$8000-$FFFF | AT28C256 ROM, or RAM 2 when the bank bit is set |
At start-up the ROM copies itself into RAM 2 and switches the bank: from then on the whole upper half of the address space is RAM, and the system code runs from it.
Input and output
- Serial: a 65C51 ACIA at 19200 baud, connected to the PC through a USB-serial module.
- Keyboard: a standard PS/2 keyboard on a mini-DIN connector.
- Joystick: a DB9 port for Atari-style joysticks.
- Boot switches: three DIP switches choose what happens after reset: load a program from the serial port, start code from the EEPROM, or open the monitor.
Expansion slots
Four 2×20 pin headers carry the data bus, the low address lines, the control signals and a select line for each slot. Expansion cards plug in vertically.