I'm not speaking from experience, but don't you use -mthumb for thumb code?
And, here's the part that I'm not sure of, but would it be -marm for ARM, or
does it just default to ARM?
These would be on the command line... I don't know if you can specify it
within a source file.
dennis
-----Original Message-----
From: Rafael Vuijk (aka Dark Fader) [mailto:darkfader@...]
Sent: Monday, December 03, 2001 12:37 PM
To: gbadev@yahoogroups.com
Subject: RE: [gbadev] A bit of the old IN-OUT!!
Can I also specify that a function should compile to ARM opcodes?
My apologies if the question I have, has already been discussed many a time before. Even though I've been on this group for some time now, I've only lately...
Does anyone know the bit layout for the sound registers? Thanks in advance (pun intended) Joshua __________________________________________________ Do You...
Are you referring to the old GB registers (NRxx)? If so, just look at Pan's doc. ... From: "Joshua Smith" <delnar@...> To: <gbadev@yahoogroups.com> Sent:...
frostgiant
frostgiant@...
Nov 28, 2001 8:47 am
Where do I find Pan's Doc? And I was hoping to use all the sound features of the GBA. Isn't there two new sound channels on the GBA? Joshua ... [cropped by...
Joshua, You can find the Pan document on the internet on most GBC development sites. Yes, there are two extra linear PCM channels on the GBA, called ...
Jan-Lieuwe Koopmans
jan-lieuwe@...
Nov 28, 2001 8:23 pm
I just use Mappy's register viewer. It doesn't describe what each bit does, but at least it has names....
devrs.com/gb has it, I think. Otherwise, look on Google for "Pan's GB doc" or "Pan/k00pa doc". It shows up both ways. That said, I don't think this is what...
with devkit advanced it is very simple. just define these: #define IN_EWRAM __attribute__ ((section (".ewram"))) #define IN_IWRAM __attribute__ ((section...
Now that is slick!! Cheers Jason. Niall :) ... _________________________________________________________________ Get your FREE download of MSN Explorer at...
ARM can't branch to far locations using short calls, which compiler generates by default. so if you place a method in iwram or ewram and want to call it from...
Even Better:) NOw how do I do that with a c++ function? -dovoto ... From: "Dima" <dmitri.dev@...> To: <gbadev@yahoogroups.com> Sent: Wednesday, November...
just the same way :) class foo { public: void fun(u32 a, u32 b) __attribute__((section(".iwram"),long_call)); }; void foo::fun(u32 a, u32 b) { // impl }...
nevermind...Just a stupid error on my part. -dovoto ... From: "Dima" <dmitri.dev@...> To: <gbadev@yahoogroups.com> Sent: Monday, December 03, 2001 9:16 AM ...
I'm not speaking from experience, but don't you use -mthumb for thumb code? And, here's the part that I'm not sure of, but would it be -marm for ARM, or does...
... no i think it's not possible, but this would be really nice. afaik at the moment u can only change the cpu target on per-file basis. put yr arm code in a...
maybe someone should press a bit further into this lack of source/patch availability with Nintendo... probally someone with a good lawyer ... From: Dima...
... Hash: SHA1 ... If this is the case, stallman would have already been after them pretty heavily. Are we sure that what they supply is a modified version of...
... this someone would lose. check GPL before starting this kind of talk. they ONLY have to make the sources available to their CUSTOMERS. you didn't pay for...
Markus
markus@...
Dec 3, 2001 9:55 pm
... source/patch ... talk. ... Actually, section 3(b) of the GPL requires that if the source doesn't come in the same box as the binaries, it must be available...
... PS: the sources for the Nintendo version are on the SDK CD you get from them (in the root directory, if you need help finding them, heh)...
Markus
markus@...
Dec 4, 2001 9:56 am
... well, i am using gcc3 beta from SNSys and for me the produced code is faster than the old 2.9x from them ... and no, they are not violating the GPL. they...
Markus
markus@...
Dec 3, 2001 9:55 pm
... hmm, i remember sn was saying the same.. the more curious i am about their changes ;-) ... no, arguing about GPL wasn't the point. i was looking more...
... It's a well-known fact that 3.0 produces slower code (at least in some cases) than 2.9. 3.0 was mainly about new features, but one of the primary goals of...
... yes, the SNSys stuff is based on GCC and yes, the source is available to their customers on request. 100% GPL legal and waterproof....
Markus
markus@...
Dec 3, 2001 10:07 pm
Well, then, it's also completely within the scope of the GPL for their customers to make available the source code to anyone else. The point of the GPL is to...
... i know what you mean, but think about it like this: legit developers pay a lot to get their hands on the binaries (and maybe some more money to get the...
Markus
markus@...
Dec 4, 2001 9:56 am
Well, that very well may be what you would do, and I respect you for sticking to your ground. However, when you pay the big bucks for the developers kit, I...