#13539 - Snoobab - Tue Dec 16, 2003 11:15 am
Hi,
Previously I've coded my GBA projects in Visual C++ but have decided to
give Visual HAM a try. How would I go about setting up Visual HAM for
use with DevKitAdvance r5?
Thanks,
Ed
#13544 - yaustar - Tue Dec 16, 2003 3:14 pm
it comes with its own compliar
_________________
[Blog] [Portfolio]
#13546 - NoMis - Tue Dec 16, 2003 3:39 pm
another usefull ide is eclipse. http://www.eclipse.org .
it's easy to set up a makefileproject if you use Visualboyadvance-sdl and the gdb debuger you can use the eclipse debug gui to debug.
you will need the eclipse platform and the cdt plug-in if you want to use it.
NoMis
#13556 - Snoobab - Tue Dec 16, 2003 6:33 pm
So it's impossible to use the Visual HAM IDE with DevKitAdvance?
#13559 - RaBBi - Tue Dec 16, 2003 6:47 pm
I don't think, since they are two different dev kits.
But, I'm newbie in gba dev so....
EDIT: Bad reading ^^ I thought you're talking about the kit.
_________________
Sorry for my poor english, but it would be worst for you to understand me if I speak in my native language, French ^^
Last edited by RaBBi on Tue Dec 16, 2003 7:29 pm; edited 1 time in total
#13561 - yaustar - Tue Dec 16, 2003 7:24 pm
#13590 - Snoobab - Wed Dec 17, 2003 9:11 pm
Thanks, I'll give it a try!
#13777 - AcidGame - Mon Dec 22, 2003 6:58 pm
Notice visualHAM comes with its own compiler. If you used it just as an IDE, then get the main .c file from it and run it through GCC.exe. But if you used *any* HAM library functions, you cannot compile it.
I believe it is. The compiler adds it in when its compiling.
#13786 - Snoobab - Mon Dec 22, 2003 8:34 pm
I want to use Visual HAM as a IDE because it has nice assembly instruction colouring etc. I don't want to use HAMlib though. Thanks for the advice.
#13812 - frag - Tue Dec 23, 2003 5:39 am
I use Visual HAM with the toolchain provided with the HAM distribution. I've never had a single problem compiling non-hamlib code with it.
You don't have to use any of the ham stuff with Visual HAM.
I compile straight gba code all the time with it. no problems at all. :)
Frag
#13829 - dagamer34 - Tue Dec 23, 2003 4:43 pm
One thing though is that you might want to change your makefile because it uses the -lm option (bringing in those SLOW math functions).
Which IDE to people use the most, MSVC++, VisualHAm (w/o hamlib), Dev C++, or Eclipse?
_________________
Little kids and Playstation 2's don't mix. :(
Last edited by dagamer34 on Wed Dec 24, 2003 5:28 pm; edited 1 time in total
#13871 - yaustar - Wed Dec 24, 2003 5:50 am
I am using Dev C++ at the moment but trying to convert to VHAM w/o hamlib because of tthe debugger.
_________________
[Blog] [Portfolio]
#13930 - dagamer34 - Thu Dec 25, 2003 4:51 am
Technically, it is still possible to use DevKitAdvance with VisualHAM. Go to the VisualHAM homepage (www.visualhame.console-dev.de) and look under the section "Docus". There it will explain how to set up VisualHAM to work with any development kit.
Anyway, for those who still use VisualHAM, version 2.5 beta is out. Go pick it up!!!
_________________
Little kids and Playstation 2's don't mix. :(
#15817 - Peter - Sat Jan 31, 2004 12:46 am
Hi,
it is possible to use VisualHAM with DevKitAdv, but I think you have to write a makefile-system for it.
As far as I know DevKitAdv doesn't come along with it, at least it didn't for around 2 years.
VisualHAM requires in the project makefile the following variables:
PROGNAME= : specifies the program outputname
OFILES+= : holds a list of the source-files which get compiled.
ADD_LIBS+= : hols a list of libraries to link.
You might also want to create your own Targets Menu. To do this, open the file vham\config\targets.ini and modify that it fits your needs. At the top of targets.ini is a detailed explanation how to do this.
Here is one entry from targets.ini:
Quote: |
[Build + VBA (SDL)]
Command=make.exe vba
Hint=Build project and start in VBA emulator
Shortcut=118
|
What VisualHAM makes when you execute Build + VBA (SDL)] Target is, it calls make.exe runvba in the project-directory and captures the output. Same as when you type that in the command prompt.
runvba is a target, defined in the makefile (here the one from HAM SDK):
Code: |
vba: all fixheader
$(HAMDIR)/tools/$(HAM_PLATFORM)/vba$(EXEC_POSTFIX) $(PROGNAME).$(EXT)
|
In short words, "all" you have to do is a makefile-system and update targets.ini.
Take a look at the config directory from VisualHAM, most files there have an explanation inside.
You might want to check my little docus section as well.
New project templates can be created too ;)
PS: Chaos Stars GBA SDK uses VisualHAM too. I think it's pretty close to DevKitAdv (but not really sure), maybe it's worth to take a look at it.
// Edit: VisualHAM does not include compiler. It's just an IDE/programmers editor ...
Hope it helps
Peter - http://visualham.console-dev.de
#15820 - dagamer34 - Sat Jan 31, 2004 4:39 am
Maybe its because its called VisuaHAM, people think its HAM-related, and can only be used with HAM.
_________________
Little kids and Playstation 2's don't mix. :(
#15821 - rooter - Sat Jan 31, 2004 4:48 am
what people really get confused about is what HAM is. HAM isn't just HAMlib, if you want to use HAM + VisualHAM, all you have to do is make sure your makefile doesnt link in HAMlib by removing any reference to -lham, I've been using the HAM's tool chain for awhile now and it works perfect. Far fewer problems than with DKA, probably due to the newer version of gcc and such that its compiled with.
#15888 - Blacken - Mon Feb 02, 2004 5:51 pm
I use Emacs.
I am leet.
'Bye now.
;)
#15889 - Miked0801 - Mon Feb 02, 2004 10:54 pm
I use ed
I am lee7 err how do I erase a line ehh oh
now I can't edit that line again. Crap, how do I qui