c language for msx

By freedom711

Rookie (32)

freedom711's picture

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

Login or register to post comments

By x-nen Aivalahostia

Paragon (1546)

x-nen Aivalahostia's picture

06-07-2021, 10:35

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

By AxelStone

Prophet (3199)

AxelStone's picture

06-07-2021, 13:39

By freedom711

Rookie (32)

freedom711's picture

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

By aoineko

Paladin (1004)

aoineko's picture

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/

By freedom711

Rookie (32)

freedom711's picture

06-07-2021, 19:30

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

By reidrac

Expert (98)

reidrac's picture

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.

By geijoenr

Champion (366)

geijoenr's picture

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.