How do I make Jaleco Samples Loop like Music (in 2a03 ASM)

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
User avatar
Hamtaro126
Posts: 783
Joined: Thu Jan 19, 2006 5:08 pm

How do I make Jaleco Samples Loop like Music (in 2a03 ASM)

Post by Hamtaro126 »

Two reasons,
#1: I do not have MSVC 6.0 to build a version of the custom VirtuaNES build that handles MP3s
#2: I tried looping WAVs in Sega Li using C++ and failed.

So I am trying to loop Sega Li's Jaleco WAVs, Possibly using the Mingw C++ source (By modifying Sega Li) or using 2a03/6502 code (Making a ROM).

Example: In the Japanese GameBoy (GB-Z80) version of ''The Bugs Bunny Crazy Castle 1'' (A.K.A Mickey Mouse 1 [J]) during the title screen and player status menu, It loops the same song after the selected (title) song is over!

Does anyone know some way to loop Jaleco WAV Samples/Music?
code for looping jaleco WAVs for Sega Li is appreciated

If this does not make any sense to you. Please do not post here.
User avatar
hap
Posts: 355
Joined: Thu Mar 24, 2005 3:17 pm
Contact:

Post by hap »

I haven't worked on NES related things lately, keeping myself busy with MSX stuff instead, so I can't help you with any code or possible fixes in Sega Li. What I can tell you is that Jaleco sample player emulation is not accurate at all, it's enough to get the games working. So, if you find a way to loop samples in an emulator, it's likely not the same if you ever try your program on a real cartridge (or on an accurate emulator 10 years from now).
User avatar
Hamtaro126
Posts: 783
Joined: Thu Jan 19, 2006 5:08 pm

Post by Hamtaro126 »

hap wrote:I haven't worked on NES related things lately, keeping myself busy with MSX stuff instead, so I can't help you with any code or possible fixes in Sega Li. What I can tell you is that Jaleco sample player emulation is not accurate at all, it's enough to get the games working. So, if you find a way to loop samples in an emulator, it's likely not the same if you ever try your program on a real cartridge (or on an accurate emulator 10 years from now).
This is only an emulator project! This is why a MP3 player version of VirtuaNES exists, But I cannot build it without DXSDK Oct. 2004 (Impossible to download) and MSVC 6.0

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Maybe someone can:

A. try to create a port of the VirtuaNES (MP3 player Enhancement version) to MinGW with SDL for video and for sound, use SDL_Mixer for either WAV, OGG or MP3 formats

or

B: make a different emulator (i.e. Sega Li, FCEUX) use the same thing above (or something like that)

If you can do that, I'd appreciate it, Sega Li is easier to build! if you do this, Please don't forget to use SDL_Mixer or similar music library stuff (Make sure the certain music library is compatible for MinGW).
Post Reply