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

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? 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
Window mode problems.   Message List  
Reply | Forward Message #8684 of 15019 |
Re: Window mode problems.

--- In gbadev@y..., "Dave Carter" <david.carter@c...> wrote:
> REG_WIN0H = 0x1400 | 0x00DC;
> REG_WIN0V = 0x1400 | 0x008C;
> REG_WININ = 0x0000;
> REG_WINOUT = 0x0000 | 0x001F;
>
> SetMode(MODE_0 | OBJ_ENABLE | OBJ_MAP_1D | WIN1_ENABLE);

If you haven't already realized it before reading this message (or
didn't copy/paste your code and made a typo), you're setting the
coords for WIN0 and enabling WIN1. Other than that I can't find
anythign that should keep it from working.






Mon Dec 3, 2001 8:14 pm

dekutree65
Offline Offline
Send Email Send Email

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

Hi all, I've read the recent messages about the window modes on the GBA from John Q and NetSlut, which gave me a great idea on what window modes can do and...
Dave Carter
davondserious
Offline Send Email
Dec 3, 2001
6:10 pm

hi dave! i don't have the headers here at home but from what i can see i'd guess you are setting up win0 flags _but_ you turn on win1 in the SetMode() ...
Markus
markus@...
Send Email
Dec 3, 2001
8:52 pm

... If you haven't already realized it before reading this message (or didn't copy/paste your code and made a typo), you're setting the coords for WIN0 and...
DekuTree64@...
dekutree65
Offline Send Email
Dec 3, 2001
8:52 pm

Sorry, I should probably have put those defines in the first message, they are just numbered 1 and 2 instead of 0 and 1: #define WIN1_ENABLE 0x2000 #define...
David Carter
davondserious
Offline Send Email
Dec 4, 2001
10:20 am

the only thing I can suggest is that your defines for the window registers are wrong then..? they should be: 0x40 - window 0 x (top 8 bytes are the start x,...
ninge
n1nge
Offline Send Email
Dec 4, 2001
10:37 am

Thanks for the clarification, I'm pretty sure that's the same info I've got! At the moment it's looking like it might actually be the emulator after all. Just...
David Carter
davondserious
Offline Send Email
Dec 4, 2001
11:08 am

... OK, your code says Win0 from (20,20)-(220,140), nothing displayed inside it, everything displayed outside it, BG mode 0, OBJ turned on, 1D, Win0 on ...
NetSlut
netslut2
Offline Send Email
Dec 4, 2001
11:08 am

Yup, that was just some very extreme test code to try and get *something* to happen with windows! The way I'm actually going to use them is quite different....
David Carter
davondserious
Offline Send Email
Dec 4, 2001
12:03 pm
Advanced

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