Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.13 KB

nes_notes.md

File metadata and controls

65 lines (46 loc) · 1.13 KB

NesDev

wiki NesDev

olc source code

CPU

  • Specification
    • 2A03 = 6502 + audio
    • 8-bit
    • no builtin memory
    • 16-bit bus, can address 64k
  • Memory
    • connect to CPU via bus
    • mapped to $0000-$07FF
  • APU
    • mapped to $4000-$4017
  • Cartrige
    • mapped to $4020-$FFFF , to the end.

PPU

  • Specification
    • 2C02
    • mapped to $2000-$2007
    • has its own bus, can address 16k
  • Graphics Memory (mapping from cartridge)
    • 8k, PPU $0000-$1FFF
  • VRam
    • 2k
    • PPU $2000-$27FF
  • Palettes
    • PPU $3F00-$3FFF
  • Object Attribute Memory (OAM)
    • is NOT available via any bus

Clocks

  • feed CPU & PPU
  • every clock tick
    • PPU output a pixel to screen

  1. overview
  2. cup
  3. bus,cartridge,mapper...
  4. ppu BG
  5. ppu Sprite
  6. apu
  7. mapper

Instructions