News for hackers. Stuff that matters.
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by voltagex_ on Sunday June 22, 2014 @05:50AM (#7927391)
Looks like there's a tiny little emulator for this, too.

https://github.com/ICTeam28/PiEmu

I've got as far as installing the SDL headers (you're looking for SDL.h from SDL 1.2) and running cmake . but not much further.

Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by lnandor on Sunday June 22, 2014 @06:16AM (#7927428)
Hello,

I have added a more informative README and fixed a couple of issues that prevented the game from running. In case you need any more help, could we move this discussion to GitHub issues?

Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by voltagex_ on Sunday June 22, 2014 @06:17AM (#7927431)
Just replied to someone else before you posted this. Thanks!
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by serialvelocity on Sunday June 22, 2014 @05:57AM (#7927402)
Hey, I'm part of the team who wrote this. What platform are you running on? and what errors are you getting?
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by voltagex_ on Sunday June 22, 2014 @06:16AM (#7927429)
Hey, congrats on this project.

Mainly I was waiting to reboot into Linux to try to build this.

You may want to add some instructions for building the game/emulator.

For the emulator, I'd never used cmake before (sort of) so I didn't know to run cmake .

Then the error about SDL (needed libsdl-dev package or similar)

For the game, I'm currently downloading a Linaro ARM toolchain on a slow connection but I don't anticipate any further issues.

Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by serialvelocity on Sunday June 22, 2014 @06:23AM (#7927444)
Thanks! It currently only works on Linux, so depending on your distro, you need to install the SDL package. If you're using Debian or Ubuntu (or derivatives), it will be sufficient to install the libsdl-dev and cmake packages using apt-get. Then create a build directory and use CMake to generate makefiles then build the emulator with make.

To set up the build environment, follow these instructions:

   cd /dir/to/PiEmu/
   mkdir build
   cd build
   cmake ..
   make
These instructions are also on the README.md for PiEmu in-case anyone else is wondering how to get it building.
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by voltagex_ on Sunday June 22, 2014 @07:00AM (#7927522)
To add to this, the latest "official" Raspberry Pi toolchain is at https://github.com/raspberrypi/tools. You probably want the one without hf in the name.

serialvelocity - am I correct in assuming you're building for softfp?

Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by voltagex_ on Sunday June 22, 2014 @07:06AM (#7927535)
I sit corrected. I'm currently having lots of trouble building the game because my cross compiler doesn't match the name of yours in the makefiles.

> make[2]: arm-linux-gnueabi-as: Command not found

Re:Bare Metal Assembly Raspberry Pi Starfox Tribute by jnbiche on Sunday June 22, 2014 @01:25PM (#7928505)
Nice project! Did you use JTAG or some other (more painful) work flow?