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
Changing HOFS while in HWRITE   Message List  
Reply | Forward Message #13596 of 15019 |
Re: [gbadev] Changing HOFS while in HWRITE


>i have a question. Will the GBA display controler display the change
>of HOFS of a background layer while he is already in HWRITE? For
>example, the first 40 y values of a certain scanline will be displayed
>with a HOFS value of 0, the next 200 y with a value of 1? Or is it not
>possible to change the scanline while he is in HWRITE? I have tryed it
>on VisualBoyAdvance, but it doesn't work. So there is possible that
>the emulator does not work correctly, my code is wrong or that the
>display controler don't display such a change.

I haven't tested it, but I would assume it's possible. The emulator is
probably using a line-based renderer instead of a (slow) pixel-based one,
so you won't be able to see the effect.





Wed Jan 1, 2003 7:14 pm

patriekl
Offline Offline
Send Email Send Email

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

Hello group, i have a question. Will the GBA display controler display the change of HOFS of a background layer while he is already in HWRITE? For example, the...
Alexander Stante <ale...
alex_stante
Offline Send Email
Dec 21, 2002
12:51 am

Indeed you can. IF you use GCC and jeffs crtls package, you can do this pretty easily with an hblank interupt handler. s16 scanshifts[160]; void...
Steve Garcia
DeathPing
Offline Send Email
Dec 30, 2002
10:31 pm

Thanks, but i know that i can do such stuff in HBLANK, but i want to change stuff while i am in HWRITE. On emulator it doesn't work, but until know i am still...
Alexander Stante <ale...
alex_stante
Offline Send Email
Dec 31, 2002
1:03 pm

... I haven't tested it, but I would assume it's possible. The emulator is probably using a line-based renderer instead of a (slow) pixel-based one, so you...
Patriek Lesparre
patriekl
Offline Send Email
Jan 1, 2003
7:31 pm

... i wouldnt bet on that... imagine how the display controller works and how much memory (ie registers) access it had to do if every register-change would...
Groepaz
groepaz2000
Offline Send Email
Jan 1, 2003
8:01 pm

... It is possible. Read on... ... Even on the NES, where some of the games do some real nasty raster tricks with the background and the emulators try to keep...
Damian Yerrick <d_yer...
yerricde
Offline Send Email
Jan 2, 2003
10:54 am
Advanced

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