Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Multiple interrupts + link code   Message List  
Reply | Forward Message #13432 of 15019 |
Hi,

We're writing a project that needs multiplayer communication but with
multiple interrupts enabled in the crt0.s

We are using Jeff's crt0 in combination with the SN devkit and standard
Nintendo MultiSio communication library. Unfortunately the game doesn't
always run in a frame and our vblank interrupt processing is pretty
massive.. this means we have to be able to run multiple interrupts so that
the comms code can still work with the game and things like the multiplexing
for our sprites don't go all wonky when the game drops...

However, with multiple interrupts enabled the game will loose connection
after about 20 minutes of multiplayer :(

We moved the comms code out into a separate test bed application and tried
again to see if it was the game logic but it still breaks. Moving over to
single interrupts (with no other changes) makes it 100% stable. Obviously
this is only possible in the test bed because the vblank processing is
minimal (in game we use 100%+ of the vblank for the vblank interrupt pretty
much every frame).

Has anyone else come across this issue before? or can anyone suggest why it
might be happening?

We're pretty stuck right now so any help will be greatly appreciated!!

cheers

ninge





Mon Dec 2, 2002 1:54 pm

n1nge
Offline Offline
Send Email Send Email

Forward
Message #13432 of 15019 |
Expand Messages Author Sort by Date

Hi, We're writing a project that needs multiplayer communication but with multiple interrupts enabled in the crt0.s We are using Jeff's crt0 in combination...
ninge
n1nge
Offline Send Email
Dec 2, 2002
1:52 pm

ninge wrote: Hi! ... Probably because the serial ISR gets interrupted by your 'massive' Vcount-ISR. To avoid this simply patch the Crt0 to not reenable the...
Sebastian Kienzl
zap@...
Send Email
Dec 2, 2002
5:04 pm

alright? Thanks to everyone who mailed us suggestions for this - we finally fixed it by patching the Nintendo multiple interrupts crt0 into Jeff's crt0. We had...
ninge
n1nge
Offline Send Email
Dec 3, 2002
12:51 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help