Cross-platform C development for MSX

By user888

Expert (66)

user888's picture

27-12-2014, 11:27

Hi there. Despite complete lack of time I decided to start developing for MSX. To make it easier for others to start I decided to share my findings and development environment.

I hope to merge it in the future with Konamiman's repository so there is one repository to use with all major host platforms (Linux, Mac, Windows).

For now the link: https://bitbucket.org/conveniencedev/msx-devel/wiki/Home

Login or register to post comments

By ARTRAG

Enlighted (6323)

ARTRAG's picture

27-12-2014, 11:50

Very nice! I wanted for long time to do the same using HiTech cross compiler (I use version 7.8pl2), but that compiler cannot be safely considered free (maybe abandonware?) so I desisted.

By anonymous

incognito ergo sum (109)

anonymous's picture

27-12-2014, 17:58

Thanks! I now see I posted this in the wrong section. Can a moderator move it to Development?

{mod: done}

By janghang

Expert (115)

janghang's picture

27-12-2014, 20:05

ARTRAG, do you mean you have changed your compiler from HiTech? If so, which c compiler are you using now?

By ARTRAG

Enlighted (6323)

ARTRAG's picture

27-12-2014, 22:17

No. I keep using Hitch c. Only I didn't do a blog with my files and templates.

By janghang

Expert (115)

janghang's picture

29-12-2014, 21:47

I see. Thanks. Do you think Hitech-C has advantages compared to SDCC? I am wondering why you are sticking to Hitech-C (I think HitechC requires using even older version of MS-DOS - am I right? and that makes me hesitate to use it). Because I think that you are one of the best MSX programmers in the world, your experience would be very useful for other newbies!

By ARTRAG

Enlighted (6323)

ARTRAG's picture

30-12-2014, 00:17

Hi janghang, I have to use dosbox to run Hitec-C, but I'm used to it and I've studied how to get what I need (I can get megaroms with any msx mapper, mix asm and C accessing to C variables, pass function parameters using z80 registers ...).
Basically I'm a too lazy to move my projects to another framework.

By PingPong

Prophet (3494)

PingPong's picture

30-12-2014, 23:05

janghang wrote:

I see. Thanks. Do you think Hitech-C has advantages compared to SDCC? I am wondering why you are sticking to Hitech-C (I think HitechC requires using even older version of MS-DOS - am I right? and that makes me hesitate to use it). Because I think that you are one of the best MSX programmers in the world, your experience would be very useful for other newbies!

hitech-c generate code that is a faster then sdcc, for a number of reasons, like the ability to use cpu regs for parameter passing, and on a old z80 this has a serious impact...