MCBC MSX Club Basic Compiler

By Joost

Supporter (12)

Joost's picture

27-11-2020, 20:59

Does anyone know where to buy the MCBC?
Ik like to experiment with it!

Login or register to post comments

By Meits

Scribe (6458)

Meits's picture

27-11-2020, 21:48

As they released it on their CD with MCCM 90 I dare share a link of the disk images. I guess this is what you search for.
Just now I realize you have to rename the extension to DSK yourself. ;)

By Joost

Supporter (12)

Joost's picture

28-11-2020, 11:14

Thank you! Now it is to find out how to use mcbc..a simple bload"mcvc.bin", r gives a 'out of data', on nms8245 with sd and also with floppy. Some files on the disk give an error, but I will find out..

By Meits

Scribe (6458)

Meits's picture

28-11-2020, 11:17

MSX Club, where the MC part stands for, has their complete magazine collection online ;)

By Joost

Supporter (12)

Joost's picture

28-11-2020, 12:17

Yes!, I made "msxworld"! run"control", 1 load compiler, 2 compile program, load basic program, _comp
run"control" again. 4 save compiled program other extension .mem. load "loader.bas"
change row 40 in msxworld.ldr, change row 60 msxworld.mem change row 90 msxworld.b4m
save as "msxworld.ldr"
then new
10 OUT &HFD,3:_MEM:OUT &HFD,2
save as "msxworld.b4m"
run"msxworld.ldr"

NICE! ...first steps to machine language..

By Amaury Carvalho

Rookie (24)

Amaury Carvalho's picture

26-01-2021, 13:44

Give a try to MSXBAS2ROM, a brand new experimental MSX Basic compiler based on Basic Kun.

MSXBAS2ROM is an opensource command line tool thats run on Windows/Linux. You can create a compiled ROM file from your Basic code using the "-c" parameter just like this:

msxbas2rom -c program.bas

More information:

https://launchpad.net/msxbas2rom

By jltursan

Prophet (2557)

jltursan's picture

26-01-2021, 15:16

Cool, so it turns a plain MSX-BASIC listing into a Kun-driven compiled basic rom?

By Amaury Carvalho

Rookie (24)

Amaury Carvalho's picture

26-01-2021, 17:13

The compiled code uses only a subset of Basic Kun support library (float point math, graphics statements...), and its subset can be switched for another library easily in the future. All compilation process and code generation its made from scratch with own algorithm without Basic Kun involvement.

By Pippo

Champion (510)

Pippo's picture

27-01-2021, 06:13

Fantastic work, Amaury! Big smile Big smile
Thanks really a lot for your interest in Msx System. Smile