This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MBC3 RTC save format | |
the RTC data is appended after the sav file, 44 or 48 bytes. you can detect its presence by the save data being 44 or 48 bytes bigger than the cart's ram size, or 44 or 48 bytes bigger than a multiple of 8192. | |
old VBA (from 2005) saves the 44 bytes version, and can load both the 44 and 48 bytes version. | |
VBA-M saves the 48 bytes version, and can *only* load the 48 bytes version. | |
one should load both types, and always save the 48 bytes version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: objective-c | |
before_script: | |
- chmod +x scripts/travis/add-key.sh | |
- chmod +x scripts/travis/remove-key.sh | |
- chmod +x scripts/travis/testflight.sh | |
- ./scripts/travis/add-key.sh | |
script: xctool -workspace [Workspace name].xcworkspace -scheme '[Scheme to use]' -configuration [Build configuration name] -sdk iphoneos7.1 CONFIGURATION_BUILD_DIR='~/build/' build | |
after_success: | |
- ./scripts/travis/testflight.sh | |
after_script: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Memory Bank Controller (MBC) 3 for GameBoy Information | |
by bRILLO hEAD, 1-Jan-98 | |
The MBC3 is a memory controller for some GameBoy carts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nitty Gritty Gameboy Cycle Timing | |
--------------------------------- | |
A document about the down and dirty timing of the Gameboy's video hardware. | |
Written by: Kevin Horton | |
Version: 0.01 (preliminary) | |
My findings here are based on the original DMG, Super Gameboy, and GB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GameBoy Color DMA-Transfers v0.0.1 13.04.2000/GPZ-HIT | |
------------------------------------------------------------------------------- | |
"old" DMA Transfer (aka 'OAM-DMA') | |
---------------------------------- | |
source: - anywhere from $0000 to $dfff | |
- must be page-aligned | |
destination: - always OAM-Ram at $fe00 - $fe8f | |
length: - always 4*40 (=160 / $a0) bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pre-commit.py: | |
# | |
# Performs the following: | |
# - Makes sure the author has entered a log message. | |
# - Makes sure the author is only creating a tag, or if deleting a tag, author is a specific user | |
# - Makes sure the author is not committing to a particular set of paths in the repository | |
# | |
# Script based on http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/log-police.py | |
# | |
# usage: pre-commit.py -t TXN_NAME REPOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.01 - Added some new licensees, fixed some | |
descriptions. | |
v1.00 - Initial release. | |
_______________ | |
This information was taken and compiled from Martin Korth's | |
NO$GMB emulator. Best viewed in DOS EDIT. | |
Every Gameboy ROM header starts off at the HEX offset 0134. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Game Boy Sound Operation | |
------------------------ | |
Shay Green (blargg) | |
gblargg@gmail.com | |
http://www.slack.net/~ant/ | |
** This is an incomplete draft | |
This documents the behavior of Game Boy sound; details which aren't | |
relevant to the observable behavior have been omitted unless they |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LD SP,$fffe ; $0000 Setup Stack | |
XOR A ; $0003 Zero the memory from $8000-$9FFF (VRAM) | |
LD HL,$9fff ; $0004 | |
Addr_0007: | |
LD (HL-),A ; $0007 | |
BIT 7,H ; $0008 | |
JR NZ, Addr_0007 ; $000a | |
LD HL,$ff26 ; $000c Setup Audio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SDL.h> // The SDL library | |
#include <math.h> // sin, fmod | |
#include <stdio.h> // printf | |
#define BUFFER_DURATION 1 // Length of the buffer in seconds | |
#define FREQUENCY 48000 // Samples per second | |
#define BUFFER_LEN (BUFFER_DURATION*FREQUENCY) // Samples in the buffer | |
void play_buffer(void*, unsigned char*, int); |
OlderNewer