ndsemu

command module
v0.0.0-...-621e331 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: MIT Imports: 33 Imported by: 0

README

ndsemu

Gitter

Status

This emulator is still in DEVELOPMENT PHASE.

Some games work and are playable, others have broken graphics, others crash almost immediately.

What is emulated
  • ARM
    • Most opcodes implemented in both ARM and Thumb mode
    • Disassemly for debugging support
    • Correct cycle counting
    • Correct handling of miasligned memory addresses
    • Preliminar JIT (not fully working yet)
  • 2D: BG layers
    • Text mode (16/256 colors, scrolling)
    • Affine modes (16bit bgmap, 8bit bitmap, direct bitmap)
    • Different map sizes
    • Priorities
    • Extended palettes
  • 2D: OBJ (sprites)
    • Normal sprites
    • Different sizes
    • Extended palettes
    • Bitmaps
    • Affine (rotozoom)
  • 2D: advanced modes
    • VRAM display mode
  • 2D: misc features
    • Capturing: only basic support (normal BG+OBJ capture)
    • Master brightness
    • Window (OBJ and BG)
    • Color special effects
  • 3D: geometry processor
    • Most commands implemented
    • Accurate timing
  • 3D: rasterizer
    • Quadrangle splitting
    • Backface culling
    • Triangle rasterization
    • All different texture formats
    • Texture perspective correction
    • Clipping
    • Lighting and materials (with bugs...)
    • Toon shading
  • Sound
    • PCM channels
    • Noise
What is NOT emulated
  • 2D
    • Mosaic
  • 3D
    • Tons of small fixes
    • Light perspective corrections
    • Edge marking
    • Fog
  • Sound
    • Capture (also for reverbs)
    • Mic input
  • Emulator features
    • Savestates
    • Replays

How to compile

To compile, you must clone into a ndsemu subdirectory:

git clone https://github.com/rasky/ndsemu $GOPATH/src/ndsemu
cd $GOPATH/src/ndsemu
go get
go build

BIOS

You need access to an official NDS BIOS and firmware. Put them within a "bios" subdirectory, like this:

ndsemu
  |---bios
       |---- firmware.bin
       |---- biosnds7.rom
       |---- biodnds9.rom

Run it

At this point, you can just run it with:

./ndsemu <path-to-your-rom-file>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
arm
Generated on 2017-06-18 01:20:56.24527106 +0200 CEST
Generated on 2017-06-18 01:20:56.24527106 +0200 CEST
genarm command
genthumb command
emu
gfx
Generated on 2017-04-23 15:03:29.014236194 +0200 CEST
Generated on 2017-04-23 15:03:29.014236194 +0200 CEST
gfx/genmixer command
hw
jit
JIT manager for helping implementing a working translator in an emulator.
JIT manager for helping implementing a working translator in an emulator.
spi
Generated on 2017-05-28 00:53:35.604936721 +0200 CEST
Generated on 2017-05-28 00:53:35.604936721 +0200 CEST
fillerconfig
This package is shared between raster3d and generator It must not import raster3d for circular dependencies
This package is shared between raster3d and generator It must not import raster3d for circular dependencies
gen command

Jump to

Keyboard shortcuts

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