

Nestur: NES Emulator in Rust
source link: https://github.com/spieglt/nestur
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

nestur
This is an NES emulator and a work in progress. The CPU and PPU work, though there are still at least a couple bugs. I've mostly tested on Donkey Kong and Super Mario Bros. so far. There are plenty of full-featured emulators out there; this is primarily an educational project but I do want it to run well.
-
One dependency (SDL)
-
One line of
unsafe
(std::mem::transmute::<u8>() -> i8
) -
NTSC timing
(Warning: this pipe currently takes you to an empty room, it's not the only one, and I don't know why.)
Controls:
Button | Key ___________________ | A | D | | B | F | | Start | Enter | | Select | R-Shift| | Up | Up | | Down | Down | | Left | Left | | Right | Right | -------------------
The code aims to follow the explanations from https://wiki.nesdev.com/w/index.php/NES_reference_guide where possible, especially in the PPU, and the comments quote from it often.
Thanks to Michael Fogleman's https://github.com/fogleman/nes for getting me unstuck at several points.
To do:
-
More mappers (only NROM/mapper 0 implemented so far)
-
DMC audio channel, high- and low-pass filters, APU cleanup/timing fix
-
Save/load functionality and battery-backed RAM solution
-
Player 2 controller?
Recommend
-
55
-
23
分享创造 - @esw - 假期无聊想着搞一个 NES 模拟器玩玩,目标在浏览器中运行,断断续续搞了一个月之后基本五脏俱全了,声音和图像都没啥大问题github 地址:[tsnes]( https://github.co
-
6
Reverse-Engineering NES Tetris to add Hard Drop 2021-03-21 in emulation Tetr...
-
11
每周一个Github项目【第六期】nes2017年9月12日一个用Go实现的NES模拟器 // NES emulator written in Go. 名称 nes 地址 Github 作者 fogleman Brief Intro NES emulator written...
-
7
Making Spelunky 2 on NESYour PrivacyPatreon determines the use of personal data collected on our media properties and across the internet. We may collect data that you submit to us directly or data that we col...
-
7
Pen Settings HTML Preprocessor Add Class(es) to <html> Stuff for <head> ...
-
11
Writing a Fuzzer for Nes Games My project this weekend was a fuzzer for nes games based on seeded input from TAS movies. Tool assisted speedruns
-
7
Masayuki Uemura, NES and SNES designer, dies at age 78 You've likely played something Uemura designed By
-
8
smolnes A NES emulator in ~5000 significant bytes of c++. Features Plays some mapper 0 and mapper 1 games. Screenshots
-
5
Writing an NES emulator: Part 1 - The 6502 CPU Analog Hors 2023-04-02After an immense amount of time of not sticking with a project, I finally decided to pick up writing an NES emulator again, a project which I dropped years ago...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK