A tile-based game engine for the Apple IIgs written in 65816 asssembly language
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Lucas Scharenbroich dc5742dd11 Remove dead code from codebase 7 days ago
.github/images Start adding some basic documentation on building from source 1 year ago
.vscode Update skeleon to show a pictire on-screen 3 years ago
ORCACDefs Sync up header files and add back CopyToBG1 behavior as a selectable feature 1 week ago
archive Add an archive of the old GTE sources 5 years ago
demos Quick change to make sure sprites work on top of scanline offset mode 1 week ago
docs Bump nokogiri from 1.13.9 to 1.14.2 in /docs 1 week ago
emu Final reorg; all projects build into a unified disk image for testing 2 years ago
macros Sync up header files and add back CopyToBG1 behavior as a selectable feature 1 week ago
ref Reorg files; focus on S16 artifact 2 years ago
src Remove dead code from codebase 7 days ago
tools Checkpoint 2 weeks ago
.gitignore Checkpoint with TF4 demo framework 7 months ago
README.md Add tilengine to the references 1 week ago
_FileInformation.txt checkpoint 3 months ago
build-image.bat Fix path to tool when building at the top-level 8 months ago
package-lock.json Upgrade to lockfile version 2 2 weeks ago
package.json Add additional npm script targets 8 months ago


Generic Tile Engine for the Apple IIgs

A high-performance library for writing tile-based games for the Apple IIgs personal computer in 65816 assembly langugage. Unlock the full, 16-bit potential of the last machine of the Apple ][ line.


The Generic Tile Engine (GTE) project is a tile engine built to exploit the unique hardware capabilities of the Apple IIgs personal computer. It supports the Apple IIgs super hires graphics mode (320x200, 16/256 colors) and provides two full-screen independent scrolling layers along with software sprites. The API and core functionality of the library is inspired by the graphics hardware of the NES/SMS/SNES/Genesis console era.

Parallax scrolling of two full-screen static layers

Building from Source

The library iscurrently implemented as a set of source files that must be compiled into a GS/OS application. A set of example project can be found under the demos folder. Each demo folder uses a package.json file to define the build targets and a build of each application can be created by executing a npm run build command.

Each demo application has a build script that also builds the toolset and copies it, along with the demo S16 application file, to the target disk image.


  • node
  • merlin32 (1.1.10+)
  • cadius

GTE uses the merlin32 1.1.10 assembler to compile its source into GS/OS OMF files and Cadius to copy those files onto a ProDOS disk image. The paths to these tool can be set in the package.json file.

An empty 2MG disk image is included in emu/Target.2mg and is used as the default location for copying demo applications. This image can be mounted in any IIgs emulator.

Build of demo app in the IIgs Finder


Please refer to the GTE Toolbox documentation.