ASCII MSX C compiler options and examples?

Page 2/5
1 | | 3 | 4 | 5

By ARTRAG

Enlighted (6550)

ARTRAG's picture

16-03-2011, 20:24

Egypt is a nice riddle, here you will find the .com version compiled with HiTech C v7.8

https://sites.google.com/site/devmsx/egypt-puzzle-game

By fukenko

Champion (357)

fukenko's picture

17-03-2011, 01:13


I read somewhere that ASCII's MSX-C was an adaptation for MSX-DOS of a preexisting CP-M compiler, I don't know if from Microsoft or C80 from LSI Japan... could you confirm any of these ipothesis?

According to "MSX MAGAZINE Eikyu hozon ban3",MSX-C is developed by LSI Japan.MSX-C is thought to MSX-DOS version of LSI-C 80.
BTW,I found PDF of "MSX-C Nyu-mon vol.1" in "MSX MAGAZINE Eikyu hozon ban3" CD-ROM.Though it's written in Japanese,please see it.

https://sites.google.com/site/fukenko/

ARTRAG,thanks for compiling and uploading .com version!

By janghang

Expert (121)

janghang's picture

17-03-2011, 05:36

Thank you so much for these great examples, ARTRAG!


Egypt is a nice riddle, here you will find the .com version compiled with HiTech C v7.8

https://sites.google.com/site/devmsx/egypt-puzzle-game

By ARTRAG

Enlighted (6550)

ARTRAG's picture

17-03-2011, 08:59

In the docs you are sharing, I see there is an MSX-CURSES library
Sadly I am not able to read Japanese, can anyone tell me what kind
of library it is?
CURSES is a very useful library for porting existing C programes
http://en.wikipedia.org/wiki/Curses_(programming_library)
Is it released with its sources in ASCII - C?
If sources were available, I could also adapt them to Hi-Tech-C

By janghang

Expert (121)

janghang's picture

17-03-2011, 11:42

Hey ARTRAG,

yes, they released the source code in the package

In the docs you are sharing, I see there is an MSX-CURSES library
Sadly I am not able to read Japanese, can anyone tell me what kind
of library it is?
CURSES is a very useful library for porting existing C programes
http://en.wikipedia.org/wiki/Curses_(programming_library)
Is it released with its sources in ASCII - C?
If sources were available, I could also adapt them to Hi-Tech-C

By ARTRAG

Enlighted (6550)

ARTRAG's picture

18-03-2011, 09:50

Thanks for the files! If I succed to port them to HiTech C v7.8 I'll release them
Tons of games (including some roguelike game) with public sources are based on curses library
Smile

By MicroTech

Champion (385)

MicroTech's picture

21-03-2011, 11:56


According to "MSX MAGAZINE Eikyu hozon ban3",MSX-C is developed by LSI Japan.MSX-C is thought to MSX-DOS version of LSI-C 80.
BTW,I found PDF of "MSX-C Nyu-mon vol.1" in "MSX MAGAZINE Eikyu hozon ban3" CD-ROM.Though it's written in Japanese,please see it.
https://sites.google.com/site/fukenko/

Thanks again fukenko (and sorry for my late answer).

I find that LSI C80 for CP/M is not supported any more (from a lot of years).
If I understand correctly there exist a PC (MSDOS?) cross-compiler version (which is still supported and not free).

I have a wish/proposal: what about asking to LSI to release as freeware the MSX-DOS version of their compiler, related documentation and, more important of all, also the sources of the code generator/parser (CG.COM, CF.COM, FPC.COM) :-?
I think there is no more commercial interest in those products so LSI should not be damaged form releasing all mentioned items as free.

By ARTRAG

Enlighted (6550)

ARTRAG's picture

21-03-2011, 15:19

Here there is the bsd-c compiler with its sources
http://www.bdsoft.com/resources/bdsc.html

By MicroTech

Champion (385)

MicroTech's picture

05-04-2011, 10:56

Here there is the bsd-c compiler with its sources
http://www.bdsoft.com/resources/bdsc.html

Sorry for late replay: thanks for the link ARTRAG.
Afaik BSD compiler does not produce efficent executables... Imho MSX-C is the best for performance.
Also SDCC is interesting but:
1) it is a cross-compiler... maybe I'm too "purist" but I would prefer to use MSX to generate code for MSX B-)
2) there is no support for symbolic debug on MSX... or am I wrong :-?

@ fukenko:
Did you read my previous post about contacting LSI?
What do you think about it?

By Josb

Master (205)

Josb's picture

05-04-2011, 16:22

Sorry MicroTech

I don't agree when you say that "BSD compiler does not produce efficent executables", unlike BDS produces the most efficient executables although it only produces code for CP/M & 8080 (Sadly, it does not use all op-codes of Z80)

As fas as I know BDS produces code faster and smaller than Hi-C, MSX-C or even SDCC and its code and docs are found in its web. So it can be made into another better.

In my opinion BDS is the best option to use in a real machine and it is easy to use. (however it needs some libraries for graphics)

It is only an opinion

Page 2/5
1 | | 3 | 4 | 5