In message <425134868.20010731173523@...> ... I'm not sure, whether 24576 and 49152 are really ideal, i think that 21845 (=65536/3) is, though. I thought...
Dennis Ranke
exoticorn@...
Aug 1, 2001 7:59 am
5959
Is there an easy method to disable (hide) a sprite on the GBA ? Actually, when I do not use an OAM entry, I fill it with 0. In sprite RAM, the first 8 x 8...
Pierron, Christophe
CPierron@...
Aug 1, 2001 11:34 am
5960
... easiest and legal way is setting the y coordinate to 160 -- Manfred Linzner (Project Manager) Shin'en Multimedia http://www.shinen.com Tel.: ++49 (0)89 785...
Manfred Linzner
linzner@...
Aug 1, 2001 11:39 am
5961
Right, here's a working solution for putting ARM code in WRAM: Use a simple linker script which looks something like this: OUTPUT_FORMAT("elf32-littlearm",...
James Boulton
jim@...
Aug 1, 2001 11:45 am
5962
Hello Manfred, ... ML> easiest and legal way is setting the y coordinate to 160 the double-size flag seems to be perfectly "legal" though (somewhere in N's...
groepaz
groepaz@...
Aug 1, 2001 4:42 pm
5963
Thank you I've read from an official source that : <<If the number for non-displayed (outside of the screen) OBJ in the OAM is lower than that for displayed...
Pierron, Christophe
CPierron@...
Aug 1, 2001 4:46 pm
5964
Hi everyone I really feel bad posting this once again ; but since the last time ; I haven't managed to get it to work proparly : sprite 0 always comes out...
robit69@...
Aug 1, 2001 4:47 pm
5965
What's wrong with it? It's about the "smartest" solution I've seen - it seems to completely switch off the sprite, whereas moving the Y value to 160 means you...
Tom Prosser
tom@...
Aug 1, 2001 4:48 pm
5966
Hello James, Wednesday, August 01, 2001, 1:42:02 PM, you wrote: JB> Right, here's a working solution for putting ARM code in WRAM: JB> Use a simple linker...
groepaz
groepaz@...
Aug 1, 2001 4:48 pm
5967
How do you setup a Timer Interrupt Handler on the GBA? I am having problems getting it to work. Thanks [Non-text portions of this message have been removed]...
Travis Estrada
ztte@...
Aug 1, 2001 4:49 pm
5968
... Your solution seems likely to cause so many other problems :) .data should be writable, so you should not put its VMA in ROM How do you clear the bss...
Jason Wilkins
fenix@...
Aug 1, 2001 4:51 pm
5969
I'm trying to display a single sprite to the screen, but it looks like it always has some sort of mosaic effect enabled. I have a 32x64 sprite set up to...
Karl Stenerud
kstenerud@...
Aug 1, 2001 6:53 pm
5970
Hi, ... seems ... There are many ways to make a sprite non-visible, but only one way to "turn it off". This is done by setting the double-size flag and...
Shawn Freeman
sfreeman@...
Aug 1, 2001 6:53 pm
5971
That's what it means to me, so use the double-size flag instead. Although it's not mentioned in the manual, it's legal as, as groepaz says, it's defined in...
Tom Prosser
tom@...
Aug 1, 2001 6:55 pm
5972
... If you're using Jeff Frohwein's flinker, the reason is that Jeff hasn't implemented header correction yet. I believe you can use a tool such as gbafix...
Didier Malenfant
dids@...
Aug 1, 2001 7:38 pm
5973
... Yep. W = read/write and X = execute. The only reason for doing this is so if the linker doesnt have somewhere to put an object, it can have a good guess...
James Boulton
jim@...
Aug 1, 2001 9:42 pm
5974
What I did was add some code to my crt0.s for the irq handler. You must write it in ARM code (.arm or .code 32). I'm not sure if you have to save/restore...
Jeff Slutter
jeff@...
Aug 1, 2001 9:44 pm
5975
... In our setup it wasnt. Allowing data to be writable caused far more problems. I'm not going through all the code marking stuff as const when there is no...
James Boulton
jim@...
Aug 1, 2001 9:49 pm
5976
Hello Tom, Wednesday, August 01, 2001, 2:17:24 PM, you wrote: TP> What's wrong with it? It's about the "smartest" solution I've seen - it TP> seems to...
groepaz
groepaz@...
Aug 1, 2001 10:08 pm
5977
Don't have the sprite area of VRAM declared as "u8". Declare it as "u16", and copy your sprite data 16 bits at a time (typecast your source data to u16 if you...
Tom Prosser
tom@...
Aug 1, 2001 11:26 pm
5978
... You don't, the compiler has 3 seperate sets of registers for system, irq, and swi modes. I'm not sure of the details, but I am pretty sure that your irq...
Jason Wilkins
fenix@...
Aug 2, 2001 12:21 am
5979
i can confirm that, the first few lines of the screen can have weird color marks on them if you are using alot of other sprites while still having most of them...
Dan Cotter
dancotter@...
Aug 2, 2001 3:10 am
5980
... why are you going size of sprite / 32? This will not be the number of tiles. try size of sprite / 64....
Dan Cotter
dancotter@...
Aug 2, 2001 3:10 am
5981
You are using your copy8 function to copy to VRAM, you not allowed to write to VRAM in 8bits, only 16 and 32 so the next 8 is a copy of the first 8 and so...
Dan Cotter
dancotter@...
Aug 2, 2001 3:19 am
5982
... Did I really say anything to warrant this kind of response? I only critiqued your script, I felt that it would end up being more trouble than its worth, a...
Jason Wilkins
fenix@...
Aug 2, 2001 6:25 am
5983
Hello James, Wednesday, August 01, 2001, 8:06:26 PM, you wrote: JB> The only reason for doing this is so if the linker doesnt have somewhere to JB> put an...
groepaz
groepaz@...
Aug 2, 2001 6:26 am
5984
Thank you Tom, groepaz and others. You helped me to understand the good way of disabling sprites. I wrote "smart" method, but I should have wrote "a method...
Pierron, Christophe
CPierron@...
Aug 2, 2001 8:16 am
5985
Hello Jason, JW> I AM writing the "mother of all linker scripts," and I believe that all JW> this linker script nonsense is silly, its like asking people to...
groepaz
groepaz@...
Aug 2, 2001 10:28 am
5986
Does anybody knows if turning the ROM prefetch system on consumes a significant amount of power ? Maybe this prefetch is enabled by default, I do not know. ...
Pierron, Christophe
CPierron@...
Aug 2, 2001 12:41 pm
5987
... Not significantly. Something like a few minutes for a whole set of batteries. --Jim...