MCBC MSX Club Basic Compiler

Por Joost

Supporter (13)

imagem de Joost

27-11-2020, 20:59

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

Entrar ou registrar-se para comentar

Por meits

Scribe (6534)

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

Por Joost

Supporter (13)

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

Por meits

Scribe (6534)

imagem de meits

28-11-2020, 11:17

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

Por Joost

Supporter (13)

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

Por Amaury Carvalho

Resident (36)

imagem 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

Por jltursan

Prophet (2619)

imagem de jltursan

26-01-2021, 15:16

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

Por Amaury Carvalho

Resident (36)

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

Por Pippo

Hero (521)

imagem 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