MSX Compilator

Page 3/4
1 | 2 | | 4

By gdx

Enlighted (4833)

gdx's picture

02-12-2015, 01:05

Please replace all "POKE-1,170" by "POKE-1,(15-PEEK(-1)\16)*17" in your programs! Shocked!

By samsaga2

Resident (62)

samsaga2's picture

02-12-2015, 09:40

My two cents:
- Don't waste your time writing an IDE. You can create plugins for emacs, vim, atom, sublime, etc...
- Use an intermediate language, don't compile directly to z80 from the source code. It will be easier to optimize the code and in a future you can add more languages. It's also useful to optimize the code for multiple targets ( like z80 and r800).
- An MSX Basic with functions like alloc and free would be very interesting.
- Github and pull requests are very useful.

By Grauw

Ascended (10181)

Grauw's picture

02-12-2015, 10:00

samsaga2 wrote:

- Github and pull requests are very useful.

I personally like BitBucket better Wink. You can have private repositories for free. And Mercurial version control.

By bosh77

Rookie (18)

bosh77's picture

02-12-2015, 13:12

Ok gdx, thank you for your suggestion!
Hi samsaga2, my project want to be entirely native and specific for systems MSX, although the idea of the intermediate language is interesting, thank you for the suggestion!
In the future it will expand to other processors or other systems.

By bosh77

Rookie (18)

bosh77's picture

27-12-2015, 03:14

Here is the second version of the project that now use the BASIC language.

www.kreativesoftware.it/msxproject/MSXCompilatorV02.zip

For now are only a few commands, as in the example, but in the future will be added all MSX-BASIC commands.

By ericb59

Paragon (1049)

ericb59's picture

27-12-2015, 08:12

Very intereting project.
The sample seems doens't work.
I can see a screen "I'm loading" then MSX make a reset (BlueMSX. MSX2 Emulation)

By gdx

Enlighted (4833)

gdx's picture

27-12-2015, 09:58

It's because Bosh77 has not replaced the "POKE-1,170" by "POKE-1,(15-PEEK(-1)\16)*17".

By bosh77

Rookie (18)

bosh77's picture

27-12-2015, 12:51

ok, now I corrected according to the suggestion of GDX.
Download at the same link.
ericb59, I suggest you try with an MSX2 machine emulator.

By chalky

Resident (61)

chalky's picture

01-01-2016, 20:40

Wow! I hope you continue developing this - what you've achieved so far looks very promising.

By Neurox66

Supporter (3)

Neurox66's picture

02-01-2016, 08:44

Very interesting.
when it will be available for Mac OS X?

Page 3/4
1 | 2 | | 4