Homebrew NES port of the arcade version of Donkey Kong

User avatar
TLPD-AVW
Posts: 107
Joined: Sat Jul 11, 2020 9:59 am
Has thanked: 18 times
Been thanked: 42 times

Homebrew NES port of the arcade version of Donkey Kong

Unread post by TLPD-AVW »



Currently the rom demonstrated in this video fails to boot on MiSTer, only showing a black screen. From my understanding it uses NROM (mapper 0) with battery save function - is such combination even supported by MiSTer? I thought that it could be related to iNES header providing insufficient information, but changing it to NES 2.0 format with 8kb save RAM defined did nothing.

I understand that the existence of the arcade original's core makes the support of this version unnecessary, but it would be neat if this port worked on the NES core.
rcade
Posts: 119
Joined: Wed May 27, 2020 7:57 pm
Has thanked: 1 time
Been thanked: 17 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by rcade »

I'm almost positive I have played this on my MiSTer... even recently.
rcade
Posts: 119
Joined: Wed May 27, 2020 7:57 pm
Has thanked: 1 time
Been thanked: 17 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by rcade »

I was wrong- it doesn't work. I must have been playing on Everdrive and a real NES when I played it last.
lupin3rd
Posts: 35
Joined: Wed Jun 17, 2020 7:15 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by lupin3rd »

Thread necromancy!

Was support for this ever added?

If I'm not mistaken, there were no NROM games that supported battery-backed SRAM. So that means this game runs on a "custom" mapper, even though the concepts are well-known (NROM and Save Support). Emulators have to have mappers defined and emulated in the emulator itself, because ROMs alone do not contain the logical functions that an actual cartridge would physically supply. Support could be added, but if people are making homebrew stuff that they want to be playable on all NES systems/emulators/FPGAs, they should really use a well-known supported mapper from the outset.
User avatar
aberu
Core Developer
Posts: 1192
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 247 times
Been thanked: 411 times
Contact:

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by aberu »

The MiSTer NES core has had many custom mapper configs for homebrew added to it, so this probably wouldn't be impossible or unlikely for it to be fixed. I'll test this out in a sec with both the latest build and with current release.

EDIT: Just confirmed this still doesn't load. Image attached is the rom I used, just in case it matches or not. I think you are right, the fact it uses Battery Backed SRAM with NROM 0 mapping in a custom config might be the issue.
Attachments
PswePXyCbm.png
PswePXyCbm.png (35.18 KiB) Viewed 13506 times
birdybro~
User avatar
aberu
Core Developer
Posts: 1192
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 247 times
Been thanked: 411 times
Contact:

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by aberu »

https://github.com/MiSTer-devel/NES_MiS ... 1000610176

This works now thanks to @greyrogue ! :)
birdybro~
User avatar
TLPD-AVW
Posts: 107
Joined: Sat Jul 11, 2020 9:59 am
Has thanked: 18 times
Been thanked: 42 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by TLPD-AVW »

Indeed, the rom with NES 2.0 header works now! I tried to run the rom with that exact header a year ago with no luck, but now it runs properly. Thanks!
GreyRogue
Core Developer
Posts: 17
Joined: Sun May 24, 2020 8:57 pm
Been thanked: 12 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by GreyRogue »

FYI, in case you're curious, this was implemented here:
https://github.com/MiSTer-devel/NES_MiS ... /246/files
It added RAM support for all the mappers the code there supports:
https://github.com/MiSTer-devel/NES_MiS ... rt.sv#L154
// Mappers: 0, 2, 3, 7, 28, 94, 97, 180, 185 //
So, it's been in place for several months now.
shertz
Posts: 147
Joined: Sun May 24, 2020 8:12 pm
Has thanked: 15 times
Been thanked: 27 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by shertz »

I must be doing something different cause I still can't get it to work. I just get a blank screen. Do I have to somehow edit the rom to get it to work?
Stupid Dufus
Posts: 157
Joined: Sun Aug 30, 2020 12:04 am
Has thanked: 98 times
Been thanked: 46 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by Stupid Dufus »

Doesn't work for me either. ROM loads to a black screen.

MD5 I have is 9D64596784A288637695D309EA7868C4.
mario64
Posts: 119
Joined: Sun May 24, 2020 6:50 pm
Has thanked: 20 times
Been thanked: 10 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by mario64 »

TLPD-AVW wrote: Fri Dec 24, 2021 11:55 am Indeed, the rom with NES 2.0 header works now! I tried to run the rom with that exact header a year ago with no luck, but now it runs properly. Thanks!
Mind sharing the hash for the working rom? MD5 or CRC
User avatar
TLPD-AVW
Posts: 107
Joined: Sat Jul 11, 2020 9:59 am
Has thanked: 18 times
Been thanked: 42 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by TLPD-AVW »

mario64 wrote: Sun Feb 13, 2022 3:15 am
TLPD-AVW wrote: Fri Dec 24, 2021 11:55 am Indeed, the rom with NES 2.0 header works now! I tried to run the rom with that exact header a year ago with no luck, but now it runs properly. Thanks!
Mind sharing the hash for the working rom? MD5 or CRC
CRC32: 05E7C02A
MD5: 1C5CDB47316A34C570CBD27DE84F7EB9

You can patch the original rom yourself by changing its header in a hex editor or other NES utility program. Or you can load the game in Mesen emulator, choose Debug>Edit iNES header from the top menu, input these specs and save a new rom file.
mesen.png
mesen.png (22.99 KiB) Viewed 10087 times
Stupid Dufus
Posts: 157
Joined: Sun Aug 30, 2020 12:04 am
Has thanked: 98 times
Been thanked: 46 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by Stupid Dufus »

Thanks! Works for me now
mario64
Posts: 119
Joined: Sun May 24, 2020 6:50 pm
Has thanked: 20 times
Been thanked: 10 times

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by mario64 »

Yes indeed. Thanks so much TLPD-AVW! One follow up. Is there a way to rotate to vertical orientation? Don’t see that option in OSD.
User avatar
emmadness
Posts: 29
Joined: Sun May 24, 2020 6:48 pm
Location: Argentina
Been thanked: 1 time
Contact:

Re: Homebrew NES port of the arcade version of Donkey Kong

Unread post by emmadness »

TLPD-AVW tranks my friend!
Now the only thing I need is patience with this game that has a devilish difficulty.
Long live the arcades ;) greetings from Argentina!
Post Reply