c language for msx

Door freedom711

Rookie (32)

afbeelding van freedom711

06-07-2021, 10:14

hello to everyone!

I am new to the msx world.

I'm using turbo pascal and I'm doing very well....

I would like to know for C... to manage also the graphics (sprites etc etc...)
with documentation...

which C compiler do you recommend...

Thanks for the reply... Smile

Aangemeld of registreer om reacties te plaatsen

Van x-nen Aivalahostia

Paragon (1530)

afbeelding van x-nen Aivalahostia

06-07-2021, 10:35

you can try "fusion-C" https://www.msx.org/wiki/Fusion-C

Van AxelStone

Prophet (3193)

afbeelding van AxelStone

06-07-2021, 13:39

Van freedom711

Rookie (32)

afbeelding van freedom711

06-07-2021, 16:53

It asks me msx-dos 2.
I heard that you can make a bootable HD....

Is there any documentation please?

I use OpenMsx with sony hb-f900

Many thanks to all Smile

Van aoineko

Paladin (897)

afbeelding van aoineko

06-07-2021, 18:52

Most of MSX C programmeur use SDCC as compiler (http://sdcc.sourceforge.net).

Fusion-C is a library that will give you advanced functions to handle many aspect of the MSX (https://github.com/ericb59/Fusion-C-v1.2).

I also developed a performance oriented C game library (https://github.com/aoineko-fr/CMSX).
I can help, but I don't have any documentation yet. ^^

For documentation about the hardware, you can found information on this site's wiki (https://www.msx.org/wiki/Category:Programming) or on the great MSX Assembly Page site (http://map.grauw.nl).

Welcome to the MSX world. \o/

Van freedom711

Rookie (32)

afbeelding van freedom711

06-07-2021, 19:30

WOOOW!!! Thanks a L O T !!!

Van reidrac

Expert (98)

afbeelding van reidrac

11-07-2021, 09:25

For SDCC compiler, there's also this one: https://www.usebox.net/jjm/ubox-msx-lib/ -- and I'm sure there are others!

Is not as big or complete as FUSION-C, but that could be a good thing? It depends on what you need.

Those are the libraries I used with Night Knight and Uchusen Gamma and it comes with an example game.

Van geijoenr

Champion (362)

afbeelding van geijoenr

11-07-2021, 10:03

You can also take a look at the retrodeluxe engine:

https://github.com/retrodeluxe/rlengine-msx

the documentation is still lacking, but there are lots of examples in the tests folder.