Skip to content

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NES Emulator

NESの自作エミュレーターです。

実行例

Super Mario Bros.

image/smb_small.gif

動作環境

環境

  • Ubuntu 22.04.5 LTS
  • C++ 20

使用ツール一覧

使用ツールバージョン
cmake3.22.1
gcc11.4.0
SDL22.0.20

インストール方法

sudo apt update
sudo apt install cmake libsdl2-dev

使用方法

ビルド

cmake -S . -B build
cmake --build build

実行

./build/nes rom/<rom file>

現状未対応なもの

  • 8x16のスプライト表示
  • APU
  • Mapper0以外

テスト結果

テスト名パステスト内容結果参考
hellowroldrom/test/helloworld/BGの表示テストimage/helloworld_small.pnghttps://tekepen.com/nes/sample.html
nestestrom/test/nestest/CPUの命令テストimage/nestest_small.pnghttps://www.nesdev.org/wiki/Emulator_tests
color_testrom/test/color_test/色表示テストimage/color.gifhttps://forums.nesdev.org/viewtopic.php?p=155593#p155593
ギコ猫でもわかるファミコンプログラミングrom/test/giko/giko005/スプライトの表示テストimage/giko005.pnghttps://web.archive.org/web/20250621085001/http://gikofami.fc2web.com/index.html https://blog.naver.com/yagami81 (韓国語の転載サイト)
rom/test/giko/giko008/コントローラーのテストimage/giko008.gif
rom/test/giko/giko009/DMAによる2つのスプライトの移動テストimage/giko009.gif
rom/test/giko/giko011/背景のスクロールテストimage/giko011.gif
rom/test/giko/giko015/ラスタスクロールのテストimage/giko015.gif
sprite_hit_testsrom/test/sprite_hit_tests/Sprite0Hitの確認テスト08.double_height以外 (8x16のスプライト表示が未対応のため)https://forums.nesdev.org/viewtopic.php?t=626

About

C++ NES Emulator

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages