c language for msx

Par freedom711

Rookie (27)

Portrait de 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

!login ou Inscrivez-vous pour poster

Par x-nen Aivalahostia

Paragon (1389)

Portrait de x-nen Aivalahostia

06-07-2021, 10:35

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

Par AxelStone

Prophet (3055)

Portrait de AxelStone

06-07-2021, 13:39

Par freedom711

Rookie (27)

Portrait de 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

Par aoineko

Master (165)

Portrait de 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/

Par freedom711

Rookie (27)

Portrait de freedom711

06-07-2021, 19:30

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

Par reidrac

Expert (98)

Portrait de 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.

Par geijoenr

Champion (273)

Portrait de 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.