Search found 358 matches

by infidelity
Thu Mar 20, 2014 7:10 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

The code was taken from an old megaman project of mine. Looks ugly, yes, but it xan be written better like you suggested. I do have one more question, non irq related. I have signifigant slowdown when i have more than 3 active sprites. By active, i mean it has asm that controls its AI, x/y, etc. The...
by infidelity
Tue Mar 18, 2014 1:52 pm
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

@ tokomaru, you are right. I removed the PHP & PLP's and I still have proper irq usage going on.
@ rainwarrior, i'll add your suggestions and see what happens. :-)
by infidelity
Tue Mar 18, 2014 12:38 pm
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

The routine that I discovered works a better when projectiles are thrown, I experience no flickering/shaking with the irq. However with your routine, I get that slightly with projectiles. I went to the same screen id with the same enemies, and tested both routines, and those are the results I got. I...
by infidelity
Tue Mar 18, 2014 11:17 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

I figured it was ok... LDA $5204 LDA #$20 LDY #$00 STY $2006 STA $2006 LDA $FF ORA #$01 STA $2000 LDA #$00 STA $2005 STA $2005 LDA #$3F STA $5203 RTI I just tried adding the push registers before my irq engine, and then pull my registers at the end of my irq engine, and still got the same result. ED...
by infidelity
Tue Mar 18, 2014 10:50 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

I do not know how to determine the scanline. All I know is I have the split to appear just below the info bar in the game. Loading 3F and storing it into $5203 sets the vertical position below the info bar. I don't know how to pin-point snap the debugger to see if the scanline column actualy registe...
by infidelity
Tue Mar 18, 2014 10:17 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

This so confusing. So I put back the CLI in my reset vector. Now within my NMI, when I'm about to use a CLI, your saying I need to acknowledge and enable the irq device before I use the CLI? To acknowledge it within mmc5, do I just simply use an LDA of $5204? do I write to $5204? You say to disable ...
by infidelity
Tue Mar 18, 2014 9:20 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

The only CLI I have going on, is at the end of the reset vector. The irq $FFFE-$FFFF would fire up once the reset vector loop completed. So I removed the CLI from my reset vector, placed the CLI after the 2 STA's to $2005, and I still get the same result. edit What I also noticed, for Megaman 4 for ...
by infidelity
Tue Mar 18, 2014 8:50 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

OK I found some. $FE4C4 --------- LDA #$00 STA $2005 STA $2005 $FD104 (irq) -------------- LDA #$00 STA $2005 STA $2005 $FE516 --------- LDA $2002 LDA $FD STA $2005 LDA $FC STA $2005 it was at $FE4C4 (which is right in the vicinity of my original placement of the CLI) where I placed the new location...
by infidelity
Tue Mar 18, 2014 8:34 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

ok I fixed the code you sent, and the game continues to run the same. Also, am I correct with vblank in saying, is that what deals with the ppu rendering being on/off? Cause in the rom, there is this routine... LDY $17 BNE ;to STA $2001 ORA #$1E STA $2001 STA $FE it is after that code that I insert ...
by infidelity
Tue Mar 18, 2014 7:36 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

I appreciate all the help and time you are all putting into this, but these code pastes are way over my head. Ive tried pasting them into online assemblers, to see if I can view the binary versions of them, but they will not compile. Its one thing if I coded this game from scratch, but its not, all ...
by infidelity
Mon Mar 17, 2014 3:51 pm
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

Im confused on what you all mean by (outside the nmi) I dont understand how I do that? I thought the main game is through $FFFA-$FFFB, and the reset vector is through $FFFC-$FFFD, while the irq/brk is at $FFFE-$FFFF? So im confused as to how this is supposed to work. And what is an implicit sei? Is ...
by infidelity
Mon Mar 17, 2014 11:53 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

In Zelda, $2001 has 1E constantly being stored to it during game play, which I believe is rendering turned on.

When I put a CLI after $2001, im able to have the irq split anywhere! BUT, the game horrificly glitches/crashes in seconds.
by infidelity
Mon Mar 17, 2014 11:00 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

Everything that im about to write here, is everything i have that has an irq firing up. Again i'm new to inserting a custom irq engine in a game that does not originaly have one, *like the Megaman 3-6 games* I'm really just going by the seat of my pants with all of this, tried looking online, studyi...
by infidelity
Mon Mar 17, 2014 10:12 am
Forum: Newbie Help Center
Topic: irq question, why do sprites cause irq to shake/flucuate?
Replies: 36
Views: 7121

Re: irq question, why do sprites cause irq to shake/flucuate

Ok since no one has an answer to that, how about this.

How can you alter the frames per second of a rom? Im thinking my issue is, is that too much is going on for the irq to appear/remain stationary correctly.