gones

command module
v0.0.0-...-fa24f98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 12 Imported by: 0

README

goNES

NES emulator using ebitengine.

PPU & APU are based on Michael Fogleman's emulator, with added/removed bugs and more rewrites planned/needed. Because the CPU and the memory code isn't the same, the PPU/APU code isn't the same either, and I'm hoping to fully rewrite it eventually.

MOS 6502 CPU is mostly implemented from scratch.

Memory mapping system is also implemented from scratch, as well as cartridge loading/mapping.

Clock uses a master clock at the frequency specified for NES, and divisors to feed cpu/ppu/apu/etc synchronized signals.

Structure

  • pkgnes is the base NES package that will instanciate the various required elements
  • cpu6502 contains the CPU emulation
  • clock generate clock signals for the other parts of the system
  • memory contains memory primitives such as the bus, RAM and ROM
  • nescartridge has code to load a cartridge and map it on the CPU's bus
  • nesppu contains video rendering related code
  • nesapu contains audio code
  • nesinput manages input devices (keyboard only for now)

References

CPU

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL