NES Emulator for TempleOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alec Murphy d6eb903e68 Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
.gitignore Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
Audio.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
CPU.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
Font.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
GUI.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
Gamepad.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
HDAudio.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
Joypad.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
Load.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
MMU.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
Mappers.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
PAPU.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
PPU.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
Pointer.GR Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
README.md Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
Run.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
TOSGame.HC Add mapper support: MMC1, UNROM, CNROM, MMC3, Color Dreams, FFE Copier, Jaleco SS88006; Sound support, Initial GUI menu stuff 2 years ago
video_link.png Add files to repository 3 years ago

README.md

templenes

NES Emulator for TempleOS

This is a work in progress, and things are buggy. Tested on bare-metal and VirtualBox 6.0, YMMV.

The emulator runs in 320x200 256 color video mode. Since NES display resolution exceeds these boundaries, there is an option to view 1:1 (topmost pixels not visible) or Scale2Fit, which scales the image to the 320x200 viewport, albeit with loss of quality.

templenes

CPU is a modified version of fake6502 converted to HolyC.

PPU/MMU is a modified version of NESlig converted to HolyC; SDL function calls replaced with built-in or TOSGame Lib equivalents.

Usage

	#include "Run";
	TempleNES("path_to_rom_file.nes");

TODO

  • More mappers

  • GUI Dialog boxes and other menu options

  • Everything else