Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LIJI32/GBVisualizer
https://github.com/LIJI32/GBVisualizer
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/LIJI32/GBVisualizer
- Owner: LIJI32
- Created: 2016-02-07T22:47:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-14T15:58:37.000Z (about 7 years ago)
- Last Synced: 2024-01-23T16:12:34.511Z (5 months ago)
- Language: Assembly
- Size: 74.2 KB
- Stars: 27
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-gbdev - GBVisualizer - Demonstrating the use of two undocumented Game Boy Color registers, nicknamed PCM12 (FF76) and PCM34 (FF77), which can be used to read the current PCM amplitude of the 4 APU channels. (Related projects / Post processing)
- awesome-gb-dev-zh - GBVisualizer
README
# GBVisualizer
A simple demo demonstrating the use of two undocumented Gameboy Color registers, nicknamed PCM12 (FF76) and PCM34 (FF77), which can be used to read the current PCM amplitude of the 4 APU channels. The demo uses these registers to visualize music in an oscilloscope-like manner. The oscillation wave is a bit of unusual, because a Gameboy's waveforms are not centered.
GBVisualizer was designed to work on and tested on a Gameboy Color. PCM12 and PCM34 are not likely to exist on an original Gameboy, but I do not have one to verify. As of April 2017, the only publicly released emulator that emulates these two registers and supports running this demo is [SameBoy](https://sameboy.github.io/) ([GitHub](https://github.com/LIJI32/SameBoy)).
Music for this demo is adapted from [my disassembly of Super Bomberman](https://github.com/LIJI32/superbomberman/tree/master/dboot/songs).
This is how it looks on an emulator supporting these registers:
![Screenshot](screenshot.png?raw=true)