A gamebuino "emulator" ?

Libraries, utilities, bootloaders...

Re: A gamebuino "emulator" ?

Postby aviel » Mon May 19, 2014 7:42 pm

Hi! Is anyone here might be working on a Mac version? I'm an iPhone developer so I'm familiar with xcode and objc but have no exp with c or with compiling stuff or anything else... If anyone can help on how to get started with compiling the binary I think I can maybe try keep going from there... Thanks ☺
aviel
 
Posts: 3
Joined: Mon May 19, 2014 7:38 pm

Re: A gamebuino "emulator" ?

Postby Deneth » Wed May 21, 2014 10:48 am

aviel wrote:Hi! Is anyone here might be working on a Mac version?


The one I made should be straight forward to build on a Mac, but it would need someone who knows what they're doing. I think you use Macports for building that kind of stuff.
Deneth
 
Posts: 28
Joined: Sun Mar 02, 2014 11:44 am

Re: A gamebuino "emulator" ?

Postby aviel » Wed May 21, 2014 2:36 pm

Deneth wrote:The one I made should be straight forward to build on a Mac, but it would need someone who knows what they're doing. I think you use Macports for building that kind of stuff.


So I tried to simply install libelf (With, and also without homebrew), and SDL2 from its OSX package (Both installed successfully), but then when I call make in gbsim-master I keep getting this error:

Code: Select all
My-Mac-mini:gbsim-master meNMyself$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C simavr RELEASE=0
fatal: Not a git repository (or any of the parent directories): .git
/Applications/Xcode.app/Contents/Developer/usr/bin/make obj config
fatal: Not a git repository (or any of the parent directories): .git
make[2]: Nothing to be done for `obj'.
make[2]: Nothing to be done for `config'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make libsimavr run_avr
fatal: Not a git repository (or any of the parent directories): .git
In file included from cores/sim_megax.c:22:
In file included from sim/sim_avr.h:29:
sim/sim_irq.h:25:10: fatal error: 'stdint.h' file not found
#include <stdint.h>
         ^
1 error generated.
make[2]: *** [obj-x86_64-apple-darwin13.1.0/sim_megax.o] Error 1
make[1]: *** [all] Error 2
make: *** [build-simavr] Error 2



Any ideas?
aviel
 
Posts: 3
Joined: Mon May 19, 2014 7:38 pm

Re: A gamebuino "emulator" ?

Postby Skyrunner65 » Wed May 21, 2014 5:37 pm

Now I think we can get started on the Game Archive.
Don't you agree, guys?
User avatar
Skyrunner65
 
Posts: 371
Joined: Thu Mar 20, 2014 5:37 pm
Location: NC,USA

Re: A gamebuino "emulator" ?

Postby DFX2KX » Wed May 21, 2014 9:14 pm

Skyrunner65 wrote:Now I think we can get started on the Game Archive.
Don't you agree, guys?


I just managed to get one of the demos compiled for Deneth's Emulator. For what that's worth, anyway. I might even have a game here, pretty soon, cannot promise it'll be any good, though! XD
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: A gamebuino "emulator" ?

Postby Skyrunner65 » Wed May 21, 2014 10:59 pm

About games for the Emulator:

1. Where are they? The wiki doesn't have them.
2. How do I turn them into a .elf?
User avatar
Skyrunner65
 
Posts: 371
Joined: Thu Mar 20, 2014 5:37 pm
Location: NC,USA

Re: A gamebuino "emulator" ?

Postby rodot » Thu May 22, 2014 6:12 am

Skyrunner65 wrote:About games for the Emulator:

1. Where are they? The wiki doesn't have them.
2. How do I turn them into a .elf?


1. Be patient, we're working on that
2. Be patient, we're working on that

:D
User avatar
rodot
Site Admin
 
Posts: 1290
Joined: Mon Nov 19, 2012 11:54 pm
Location: France

Re: A gamebuino "emulator" ?

Postby ripper121 » Thu May 22, 2014 8:30 am

Skyrunner65 wrote:About games for the Emulator:

1. Where are they? The wiki doesn't have them.
2. How do I turn them into a .elf?


1. Some examples are in the Library you can download in the Wiki
2. The elf file is generated by Arduino IDE in the output folder
User avatar
ripper121
 
Posts: 224
Joined: Fri Apr 04, 2014 2:02 pm
Location: Germany

Re: A gamebuino "emulator" ?

Postby Deneth » Thu May 22, 2014 10:05 am

aviel wrote:I keep getting this error:

Code: Select all
sim/sim_irq.h:25:10: fatal error: 'stdint.h' file not found
#include <stdint.h>
         ^
1 error generated.


Any ideas?


"stdint.h" is a C99 thing, maybe you have to enable support for that. You might also get some hints from my Windows build, which I included the libraries for (you probably don't need "pthreads").

You also need the headers from avr-libc, which I only noticed after I wrote the readme.
Deneth
 
Posts: 28
Joined: Sun Mar 02, 2014 11:44 am

Re: A gamebuino "emulator" ?

Postby Deneth » Thu May 22, 2014 10:07 am

Skyrunner65 wrote:2. How do I turn them into a .elf?


Have a look at the readme. It would be nice if you didn't have to do that - or maybe you could have an extra target in the Arduino IDE which starts the emulator - but I haven't looked into that.
Deneth
 
Posts: 28
Joined: Sun Mar 02, 2014 11:44 am

PreviousNext

Return to Software Development

Who is online

Users browsing this forum: No registered users and 5 guests

cron