gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

ASM > Write a whole Game Boy Advance game in only Asm.

#173571 - bollkalle - Fri Apr 16, 2010 6:22 pm

Hello! I like working from the ground, and now I have a question. Is it possible to create a game with only Asm code? It doesn't have to be a big game, but is it possible for me? I don't find any GBA C compiler for Linux, so that's one other problem. But I also want to do everything myself.

Thank you for answers.

/ bollkalle

#173572 - Exophase - Fri Apr 16, 2010 6:38 pm

bollkalle wrote:
Hello! I like working from the ground, and now I have a question. Is it possible to create a game with only Asm code? It doesn't have to be a big game, but is it possible for me? I don't find any GBA C compiler for Linux, so that's one other problem. But I also want to do everything myself.

Thank you for answers.

/ bollkalle


Of course it's possible. Whether or not it's feasible depends on you.

Back in the day most console games were written in assembly, and IMO harder to work with assembly languages like 6502 and z80. ARM is actually pretty nice to write code in.

On the other hand, there are lots of GCC ARM builds/toolchains available for Linux. devkitPro comes with it for instance.

You say you want to do everything yourself, but you have to draw the line somewhere. Even using an assembler is something.

#173573 - Miked0801 - Fri Apr 16, 2010 6:47 pm

Don't torture yourself needlessly. Use devkitpro or something similiar. Coding a game in assembler as opposed to C/C++ would be like trying to cut a board with an exacto knife as opposed to a powe saw. The cut might look better when done - if done right, but it will sure take a lot longer.

#173575 - bollkalle - Sat Apr 17, 2010 7:43 am

Okay, now I know.

I think I'll draw the line on using just an assembler. It's fun to be a minimalist! Should I only have an ordinary ARM assembler, and then I run the file I got in a GBA emulator? I think it can be more steps there between.

EDIT: But where do I find an ARM assembler for Linux? Or a C compiler? I have searched for a while now.

#173581 - Dwedit - Sat Apr 17, 2010 10:35 pm

Devkitpro is available for Linux.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#173588 - bollkalle - Sun Apr 18, 2010 7:44 am

But how do I make the files in devkitpro (in exact, devkitarm) runable? They are runable by all users in the chmod things, but I can't run them anyway.