Repository navigation
Releases
Open Pocket GBC 1.9.1
Fix virtual Game Boy Printer detection and missed serial-byte wake-ups.
Update BOTH opgbc_fw.bin and the Full opgbc_fpga.bin. Minimal intentionally has no printer.
Enable Tools → Virtual Printer in a compatible game; finished pages appear under Last Print and /Prints on SD.
Includes the RU/EN browser remote. Native Studio 1.9 remains compatible; native installers build separately through GitHub Actions after the tag is pushed.
Validation: printer RTL regression, web protocol/localization tests, firmware build, Full and Minimal placement/routing with passing final timing. Not tested on physical hardware.
Source: d3e90e2. See build-manifest.json for SHA256 hashes.
Open Pocket GBC 1.8
Minimal bitstream for battery use
opgbc_fpga_min.binis a second bitstream that keeps only the LCD, the speaker, the buttons and DualShock, SD and the USB remote.- Left out: HDMI and its PLL, the LEDs, the link port and printer, Bluetooth, the cartridge port and the audio stream to the apps. The FPGA is 74% full instead of 85%.
- To install it: Studio › Install › Install Minimal (low power), or the Android app › Update › Install Minimal. Install the latest release puts the full bitstream back.
- The firmware recognises it: HDMI counts as off and the LCD is always on. Your saved settings stay as they are, for when you switch back.
- What to expect: an unclocked FPGA block draws very little, so compared with the full bitstream in Battery mode the saving is small. The biggest consumers on this board are probably the LCD backlight and the on-board USB bridge, but this has not been measured.
Tested on hardware
- The Minimal bitstream boots. Firmware 1.8 detects it (HDMI off, LCD on), and the live screen and the settings work over USB.
Files
opgbc_fpga.bin: the full bitstream, same as 1.7.opgbc_fpga_min.bin: the Minimal bitstream.opgbc_fw.bin: firmware 1.8, for both bitstreams.OpenPocket-1.8.apk. CI adds the Studio installers a few minutes after the release.
Open Pocket GBC 1.7.1
Power mode in the apps
- Studio › Settings and the Android app › Settings have a Normal / Battery switch. It sets the board's power preset (Menu › Power › Preset) over USB.
- Battery turns off HDMI, the LEDs, the link port and Bluetooth, runs the LCD at 30 fps and dimmed, puts the SDRAM in power-down and sleeps after 5 minutes. The LCD, the speaker and the buttons / DualShock stay on.
- Why there is no separate "minimal" bitstream: FPGA logic that isn't clocked draws almost nothing. With HDMI off its PLL is held in reset, so a bitstream without HDMI and the ports would draw the same as this mode.
Files
opgbc_fw.bin(firmware 1.7.1).opgbc_fpga.binis the same bitstream as in 1.7.OpenPocket-1.7.1.apk. CI adds the Studio installers a few minutes after the release.
Open Pocket GBC 1.7
Game audio in the apps
- The live screen in Studio and in the Android app now plays the game's sound: 16 kHz mono, 8 bit, about 16 KB/s (8% of the link). There is a sound switch next to the live picture.
- The bitstream fills a 4 ms audio buffer and the firmware sends it between screen rows. While the menu redraws the screen, the sound can drop out briefly. During a game it plays continuously.
- Apps 1.4–1.6 ignore the new audio packets, so they keep working with this firmware.
Bluetooth module (ZS-040 / HC-05 / HC-06)
- Menu › Controls › Link Port › Bluetooth puts a Bluetooth serial module on the link pins: module TXD to pin 42, RXD to pin 56, 5 V power. Set the module to 115200 once (HC-05
AT+UART=115200,0,0, HC-06AT+BAUD8). - Android app › Remote › Connect over Bluetooth lists the paired modules. Buttons, settings, the log and a slow live screen (about 1 fps, no sound) work without a cable. Installing firmware still needs USB.
- Wiring and details: docs/hardware.md.
Tested on hardware
- This bitstream boots, the stream carries audio packets (screen rows without errors), and installing over USB works.
- Not tested yet: listening to the sound in the apps, Bluetooth (no module here), and the LED modes from 1.6.
Files
opgbc_fpga.bin(bitstream 1.7) andopgbc_fw.bin(firmware 1.7). Studio installs both over USB.OpenPocket-1.7.apkfor Android. CI adds the Open Pocket Studio installers a few minutes after the release.
Open Pocket GBC 1.6
Board LEDs
Menu › Power › Board LEDs has five modes. The modes beyond Status need this bitstream.
- Off.
- Status: menu open and loading, as before.
- CPU Clock: a binary counter driven by the Game Boy CPU's clock. It blinks at about 1 and 0.5 Hz, stops while the game is paused and runs faster in double speed and fast forward.
- Sound: left and right channel level.
- Activity: save writes and bytes from the USB remote (Studio or the phone).
Board settings from the apps
- New Settings tab in Studio and in the Android app: every setting of the Display, Audio, Controls, System and Power pages, with the same names and choices as on the board. A change is applied and stored on the board at once.
- Needs firmware 1.6. Protocol: docs/remote.md.
Tested on hardware
- This bitstream boots, and the live screen, the settings (list and change) and installing over USB work.
- The LED modes themselves still need a look at the board.
- The Settings tab of the Android app has not been run on a phone yet.
Files
opgbc_fpga.bin(bitstream 1.6) andopgbc_fw.bin(firmware 1.6). With firmware 1.5 on the board, Studio installs both over USB without JTAG.OpenPocket-1.6.apkfor Android. CI adds the Open Pocket Studio installers a few minutes after the release.
Open Pocket GBC 1.5
Install over USB without JTAG
- Firmware 1.5 installs a new firmware or bitstream over the USB serial port, at 500 kbaud: about 4 s for the firmware, about 40 s for the bitstream. No WinUSB driver (Zadig) and no openFPGALoader are needed.
- Studio switches to this path by itself when openFPGALoader can't reach the board. From the command line:
python tools/uart_update.py opgbc_fw.binor... opgbc_fpga.bin --fpga. Protocol: docs/remote.md. - Tested on hardware with both the firmware and the bitstream.
Fixes
- The UART receiver lost about one byte in 160 when the menu CPU read the register in the same cycle a byte arrived. This needs the new bitstream.
- Installing a bitstream (from the SD card, or now over USB) overwrote the running firmware: the buffer was only 128 KB. Updates now go through 1 MB in the game ROM area, and the firmware restarts afterwards.
- The apps go back to 115200 only when the stream is quiet, so the USB bridge does not hang when the live screen stops.
New in the apps
- Studio: Record saves the live screen (HDMI view with the menu) as WebM video.
- Android: Full screen shows the live picture in landscape with translucent touch buttons on top.
- The live screen can switch the link to 3 Mbaud while streaming (byte 0x80 + divider). The board's BL616 bridge handles 3 Mbaud but hangs at 4.2 Mbaud, so the apps keep 2 Mbaud by default.
Not in this release
- A hardware encoder for the live screen (
rtl/sys/scr_engine.sv) is in the sources and verified in simulation, but it does not fit next to the core on the GW2AR-18: 88% LUT, no placement with 24 seeds. The stream stays at about 6 fps (software encoder). - Save states don't fit either (they need thousands of LUTs and more block RAM). Game Genie codes were already supported (Menu › Cheats).
- Recording in Studio and full-screen mode on Android have not been run on a device yet.
Files
opgbc_fpga.bin(bitstream 1.5) andopgbc_fw.bin(firmware 1.5). Install both: the UART fix needs the bitstream.OpenPocket-1.5.apkfor Android. CI adds the Open Pocket Studio installers for Windows, macOS and Linux a few minutes after the release.
Open Pocket GBC 1.4
Live screen: faster and stable
- About 6 frames per second on a fully animated screen (1.3: about 2.5). Rows are now sent as word-level PackBits without a length (
W/Rin docs/remote.md), changed rows are found by a cheap hash, and the encoder needs fewer instructions per pixel pair. - The USB bridge on the board (BL616) could hang until the cable was replugged. The firmware now stays quiet after
#SCRuntil a byte arrives at 2 Mbaud, stops between rows onv, and gives up after 2 s without a keepalive. Tested on hardware: many start / stop cycles in a row without a hang. - Screenshot button in Studio and the Android app: the game at 3× and the HDMI view with the menu, as PNG.
Compatibility
- The bitstream is the same as in 1.3 (
opgbc_fpga.bin); only the firmware changed (opgbc_fw.bin1.4). - The 1.4 apps also work with firmware 1.3 (they fall back to the old row format after ~2 s), and the 1.3 apps work with firmware 1.4.
Limits
- The menu CPU runs from SDRAM without a cache, so encoding is the bottleneck, not the 2 Mbaud link. Going much faster needs a hardware stream engine in the FPGA.
Apps
- Open Pocket Studio for Windows, macOS and Linux: CI adds the installers to this release a few minutes after it is published.
OpenPocket-1.4.apkfor Android.
Open Pocket GBC 1.3
Open Pocket GBC 1.3
Live screen over USB
- Studio (Remote → live picture) and the Android app (Remote → live) now show the board's real picture: the running game and the menu, composed like the HDMI output and the LCD, with the frame rate.
- The firmware streams only the rows that changed, compressed, over the USB-UART at 2 Mbaud (it used to be 115200). A still screen costs nothing; a full redraw takes about 0.1–0.25 s. USB-UART is the only data path to the PC, so this is the limit. Protocol: docs/remote.md.
- Screenshots and the stream now also work with HDMI switched off.
Needs both new files
- The live screen needs this bitstream (
opgbc_fpga.bin, the UART speed is now switchable) and this firmware (opgbc_fw.bin1.3). - Install them over USB from Studio or the Android app, or from the SD card (System Update).
Changed
- The Debug overlay and the rare mappers HuC3, Wisdom Tree and Mani161 are left out of this bitstream to make room. The FPGA is full.
Not yet tested on hardware
- This bitstream (timing met in the tools), the live screen (verified on the RTL simulation of the board), Android install over USB, and the original-cartridge reader.
- If the bitstream does not boot, install
opgbc_fpga.binfrom 1.1.
Apps
- Open Pocket Studio for Windows, macOS and Linux: CI adds the installers to this release a few minutes after it is published.
OpenPocket-1.3.apkfor Android.
Open Pocket GBC 1.2
Open Pocket GBC 1.2
On the board
- Original Game Boy / GBC cartridges through a five-chip shift-register reader on the cartridge port (pins 51/48/55/49, no microcontroller): MBC1/2/3/5, the ROM is copied to SDRAM, the battery save is written back to the cartridge. Wiring: docs/cart_reader.md. Verified in simulation, not yet on hardware.
- Status icons in the menu header: battery level and charging (IP5306 over I2C on pins 15/16), USB power (pin 86), PC remote active.
- Virtual Game Boy Printer inside the FPGA, plus the printer over the link cable to an original Game Boy. Link cable wiring to a GBC: docs/hardware.md.
- Menu button on pin 54.
- This bitstream (
opgbc_fpga.bin) is new and passes timing, but it has not been run on a board yet. If it does not boot, write the 1.1 bitstream back.
Apps
- Open Pocket Studio for Windows (portable
.exe), macOS (.dmg/.zip, Intel and Apple silicon) and Linux (.AppImage/.deb). New: an IDE with the Tang Nano 20K simulator (the real RTL in Verilator) and a fast firmware-only simulator. The installers are added to this release by CI a few minutes after it is published. OpenPocket-1.2.apk, Android:- Install over USB: writes the bitstream and the firmware into the board's flash over JTAG (USB OTG), no PC needed. New and not yet tested on hardware.
- IDE: firmware sources (from GitHub or a folder on the phone) in a code editor, and the firmware simulator running a
fw.bin. - Remote control and SD card update as before.
Files
opgbc_fw.bin: menu firmware 1.2 (flash offset 0x100000).opgbc_fpga.bin: FPGA bitstream as the SPI flash holds it (offset 0).
Open Pocket GBC 1.1
Open Pocket GBC 1.1
On the board
- Eight menu themes with their own LCD layouts, including Analogue OS with radio-button choice lists; long text scrolls.
- Home screen ROM behind the menu: Synthwave, Space or Night City (or random), each with its own chiptune.
- Recent games with play time, screenshots to the SD card, Game Genie codes, fast forward (2x), copy SD games to the internal flash.
- Link port to an original Game Boy (pins 41 SC, 42 SI, 56 SO through a 5 V level shifter).
- System Update from the SD card: put
opgbc_fw.binandopgbc_fpga.binin the card root, then Menu > System > System Update. - Tools > Game Boy Printer is in the firmware, but it needs the next bitstream (the link-port shifter); with this bitstream it waits forever.
Apps
OpenPocketStudio-1.1.0.exe: Windows, portable. Install over USB (needs openFPGALoader from OSS CAD Suite), prepare an SD card, remote control with a live menu picture.OpenPocket-1.1.apk: Android. Remote over USB OTG, live menu picture, and writes this release to an SD card.
Files
opgbc_fw.bin: menu firmware (flash offset 0x100000).opgbc_fpga.bin: FPGA bitstream as the SPI flash holds it (offset 0).