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

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

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
crtls Interrupt Handler   Message List  
Reply | Forward Message #14184 of 15019 |
RE: [gbadev] Re: crtls Interrupt Handler

On Fri, 2 May 2003, Jonathan Perret wrote:

> ... or whatever you think is appropriate ! I wonder if it would be feasible
> to just say "Please re-insert the cartridge" and resume the game once
> this is done ?

I have not read the documentation, but I never thought about if another
IRQ is generated when the cart, or a different cart, is inserted. I guess
that it is, because one feature of multiboot and joybus boot is to be able
to access the save data and first 4K of a cartridge. I would assume that
you would be able to swap carts when you do this, and not have to insert
it before power on. But, how coauld you tell if a cart was present or not
when you start?

Maybe say "Please press start when My Game(tm) GamePak is inserted"

> Could this be used for data-swapping between GBAs without a link cable ?

Hmm, you could write a multiboot program that would copy saved data from
one cart to another I guess. Make it one of the tools you keep in your
game wallet. Proceed to steal some kid's Pokemon.

> Cheers,
> --Jonathan





Fri May 2, 2003 1:38 pm

fenix@...
Send Email Send Email

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

From: "Willem Kokke" <wkokke@...> ... Looks ok. ... ... or whatever you think is appropriate ! I wonder if it would be feasible to just say "Please...
Jonathan Perret
jonathan.perret@...
Send Email
May 2, 2003
11:49 am

... I have not read the documentation, but I never thought about if another IRQ is generated when the cart, or a different cart, is inserted. I guess that it...
Jason Wilkins
fenix@...
Send Email
May 2, 2003
1:48 pm

... It's not limited to just the first 4 KB; witness 'mb -p' that can dump all 32 MB of a cartridge over the MBV2 cable. ... Read the header at 0x08000000...
Damian Yerrick
yerricde
Offline Send Email
May 2, 2003
5:19 pm

... I don't even think that the emulators support emulation of flash cartridges yet. Considering that many of use write software for people with flash carts,...
Jason Wilkins
fenix@...
Send Email
May 2, 2003
7:20 pm

Hmm, would be interesting.. Does anybody know wheter you can distinguish between a insert card and remove cart interrupt?? What happens when you try to read...
Willem Kokke
thezensunni
Offline Send Email
May 2, 2003
11:59 am

... there's no need to handle game pak interrupt at highest priority. only one interrupt is handled per entry to the main ISR (for most usual setups), so ...
matthew conte
whatwouldbig...
Offline Send Email
May 2, 2003
12:35 pm

... I think I see what you mean. If you have multiple interrupts enabled like how Nintendo has demonstrated, then a "lower priority" interrupt will still...
Jason Wilkins
fenix@...
Send Email
May 2, 2003
2:50 pm

From: "Damian Yerrick" <d_yerrick@...> ... I've been wondering about that. The specs (e.g. gbatek) explicitly say that most of the cart ROM is locked...
Jonathan Perret
jonathan.perret@...
Send Email
May 2, 2003
5:36 pm

... oops... I meant 'mb -1'. It's -1 to read a cart and -p to write. ... Perhaps Nintendo wrote that in the spec but didn't put it in the first generation...
Damian Yerrick
yerricde
Offline Send Email
May 2, 2003
6:05 pm

From: "Jason Wilkins" <fenix@...> ... if you're handling a higher priority (in terms of its order in the branch table in the dispatch routine) interrupt,...
matthew conte
whatwouldbig...
Offline Send Email
May 3, 2003
5:20 pm

... Actually, it is. The IME is saved, and then set at the beginning of the ISR. Interrupts are still disabled in the CPSR, so interrupts are still disabled...
Jason Wilkins
fenix@...
Send Email
May 4, 2003
12:31 pm

FYI People were talking about the cart removed interrupt. Well, be sure you disable DMA, or probably better yet, set the audio volume to zero in the loop while...
Mike Schwartz
mykes@...
Send Email
May 4, 2003
5:02 pm

... more ... DMA ... a ... additional ... Yes, that's a good question IMHO. In a non-embedded OS it is generally considered very bad practice to have...
Jonathan Perret
jonathan.perret@...
Send Email
May 5, 2003
1:00 pm

... Now, of course the issues are not the same on the GBA; if there's just one handler that occasionnally needs more time to do its work perhaps it's not...
CoolMan
co0lman2003
Offline Send Email
May 6, 2003
5:24 pm

... The multiple interrupt code in my crt0.S is nearly identical to Nintendo code as a result of my "review" :-) of N examples. However, I made small changes...
Jeff Frohwein
jfrohwei
Offline Send Email
May 7, 2003
1:48 pm

... interrupt handler Well, I guess, although it seems to be more of a 'timed request processor'. ... return immediately to the BIOS while user control returns...
CoolMan
co0lman2003
Offline Send Email
May 7, 2003
3:00 pm

... Part of the point I was trying to make is that switching the CPU back into System mode to execute the handler, then returning to IRQ mode just before...
Jonathan Perret
jonathan.perret@...
Send Email
May 7, 2003
3:29 pm

Okay you guys have sucked me into this. My limited understanding of how ARM sees the world is the same or similar to where some of these ideas are headed. I...
David Welch
dwelchgba
Offline Send Email
May 7, 2003
10:31 pm

Anyway, yes, umm, and, anyway, in theory, anyway, I didnt proof read that before I sent it...sorry. The encoding of the LDRT is not obvious, apparently there...
David Welch
dwelchgba
Offline Send Email
May 7, 2003
11:18 pm

... This is exactly what I was thinking about, but you state it 100 percent more clearly than me....
Jason Wilkins
fenix@...
Send Email
May 8, 2003
8:42 am

From: "David Welch" <gba@...> ... Very much agreed. ... The LDRT/STRT instructions look yummy. I have an "ARM7TDMI data sheet" (arm7tdmive.pdf) here and...
Jonathan Perret
jonathan.perret@...
Send Email
May 13, 2003
9:26 am
 First  |  |  Next > Last 
Advanced

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