Skip to content

madprog/gdemu-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDemu for Linux

Status:Under Development
Location:https://github.com/madprog/gdemu-linux
Version:0.0.1

1 Description

Gameduino is a game adapter for Arduino. The only problem is when you don’t have any VGA screen around to display what you have programmed.

The goal of GDemu for Linux is to provide the GD library with a SDL display, on your development machine. Then, you don’t need any screen connected to your Gameduino board. You don’t even need your arduino connected.

2 Usage

GDemu for Linux is compiled with CMake as a static library. You should be able to build your project without source code modification.

  • First, clone the source code:
$ git clone git://github.com/madprog/gdemu-linux.git
  • Make sure you have CMake, SDL, Make and G++ installed on your system. On Ubuntu or Debian:
$ sudo aptitude update
$ sudo aptitude install cmake libsdl-dev make g++
  • Compile the library:
$ cd gdemu-linux
$ cmake .
$ make
  • Compile your project and link it with the resulting library:
$ cd ~/sketchbook
$ ln -s my_project.ino my_project.cpp
$ g++ -I/path/to/gdemu-linux/include -L/path/to/gdemu-linux/src -lgdemu my_project.cpp -o my_project
  • Run your project:
$ ./my_project
  • PROFIT!

3 Issues

If your project does not compile with GDemu for Linux, then you may be using an API which have not been developed yet. Please fork the project and add what you need in your branch: I would pull and merge your work.

If the result in the SDL window differs from what you get with your Gameduino, this is a bug (and you should fill an issue if the bug is unknown).

About

Gameduino emulator for Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published