
Ssio check
paulbruneau/ssio-check
A bench tester for the Bally/Midway MCR Sound I/O family: the 90908 Sound I/O and the 90913 / 91483 / 91657 Super Sound I/O (Z80, two AY-3-8910s, and all of the game's input ports).

A ROM Board for the Amstrad CPC 6128 capable of loading two expansion ROMs simultaneously from an SD card.
Cpc6128 rom board is an open-source printed circuit board by bmpc, from the bmpc/amstrad_cpc6128_romboard repository on GitHub. It is a 2-layer board of 119.6 × 123.9 mm with 44 parts on 101 nets, routed with 889 tracks and 31 vias.
It is built around the ATMEGA328-PU, SN74HC126N and SN74HC595N, with the SN74HC21N, SN74HC02N and SN74HC74N among its other parts. Its parts include 14 capacitors, 10 ICs, 6 resistors, 5 switches and 2 connectors. It belongs with the retro computing and games boards and the AVR (ATmega, ATtiny) boards of this library.
A ROM Board for the Amstrad CPC 6128 capable of loading two expansion ROMs simultaneously from an SD card.
Nowadays, there are plenty of ROMS available for the Amstrad CPC. This board allows you to load any ROM present on an SD card as an expansion ROM on the Amstrad CPC 6128. You can bank up to two ROMs at the same time since there are many programs and games that require two ROMs loaded concurrently. In order to select which expansion ROMs should be made available for the Amstrad CPC, the ROM Board provides a small OLED display and buttons that allow the user to browse the SD card files and choose the Upper and Lower ROM specifically.
The ROM board connects to the expansion port of the Amstrad CPC6128. Here is a picture of the assembled board:
Upon startup, the selected ROMs for the upper and lower positions are loaded to the SRAM. The display shows the loading progress of each ROM. Once the ROMS are loaded, the display shows the ROM names that are currently loaded.
In order to select ROMs from the SD card, five buttons are provided so that the user can:
Browsing ROMs:
Selecting a ROM:
Saving the ROM:
Canceling ROM Selection:
The circuit can be divided into two parts:
The common part between them is the address bugs, the data bus and the SRAM that holds the loaded ROMs.
Ensuring that only one device assumes control of the bus at all times is a crucial aspect to consider. Because we are using the same address and data bus of the Amstrad CPC, when the Amstrad CPC is accessing the bus, the ROM Board shift registers must be tri-stated. Likewise, whenever the ROM Board is accessing the bus in order to load the ROMs, the Amstrad CPC must release control of the bus. This is accomplished by requesting control of the bus through the BUSREQ line being pulled low.
The ROM board is based on a atmega328p microcontroller, the same microcontroller that you can find on development boards such as the Arduino Uno. The atmega328p is responsible for loading the selected ROMs (upper and lower) from the SD card into a 32K SRAM (AS6C62256A) when the Amstrad CPC boots up.
The loading duration for both ROMs is approximately 5 seconds. Therefore, we need a way to hold the CPC6128 until the ROMs finish loading. This can be achieved using the BUSREQ and BUSACK lines on the Z80. When the Amstrad CPC starts up, the ROM Board will immediately pull the BUSREQ LOW with a pull low resistor. Once the BUSACK line is LOW, the Z80 is signaling that control of the address bus, data bus and output signals has been released, and our ROM Board can take control and it starts loading the ROMs. When the atmega328p finishes loading the ROMS, it will pull the BUSREQ HIGH and the Z80 resumes processing.
In order to copy the ROM data from the SD card into the SRAM memory, three 8-bit shift registers are used as there aren't enough GPIO pins on the atmega328p for the 15 address lines, 8 data lines and multiple other control signals needed for the ROM board.
Once the ROMs are loaded and the Amstrad CPC has completed the boot process, the user can interact with the ROM Board in order to configure additional ROMs by browsing the SD card and selecting the Upper and Lower ROM. The selected ROMs will be saved within the atmega328p internal EEPROM. In order to load the newly selected ROMs, the Amstrad CPC and the ROM Board must be restarted.
Whenever the CPC wants to communicate with the Upper ROM, it will first write a byte with the selected Upper ROM bank number into port $DF00. There can be up to 252 expansion ROMS mapped over the top 16K of memory, starting at #C000. After this, the ROMEN signal will go LOW, and the CPC will start addressing the Upper ROM.
We must guarantee that there is a unique Upper ROM enabled at any given time. Therefore, whenever an expansion ROM is active, the internal CPC Upper ROM must be disabled. This is done by bringing the ROMDIS line LOW, a signal conveniently provided by the CPC for this purpose. After this, any memory requests to the ROM’s address space will be handled solely by the selected expansion ROM.
The CPC does not store the selected ROM Bank number anywhere. Peripheral devices are responsible for latching the selected ROM bank whenever the bank number is written to port $DF00.
Our ROM Board supports up to two ROMs mapped for the Amstrad CPC Upper ROM bank. These ROMs are located at positions #14 and #15 (that we call Upper and Lower ROMS on the ROM Board).
Whenever the Amstrad CPC tries to select a given ROM through the IO port, if the ROM being selected is provided by the ROM Board (#14 or #15) then a latch is used to store this information. Another latch is used to store which of the ROMs was selected: #14 or #15. A Dual D-Type flipflop (SN74HC74N) was used for these latches.
The Tristate buffer (SN74HC126N) is used to tie the A14 line to the selected upper or lower ROM stored in the previous latch. The A14 line must be tri-stated from the Amstrad CPC bus whenever the ROMS are being loaded.
You can find more detail information regarding the build of this ROM Board in the following post: https://bmpc.github.io/amstrad-cpc-rom-board.
I'm a software engineer with no background in electronics. Please don't consider what you read here to be best practice. Use at your own risk.
Nevertheless, feedback is always welcome.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | C_Small | Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm | C3, C4, C7, C8, C9, C10, C11, C12, C13, C14 |
| 5 | 1K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1, R2, R3, R4, R6 |
| 4 | MountingHole_3mm | MountingHole:MountingHole_3mm | Hole1, Hole2, Hole3, Hole4 |
| 3 | SN74HC595N | Package_DIP:DIP-16_W7.62mm_Socket | U4, U6, U8 |
| 2 | 22pF | Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm | C5, C6 |
| 2 | C_Polarized | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C1, C2 |
| 2 | SN74HC21N | Package_DIP:DIP-14_W7.62mm_Socket | U5, U9 |
| 1 | 0.96inchOLED128x64 | CPC6128_ROM_BOARD:0.96inchOLED128x64 | DS1 |
| 1 | 10K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R5 |
| 1 | AS6C62256A | CPC6128_ROM_BOARD:DIP-28_W15.24mm | U1 |
| 1 | ATmega328-P | Package_DIP:DIP-28_W7.62mm | U2 |
| 1 | CPC Expansion Port | Connector_IDC:IDC-Header_2x25_P2.54mm_Vertical | J1 |
| 1 | Cancel | Button_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716 | SW5 |
| 1 | Confirm | Button_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716 | SW4 |
| 1 | Crystal 16Mhz | Crystal:Crystal_HC18-U_Vertical | Y1 |
| 1 | D | Diode_THT:D_A-405_P7.62mm_Horizontal | D1 |
| 1 | Down | Button_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716 | SW3 |
| 1 | Micro_SD_Card | CPC6128_ROM_BOARD:Micro_SD_Card_breakout_board | J2 |
| 1 | Reset | Button_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716 | SW1 |
| 1 | SN74HC02N | Package_DIP:DIP-14_W7.62mm_Socket | U7 |
| 1 | SN74HC126N | Package_DIP:DIP-14_W7.62mm_Socket | U10 |
| 1 | SN74HC74N | Package_DIP:DIP-14_W7.62mm_Socket | U3 |
| 1 | Up | Button_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716 | SW2 |

paulbruneau/ssio-check
A bench tester for the Bally/Midway MCR Sound I/O family: the 90908 Sound I/O and the 90913 / 91483 / 91657 Super Sound I/O (Z80, two AY-3-8910s, and all of the game's input ports).

shareresearchteam/SAMI-Robot
Software and Hardware resources and development of the SAMI humanoid robot


bablokb/pcb-datalogger-v1
Pico board for data-logging with power-management and micro-sd storage

bablokb/pcb-datalogger-v2
Pico board for data-logging with power-management and XTSD storage

bablokb/pcb-pico-app-base
Generic application base PCB for the Raspberry Pi Pico(W)


locked/picowater
cmake -DPICOBOARD=picow -DWIFISSID=" " -DWIFIPASSWORD=" " -DSERVERIP=" " -DSERVERPORT= ..
It measures 119.6 × 123.9 mm and has 2 copper layers, 1.6 mm thick.
44 parts, built around the ATMEGA328-PU, SN74HC126N, SN74HC595N and SN74HC21N. 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 bmpc/amstrad_cpc6128_romboard repository on GitHub, at the commit this page was made from: the board is KiCad/cpc6128_rom_board/cpc6128_rom_board.kicad_pcb and its schematic KiCad/cpc6128_rom_board/cpc6128_rom_board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask bmpc before reusing the design.