mirror of
https://git.checksum.fail/alec/templenes.git
synced 2026-05-26 21:50:14 +00:00
master
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.
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
Description
Languages
HolyC
100%