Search found 1196 matches

by NewRisingSun
Wed Mar 11, 2020 3:46 am
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Okay, good info. That means that those two games require a different PCB than Harvest Moon.

Interestingly, the 2 MiB Waixing games, such as their Zelda 3 port, will use that same or a compatible PCB, because they *constantly* use $5200.1 to bank-switch.
by NewRisingSun
Tue Mar 10, 2020 6:14 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Yes, just as Yahweasel has found. Good to see that replacing a 2 MiB with a 1 MiB ROM creates no problem with bank re-ordering. The games that use the $5100.1 protection are "Nong Chang Xiao Jing Ling 农场小精灵 NJ025" and "Liang Shan Ying Xiong 梁山英雄 NJ023". Both need the banks re-ordered using my utilit...
by NewRisingSun
Tue Mar 10, 2020 5:21 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Here is my program that can swap the bank order between $5300=$04 and $5300=$07 for any iNES-headered ROM file.

Edit: The A19<->A20 swap is only performed when the ROM has 2 MiB of data.
by NewRisingSun
Tue Mar 10, 2020 4:55 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

The game runs with $5300=$07, i.e. with bit swapping enabled. So you cannot use the commonly-available dump from the internet, because that one was dumped with $5300=$07, i.e. with the bits already swapped. Attached file has the banks re-ordered, as if it had been dumped with $5300=$04, and which sh...
by NewRisingSun
Tue Mar 10, 2020 12:00 am
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Here are pictures of NJ097's PCB (World of Warcraft — 魔兽世界-恶魔猎人 — Móshòu Shìjiè-èmó Lièrén), courtesy of Yahweasel. It should be functionally equivalent to the previous two PCBs.
NJ097-Front.png
NJ097-Back.png
by NewRisingSun
Mon Mar 09, 2020 5:08 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Yahweasel, who dumped the Warcraft cartridge, has tried it on his NT Mini, and the sprite looks just as garbled there as in emulators except for FCEUX. ANOTHER game with garbled graphics on real hardware. How sloppy can Nanjing become? With Diablo, at least it was on an ending screen, but on a title...
by NewRisingSun
Mon Mar 09, 2020 4:59 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Cool! Then we try can those other games with the $5100.1 protection as well.
by NewRisingSun
Mon Mar 09, 2020 4:20 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

You are correct. The $08 write to $5200 is merely the remnant of putting a full bank number plus $80 into A, then doing STA $5000, 4x LSR, then STA $5200. Then something else must prevent the game's sprite (World of Warcraft (NJ097 — 魔兽世界-恶魔猎人 — Móshòu Shìjiè-èmó Lièrén) from displaying correctly on...
by NewRisingSun
Mon Mar 09, 2020 3:54 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Can $5200.3 be seen on any ASIC pin?
by NewRisingSun
Mon Mar 09, 2020 3:19 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Okay, that glitch then occurs on real hardware as well. Sloppy programming by Nanjing. So the mapper must count PPU reads like MMC5? Not necessarily. I get perfect results for all games by adding a simpler condition: If 5200.3 is clear, perform CHR A12 auto-switch normally. If 5200.3 is set, perform...
by NewRisingSun
Mon Mar 09, 2020 1:18 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Ok, so these games must be using a PCB or even a mapper ASIC variation. Another thing that I have noticed is that even with your improved description of the CHR auto-bankswitch, Diablo's ending sequence still flickers a little. Basically, whenever a character is printed, the game clears $5000.7, the...
by NewRisingSun
Mon Mar 09, 2020 11:43 am
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Here is a more detailed description of that $5200.1 business. The games 农场小精灵 and 梁山英雄 both normally run with $5300=7, i.e. with swapped PRG A15/A16 and A19/A20, and execute the following for protection check: LDA #$04 STA $5300 ; Disable PRG swap LDA #$03 ; Desired bank is $03 AND #$FE ; Mask D0 ST...
by NewRisingSun
Mon Mar 09, 2020 11:24 am
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

1 1 0 1 0 1 $5100 [......BA] ++- bit output on pin 4 (when $5300.0 = 0) What, when $5300.0 =0, then pin 4 := $5100.0 OR'd with $5100.1? That's very strange. 1 1 0 1 0 0 $5000 [V...abcd] | |||| | ++++- PRG-A18,A17,A16,A15 +-------- 0: CHR A12 always follows PPU A12 1: During rising edge of PPU A13, ...
by NewRisingSun
Mon Mar 09, 2020 2:30 am
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

"Nong Chang Xiao Jing Ling 农场小精灵" (NJ025), which is Nanjing's re-release of Harvest Moon with a new title screen, depends on PRG A15 coming from $5100 D1 when (and only when) $5300=$04. Could you please check again if this is the case on the PCB you studied, or whether $5100 D1 instead of D0 can be ...
by NewRisingSun
Sun Mar 08, 2020 11:18 pm
Forum: NESemdev
Topic: Nanjing/Waixing/Mars mappers 162, 163, 164
Replies: 29
Views: 14253

Re: Nanjing/Waixing/Mars mappers 162, 163, 164

Many thanks. All of my analysis comes from debugging the games, so insight from actual PCBs is always appreciated. Only D7/D3..D0s are routed to the mapper, so not all features described by you are even present, Yes, the D4..D6 stuff only happens on the Mapper 164 games. Mu Chang Wu Yu (Harvest Moon...