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: 683
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: 4
  • 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: 683
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: 13627
  • 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: 683
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: 4
  • 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: 4
  • 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: 683
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: 2905
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: 4
  • 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
Reply to topic



Back to the top of this page

Back to SMS Power!