Skip to content

CROSS LIB -- A universal 8-bit library and some games built with it.

Notifications You must be signed in to change notification settings

greg-king5/CROSS-LIB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CROSS CHASE

CROSS CHASE

by Fabrizio Caruso (Fabrizio_Caruso@hotmail.com)

This is a personal project whose goal is to create a fun playable game that should run on (nearly) ALL 8 bit computers and consoles using the Motorola 6809, the MOS 6502, the Zilog Z80 and derivatives CPUs. This is done by creating a universal 8-bit framework that should provide APIs for the game code. The game and framework code are supposed to be separated.

The program is written in ANSI C and currently compiled with

For other targets, GCC6809 for other 6809 targets, sdcc (proper or its CPCTelera version), as well as "GCC for TI" for the Texas TI99/4a are being taken into consideration.

The game should be as portable as possible. Therefore the following coding choices and design rules are applied:

  1. ANSI C (for the game logic);
  2. strictly separated input/output and hardware-dependent code from the game logic;
  3. the prefered default graphics and input implementation is provided by conio.h (as implemented in CC65, Z88DK and WinCMOC), whenever no specialized code for a specific target is implemented;
  4. joystick-related libraries as found in CC65 and in Z88DK;

Some target(s) may get specific graphic code with re-defined characters, software/hardware sprites and music/sound effects.

As a consequence of the design, the code includes a framework that could be used to develop other massively multi-system games and programs.

Atari 800 Spectrum 48k Vic 20 MSX Oric 1/Atmos Amstrad CPC ZX81 title zx81_title Vic 20 title

LICENSE

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for non-commercial applications, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

  3. This notice may not be removed or altered from any source distribution.

About

CROSS LIB -- A universal 8-bit library and some games built with it.

Resources

Stars

Watchers

Forks

Languages

  • C 53.9%
  • Assembly 23.9%
  • Batchfile 11.6%
  • Makefile 10.3%
  • Other 0.3%