Site Search
Homepage of Otaku No Zoku
Complete Archives of Otaku No Zoku
About Otaku No Zoku
Subscribe to Otaku No Zoku
Bookmark Otaku No Zoku

Nintendo Gameboy Cribsheet :

The Nintendo Gameboy Crib Sheet was put together to fill a very large need. All of the information concerning hardware registers, Z80 op-codes, memory organisation, DMA timings and lots of other details covering the Nintendo Gameboy and Nintendo Gameboy Colour are spread out across hundreds of e-mail messages, three books and many good, but usually incomplete documents found on the Internet.

gb_cribsheet_colour_screenshot.jpg

I wanted a single reference that could jog my failing memory when I didn’t have time to go looking through a large text file for a vague, often inaccurate, piece of information.

I also didn’t want a 600 page "black book" about how to program the Nintendo Gameboy or Nintendo Gameboy Color that started off telling me how to open up a file in a text editor or what a hex editor was used for.

So the Nintendo Gameboy Cribsheet came about to fulfil that need. It contains as much information condensed in to as few pages as possible, no explanations, no clarifications, no instructions. Its a memory aid for when your brain needs a little jog. If you don’t understand something on the Nintendo Gameboy Cribsheet, look elsewhere, learn what it does, and then use this reference to remind you of the exact register or Z80 op-code. This is information for the hardcore who already knew everything there was to know about the machine and just needed to be reminded every now and again.

When I was thinking about an information reference, I wanted it to be really handy. The Nintendo Gameboy Cribsheet had to fill that requirement too.

I wanted it to reside on the desk next to the computer, ready to do it’s job.

When I needed it. Not when it was convenient for me to take a break and turn away from what I was working on to thumb through a reference book.

I judge the usefulness of a computer book by the number of coffee or Coca-Cola stains it has on it. Beverages by the computer always end up on whatever you happen to be reading. The Nintendo Gameboy Cribsheet had to be that kind of information reference. I’ve printed it out over a dozen times since it first began — not including testing where I was judging how small I could get the font before it became painful to read — because the pages are used so often they keep wearing out.

The Nintendo Gameboy Cribsheet consists of several pages of densely packed details. Almost everything you need to know about the Nintendo Gameboy and Nintendo Gameboy Color is on there.

Nintendo Gameboy Cribsheet Features

zilog_z80_cpu.jpg

  • List of Nintendo Gameboy Z80 op-codes with timings & sizes
  • Z80 CPU registers & flags
  • Visual description of CPU shift & rotate operations
  • Easy to use code for 8-bit unsigned compares
  • Two’s complement table
  • Powers of two table
  • Hex to Decimal/Decimal to Hex conversion table
  • Hex to Binary/Binary to Hex conversion table
  • ASCII character set
  • Nintendo Gameboy interrupts
  • Complete list of known Nintendo Gameboy and Nintendo Gameboy Color registers
  • Code for handling Gameboy VRAM
  • Cartridge header information — RAM sizes, ROM sizes up to 64MBit, MBC types & features
  • Video timings
  • Miscellaneous Nintendo Gameboy timings
  • Memory Map
  • OAM RAM ordering (v0.7)
  • MBC3 registers (v0.8)
  • MBC5/Rumble Pak registers (v0.8)
  • RGB colour format (v0.9)
  • Attribute fields for VRAM tiles (v0.9)
  • Sound tone tables (v0.9)
  • Complete Nintendo Gameboy Z80 variant op-code list with hex values (v1.0)
  • Built-in colour palette combinations (v1.0)
  • Nintendo Gameboy unit identification (v1.0)
  • Memory map (v1.0)
  • Now in colour (v1.0)
  • Z80 code for 16-bit unsigned/signed compare operations (v1.1)
  • Clocks per HBL (v1.1)
  • Clocks per VBL (v1.1)
  • Op-code table sorted on op-code hex value (v1.1)
  • Clocks per frame (v1.1)
  • Clocks @ 1x & 2x CPU speed (v1.1)

nintendo_gameboy_pocket.gif

Things To Add To The Nintendo Gameboy Cribsheet

  • Z80 code for 8-bit signed compare operations
  • Meaning of GB/DMG/GBC flags at $143
  • List of all known manufacturers
  • Tile map layout for bank 0 & 1 (showing attributes & indices)
  • Tile data layout for bank 0 & 1 (showing format of bytes and addresses & indices)
  • OAM DMA register explanation
  • HDMA register explanation
  • GDMA register explanation
  • Source code for switching CPU speed
  • Joypad layout
  • Link-port pinouts
  • Gameboy Block Diagram
  • Catridge pinouts

Known Bugs On The Nintendo Gameboy Cribsheet

  • External RAM Size Table is probably incorrect
  • Explanation of $146 is probably incorrect
  • Explanation of $143 needs to be clarified
  • VRAM Memory Map should say "Tiles 00-7F"
  • Source & Destination address should be 16-byte aligned in "DMA precautions"
  • DMA size is given for HDMA’s, make note about the high bit

Fixed Bugs On The Nintendo Gameboy Cribsheet

  • SWAP instruction is not described (v1.1)
  • SCX/SCY register explanation is round the wrong way (v1.1)
  • LD HL,(SP+e8) instruction is listed incorrectly (v1.1)
  • PUSH/POP instructions are only 1 byte (v1.1)
  • $9C00/$9800/$8000 should say "Bank Switched" in the "Memory Map" (v1.1)
  • $FF80 should say "Zero Page RAM" in the "Memory Map" (v1.1)
  • $E000 should say "Echo RAM — Not usable" in the "Memory Map" (v1.1)

Download Nintendo Gameboy Cribsheet

gb_cribsheet_screenshot.jpg

The Nintendo Gameboy Cribsheet is designed specifically for printing on high quality laser or inkjet printers. It was never designed to be viewed on-screen. The higher the quality your printer, the better the results.

To obtain the best results from printing, make sure you use the best quality paper you can obtain that has minimum bleeding. "High Gloss" is a good choice if you are printing on an inkjet but you must be sure to remove the sheet from the printer the moment it has finished printing and allow it to dry for several minutes to prevent smudging.

The Nintendo Gameboy Cribsheet is only available in Adobe PDF format and most likely never will be converted to HTML, so don’t ask.

Download the latest colour version of the Gameboy Cribsheet (v1.1)

Download the black & white Gameboy Cribsheet (v1.0)

Liked This Post?

Subscribe to the RSS feed or follow me on Twitter to stay up to date!