NESICIDE

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

NESICIDE

Post by cpow »

Version 1.017 (windows build only) is out.

ChangeLog:
1. Added Dendy support as requested by Eugene.S. May not be perfect, but at least the comparison examples he provided seemed correct. Feedback welcome.
2. Fixed square channel sweep emulation bug pointed out by Jarhmander. Thanks!
3. Reduced threading overhead. Emulation engine now stops mid-frame if enough APU samples have been accumulated, rather than going to the end of the current frame.
User avatar
Eugene.S
Posts: 317
Joined: Sat Apr 18, 2009 4:36 am
Location: UTC+3
Contact:

Re: NESICIDE

Post by Eugene.S »

Thank you. Dendy timing is correct.
But the APU behavior is so strange.

Journey to Silius (U) - i don't hear DPCM
Battletoads & D.D (U), Alien 3 (U), Choujin Sentai - Jetman (J), etc - incorrect noise and squares

Overlord (U) also has "interrupted squares" in all modes.
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NESICIDE

Post by cpow »

Version 1.018 (windows build only) is out.

ChangeLog:
1. Fixed Dendy mode Noise and DMC LUTs.

Still looking for the root cause of this one:
Overlord (U) also has "interrupted squares" in all modes.

I believe it has to do with the method I'm using to down-sample from 1.789MHz to 22050KHz. My method may be madness.
User avatar
Eugene.S
Posts: 317
Joined: Sat Apr 18, 2009 4:36 am
Location: UTC+3
Contact:

Re: NESICIDE

Post by Eugene.S »

I think new LUTs are correct.
You may look at nestopia src: viewtopic.php?p=91333#p91333
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NESICIDE

Post by cpow »

Version 1.019 (windows build only) is out.

ChangeLog:
1. Fixed bug reported by Eugene.S:
Bucky O'Hare [MMC3/mapper4] is not working in all modes (GreenScreen)
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NESICIDE

Post by cpow »

Version 1.020 (windows build only) is out.

ChangeLog:
1. Fixed bug reported by Eugene.S:
Overlord (U) also has "interrupted squares" in all modes.
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NESICIDE

Post by cpow »

[quote="cpow"]Version 1.021 (windows build only) is out.

ChangeLog:
1. Finished support for template projects in the New Project dialog. Currently there's only "NROM Hello World" template but I'm hoping to add many more. Selecting the template will add the source and graphics files to your project necessary to generate a ROM that prints "HELLO WORLD" on the screen. Tepples...I used your russian roulette code as basis--left your comment header in place.
2. Made changes to try to get better APU downsampling. It's not perfect...yet.
User avatar
Hamtaro126
Posts: 818
Joined: Thu Jan 19, 2006 5:08 pm

Re: NESICIDE

Post by Hamtaro126 »

Cpow: Can you make the next version come with a few versions of ''Hello World'' with the following effects:

Text1.ASM: Uploads Plain Text.

Text2.ASM: Uploads Text, One Letter per Frame.

Text3.ASM: Same as Text2, But extends it with Hebereke-Style NPC Faces, Box, and Routines

I really admit the lack of good text routines to use for my games and hacks! and I will suggest to use the ''Do What The F*** You Want To'' license for these example ASM files, since a few ROM Hackers use this for parts of thier project: http://en.wikipedia.org/wiki/WTFPL
AKA SmilyMZX/AtariHacker.
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NESICIDE

Post by cpow »

Hamtaro126 wrote:Cpow: Can you make the next version come with a few versions of ''Hello World'' with the following effects:
Text1.ASM: Uploads Plain Text.
Text2.ASM: Uploads Text, One Letter per Frame.
Text3.ASM: Same as Text2, But extends it with Hebereke-Style NPC Faces, Box, and Routines

I really admit the lack of good text routines to use for my games and hacks! and I will suggest to use the ''Do What The F*** You Want To'' license for these example ASM files, since a few ROM Hackers use this for parts of thier project: http://en.wikipedia.org/wiki/WTFPL
Are you asking me to code up the suggestions or were you intending to provide them?
User avatar
Hamtaro126
Posts: 818
Joined: Thu Jan 19, 2006 5:08 pm

Re: NESICIDE

Post by Hamtaro126 »

cpow wrote:
Hamtaro126 wrote:Cpow: Can you make the next version come with a few versions of ''Hello World'' with the following effects:
Text1.ASM: Uploads Plain Text.
Text2.ASM: Uploads Text, One Letter per Frame.
Text3.ASM: Same as Text2, But extends it with Hebereke-Style NPC Faces, Box, and Routines

I really admit the lack of good text routines to use for my games and hacks! and I will suggest to use the ''Do What The F*** You Want To'' license for these example ASM files, since a few ROM Hackers use this for parts of thier project: http://en.wikipedia.org/wiki/WTFPL
Are you asking me to code up the suggestions or were you intending to provide them?
They are not requests, nor would I say it is, I plan to code them to test out my knowlage in a simple way, so this will take some time off for me...

Does not need to be in the next version, just need to look if you would like the concept...

HINT: The ONLY request was to help convert it for NESICIDE with few modifications, That is pretty much it...
AKA SmilyMZX/AtariHacker.
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NESICIDE

Post by cpow »

Hamtaro126 wrote:They are not requests, nor would I say it is, I plan to code them to test out my knowlage in a simple way, so this will take some time off for me...

Does not need to be in the next version, just need to look if you would like the concept...

HINT: The ONLY request was to help convert it for NESICIDE with few modifications, That is pretty much it...
I am working on a way for templates to be shared online and available in the tool. So with that, yes, I'd love for other template examples to be created.

Note: templates will not be limited to whole projects but could include pieces of projects.
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NESICIDE

Post by cpow »

Version 1.022 (windows build only) is out.

ChangeLog:
1. Added full support for mapper 28, Tepples' Multi Discrete Mapper.
2. Fixed a bug in mapper 34's NINA-001 registers - they weren't being set so Impossible Mission 2 didn't work.
3. Reorganized internal CHR mapping to support > 8KB CHR RAM.
4. Started porting controller input logger from old NESICIDE.
5. Other crap I'm forgetting because it's been so long.
User avatar
Eugene.S
Posts: 317
Joined: Sat Apr 18, 2009 4:36 am
Location: UTC+3
Contact:

Re: NESICIDE

Post by Eugene.S »

Current version of "nes-emulator.exe" don't remember last scaling factor.
Try to set it from "1x" to "2x", then close emulator and open it again. Emulator restarts with "1x" scaler. But you will see "2x" in preferences.
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NESICIDE

Post by cpow »

Version 1.023 (windows build only) is out.

ChangeLog:
1. Fixed APU period bug for square and triangle channels. Streemerz now sounds like it should. Thanks thefox for the report!
2. Fixes for MMC5. Not there yet by any measure, but runs Castlevania III better than it used to.

By the way, for those with performance concerns, if you un-check the bug icon in the toolbar it'll disable many of the processor-intensive debuggers. It's useful for a "I just want to run and play for a while" sort of mode. I'm still working on bettering the performance...

Eugene.S: The scale works as it should here. If I recall you're on WinXP? I'll have to install an XP VM and try it.
User avatar
Eugene.S
Posts: 317
Joined: Sat Apr 18, 2009 4:36 am
Location: UTC+3
Contact:

Re: NESICIDE

Post by Eugene.S »

Yes, i'm using WinXP for now.
A lot of APU bugs has been fixed, thank you cpow:
Eugene.S wrote: I've found the APU bugs - Power Blade, sector 2. Strange Hi-freqs:
http://www.fileden.com/files/2012/4/10/ ... de_bug.rar
Sector 5: Pitch of squares and triangle sweeps during tune (especially intro and ending):
http://www.fileden.com/files/2012/4/10/ ... ector5.rar
Ninja Gaiden 3 - level 1 (something strange with squares)
http://www.fileden.com/files/2012/4/10/ ... level1.rar
Bug in Power Blade 2 - level 3
I've heard very strong crackling and pitch sweeps also:
http://www.fileden.com/files/2012/4/10/ ... _2_bug.mp3
But Alien 3 - tune 2 (in the soundcheck mode) still has Incorrect APU behavior:
http://www.fileden.com/files/2012/4/10/ ... n3_bug.rar

Audio-channels checkboxes also has problems:
Image

Try to disable "square 1" and "square 2", for example. Then close emulator and open it again.
Emulator restarts with disabled checkboxes. But you will hear all channels enabled.
Last edited by Eugene.S on Wed Oct 31, 2012 12:42 pm, edited 1 time in total.
Post Reply