Giter Site home page Giter Site logo

crammap's Introduction

CRAMMap

A simple utility for generating PPUs Color RAM (palette) memory cells layout.

The map is presented as a set of squares, each square corresponds to one physical location of a memory cell on the chip.

Keep in mind that Color RAM is designed so that 0x0/0x4/0x8/0xC and 0x10/0x14/0x18/0x1C addresses point to the same memory cells (Mirroring).

Color differentiation of memory cells:

  • Tomato: Cells for which Mirroring is applied (same colors for background/sprite)
  • GreenYellow: Cells for sprite color (CRAM Address msb = 1)
  • Teal: Cells for the color of the background (CRAM Address msb = 0)

Inside each cell is a caption, of the form AA-B:

  • AA: Cell address 00-1F
  • B: The bit number of the corresponding byte.

Here's what it turns out:

crammap.png

(open the picture in a new tab)

How to view the map

The utility creates an .xml file, which should be opened in the Deroute utility (File -> Add entities...)

https://github.com/emu-russia/psxdev/releases

Color RAM Schematic

Just in case, a transistor circuit of the Color RAM:

cram_tran

From left to right Color Buffer bits: CC0 (0), CC1 (1), CC2 (2), CC3 (3), LL0 (4), LL1 (5)

Color RAM unit does not differ between NTSC/PAL PPUs.

crammap's People

Contributors

ogamespec avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.