Book Image

Banana Pro Blueprints

By : Tony Zhang
Book Image

Banana Pro Blueprints

By: Tony Zhang

Overview of this book

This book follows a tactical plan that will guide you through the implementation of Banana Pro and its configurations. You will then learn the various programming languages used with Banana Pi with the help of examples. In no time at all, you’ll be working on a wireless project that implements AirPlay servers, hotspots, and so on. Following this, you’ll develop a retro-style arcade kiosk game. Then we’ll move on to explore the multimedia features of Banana Pro by designing and building an enclosure for it. After this, you’ll learn to build a remote-controlled smart car and we’ll examine how to control a robotic arm. The book will conclude with the creation of a home sensor system that has the ability to expand or shrink to suit any home.
Table of Contents (15 chapters)
Banana Pro Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing libretro emulators


Libretro is a simple but powerful development interface that allows you to easily create emulators, games, and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulators and game cores in their own programs or devices also. Here, we will focus on the emulators of games that work with libretro. Libretro frontends and libretro cores are two different parts of implementing libretro emulators; we will build them separately in the upcoming sections.

Installing dependent packages

In order to get audio when we play games, we can install sdl relevant developing libraries like this:

sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev

Installing libretro frontend - RetroArch

Libretro frontends are programs that have implemented the libretro API specification. When properly implemented, this allows a program to run any libretro core that has been developed...