GP32 Using arm assembly language...


if you are coding in C and using the SDT its just a matter of putting:
asm
{
}


in your code

for GCC i think its :
__asm
{
}

of course you put you ASM code in the brackets like this:

asm
{
mul PipeX2,PipeX,25
mul PipeY2,PipeY,25
add PipeX2,PipeX2,48
add PipeY2,PipeY2,42
add PipeX3,PipeX2,10
add PipeY3,PipeY2,10
}

ENJOY :D
Jake
 
Is there any way i can JUST use asm? instead of C\C++

And do i have to do all of this c\c++ blitting crap to dislpay stuff on the screen?
 
first youll need a very stiff drink :p

there is a compiler ive heard of that compiles just ARM ASM
im sure it had gold in the title

otherwise.. yes im sure you can.. but i dont know how :)
 
I don't know if you read the modified post, but do i need to do C\C++ blitting to display stuff on the lcd(with asm)?
 
Think you can used a compiler called goldroad i think it make really small programs. It could be good if you only have a 4mb smc to play around with. :D
 
you dont HAVE to use the C blitting functions at all
as long as you think you can stomach using ASM for it then go for it!!!

i dont know how, not in code!

but the theory is just writing bytes into the right part of the memory

good luck! :)
 
Wow, where can I go to learn programming. I would like make some stuff for gp32. Any good online tuts?


(and sorry for posting on an old topic, I just didnt want to create a new one)
 
I wish I knew too Mofokubik

I guess I'll just have to keep leeching off other peoples hard work.

I wish I could help more

:(

MrT
 
I found these....I will learn as much as I can, at the same time I will work on my halflife mod, work on both of my soundfonts, keep learning 3dsmax, and finish all of my school work for the rest of the year...yep, gonna be busy.
http://www.programmingtutorials.com/
http://www.eng.uc.edu/~jtilley/tutorial.html
http://focusin.ads.targetnet.com/ad/id=cpr...210&uid=3157155
http://www.cs.wustl.edu/~schmidt/C++/
http://www.justphukit.com/
http://www.flipcode.com/tutorials/
http://www.cyberdiem.com/vin/learn.html
 
The Goldroad compiler is an ARM7 compiler, but the GP32 has a ARM9 cpu. Can you still use it to create GP32 stuff?
 
ARM7TDMI(GBA core) and ARM920T(GP32 core) both have ARMv4 instruction set, so they are code compatible.
 
Back
Top