Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LeoMaheo

The best way to dissable interrupts (GBA)

This topic is 5871 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! Regarding interrupts, ARM and GBA. What is the best way to dissable interrupts? Is it 1) or 2) below: 1. to set the ''dissable interrupts'' bit in CPSR to 1, or 2. to set IME to 0 And are there any differences between the first and the second alternative? or does they work in exactly the same way (i.e. they only dissables all interrupts and accomplish nothing else) ? Well, if 1) and 2) now have exactly the same effects, then why do we need both? Couldn''t the GBA-constructors for example have excluded IME (I guess CPSR can''t be excluded because it is a part of the ARM CPU)

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!