#15512 - noble - Fri Jan 23, 2004 6:48 pm
Hello!
At the first i will say sorry for my bad english.
ok, a professor of mine told me, that its possible to run java programms on a gba.
java is not my programming language at the moment and so i decided to try it in C.
but its really hard to find german documentations or really good newbie faqs with step to step instructions.
so i will aks the people here for help
i have a pc, and a gba sp.
now i will buy me a flash kit, cause this is really hard to get in austria.
so i will ask, where can i get the hardware and documentations and
how should i start at this point.
thanks
#15514 - alek - Fri Jan 23, 2004 7:32 pm
Quote: |
so i will ask, where can i get the hardware
|
This is a good place http://www.mwelectronics.com/
you can read about them here
As for tutorials you have the pernproject, gbajunkie and this book Programming The Nintendo Game Boy
Advance: The Unofficial Guide
#15515 - dist0rted - Fri Jan 23, 2004 7:34 pm
At http://www.lik-sang.com/ you can get a MBV2 cable, which in my opinion works better and costs less than any linker cable I've tried. (Because you don't have to buy cartriges, you can write directly to the GBA.)
And here's two of some good GBA C tutorials:
http://www.thepernproject.com/
and
http://prodigygames.8k.com/ (look for GBA Development From the Ground Up in the articles section).
_________________
All knowledge is good; only the way it is put to use is good or evil.
#15516 - NoMis - Fri Jan 23, 2004 9:15 pm
http://www.devgba.de
good german site with some nice tutorials. But the site is closed at the moment and there will be no new content because there are not enough people to go on. but you can take a look at the tuts already releasd.
NoMis
PS: i am also a developer from austria :-)
#15519 - poslundc - Fri Jan 23, 2004 10:12 pm
noble wrote: |
ok, a professor of mine told me, that its possible to run java programms on a gba. |
Anything is "possible", but you won't run Java programs on a GBA unless you first write a Java interpreter for the GBA, which to my knowledge does not exist. So you're correct that you're much better off using C instead.
dist0rted wrote: |
you can get a MBV2 cable, which in my opinion works better and costs less than any linker cable I've tried. (Because you don't have to buy cartriges, you can write directly to the GBA.) |
Programs must be smaller than 256K, however, will run a bit slower, and can't be taken everywhere like a flash cart can.
So if you're just doing a small program for a university course or are just looking to make simple games, then the MBV2 cable is probably sufficient. If you want to do any serious heavy-duty GBA programming, however, you should invest in a flash cart and linker.
Dan.
#15520 - sajiimori - Fri Jan 23, 2004 10:32 pm
Seems like GCC's Java runtime should work on GBA.
http://gcc.gnu.org/java/status.html
Quote: |
Supported Targets
...
Bare metal ARM ELF using newlib (arm-elf)
Ok, in CVS. No threads, file I/O or networking.
|
#15521 - poslundc - Fri Jan 23, 2004 10:49 pm
OK, I'm highly inexperienced with Java, but I thought you couldn't point to specific memory addresses in it (at least not without some class extension to do so).
Wouldn't that make I/O impossible?
Dan.
#15522 - tepples - Fri Jan 23, 2004 11:36 pm
You'd need some I/O extensions. In a Java platform running on a PC, methods that do direct I/O are implemented in native code. You'll need to learn how to link GCJ-generated business logic code to GCC-generated I/O code.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#15523 - poslundc - Fri Jan 23, 2004 11:40 pm
Yes, well, I'll leave that to someone more ambitious, tepples. :)
C/ASM is perfectly okey-dokey with me.
Dan.
#15546 - noble - Sat Jan 24, 2004 2:53 pm
sorry, at this moment, i havent read all the posts.
but i will give you a link
Java on a GBA
thx
#15574 - noble - Sun Jan 25, 2004 12:46 pm
one more question
what do you think about HAM?
Is it good oder not, i tried it, but I am not able too compile a project.
Is it better to work with devkitadv oder ham?
thx
#15579 - dagamer34 - Sun Jan 25, 2004 5:06 pm
Actually, just use the compiler that came with the HAM SDK. Its a lot better that way. Besides it comes with an IDE. You really don't want to use notepad, now do you?
And when using that IDE, you don't HAVE to use HAMlib or HAM at all. In fact, I changed the master makefile to take out all that stuff.
One BIG thing that should make you use this IDE is that it comes with the Insight debugger. Let's not say how long it takes to set it up with DevKit.
You can still compile the code that you would have run with DevKit. To me, there is no difference. It gives out the same errors, you will have the same problems, etc...
_________________
Little kids and Playstation 2's don't mix. :(
#15583 - sajiimori - Sun Jan 25, 2004 8:52 pm
Quote: |
Besides it comes with an IDE. You really don't want to use notepad, now do you?
|
I wonder how you got the impression that notepad is the only text editor for Windows?
http://fixedsys.com/context/
Quote: |
One BIG thing that should make you use this IDE is that it comes with the Insight debugger. Let's not say how long it takes to set it up with DevKit.
|
Insight comes preconfigured with DKA.
#15587 - poslundc - Sun Jan 25, 2004 9:55 pm
ConTEXT is my saving grace when I'm on Windows machines. I remember when I first came across it while looking for a text editor. Everything was either expensive or crap... then I found ConTEXT. Free and almost everything a programmer would want in a text editor.
Dan.
#15778 - gbacafe - Thu Jan 29, 2004 11:30 pm
About Java on GBA, what do you guys think about this cartridge
http://www.jemblazer.com ?
Does anyone have experience with it? Wouldn't it be nice to be able to develop an apps that works on cellphones and GBA at the same time?