Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - CROSS-LIB by Fabrizio-Caruso

Reply to topic
Author Message
  • Joined: 26 Jan 2014
  • Posts: 824
Reply with quote
CROSS-LIB by Fabrizio-Caruso
Post Posted: Wed Feb 17, 2021 1:06 pm
Just found out about that: https://github.com/Fabrizio-Caruso/CROSS-LIB

You can found release here: https://github.com/Fabrizio-Caruso/CROSS-LIB/releases

Only XSnake have a GG and SMS rom but I guess it's possible to compile the others games (XShoot, XChase, XBomber)?
  View user's profile Send private message Visit poster's website
  • Joined: 25 Sep 2018
  • Posts: 6
  • Location: France
Reply with quote
Cross-Lib
Post Posted: Thu Feb 18, 2021 10:50 pm
Indeed, all games written in C with Cross-Lib can be built for about 200 systems including SMS and GG.

The idea of Cross-Lib is to have a universal library for any 8-bit retro-systems (and some 16 and 32 bit ones). The emphasis is not on super cool graphics but it is on universality.
  View user's profile Send private message Visit poster's website
  • Joined: 26 Jan 2014
  • Posts: 824
Reply with quote
Post Posted: Fri Feb 19, 2021 1:49 pm
Welcome! I installed Cygwin on my computer (Win10), then you say:

- Install `make` in your environment.

How do I do that?
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13724
  • Location: London
Reply with quote
Post Posted: Fri Feb 19, 2021 4:16 pm
In the Cygwin installer you can select a package called “make”.
  View user's profile Send private message Visit poster's website
  • Joined: 26 Jan 2014
  • Posts: 824
Reply with quote
Post Posted: Fri Feb 19, 2021 5:23 pm
Ok thanks it's done, now I have:

make: Makefile.shoot: No such file or directory
make: *** No rule to make target 'Makefile.shoot'. Stop.


I don't get where to place the library. I tried in cygwin folder, C: and user folder.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Sep 2018
  • Posts: 6
  • Location: France
Reply with quote
Makefile targets need to be added
Post Posted: Mon Feb 22, 2021 12:00 am
Last edited by Fabrizio Caruso on Mon Feb 22, 2021 6:49 pm; edited 1 time in total
[binaries for all games available for sms and gg: see next post]

Sorry guys for not being more explicit and clear.

Cross-Lib still lacks automatic Makefile targets generation...
The way it still works is that Makefile targets are manually added. For most targets this only means copy pasting a target from one target in Makefile.snake or any other Makefile into the Makefile of a game that we want to support.

I need to fully automatize this part... Sorry for the confusion.

Since I see some interest on my games for SMS, I will add the sms and gg targets in Makefile.chase, Makefile.shoot, Makefile.bomber.

I am going to add the 3 older games:

Cross Chase is the current world record-holder for the game with the most parts. It is similar to Gnome Robots but it is an action real-time game.

Cross Shoot is somehow similar to Robotron.

Cross Bomber is a clone of the mini game Blitz (aka Bomber).

In terms of playability, Cross Snake is probably the nicest of my games.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Sep 2018
  • Posts: 6
  • Location: France
Reply with quote
Post Posted: Mon Feb 22, 2021 12:37 am
I have now added the sms and gg targets for all four games:


make <sms or gg> -f Makefile.<chase or shoot or bomber or snake>


should build the 4 games for sms and gg

I have attached the binaries for your convenience.
sms_gg.zip (63.13 KB)
cross games for sms and gg

  View user's profile Send private message Visit poster's website
  • Joined: 26 Jan 2014
  • Posts: 824
Reply with quote
Post Posted: Fri Feb 26, 2021 2:59 pm
Thank you!

Pages created:

https://www.smspower.org/Homebrew/Xbomber-SMS
https://www.smspower.org/Homebrew/Xbomber-GG

https://www.smspower.org/Homebrew/Xchase-SMS
https://www.smspower.org/Homebrew/Xchase-GG

https://www.smspower.org/Homebrew/Xshoot-SMS
https://www.smspower.org/Homebrew/Xshoot-GG

https://www.smspower.org/Homebrew/Xsnake-SMS
https://www.smspower.org/Homebrew/Xsnake-GG


Did you think about SG-1000 versions?
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 2943
Reply with quote
Post Posted: Fri Feb 26, 2021 6:56 pm
if he's using z88dk, I think SG-1000 it's not supported
  View user's profile Send private message Visit poster's website
  • Joined: 25 Sep 2018
  • Posts: 6
  • Location: France
Reply with quote
SG-1000 and SC-3000 are supported
Post Posted: Thu Mar 04, 2021 10:21 pm
sverx wrote
if he's using z88dk, I think SG-1000 it's not supported


SG-1000 and SC-3000 are supported. I can build my games without any modification on the source code also for these systems.

I use Z88DK together with CC65, CMOC, LCC1802, ACK, XTC68, GCC, and many other compilers and cross-compilers (https://github.com/Fabrizio-Caruso/CROSS-LIB/blob/master/docs/COMPILERS.md) in order to cover about 200 systems.

A partial list of systems supported by Cross-Lib is in:
https://github.com/Fabrizio-Caruso/CROSS-LIB/blob/master/docs/STATUS.md

Fabrizio
  View user's profile Send private message Visit poster's website
  • Joined: 26 Jan 2014
  • Posts: 824
Reply with quote
Post Posted: Wed Apr 21, 2021 8:05 am
New game with XHorde

https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/tag/XHorde


edit: added https://www.smspower.org/Homebrew/XHorde-SMS
https://www.smspower.org/Homebrew/XHorde-GG
  View user's profile Send private message Visit poster's website
  • Joined: 26 Jan 2014
  • Posts: 824
Reply with quote
Post Posted: Mon Apr 26, 2021 9:28 am
New version for Xhorde: https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/tag/AnimatedZombies
  View user's profile Send private message Visit poster's website
  • Joined: 26 Jan 2014
  • Posts: 824
Reply with quote
Post Posted: Sat May 01, 2021 5:20 pm
Final version for XHorde: https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/tag/XHorde1.0
  View user's profile Send private message Visit poster's website
  • Joined: 25 Sep 2018
  • Posts: 6
  • Location: France
Reply with quote
Please use the GitHub link and not a copy
Post Posted: Fri May 07, 2021 10:12 am
I see that an older XHorde is proposed on this site.
My games get recompiled and improved all the time even after years.

The latest binary versions of all my Cross-Lib games are always on the Cross-Lib GitHub release page.

So, for all such games, it is better to link to the binaries in:
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases

For XHorde:
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/tag/XHorde1.0

SMS: https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/XHorde1.0/Xhorde_...

GG: https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/XHorde1.0/Xhorde_...
  View user's profile Send private message Visit poster's website
  • Joined: 25 Sep 2018
  • Posts: 6
  • Location: France
Reply with quote
New versions with (some simple) sounds
Post Posted: Fri May 07, 2021 12:16 pm
Hi everyone!

I have updated the SMS and GG versions of my 5 Cross-Lib games. This time, they have some very simple sound effects. By the way I also support the Sega SG-1000 and Sega SC-3000, in case that may interest someone here...

Cross Horde
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/XHorde1.0/Xhorde_...
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/XHorde1.0/Xhorde_...

Cross Snake
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/XSnake2.0/Xsnake_...
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/XSnake2.0/Xsnake_...

Cross Bomber
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/bomber/Xbomber_ga...
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/bomber/Xbomber_sm...

Cross Shoot
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/XShoot/Xshoot_gam...
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/XShoot/Xshoot_sms...

Cross Chase:
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/I8080/Xchase_game...
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/I8080/Xchase_sms....
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/I8080/FULL_sg1000...
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/I8080/FULL_sc3000...
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!