Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1023 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 1023 Bytes

templenes

NES Emulator for TempleOS

This is a work in progress. Currently, only Mapper #0 games work, 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

  • Mappers

  • Sound

  • GUI Dialog boxes and other menu options

  • Everything else