I've got a few I'd like to see:
- "Bang Bang" by Jessie J et al., medley with "Le Freak" by Chic
- "Bang and Blame" by REM
- "Fireflies" by Owl City, medley with "Feuer frei" by Rammstein
Moderator: Moderators
Code: Select all
Mask: $E003:
R/W 6000, 6001: YM2413 clone (thank you NewRisingSun)
R 6003: [D... ....] - SPI (ADC) data
Mask $E00F:
W 8000: [RBBB BBBB] - R:0-select external ROM; 1-select internal ROM; B-select bank at $8000-$BFFF
$C000-$FFFF is always last bank of internal ROM
Mask not yet known:
W C002: [S... ....] - SPI (ADC) chip select
W C003: [K... ....] - SPI clock / ADC conversion clock
Code: Select all
LDA #0
LDY #$FF
STA $C002 ; chip select falls
STA $C003 ; SPI clock falls
STY $C003 ; rises; clock in start bit here
STA $C003 ; falls
STY $C003 ; rises; clock in 1:Single or 0:differential here
STA $C003 ; falls
STY $C003 ; rises; clock in (Single:1:Ch1 or 0:Ch0) or (Differential:1:Ch1 minus Ch0 or 0:Ch0 minus Ch1)
STA $C003; falls
LDX #8
-
STY $C003; rises
STX $C003 ; falls; data now valid
LDA $6003 ; read data
ASL A
ROL $00
DEX
BNE -
LDA #$80
STA $C002 ; raise chip select
thankyouNewRisingSun wrote:All right. Here is my Nintendulator source file for this game, including my (awkward) attempt at Microphone level measurement. Since I don't actually have a microphone, I have tried to make the "MIC" display respond to a simple music line-in signal. It always reads the "wave mapper" device. Since Nintendulator by default does not yet support mapper numbers >255, I needed to change the source file responsible for that as well. I also needed to update the VRC7 emulator to allow for both original YM2413 and VRC7 instrument sets, and to get back the rhythm mode emulation code. The expansion cartridge is supported as well; basically, any PRG ROM exceeding 1 MiB is assumed to be expansion cartridge memory and must come at the beginning of the ROM image.
Compiled Mapper DLL here.
than you !!! Great! but nonwindows os....NewRisingSun wrote:All right. Here is my Nintendulator source file for this game, including my (awkward) attempt at Microphone level measurement. Since I don't actually have a microphone, I have tried to make the "MIC" display respond to a simple music line-in signal. It always reads the "wave mapper" device. Since Nintendulator by default does not yet support mapper numbers >255, I needed to change the source file responsible for that as well. I also needed to update the VRC7 emulator to allow for both original YM2413 and VRC7 instrument sets, and to get back the rhythm mode emulation code. The expansion cartridge is supported as well; basically, any PRG ROM exceeding 1 MiB is assumed to be expansion cartridge memory and must come at the beginning of the ROM image.
Compiled Mapper DLL here.
You can already use the full YM2413 in MML with NSD.lib and play it back on hardware with a TNS-HFX4.tepples wrote:Any idea what it does with the expansion cartridge? Do any still exist? Because if the expansion cartridge is for adding new songs, this might be a way to play custom YM2413 music, giving an excuse for implementing full YM2413 in something like FamiTracker.
I've got a few I'd like to see:
- "Bang Bang" by Jessie J et al., medley with "Le Freak" by Chic
- "Bang and Blame" by REM
- "Fireflies" by Owl City, medley with "Feuer frei" by Rammstein