More actions
(Created page with "{{Infobox Switch Homebrews |title=LaiNES |image=lainesswitch.png |description=A cycle accurate NES emulator based on LaiNES. |author=Kevoot |lastupdated=2018/07/26 |type=Console |version=1.4 |license=BSD-2-Clause |download=https://dlhb.gamebrew.org/switchhomebrews/lainesswitch.7z |website=https://gbatemp.net/threads/laines-a-cycle-accurate-nes-emulator.505010/ |source=https://github.com/Kevoot/LaiNESwitch |donation= }} {{#seo: |title=Switch Homebrew Emulators (Console) -...") |
No edit summary |
||
Line 86: | Line 86: | ||
==References and credits== | ==References and credits== | ||
* Original by AndreaOrru | * Original by AndreaOrru | ||
* Special thanks to Ulf Magnusson for the invaluable [PPU diagram] (http://wiki.nesdev.com/w/images/d/d1/Ntsc_timing.png) and for his excellent implementation which was a big source of inspiration. | * Special thanks to Ulf Magnusson for the invaluable [PPU diagram] ([http://wiki.nesdev.com/w/images/d/d1/Ntsc_timing.png http://wiki.nesdev.com/w/images/d/d1/Ntsc_timing.png]) and for his excellent implementation which was a big source of inspiration. | ||
* blargg's APU sound chip emulator: http://blargg.8bitalley.com/libs/audio.html#Nes_Snd_Emu | * blargg's APU sound chip emulator: http://blargg.8bitalley.com/libs/audio.html#Nes_Snd_Emu | ||
* Complete hardware reference: http://problemkaputt.de/everynes.htm | * Complete hardware reference: http://problemkaputt.de/everynes.htm |
Revision as of 04:41, 9 April 2023
LaiNES | |
---|---|
File:Lainesswitch.png | |
General | |
Author | Kevoot |
Type | Console |
Version | 1.4 |
License | BSD-2-Clause |
Last Updated | 2018/07/26 |
Links | |
Download | |
Website | |
Source | |
A cycle accurate NES emulator based on LaiNES.
To Use
- Put the resulting LaiNes.nro file on the Switch's SD card under /switch/LaiNes
- Place ROMs in sdcard:/switch/LaiNes/game
Usage
The emulator comes bundled with a simple GUI to navigate the filesystem and set preferences. Use DPAD and 'A' to operate it. 'R' toggles between emulation and menu.
Compatibility
LaiNES implements the most common mappers, which should be enough for a good percentage of the games:
- NROM (Mapper 000)
- MMC1 / SxROM (Mapper 001)
- UxROM (Mapper 002)
- CNROM (Mapper 003)
- MMC3, MMC6 / TxROM (Mapper 004)
- AOROM (Mapper 007) <-- EXPERIMENTAL
You can check the compatibility for each ROM in the following list: http://tuxnes.sourceforge.net/nesmapper.txt
Controls
- Direction -> DPad (Joystick too but there's a weird bug on the x-axis)
- A -> A
- B -> B
- Select -> Minus
- Start -> Plus
- Program Menu -> R
Screenshots
Known Issues
- The quality of the audio emulation on Linux is very poor. Typing export SDL_AUDIODRIVER=ALSA before running the emulator has been reported to improve it.
Changelog
v.1.4
- Threading has been removed as there was a deadlock I had neither the time nor patience to track down. Speed is still relatively good, same compatibility as before. Mapper7 is still experimental, and unlikely to entirely work.
- IMPORTANT: place the res folder on the root of your sdcard or it'll crash. Will fix paths in a patch asap.
v.1.3
- Folders no longer have limits, have fun scrolling through your mega ROM packs!
v.1.2
- Threading has been added, tested with LoZ, runs full speed.
v.1.1
- Fixed:
- Crashes for all games which loaded and ran only briefly
- Menu bugs (mostly by removing most of them as they weren't needed)
- Added:
- Stability
- Exit cleanly
- Scaffolding for render quality improvements for when hw acceleration becomes available
- Next up:
- Add support for 2 players
- Make the menus even better
v.1.0
- First Release.
Contributors
- AndreaOrru - Original Author
- Jeff Katz - Mapper 002, 003, initial 007, and configuration.
- Kevoot - Switch port, 007 integration, threading
References and credits
- Original by AndreaOrru
- Special thanks to Ulf Magnusson for the invaluable [PPU diagram] () and for his excellent implementation which was a big source of inspiration.
- blargg's APU sound chip emulator: http://blargg.8bitalley.com/libs/audio.html#Nes_Snd_Emu
- Complete hardware reference: http://problemkaputt.de/everynes.htm
- Tick-by-tick breakdown of 6502 instructions: http://nesdev.com/6502_cpu.txt
- For Switch version: TurtleP for reference material with SDL and listening to my whining.
External links
- Official Website - https://gbatemp.net/threads/laines-a-cycle-accurate-nes-emulator.505010/
- Github - https://github.com/Kevoot/LaiNESwitch