Basic Compiler

Door gdx

Prophet (3037)

afbeelding van gdx

03-09-2018, 08:43

Hello,

I looking for information about the Basic Compiler by Heart Soft.

Now I can compile (with CALL G or CALL B) and run it (CALL R) but I can't save compiled programs for directly execute it. So this compiler is useless.

Aangemeld of registreer om reacties te plaatsen

Van mars2000you

Enlighted (5513)

afbeelding van mars2000you

03-09-2018, 10:38

Does the rom have been dumped? If you have a dump, take a look with an hexadecimal editor to find all the CALL instructions. There's probably more than the 3 mentioned instructions.

Van mohai

Paladin (838)

afbeelding van mohai

03-09-2018, 10:39

Maybe BSAVE can save compiled code.

Van gdx

Prophet (3037)

afbeelding van gdx

03-09-2018, 11:34

I saved the area at indicated addresses but I can't execute it even with CALL R.

Van mars2000you

Enlighted (5513)

afbeelding van mars2000you

03-09-2018, 11:24

I guess you mean 'I can't execute it'. Maybe you need to add a header.

Van gdx

Prophet (3037)

afbeelding van gdx

03-09-2018, 11:45

Yes. About header, I don't know.

Van nitrofurano

Champion (287)

afbeelding van nitrofurano

03-09-2018, 22:24

(semi-offtopic) talking about cross-compilers (not what BASICコンパイラ was) some people in the Brazilian MSX scene wonder if someone can help forking Boriel’s ZX-Basic Compiler to something more compatible with msx-basic - honestly saying, i have nothing to complain about targeting MSX from Boriel’s ZX-Basic Compiler ( http://nitrofurano.altervista.org/retrocoding/msx/index2.html except first link ), but people there seems way more picky than me! :D

Van gdx

Prophet (3037)

afbeelding van gdx

04-09-2018, 02:06

Thanks Nitrofurano, There are other BASIC compilers on MSX that I would like to try before.

Basic Compiler MCBC II (FGI)
https://www.generation-msx.nl/software/fgi/mcbc-ii/release/3...

Basic Compiler (Soft Wrest)
https://www.generation-msx.nl/software/soft-west/basic-compi...
https://www.generation-msx.nl/software/soft-west/basic-compi...

About Basic Compiler (Heart Soft), it seems that additional routines and library are required.
https://www.generation-msx.nl/software/heart-soft/basic-comp...
https://www.generation-msx.nl/software/heart-soft/basic-comp...

And I do not find them yet.

Van gdx

Prophet (3037)

afbeelding van gdx

04-09-2018, 11:54

At first glance, the compiler can only create an object file executable by CALL R. Then, we would use the cassette Runtime Routine Support Set to create the executable binary file.

Does anyone have the instructions manual?

Van Manuel

Ascended (15750)

afbeelding van Manuel

04-09-2018, 22:19

MCBC II is quite good. Several games were made with it, e.g. the games by AurorA.

Van PingPong

Prophet (3448)

afbeelding van PingPong

04-09-2018, 22:49

nitrofurano wrote:

(semi-offtopic) talking about cross-compilers (not what BASICコンパイラ was) some people in the Brazilian MSX scene wonder if someone can help forking Boriel’s ZX-Basic Compiler to something more compatible with msx-basic - honestly saying, i have nothing to complain about targeting MSX from Boriel’s ZX-Basic Compiler ( http://nitrofurano.altervista.org/retrocoding/msx/index2.html except first link ), but people there seems way more picky than me! :D

boriel compiler is best in all aspects than msx basic at a language level