Skip to content

NES Emulator for TempleOS by Alec Murphy, ported to ZealOS

License

Notifications You must be signed in to change notification settings

Zeal-Operating-System/templenes

 
 

Repository files navigation

templenes

NES Emulator for TempleOS, ported to ZealOS

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

Download the latest ISO. https://github.com/Zeal-Operating-System/templenes/releases/tag/latest

Attach the ISO to your ZealOS VM.

Boot ZealOS, and use Mount; to mount the ATAPI drive to T:/.

  • CopyTree("T:/", "::/Home/zeal-templeNES/");
  • Cd("::/Home/zeal-templeNES/");
  • #include "Run";
  • TempleNES("path_to_rom_file.nes");

TODO

  • Mappers

  • Sound

  • GUI Dialog boxes and other menu options

  • Everything else