# Sega 32X 240p Test Suite ![240pMars](https://user-images.githubusercontent.com/820735/183469220-d99b9c1e-6b77-451d-a5d6-61bef62e04f3.png) A homebrew software suite specifically designed for the Sega 32X. Developed to help in the evaluation of capture cards, upscalers, upscan converters, line doublers, and TV processing of 240p video and scan signals. It consists of tests designed with the processing of 240p signals in mind, although when possible it includes other video modes and specific tests for them. These have been tested with video processors on real hardware and a variety of displays, including CRTs, PVMs, BVMs and Arcade monitors via RGB. As a secondary target, the suite aims to provide tools for calibrating colors, geometry, linearity, overscan and black & white levels, for specific console outputs and setups. This test suite is based on Artemio Urbina's 240p Test Suite. For more information on the 240p Test Suite, check out the link for more information: [240p Test Suite](https://junkerhq.net/xrgb/index.php?title=240p_test_suite). If you wish to support the work done, consider being a member on [Patreon](https://www.patreon.com/aurbina). Any bugs, feedback, or ideas for new tests, please create a new issue on this repository. This software is open source and free. # Building with Docker The container uses the prebuilt Linux toolchain from the [32XDK 20220418 release](https://github.com/viciious/32XDK/releases/tag/20220418). It also installs the SGDK 1.11-compatible Genesis toolchain recorded in the Dockerfile. The Genesis source is fetched at build time rather than stored in the container image. Docker Desktop (or another Docker installation with Compose support) is the only host dependency. Build or refresh the toolchain image after cloning or updating the repository: ```sh docker compose build ``` Build the standalone ROM: ```sh docker compose run --rm build make release ``` Build the combined Genesis / 32X ROM with the newest Genesis source: ```sh docker compose run --rm build make combined ``` The resulting ROM is written to `build/240pMars.32x`. Docker Compose bind-mounts the repository into the container, so the build output remains in the working tree. To remove generated files, run: ```sh docker compose run --rm build make clean ``` For an interactive shell with both cross-compilers on `PATH`: ```sh docker compose run --rm build bash ``` # Credits - Code and Port: Dustin Dembrosky (Dasutin) [@Dasutin](https://twitter.com/Dasutin) - Patterns: Artemio Urbina [@Artemio](https://twitter.com/Artemio) - 32X Toolchain: Joseph Fenton (Chilly Willy) - [Tilemapper](https://github.com/viciious/yatssd): Victor Luchitz (Vic) - [Donna](https://www.inprnt.com/gallery/pepesalot/perfect-geometry/): Jose Salot [@pepe_salot](https://twitter.com/pepe_salot). [Support by buying a print here](https://www.inprnt.com/gallery/pepesalot/perfect-geometry/) # Special Thanks - Bob Neal from [RetroRGB](https://www.retrorgb.com/)