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
Polling start key   Message List  
Reply | Forward Message #4110 of 15019 |
Re: [gbadev] Reading old posts

yeah that was me who said that (i think)
i found that vgba or igba or both allow you to
write to unused bits in registers and allow you to read the
data you wrote to usused bits back as what you wrote,
which stuffs things up,
bit wise operators work perfectly...
i have used reg&= ~bit etc with no problems

----- Original Message -----
From: Manu / Debugger <g.manu@...>
To: <gbadev@yahoogroups.com>
Sent: Friday, June 01, 2001 9:54 PM
Subject: [gbadev] Reading old posts


> Hi!
>
> I was reading some old messages then i readed this:
>
>
> > also some emulators stuff up things with the unused bits so make sure to
> > only use the proper bits
>
> Can anyone explain me this? I'm getting really ESOTERIC results with some
of
> my logical operations (especially when doing and nots to clear bits) and
i'm
> very confused...
>
>
> Thanks for any help :)
>
>
> unsubscribe: gbadev-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>




Fri Jun 1, 2001 11:48 pm

kiasecto@...
Send Email Send Email

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

I've been playing around with nokturn's second tutorial (fields of battle) but I seem to have run into a small snag. I decided to try creating a simple title...
Chris Pepin
cpepin1@...
Send Email
May 26, 2001
11:29 am

... You also have to reset the key input register. Once a flag is cleared, it will remain cleared until you set it again. while (!(P1 & KEY_START)) { P1 =...
Jason Wilkins
fenix@...
Send Email
May 26, 2001
1:03 pm

... Hmm, on second thought, thats not it, because you are looking for a single key press. I actually think that problem is that P1 has not been declared ...
Jason Wilkins
fenix@...
Send Email
May 26, 2001
1:06 pm

... Well that didn't seem to work. ORiginally I had it declared like this. typedef unsigned short u16; #define P1 *( u16 * )0x04000130 So I changed it...
Chris Pepin
cpepin1@...
Send Email
May 26, 2001
8:16 pm

your problem is that the keys are active low, you seem to want to display the pic until the start key is pressed so you must use ~KEY_START (unless you have...
Kiasecto
kiasecto@...
Send Email
May 26, 2001
11:17 pm

... Thanks. That seemed to do the trick, though you did forget the first bracket. ;-) Chris Pepin cpepin1@... ... Tom Swift and His Electronic Web ...
Chris Pepin
cpepin1@...
Send Email
May 27, 2001
2:56 am

Hi! ... Can anyone explain me this? I'm getting really ESOTERIC results with some of my logical operations (especially when doing and nots to clear bits) and...
Manu / Debugger
g.manu@...
Send Email
Jun 1, 2001
7:16 pm

yeah that was me who said that (i think) i found that vgba or igba or both allow you to write to unused bits in registers and allow you to read the data you...
Kiasecto
kiasecto@...
Send Email
Jun 1, 2001
11:48 pm
Advanced

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