Giter VIP home page Giter VIP logo

gbappuframecapture's Introduction

What this is

This rom performs an access to VRAM on every cycle of a frame, and reports whether or not each cycle idled an extra cycle or not. This can be used to investigate the inner workings of the PPU.

How it works

First, you need to compile the rom. You can configure two things:

  • modify main.c to configure the PPU however you want (different ppu modes, sprites, etc)
  • modify test_vram.s/TestVramFast. r0 will be the address that will be read from on each cycle, so you can change it to have whatever address you want. just make sure that your changes don't add or remove any cycles to the total operation.

Once you run the rom, it will tell you what the size of the compressed results in SRAM are. Save this number.

Make and run the C program in the interp folder (use the save file path as the first parameter and the saved number as the second parameter), and it will generate a map that shows you where the idles occurred. 0 = no idle, 1 = idle, left = start of scanline, right = end of scanline. It will also create a decompressed-results.sav which contains this information in binary form in case you want to use the data to visualize things or whatever.

There's also a python script in interp to visualize the result data but it doesn't work. Might fix it later.

gbappuframecapture's People

Contributors

zaydlang avatar

Stargazers

Kellan Clark avatar

Watchers

 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.