NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Sprite Slowdown  
Posted byMemblers
Posted on12/25/03 6:42 PM
From IP68.58.99.218  



Cool, good to hear it's doing what it should.

There's a few more instructions you should add to the NMI routine, to replace the PHA/PLA. Keeping in mind that it's possible at times for the NMI to interrupt anything that's running in main reset code. Since the X register is modified, (and Y could be, after you add more code to it), do this at the beginning to completely save the CPU's state:


pha
txa
pha
tya
pha

And restore:

pla
tay
pla
tax
pla
rti

You've probably seen that before (it's standard 6502 interrupt stuff, pretty much), but I'm mentioning it anyways.

The player in Dragon Warrior definitely uses sprites. It's rare to have anything moving seperately from the background that aren't sprites, but it was done sometimes in games like Super C.



-
Entire Thread
Subject  Posted byPosted On
*Sprite Slowdown  pulper12/24/03 10:39 PM
.*Re: Sprite Slowdown  Memblers12/25/03 02:02 AM
..*Re: Sprite Slowdown  RoboNes12/25/03 12:30 PM
...*Re: Sprite Slowdown  pulper12/25/03 4:02 PM
.....Re: Sprite Slowdown  Memblers12/25/03 6:42 PM
.....*Re: Sprite Slowdown  pulper12/25/03 8:35 PM
......*Re: Sprite Slowdown  Memblers12/25/03 9:46 PM
.......*Finished  pulper12/25/03 10:41 PM
........*Re: Finished  pulper12/26/03 00:59 AM
..*Re: Sprite Slowdown  quietust12/25/03 03:16 AM
...*Re: Sprite Slowdown  Memblers12/25/03 06:30 AM
..*Re: Sprite Slowdown  Memblers12/25/03 02:06 AM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo