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.

Beginners > problem with HAM

#56571 - zabaioth - Sun Oct 09, 2005 9:07 pm

hi all.
i?m new to gba developement.
i downloaded the HAM and a working c example of "brickout". for getting started i tried to just compile the textfile: i added the headers to the project, added the main prog to the project and compiled it... no errors at all. but when i trie to run it on the emulator it always hangs itselfe...

thanks for helping!

#56613 - ScottLininger - Mon Oct 10, 2005 4:03 am

When you say "hangs itself", does the program just stop responding, or does the screen go blank, or what? Does the program run for a little while then stop, or does it never really start?

Did you write the code yourself, or are you trying to compile someone else's project?

In general, start simple. Try commenting out large blocks of code to get something minimally working, then add back in functionality until you figure out where the problem lies.

:)

Scott

#56629 - zabaioth - Mon Oct 10, 2005 6:43 am

sure, i wanted to start simple. but bevore getting started with my code, i wanted the compiler to be surely running.
visual boy advance starts, but the programm does not, indeed, i have to quit the visualboy via taskmanager, cause otherwhise it?s unquitable.

the code from an open source rom. the rom itself is running, so i thought, trying to compile the source files on my own would show if the compiler works.

thanks for your quick response!