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

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

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 #14731 of 15019 |
Re: swi calls

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 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.

--- In gbadev@yahoogroups.com, Michael Reid - CSCI/P2003
<m6reid@s...> wrote:
> 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 able to add my own system calls, via the
swi
> instruction, however, the little info i have found about this
implies that
> the system calls are BIOS only, and that there is no way to add any
> user-defined calls.
>
> does anyone know if this is true or not? has anyone been able to
define
> their own syscalls?
>
> if not, then can anoyone think of a way to force a hardware
interrupt
> (enter irq mode)?
>
> thanks





Sat Feb 28, 2004 5:27 pm

dekutree65
Offline Offline
Send Email Send Email

Forward
Message #14731 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