Skip to content

paperino1983/ASCII-CHASE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,675 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CROSS CHASE

CrossLib and CROSS CHASE

by Fabrizio Caruso (Fabrizio_Caruso@hotmail.com)

This is a personal project whose goal are the creation of:

  1. a universal 8-bit abstraction layer "CrossLib" for coding universal 8-games
  2. a "universal" 8-bit game "CROSS CHASE" that has to be a fun and that should run on (nearly) ALL 8 bit computers and consoles using the Motorola 6809, the MOS 6502, the Zilog Z80 and derivatives CPUs. The game will be the proof of concept of how flexible the library is.

HOW IS THIS DONE? This is achieved by having "CrossLib" provide APIs for the game code. The game and library code are separated:

  • the game code only depends on the APIs interface and
  • the APIs do not depend on the game code. Therefore it must be possible to re-use the same library for other games/programs.

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

ASCII CHASE

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C 51.3%
  • Assembly 19.9%
  • Makefile 10.2%
  • Batchfile 9.8%
  • Python 6.1%
  • C++ 2.6%
  • Shell 0.1%