puNES Emulator

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: puNES Emulator (ex Fnes)

Post by lidnariq »

Just so! It assumes memory powers on with 0s. Which means it wouldn't work on my NES, which largely powers up with $FFs.

Here's an IPS that adds that initialization.
8bp-ad-init.ips
(58 Bytes) Downloaded 269 times
sha1sum:
5af4ad5addd6176f0f918f38f6f7153fc611b6b8 8bitpeoples_-_after_dark.nes
a190898ebf213896e120d1de002c6ac99420a771 8bp-ad-init.nes
  crc32   &   md5sum:
b1ce8a39 fb77598de515a5040e5f98a4522b791b 8bitpeoples_-_after_dark.nes
0931b167 c979c445f0fb469a4f32fe40b6c1ede0 8bp-ad-init.nes
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Re: puNES Emulator (ex Fnes)

Post by thefox »

Ramon Zarat wrote:From that, I can only assume the demo actually run correctly on real hardware. It's either that, or the author is lying.
I don't doubt that it ran on real hardware when they tested it. It's possible that a ROM works on hardware by luck even though it does things it shouldn't (or doesn't do something it should, like memory initialization in this case). Relying on it working across the board on different systems is not a good idea, though. (Although I believe in this case the lack of RAM initialization was just an oversight, not something they deliberately did.)
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Ramon Zarat
Posts: 6
Joined: Mon Oct 26, 2015 12:00 am

Re: puNES Emulator (ex Fnes)

Post by Ramon Zarat »

rainwarrior wrote: This mapper is not documented on our wiki yet. Do you have information on it? What emulators implement it?
I'm not a programmer. I'm an enthusiast collector and user. I like to test emulators, to push them to their limit! :) What I can tell you is this:

1- Punes report mapper 255 not supported on this ROM: "115-in-1 [p1][!]". I suspect many other such ROM exist.
2- Surprisingly enough, quite a few emulators could run this ROM: Nestopia (regular and "undead edition"), Bizhawk (which I think uses the Nestopia core), FCE ultra 0.98.16, HalfNES, My NES (gives warning about untested mapper 255, but still run the ROM anyway), Nessie, NesterJ, NNNesterJ, No$NES and RockNES.
3- Those emulator can not run this ROM: Mednafen, Nester, Nintendulator, Nesticle, FCEUX, Sega li, Yanese, YoshiNES and even BSNES and Higan!

NOTE: OlafNES run the ROM, but boot directly into a game instead of the menu. MESS try to boot the ROM, but only gives garbage on the screen. I can not test Pasofami as my Japanese is VERY rusty! Also, I didn't test DOS or very obscure NES emulators.
rainwarrior wrote: Some UNIF files can be converted to iNES (dunno if there's a utility) but there's a few UNIF ROMs that can't be converted yet, because their mappers are still undocumented. (thread) If you've got information to share about these ROMs or mappers I'm sure it would be welcome. (e.g. what games are they, and what emulators run them?)
To my knowledge, TOSEC NES has all the UNF dump in existence:

Education:
Educational Computer 2000 (200x)(-)(RU)[p]
Turbo Checker (2005)(Quietust)(PD)

Demos:
Color Bars (2004)(Quietust)(PD)
Color Bars v2.0 (2005)(Quietust)(PD)
Copper Bars Demo v1.1 (2004)(Quietust)(PD)
Scanline Demo (2004)(Quietust)(PD)
Square Box (2006)(Quietust)(PD)
Super Mario World 'Stomper' Demo (2004)(Quietust)(PD)

Games:
2 in 1 LightGun Game - Tough Cop (1993)(Sachen)(AS)[p][SA-024].zip
3 in 1 (199x)(-)(AS)[p][N068].zip
4 in 1 (199x)(-)(AS)[p][D-010].zip
4 in 1 (199x)(-)(AS)[p][FK23C8078].zip
4 in 1 (199x)(-)(AS)[p][FK23C8244].zip
4 in 1 (199x)(-)(AS)[p][JY-066].zip
4 in 1 1993 (1993)(-)(AS)[p][CK-001].zip
42 in 1 (199x)(-)(AS)[p][reset switch].zip
46 in 1 (199x)(-)(AS)[p][D1038].zip
64 in 1 (199x)(-)(AS)[p].zip
65 in 1 (199x)(-)(AS)[p][NT766].zip
70 in 1 (199x)(-)(AS)[p].zip
74 in 1 (199x)(-)(AS)[p][NT886].zip
77 in 1 (199x)(-)(AS)[p][NT141].zip
777 Lucky Bingo (1989)(Sachen)(AS)[p][SA-004][NES cart].zip
8 in 1 (199x)(-)(AS)[p][A-020].zip
800 in 1 (199x)(-)(AS)[p].zip
Auto-Upturn (1991)(Sachen)(AS)[p][TC-017][NES cart].zip
Bin Guo 75 (1990)(Sachen)(AS)[p][SA-007].zip
Boku Koku Shuu Kin - The World of Card Game (1990)(Sachen)(AS)[p][TC-012].zip
Challenge of the Dragon (1990)(Sachen)(AS)[p][TC-011][NES cart].zip
Chess Academy (1991)(Sachen)(AS)[p][SA-015][Famicom cart].zip
Chinese Checkers (1991)(Sachen)(AS)[p][a][TC-019][Famicom cart].zip
Chinese Checkers (1991)(Sachen)(AS)[p][TC-019][NES cart].zip
Contra Fighter (1993)(-)(AS)[p].zip
Creatom (199x)(TXC Corp)(AS)[p].zip
Dancing Blocks (1990)(Sachen)(AS)[p][SA-013][NES cart].zip
Drip (2006-10)(Quietust)(PD).zip
Drip (2006-12)(Quietust)(PD).zip
Earth Worm Jim 2 (199x)(Shin-Shin Electronics)(AS)[p].zip
Final Combat (1992)(Sachen)(AS)[p][a][SA-020][Famicom cart].zip
Final Combat (1992)(Sachen)(AS)[p][SA-020][NES cart].zip
Gaiapolis (1994)(Sachen)(AS)[p][TC-029].zip
Galactic Crusader (1990)(Sachen)(AS)[p][TC-009][NES cart].zip
Great Wall, The (1992)(Sachen)(AS)[p][SA-019][NES cart].zip
Happy Pairs (1991)(Sachen)(AS)[p][TC-016][NES cart].zip
Hell Fighter (1991)(Sachen)(AS)[p][SA-016][NES cart].zip
Honey Peach - Mei Nu Quan (1990)(Sachen)(AS)[f][p][a][SA-006].zip
Jovial Race (1989)(Sachen)(AS)[p][TC-001][NES cart].zip
Jurassic Boy (1994)(Sachen)(AS)[p][TC-028].zip
King of Fighters '97, The (1997)(Rex Soft)(AS)[p].zip
Korean Igo (199x)(DreamTech)(KR)[p].zip
Locksmith (1991)(Sachen)(AS)[p][SA-017][NES cart].zip
Low G Man - The Low Gravity Man (1990-09)(Taxan)(US).zip
Magic Cube (1991)(Sachen)(AS)[p][TC-018][NES cart].zip
Magical Mathematics -C.A.I.- (1990)(Sachen)(AS)[p][SA-014][copy protection].zip
Mahjong Summit Kabukicho Hen (1990)(Hacker International)(JP)[p].zip
Mahjong World, The (1990)(Sachen)(AS)[p][a][SA-008][Famicom cart].zip
Mahjong World, The (1990)(Sachen)(AS)[p][SA-008][NES cart].zip
Master Chu (1990)(Sachen)(AS)[p][TC-007][NES cart].zip
Metal Fighter (1989)(Sachen)(AS)[p][TC-008][NES cart].zip
Mi Hun Che - BB Car (1991)(-)(AS)[p].zip
Millionaire (1990)(Sachen)(AS)[p][SA-012][NES cart].zip
Novel Diamond Gold Card - 9999999 in 1 (19xx)(-)(AS)[p][15].zip
Olympic I. Q. (1991)(Sachen)(AS)[p][TC-015][NES cart].zip
Penguin and Seal (1989)(Sachen)(AS)[p][SA-002][NES cart].zip
Po Po Team (1992)(Sachen)(AS)[p][TC-023].zip
Pocahontas 2 (1997)(Super Games)(AS)[p][NT-320].zip
Poker II (1990)(Sachen)(AS)[p][TC-013].zip
Poker III - 5 in 1 (1991)(Sachen)(AS)[p][a][TC-020].zip
Poker III - 5 in 1 (1991)(Sachen)(AS)[p][TC-020].zip
Poker Mahjong (1991)(Sachen)(AS)[p][SA-018].zip
Pyramid II (1990)(Sachen)(AS)[p][SA-010][NES cart].zip
Q Boy (1994)(Sachen)(AS)[p][TC-026].zip
Qi Wang - Chinese Chess (1991)(TXC)(AS)[p][MGC-001].zip
Rockball (1993)(Sachen)(AS)[p][TC-024].zip
Side Winder (1989)(Sachen)(AS)[p][TC-003][NES cart].zip
Silent Assault (1990)(Sachen)(AS)[p][TC-005][NES cart].zip
Silver Eagle (1993)(Sachen)(AS)[p][NES cart].zip
Strategist (1991)(Sachen)(AS)[p].zip
Strategist (1991)(Sachen)(AS)[p][a intro].zip
Street Heroes (1994)(Sachen)(AS)[p][TC-027].zip
Super 128K - 16 in 1 (19xx)(Supervision)(AS)[p].zip
Super 24 in 1 (19xx)(-)(AS)[p].zip
Super 40 in 1 (19xx)(-)(AS)[p][WS-1001].zip
Super 45 in 1 (1998)(-)(AS)[p][JY-120A].zip
Super HIK 8 in 1 King Fighter (199x)(-)(AS)[p].zip
Super Mario Bros. Malee 2 (19xx)(-)(AS)[p].zip
Super Pang (1991)(Sachen)(AS)[p][TC-021][NES cart].zip
Super Pang II (1992)(Sachen)(AS)[p][TC-022].zip
Super Ver.1 - 4 in 1 (1994)(Sachen)(AS)[p].zip
Super Ver.2 - 10 in 1 (1994)(Sachen)(AS)[p].zip
Super Ver.3 - 8 in 1 (1994)(Sachen)(AS)[p].zip
Super Ver.4 - 6 in 1 (1994)(Sachen)(AS)[p].zip
Super Ver.5 - 7 in 1 (1994)(Sachen)(AS)[p].zip
Super Ver.6 - 6 in 1 (1994)(Sachen)(AS)[p].zip
Super Ver.7 - 4 in 1 (1994)(Sachen)(AS)[p].zip
Super Ver.8 - 4 in 1 (1994)(Sachen)(AS)[p].zip
Super Ver.9 - 3 in 1 (1994)(Sachen)(AS)[p].zip
Taiwan 16 Mahjong (1989)(Sachen)(AS)[p][a2][SA-001].zip
Tao of 007 Rev PRG0, The (2002)(Quietust)[p].zip
Tao of 007 Rev PRG2, The (2004-09-10)(Quietust)[p].zip
Tasac (1992)(Sachen)(AS)[p][SA-021].zip
Twin Eagle (1989)(Sachen)(AS)[p][TC-006][NES cart].zip
------------------------------------------------------------------------

Emulators that runs .unf ROM : MESS, Nintedualor, Nestopia, NNNesterJ (throw a mapper error with all ROM tested, but shows support for unf in files requester menu), FCE Ultra Mapper modded, but only some unf , like "Earth Worm Jim 2 (199x)(Shin-Shin Electronics)(AS)[p]" , Same thing for FCEUX.

NOTE: Thanks a lot for this RTC demo, I was not aware of this Y2Kode competition!!! :) Grabbing all the stuff related to Y2Kode now!

I hope all this will help,
Ramon
Last edited by Ramon Zarat on Sat Oct 31, 2015 11:43 am, edited 3 times in total.
Ramon Zarat
Posts: 6
Joined: Mon Oct 26, 2015 12:00 am

Re: puNES Emulator (ex Fnes)

Post by Ramon Zarat »

lidnariq wrote:Just so! It assumes memory powers on with 0s. Which means it wouldn't work on my NES, which largely powers up with $FFs.

Here's an IPS that adds that initialization.
Thanks! :)
Ramon Zarat
Posts: 6
Joined: Mon Oct 26, 2015 12:00 am

Re: puNES Emulator (ex Fnes)

Post by Ramon Zarat »

thefox wrote:
Ramon Zarat wrote:From that, I can only assume the demo actually run correctly on real hardware. It's either that, or the author is lying.
I don't doubt that it ran on real hardware when they tested it. It's possible that a ROM works on hardware by luck even though it does things it shouldn't (or doesn't do something it should, like memory initialization in this case). Relying on it working across the board on different systems is not a good idea, though. (Although I believe in this case the lack of RAM initialization was just an oversight, not something they deliberately did.)
It is very strange to me, from a simple user perspective, that emulation or even real hardware, is not an absolute thing! I understand that hardware comes in many revisions and with many BIOSES version, but still, to think that some software could run properly on a closed technology system such as console (as opposed to open technology platform such as PC), but not ALL consoles of the SAME platform, is baffling to me! The NES seems to be a very picky system, booting to a different RAM address space depending on "how it feels" lol! A very human characteristic to me! (I'm aware I'm crudely oversimplifying here, but that's how I see it.)

Thanks for the explanation,
Ramon
User avatar
rainwarrior
Posts: 8732
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: puNES Emulator (ex Fnes)

Post by rainwarrior »

Uninitialized RAM is a problem that affects programmers on all systems, really, even modern ones. This is by no means unique to the NES. I'm sure there's lots of games on the market today that have bugs to do with forgetting to stick an initial value in a RAM variable. (I've fixed this kind of bug hundreds of times in my professional work.)

Modern languages do try to warn you where they can about this kind of thing, but there's always ways to accidentally get around those warnings. :P
Ramon Zarat
Posts: 6
Joined: Mon Oct 26, 2015 12:00 am

Re: puNES Emulator (ex Fnes)

Post by Ramon Zarat »

Just found the archived page of the Y2kode with all the goodies, for those interested:

http://archives.dcemulation.org/www.y2kode.com/

EDIT: Some files are unavailable with the previous link. This link has them all:

http://archiv.sega-dc.de/index.php?dir= ... order=desc

EDIT-2: Hmmmm, almost all of them. The only missing is the very last one, Mau-V on the PCE! Can't find it on the net or in my collection. Anyone here have this somewhere?
shertz
Posts: 2
Joined: Sun Apr 19, 2015 9:55 am

Re: puNES Emulator (ex Fnes)

Post by shertz »

The controls are very sluggish and have lots of lag. Been playing the original SMB1 and cant get past 8-2 cause there seems to be an invisible wall you hit when doing one of the long jumps and no way to pass it. Does not happen on Nestopia. Nestopia's controls seem very responsive and fluent. Nestopia doesn't have that weird invisible wall when doing the long jump on 8-2 either. Very strange. I'm not dissing this emulator but its useless if there is too much lag on the controls. I'm using USB Super RetroPort with a SNES controller.
uVSthem
Posts: 40
Joined: Thu Feb 26, 2015 2:37 am

Re: puNES Emulator (ex Fnes)

Post by uVSthem »

Is it possible to add a "allow more than 8 sprites per scanline" option to puNES?
Pie-jacker875
Posts: 4
Joined: Sun Dec 15, 2013 5:54 pm

Re: puNES Emulator (ex Fnes)

Post by Pie-jacker875 »

shertz wrote:Been playing the original SMB1 and cant get past 8-2 cause there seems to be an invisible wall you hit
I tried the NTSC-cart version, the FDS version, and the PAL version and I couldn't recreate this in any of them.
Hubz
Posts: 19
Joined: Sun May 04, 2014 4:16 pm

Re: puNES Emulator (ex Fnes)

Post by Hubz »

Just thought I'd say I too am getting the strange screen tearing issue in Super Mario Bros. But only when I am running in full screen mode. By the time I get to 1-2 if I'm pressing forward quickly it will start tearing very badly. But windowed I never run into this. SDL and D3D versions do the same thing, filters or no filters. The only common thing I can find is it does it when in full screen.
geoslake
Posts: 6
Joined: Tue Jun 26, 2012 3:30 pm

Re: puNES Emulator (ex Fnes)

Post by geoslake »

Hi, could someone know if its possible to get xaudio2 without installing the full dx library ? I tried with various xaudio dll and couldnt fix it. Thanks
FHorse
Posts: 232
Joined: Sat May 08, 2010 9:31 am

Re: puNES Emulator (ex Fnes)

Post by FHorse »

This is a 0.99 WIP version.

- Pause shortcut.
- Fix for recognize correctly the CHR RAM size with the NES 2.0.
- New OpenGL engine.

I have rewritten the OpenGL engine (D3D9 not yet) to support multi-pass shaders (now I can use the Retroarch shaders). Many shaders are already in the menu and soon I will reach the possibility to load from external file.

If someone wants to test it:
Linux version 32bit
Linux version 64bit
Windows SDL 32bit version
Windows SDL 64bit version
Last edited by FHorse on Sun Feb 28, 2016 2:58 pm, edited 1 time in total.
uVSthem
Posts: 40
Joined: Thu Feb 26, 2015 2:37 am

Re: puNES Emulator (ex Fnes)

Post by uVSthem »

Thanks for the update. Do you see any reason to use D3D9 over OpenGL or vice versa.
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: puNES Emulator (ex Fnes)

Post by tepples »

D3D9 needs Windows so it's less applicable if the emulator is ever ported to OS X or Android (for end users) or iOS (for game publishers).
Post Reply