Commit graph

1745 commits

Author SHA1 Message Date
Perkka2
b41a264edd Update EPSMAudio.h
Surprised this has not crashed.
2021-09-28 20:58:05 +02:00
Perkka2
665d78f874 Slightly improved EPSM IRQ functionality 2021-09-05 18:08:49 +02:00
Perkka2
b746ef932e Code cleanup for EPSM addressing
Added cleaner custom mapper support for EPSM
2021-09-04 21:42:47 +02:00
Perkka2
b344199fc3 Fix Linux build Error 2021-08-26 15:55:35 +02:00
Perkka2
8377b46892
Merge branch 'NovaSquirrel:master' into master 2021-08-26 15:34:06 +02:00
Perkka2
649a62e7e1 Added basic EPSM IRQ behaviour
Added IRQ's for EPSM still WIP but should work
Some cleanup of build warnings
2021-08-26 15:03:02 +02:00
NovaSquirrel
15cb277217
Merge pull request #47 from mkwong98/master
Update EmulationSettings.h
2021-08-21 03:07:21 -04:00
mkwong98
eb82a00ebd Update EmulationSettings.h 2021-08-21 00:48:33 +08:00
NovaSquirrel
c5ac9ecb74
Merge pull request #44 from Gumball2415/feature-add-2a03-interference
Refactor audio interference code
2021-08-15 12:00:26 -04:00
mkwong98
df3d826712
Merge pull request #15 from NovaSquirrel/master
Audio update
2021-08-15 22:19:41 +08:00
Persune
5b58c011be Refactor code 2021-08-15 00:22:20 +08:00
Persune
212f17215c Reduce /A13 aliasing
PPU /A13 changes at the PPU's clock rate, which is 3x that of the CPU
clock rate.
2021-08-14 20:36:24 +08:00
Persune
5077180c55 Adjust audio interference mix to match better
TODO: add highpass filter to /OE1
2021-08-14 17:24:06 +08:00
Persune
a6cfe578fb Fix interference audio phase relative to 2A03 2021-08-14 17:23:26 +08:00
Persune
a22b17b2c1 Add /A13 and /OE1 audio interference
In hardware, the audio from the 2A03 APU pins go through an inverted
preamp using one of the 74HCU04 inverter chips in the motherboard.
Though this may be cost-effective on Nintendo's part, the signals on the
hex inverter chip can interfere with one another, especially on the
audio. This can be heard as a buzz or a high pitched whine.

The only known signals to interfere with the audio so far is:
- /A13, the inverted signal of PPU A13 going into the cartridge
   connector.
- /OE1, Output enable for controller reads, though this is only found
   present on the RF Famicom.
2021-08-11 17:55:56 +08:00
mkwong98
7761fda7c2
Merge pull request #14 from NovaSquirrel/master
EPSM Rhythm support
2021-08-11 10:12:59 +08:00
mkwong98
2f25f2fc70 Add HD pack conditions for matching which sprite palette is being used
The condition names are sppalette0, sppalette1, sppalette2, sppalette3
2021-08-11 09:52:55 +08:00
Perkka2
36c1cba8a4 Correcting EPSM Rhythm volume
Accidently commited wrong volume settings for rhythm
2021-08-09 09:38:54 +02:00
Perkka2
1d68e6996f EPSM Rythm Support 2021-08-09 00:44:44 +02:00
mkwong98
dd7d58732a
Merge pull request #13 from NovaSquirrel/master
Perkka2's updates
2021-08-07 00:04:21 +08:00
Perkka2
fdee47855a Replaced S5b emu with emu2149 for better accuracy
including missing features like envelope and noise
2021-08-03 17:23:33 +02:00
Perkka2
d06a647428 Added 401C-401F addressing to all mappers, more EPSM renaming 2021-07-30 16:06:29 +02:00
Perkka2
000bfb1a71 Renamed EPSG to EPSM, changed NSF header bit for EPSM from 6 to 7 2021-07-30 14:21:56 +02:00
jdgleaver
a680f799e1 HdPack loading fixes 2021-07-28 00:16:40 +08:00
mkwong98
739d1ba041 Add debugger option to break on unlogged code 2021-07-14 23:04:42 +08:00
mkwong98
708a13b1c7 Split the Exclusive Refresh Rate in to 2 settings 2021-07-14 16:08:34 +08:00
mkwong98
6a4359b9ba Fix bug when exporting sprite tiles in screen data 2021-07-14 12:10:14 +08:00
RokkumanX
45f2a51f28
Update MMC3_52, Fix: Mario 7-in-1 display errors
Courtesy to @ptkila for the fix, confirmed working as intended after merge in my own branch.
2021-06-22 19:52:26 +02:00
RokkumanX
3477a2663e
Better support for MMC3_198
Courtesy to @Rabenda

I took the liberty of polishing and tidying up the comments, otherwise it should work as intended.
2021-06-22 19:47:00 +02:00
mkwong98
570777c13f
Merge pull request #9 from Dwedit/comment-editor
Comment editor and BRK disassembly fix
2021-04-15 19:51:13 +08:00
mkwong98
8e0816807f Add sprite frame range condition
A new condition named "spriteFrameRange" is added. It works like frameRange except it follows frame counters assigned to each sprite. Frame counter picks up the nearest frame counter within 6x6 pixels from the last frame and resets if graphics, palette, bg priority or orientation has changed. The condition can by used by sprite tiles only. For example:

<condition>myCondition,spriteFrameRange,301,60
[myCondition]<tile>0,1001,FF0F3600,8,0,1,N
2021-04-15 19:54:01 +08:00
Dwedit
885bedb4b4 Add BRK as an unconditional branch (fixes disassembling into data for BRK instruction) 2021-04-13 13:16:32 -04:00
mkwong98
0f35fdc97c
Merge pull request #8 from NovaSquirrel/master
EPSG update
2021-04-08 11:15:34 +08:00
NovaSquirrel
ea5f05ed6f
Merge pull request #24 from Perkka2/master
EPSG update
2021-03-19 16:25:02 -04:00
Perkka2
0fb4d34c3f EPSG $4016 addressing now only writes on odd CPU cycles 2021-03-19 15:16:36 +01:00
Perkka2
9bea4c87ee Adjusted volume levels for EPSG FM/SSG 2021-03-18 14:39:29 +01:00
mkwong98
e87fdb4a5f Merge branch 'master' of https://github.com/mkwong98/Mesen 2021-03-16 00:18:50 +08:00
mkwong98
c16d0ac8b3 Update MMC3.h
Fixes failing MMC3 IRQ Tests by blargg. IRQ shouldn't occur when reloading after counter normally reaches 0
2021-03-16 00:18:31 +08:00
mkwong98
13da3bbeaa
Merge pull request #7 from mkwong98/temp
Fix Twin Dragons support
2021-03-16 00:06:47 +08:00
Jean-André Santoni
91185e1a43 Fix Twin Dragons support 2021-03-16 00:02:57 +08:00
mkwong98
725e2ba466
Merge pull request #6 from Perkka2/master
Update EPSGAudio.h
2021-03-12 15:43:23 +08:00
Perkka2
9323ba90ae Update EPSGAudio.h
Missing SSG audio when using $4016 addressing
2021-02-28 20:17:19 +01:00
NovaSquirrel
d7d919a392
Merge pull request #20 from Perkka2/master
Adding basic EPSG support, Replacing old VRC7 with Nuked-OPLL
2021-02-24 12:16:19 -05:00
Ben Holley
813aabb04a Fix CPU::StreamState extraScanlinesAfterNmi argument
Previously the CPU::StreamState function passed the
extraScanlinesBeforeNmi value twice to Stream().

Change the second argument to extraScanlinesAfterNmi instead.
2021-02-20 12:31:44 -06:00
mkwong98
cd99aedb1e Update JyCompany.h
Added outer PRG bank select for 8k mode.
2021-02-20 12:30:08 +08:00
mkwong98
eaf6656b56 HD Pack Builder update
1. Removed an unused parameter in ProcessTile function call.
2 Added a warning to the tool tip of 8x16 sprite option about when it should be used.
3. Added an option to output BG tiles only or Sprite tiles only.
2021-02-08 15:25:03 +08:00
mkwong98
e66b1aa804 Fix compile error after updating VS2019
Compiler reports out of heap space when compiling this file after updating VS 2019.
2021-02-08 15:21:03 +08:00
Perkka2
85586aaa35 NSF EPSG Support 2021-01-30 15:12:39 +01:00
Perkka2
5203ff1217 Define to chose between Old and New VRC7 emu 2021-01-28 22:49:49 +01:00
Perkka2
6c5454638f Fixed noise and volume for VRC7 2021-01-28 22:19:47 +01:00