MCBC MSX Club Basic Compiler

Par Joost

Supporter (13)

Portrait de Joost

27-11-2020, 20:59

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

!login ou Inscrivez-vous pour poster

Par meits

Scribe (6573)

Portrait de meits

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. ;)

Par Joost

Supporter (13)

Portrait de Joost

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

Par meits

Scribe (6573)

Portrait de meits

28-11-2020, 11:17

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

Par Joost

Supporter (13)

Portrait de Joost

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

Par Amaury Carvalho

Resident (41)

Portrait de Amaury Carvalho

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

Par jltursan

Prophet (2619)

Portrait de jltursan

26-01-2021, 15:16

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

Par Amaury Carvalho

Resident (41)

Portrait de Amaury Carvalho

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.

Par Pippo

Hero (521)

Portrait de Pippo

27-01-2021, 06:13

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