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

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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
swi calls   Message List  
Reply | Forward Message #14737 of 15019 |
Re: [gbadev] Re: swi calls

> What is it you're trying to do? The only thing I can think of is
> messing with the FIQ regs, which I have sucessfully tested on
> hardware from the normal mode.
>

i needed to generate an interrupt when a certain condition in my program is
reached, i wanted to fake an interrupt.

what i ended up doing is moving to irq mode and calling the regular interrupt
handler at 0x018. to the interrupt handler it looks indentical to a real
interrupt.

thanks everyone for their input about this.

-mike




Sun Apr 4, 2004 1:55 pm

leonrauis
Offline Offline
Send Email Send Email

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

hi, i'll start with the obligatory, "i'm new to this" bit. i've only been playing around w/ programming the gba for about a month. anyhow, i would like to be...
Michael Reid - CSCI/P...
leonrauis
Offline Send Email
Feb 27, 2004
10:59 pm

Yeah, SWI's are locked in the GBA's bios. if you were desperate to make an interrupt, you could use one of the timer interrupts, and set it up so the timer...
Stephen Stair
sgstair
Online Now Send Email
Feb 28, 2004
1:21 am

True that the bios could change, however, I have dumped the bios from all of the current GBA systems, GBA, GBA-SP, and GB-Player, and they are all 100%...
Damien Good
caitsith6502
Offline Send Email
Feb 28, 2004
2:00 am

The GBA normally runs in system mode, so you're free to change CPU modes whenever you want. Just use an mrs or msr (don't remember which is which). What is it...
DekuTree64@...
dekutree65
Offline Send Email
Feb 28, 2004
5:36 pm

... i needed to generate an interrupt when a certain condition in my program is reached, i wanted to fake an interrupt. what i ended up doing is moving to irq...
Mike Reid
leonrauis
Offline Send Email
Apr 5, 2004
9:27 am
Advanced

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