PVsneslib - SNES JUKEBOX

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Mills
Posts: 36
Joined: Tue Jul 01, 2014 3:30 am

Re: PVsneslib - SNES JUKEBOX

Post by Mills »

Well, new release, :), some of the songs will be changed.

I didn't really understand how to load tiles and sprites into vram address, I just tested on emulator until they loaded OK, so it might fail on a real console.
Attachments
Music_Player001.png
Music_Player.zip
(1.4 MiB) Downloaded 207 times
Mills
Posts: 36
Joined: Tue Jul 01, 2014 3:30 am

Re: PVsneslib - SNES JUKEBOX

Post by Mills »

Updated at first post :D
alekmaul
Posts: 54
Joined: Tue Apr 24, 2012 12:22 pm
Contact:

Re: PVsneslib - SNES JUKEBOX

Post by alekmaul »

Mills wrote:UPDATE: Au 2016

Thanks to pvsneslib i made a cool jukebox for SNES, including lots of impulse tracker files i edited from games or pop music :).

Now (2016) I found my little rom and I tried to improve it. But i can't compile roms anymore with snesdev, this is the error:

Code: Select all

CHECK HEADERS: the object files are from different projects
How could I solve that?

Thanks
It is because PVSnesLib is compiled with options that are different of your options in makefile (for example, SRAM , fast/slow rom, and so on).
Check the makefile shipped with PVSnesLib and your makefile.
Mills
Posts: 36
Joined: Tue Jul 01, 2014 3:30 am

Re: PVsneslib - SNES JUKEBOX

Post by Mills »

alekmaul wrote:
Mills wrote:

Code: Select all

CHECK HEADERS: the object files are from different projects
How could I solve that?

Thanks
It is because PVSnesLib is compiled with options that are different of your options in makefile (for example, SRAM , fast/slow rom, and so on).
Check the makefile shipped with PVSnesLib and your makefile.
OK I changed the hdr.asm like the original:

Code: Select all

Mine: 
  CARTRIDGETYPE $00             ; $00 = only ROM
  ROMSIZE $08                  ; $0c 
  SRAMSIZE $00  
                
Original
  CARTRIDGETYPE $02             ; $02 = ROM+SRAM, see WLA documentation for others
  ROMSIZE $08                   ; $08 = 2 Mbits,  see WLA doc for more..
  SRAMSIZE $01                  ; $01 = 16 


It compiles with the original config, but it shows a lot of lines like this:

Code: Select all

OBTAIN ROMBANKS:...
name.obj: 1MEM_INSERT: Overwrite at: ...
.
.
.
And some graphics look corrupted in the game, because the first two banks are being overwrited (they contain the palms bkg and the sprites).
alekmaul
Posts: 54
Joined: Tue Apr 24, 2012 12:22 pm
Contact:

Re: PVsneslib - SNES JUKEBOX

Post by alekmaul »

I have same things on my projects with no issue on graphics ...

Code: Select all

Cavernsofdeath.obj: 1MEM_INSERT: Overwrite at $7fc0 (old $43 new $4c).
Cavernsofdeath.obj: 1MEM_INSERT: Overwrite at $7fc1 (old $41 new $49).
Cavernsofdeath.obj: 1MEM_INSERT: Overwrite at $7fc2 (old $56 new $42).
Cavernsofdeath.obj: 1MEM_INSERT: Overwrite at $7fc3 (old $45 new $53).
I think your graphics problems is elsewhere.
Mills
Posts: 36
Joined: Tue Jul 01, 2014 3:30 am

Re: PVsneslib - SNES JUKEBOX

Post by Mills »

alekmaul wrote:I have same things on my projects with no issue on graphics ...

Code: Select all

Cavernsofdeath.obj: 1MEM_INSERT: Overwrite at $7fc0 (old $43 new $4c).
Cavernsofdeath.obj: 1MEM_INSERT: Overwrite at $7fc1 (old $41 new $49).
Cavernsofdeath.obj: 1MEM_INSERT: Overwrite at $7fc2 (old $56 new $42).
Cavernsofdeath.obj: 1MEM_INSERT: Overwrite at $7fc3 (old $45 new $53).
I think your graphics problems is elsewhere.
Thanks, I surelly made something wrong with the banks.

:)
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: PVsneslib - SNES JUKEBOX

Post by tepples »

Those hex values represent CAVE vs. LIBS.
Mills
Posts: 36
Joined: Tue Jul 01, 2014 3:30 am

Re: PVsneslib - SNES JUKEBOX

Post by Mills »

Any clue of why "PadsUp(0)" is not working?.

It worked perfect, and now it does nothing...

Thanks.

EDIT: I used it after wait vblank and it worked :)


I still can't figure out how to make a wavy background, there is no doc about hdma functions.
alekmaul
Posts: 54
Joined: Tue Apr 24, 2012 12:22 pm
Contact:

Re: PVsneslib - SNES JUKEBOX

Post by alekmaul »

hello,
try to use padsCurrent(0);

Will check why padsUp(0); is not working anymore :(
tepples wrote:Those hex values represent CAVE vs. LIBS.
Sorry, don't understand this :(
Demyx
Posts: 1
Joined: Mon Dec 19, 2016 2:14 pm

Re: PVsneslib - SNES JUKEBOX

Post by Demyx »

I'd really love to have a MSU-1 version of that JukeBox, where you can add your own .pcm files. I've already tried to mod it myself, but I'm very unexperienced and thus I've failed (surprise xP). If it wouldn't be too much work, would you mind creating(modding this one and probably decreaseing the song ammount, because 60 .pcm songs would be a little bit big - filezisewise) a MSU-1 JukeBox, or telling how to do so? And if you were to create one/mod this one, could you use "neutral" track names? - like "Track 1", "Track 2",... so that we can/could replace the .pcm files with own, custom .pcm files/tracks. Thanks alot for reading!

- I totally understand if you haven't got any time for that, it's just something I'd be really interested in.
Post Reply