Coder Social home page Coder Social logo

oammap's Introduction

OAMMap

A small utility for creating a visual map of the PPU OAM.

oammap_demo

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

The cells are color coded:

  • LimeGreen: Byte 0 (Y)
  • Ivory: Byte 1 (Index)
  • Red: Byte 2 (Attr)
  • Blue: Byte 3 (X)
  • DarkViolet: Bytes for Temp OAM ( common color)

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

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

Note that the OAM physically lacks cells for bits 2-4 attribute bytes (Byte 2). However, Temp OAM has a place for them, but zeros are always copied there.

NTSC vs PPU

One of the distinguishing features in the NTSC version of the PPU is that the OAM address is fed in inverted form (/OAM0-7). This causes the logical column numbers to no longer correspond to their physical location.

The PPU developers also took this feature into account to connect rows for bits 2-4:

pal_oam_row_outputs2

(NTSC PPU to the left)

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

Pre-made OAM Maps

โš ๏ธ The pictures are big.

NTSC OAM Map PAL OAM Map
oammap_ntsc oammap_pal

oammap's People

Contributors

ogamespec 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.