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 > Lua, GBAMP?

#77521 - Dan2552 - Sat Apr 01, 2006 2:30 pm

I tried GBAlua but nothing compiled by it seems to run on GBAMP. Can someone tell me how to create LUA GBAMP things, if it's possible?

#77538 - tepples - Sat Apr 01, 2006 4:37 pm

Have you tried building it as multiboot (clue: -specs=gba_mb.specs)? Or is it too big?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#77548 - Dan2552 - Sat Apr 01, 2006 4:56 pm

the examples for GBALua all come with a bat file which all have a

-mb

option used, and makes a 2nd file eg. example1.mb.gba

I tried these, but they do not seem to work still (i get green screen)

I'm not sure what you mean by (clue: -specs=gba_mb.specs) to be honest :) i'm pretty new to this remember. Where should i put this line?



edit--
maybe i'm using a different GBA lua?


Edit---


Visual Ham is great :p Makes GBA development easy with c

#88275 - mewx - Sun Jun 18, 2006 2:37 pm

Err, I've got the same problem, I made a very simple program with HAM:
Code:

#include <mygba.h>

int main (void)
{
      ham_Init();
    ham_InitText(0);
    ham_DrawText(0,0,"Hello world!");
}

I compiled it, then put it on my CF Card and then tried to start it with the GBA MP, but I only get that green screen, too.
What's the problem?
I'm really very new to this...

[/quote][/code]

#89417 - mewx - Sat Jun 24, 2006 8:47 pm

OK, I solved the problem without help ;-)
It was the missing "MULTIBOOT", i did't know that it was so important.