Close
0%
0%

CROSS-LIB

A universal retro-hardware abstraction layer and ANSI C development framework

Public Chat
Similar projects worth following
CROSS-LIB is a universal retro-hardware abstraction layer and ANSI C development framework, it provides a C library to code universal games for *hundreds* of different vintage systems: you write your code *once* and you compile it for more than 200 different targets.A partial list is in: https://github.com/Fabrizio-Caruso/CROSS-LIB/blob/master/docs/STATUS.md

CrossLib
https://github.com/Fabrizio-Caruso/CROSS-LIB

CrossLib is a set of tools and a library that provides a retro-hardware abstraction layer for coding "universal" games on *hundreds* of vintage systems (mostly 8-bit) from the '70s till the '90s (computers, consoles, hand-held consoles, scientific calculators, hacked toy computers, arcade boards, micro-boards, new retro boards, etc.) while using the very same code for all systems. You code it once and than you can massively cross-compile it for 200 targets.
A partial list is in: https://github.com/Fabrizio-Caruso/CROSS-LIB/blob/master/docs/STATUS.md

Moreover, this project is also about the universal games I am writing with Cross-Lib. These games are the proof of the flexibility of CrossLib:

  1. Cross Chase is a "universal" 8-bit game that can be compiled for and run on more than *200* 8-bit computers, game consoles, hand-held game consoles, scientific calculators, arcade boards, etc. It can be parametrized in a way to make it run on systems with as little as 3k or 4k of available memory for the code.
  2. Cross Shoot is a second "universal" 8-bit game that can also be compiled on a multitude of 8-bit computers and consoles. It requires more memory than "Cross Chase" but it should be equally universal as long as the required memory is available.
  3. Cross Bomber is a third "universal" 8-bit game that can also be compiled on a multitude of 8-bit computers and consoles. It is a mini-game and clone of Air Attack (aka Blitz). So it requires much less memory than "Cross Chase". Its code is almost entirely in a single file. It uses pre-shifted tiles to produce smoother movements on graphics-enabled targets.

  • 1 × CC65 C dev-kit and cross-compiler for the MOS-6502 architecture
  • 1 × Z88DK C dev-kit and cross-compiler for the Intel 8080 and Zilog 80 architectures
  • 1 × CMOC C cross-compiler for the Motorola 6809 architecture
  • 1 × ACK C cross-compiler for multiple vintage architectures (Intel 8080, Intel 8088/6, Motorola 68020, etc.)
  • 1 × LCC42 C dev-kit and cross-compiler for the RCA COSMAC 1802 architecture

View all 8 components

  • Cross-Lib Status

    Fabrizio Caruso10/14/2020 at 16:14 0 comments

    Cross-Lib is a C a set of tools and library that provides a retro-hardware abstraction layer to code "universal" games with simple graphics and sounds (whenever available on the target hardware) for *hundreds* of different vintage systems from the '70s till the '90 (computers, consoles, hand-held consoles, scientific calculators, hacked toy computers, etc...):

    https://github.com/Fabrizio-Caruso/CROSS-LIB/blob/master/docs/STATUS.md

    I have already written 3 universal games with Cross-Lib:
    - Cross Chase (somehow a sort of real-time version of Gnome Robots and probably world record holder for the game with the highest number of "ports", i.e, more than 200)
    - Cross Shoot (somehow similar to Robotron. It is largest game so far with many game elements, enemy types, items and secrets)
    - Cross Bomber (mini-game clone of Air Attack, aka Blitz)

View project log

Enjoy this project?

Share

Discussions

Fabrizio Caruso wrote 10/21/2020 at 14:18 point

@kwapiszon an emulator for what? My project is about a library to code on vintage systems for which emulators already exist. I have written 3 games and a demo with my library. All these games can be run on nearly all vintage computers, consoles, hand-helds, scientific calculators, hacked toy computers, etc.

  Are you sure? yes | no

Fabrizio Caruso wrote 10/19/2020 at 15:13 point

Hi! This is not a system. This is a devkit for 200 different vintage systems (for a partial list see https://github.com/Fabrizio-Caruso/CROSS-LIB/blob/master/docs/STATUS.md).
I have written a mini demo, a mini game a two big games with it for hundreds of computers, consoles, hand-helds, boards, calculators, etc... (games: https://github.com/Fabrizio-Caruso/CROSS-LIB/tree/master/src/games, demo: https://github.com/Fabrizio-Caruso/CROSS-LIB/tree/master/src/demos).

  Are you sure? yes | no

Kosma wrote 10/19/2020 at 13:35 point

meybe convert emulator to this system?

add game of life Convay game

and calculator

  Are you sure? yes | no

Fabrizio Caruso wrote 10/20/2020 at 13:34 point

@Kosma I don't understand what you are talking about. This is not about a new system. It is a dev-kit to code for 200 different vintage systems. See the description above for more details.

  Are you sure? yes | no

kwapiszon wrote 10/21/2020 at 09:44 point

How to increase the popularity of the library? Write a necessary and useful program using it (e.g. gimp).
I suggest that you move the emulator to this library or write convay game of life etc

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates