tstih / idp-udev

A micro-library to create computer games for the Iskra Delta Partner. The library is stripped to the bare minimum and optimized for size and speed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

status.badge language.badge standard.badge license.badge

idp-udev

A micro-library to create computer games for the Iskra Delta Partner. The library is stripped to the bare minimum and optimized for size and speed.

It consists of three micro-libraries:

  • μsdcc. Support for integer arithmetic for the SDCC compiler.
  • μlibc. Minimal subset of the standard C library.
  • μgpx. The graphics library.

Compiling

You need Linux to compile the micro-library.

First, install the SDCC suite if you don't already have it. Then clone the library source code to your target directory. Finally, change the current directory to your target directory, and run the make.

sudo apt-get install sdcc
git clone https://github.com/tstih/idp-udev.git
cd idp-udev
make

To include the micro-library in your project, you can pass the BUILD_DIR and BIN_DIR to the make like this.

make BUILD_DIR=mybuild BIN_DIR=mybin

If you redirect those two directories, you are responsible for implementing the make clean command.

Using

You can use an empty project template for your new project. If you want to study the library in action further, consult these Iskra Delta Partner projects:

The Lunatik is the Moon Lander game for the Iskra Delta Partner.

The Quills are ports of early Slovenian adventure games to the Iskra Delta Partner made in the 80s with the Quill adventure writing system on ZX Spectrum.

About

A micro-library to create computer games for the Iskra Delta Partner. The library is stripped to the bare minimum and optimized for size and speed.


Languages

Language:Assembly 70.8%Language:C 26.1%Language:Makefile 3.1%