Search found 462 matches

by infidelity
Thu May 06, 2021 8:17 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

Making great progress, currently working on getting the gameplay going. Right now I'm working on getting the games sub menu drawn correctly, gfx wise and tilemap location wise.
by infidelity
Tue May 04, 2021 6:02 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

It's not Sprite chr gfx that I was swapping, the game has four 8kb chunks, that setup how the sprites are constructed, (tile id's, animation counters, palettes to use for tiles, xy positions for constructed Sprite, things like that) the original game is chr ram, and the Sprite chr chunks I've edited...
by infidelity
Mon May 03, 2021 2:54 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

However the 65816 needs more stack so you might want to expand the stack more. i.e make it $100 $200 and $300 not 100 155 1AA etc I will definitely keep an extra eye on this, the original rom doesnt seem to reach 20/25 bytes into its stacks. But now that I am beginning coding in the game play, I wi...
by infidelity
Sat May 01, 2021 8:19 pm
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

Thank you, 93143. After reading this thoroughly, I've decided to go back from the update I just did earlier, (setting a flag limiting the usage of the DMA routine I wrote) and do as you suggested by reading those Sprite tables in rom, it's late for me and will finish it up in the morning, and I'll r...
by infidelity
Sat May 01, 2021 4:34 pm
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

HDMA is not faster than regular DMA at anything regular DMA can do. It's a bunch of small transfers in between scanlines, so the overhead associated with a single DMA transfer gets applied multiple times, and the base data transfer rate is the same, so HDMA can only be slower. You also can't assume...
by infidelity
Sat May 01, 2021 2:08 pm
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

Hey everyone, so it's been a couple days that i've been screwing with this, and after tightening up code, and changing my method of setting the stack pointer to using the A register now, i fixed the crashing. But i just now discovered what that slowdown is, i'll explain further in this reply, but, I...
by infidelity
Fri Apr 30, 2021 9:32 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

Hmm, not sure what to do. I even tried adding a flag within the beginning of the NMI, does a check to bot refire if a certain register isn't cleared. That gave me problems. Bumming, wasnt expecting slowdown/crash like this during one scene, hoping I dont have to scratch this project, dang. :'( Right...
by infidelity
Fri Apr 30, 2021 6:30 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

DB change, sounds the culprit, however your NMI should explicitly set the DB and thus read the registers it needs. There is only 1 source for the NMI it shouldn't be hard to track it. No 1 reason DB is 7e and not <$40 No2 it's 7F. I can't imagine a DB change can cause my NMI to refire? The retire d...
by infidelity
Fri Apr 30, 2021 5:44 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

Oh man, yet again an NMI issue. I kept getting crash again in my story mode part of the game, and it seems to happen all the time now that i have the sound engine (running original data, no output yet) running. I do not have much additional code happening, its quick little changes to the DB register...
by infidelity
Tue Apr 27, 2021 9:59 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

I look forward to the updated .bin for the spc :-)
by infidelity
Mon Apr 26, 2021 8:45 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

Is that ok? If it works, it's ok. you will have to test it and see if it does. size mismatches sometimes are ok (on register transfers). so, it might work. Yes it looks ok within the APU. From the video I watched, idk if I misinterpreted it, but I thought the APU gets cleared out all the way to the...
by infidelity
Mon Apr 26, 2021 6:49 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

Thank you dougeff, creaothceann, Myself086! Right now I've got the 2A03.bin uploaded to the APU, but in the upernes sound.asm file, it says APUINIT, but I cant find what that exactly is? Right now I just have lda #$01 Nop Nop Nop Spc700FwEnd: lda #$01 sta APUInit ;??? Is it an apu address $214x?? pl...
by infidelity
Fri Apr 23, 2021 10:41 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

Think I found the culprit. At one point when my IRQ routine is loading the indirect address values to store into ram, it is not loading the table from the correct DB, and when my irq vector fires up, its indirect jumping to $0000. So right now I removed the waiting for vBlank fix I did a few days ag...
by infidelity
Thu Apr 22, 2021 3:34 pm
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

you IRQ and NMI should not have any issues with dealing with interrupting something that is 16bits not 8. As in the IRQ you should set the size you want. Moving the stack can be an issue. It depends on how you are moving it and where you are moving it too. As an interrupt will use the stack and pla...
by infidelity
Thu Apr 22, 2021 1:23 pm
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 45635

Re: Need guidance with nes to snes.

I'm sort of in the hand holding territory for what I'm asking, heh. Either way, I obtained the official a snes development manual off of archive.

update - hoping to get in touch with Memblers. I'm still skimming though the official SNES dev pdf file.