MSX Compilator

Page 2/8
1 | | 3 | 4 | 5 | 6 | 7

Par bosh77

Resident (44)

Portrait de bosh77

23-07-2015, 23:53

Hi pingpong, are still at the beginning, so it will take a few months. My idea is to create the basic assembly code, and take advantage of all available MSX ram memory or cartridge, depending on whether you choose to compile for DISK or ROM. All this will think the compiler. I have no idea how to handle strings, each proposal is welcome. Language is Monkey (www.monkey-x.com), very good to fill in for compile to every OS and also mobile.

Par ARTRAG

Enlighted (6933)

Portrait de ARTRAG

24-07-2015, 08:24

Iirc there are already basic compilers for z80 systems (for spectrum http://www.boriel.com/wiki/en/index.php/Main_Page)
are you starting from scratch or intending to adapt something already existing?

Par ericb59

Paragon (1099)

Portrait de ericb59

24-07-2015, 08:05

I'm very interesting by this project !
I

Par edoz

Prophet (2478)

Portrait de edoz

24-07-2015, 12:40

Manuel wrote:

It would be cool if someone would make this. FINALLY. Tongue

(Oh, and Symbasic is kind of on the way, but what you want is a very optimizing basic compiler, like MSX-BASIC Kun, but then implemented on modern hardware, taking care of all the calculation power you have there!)

Indeed, Symbasic or now days called Unify is already a lot like this. Unify is like a dot.net language and can be compared to VB.NET or C#.NET. You have all the benefit of the modern PC, You can design your screens and convert grapics, you can code in object orientated way and everything is compiled to assembly. Trebmint did a lot of work last months and the compiler is optimized a lot now. Of course it is only for the SymbOS.

It looks like this:

Today as we speak i'm working on a multiuser -chat program (as we only had peer to peer) . I designed a chat server that is on the internet and you simply connect with a client to the server. The MSX version is designed in Unify.

I also desgined a PC version ;)

beside using the unify language, you can switch in your project. Between Assembly and Unify. or use both.
I cannot write a word assembly so that is not for me but i think if you like assembly more you are still able to use it.

Anyway.. i don't want to go off topic but when Unify is released it is maybe worth a try.

Par bosh77

Resident (44)

Portrait de bosh77

25-07-2015, 01:03

Hi ARTRAG, thank you for the link, very interesting. My project starts from zero, but if there is already code that I can use without restrictions, then much better.

Hi ericb59, I'm glad that the project interests you!

Hi Edoz, thank for your advice, when Unify will be released, I will study definitely!

In summary, I am creating now IDE, then I'll have to think to the parser to translate from BASIC to ASSEMBLY.
I think that the language used should be very similar to the MSX-BASIC, plus many new features, an idea for example:
filename$()=GetFiles() that returns an array of strings with file names into filename$().
Again any help will be welcome!

Par ARTRAG

Enlighted (6933)

Portrait de ARTRAG

25-07-2015, 12:11

I think you can branch the whole boriel compiler and make it able to produce msx roms by only making open source your version

Par Astesbas

Supporter (2)

Portrait de Astesbas

27-07-2015, 03:49

I'm working on an IDE for retro-platforms (the first available target platform is MSX and other Z80 based processor machines). It's based on Netbeans platform and currently uses the Glass assembly compiler. It is still under development, but is possyble to compile ROMs, DOS programs and binary "executables". If you would like to know more about it: www.objectware.net/products/

regards

Par ARTRAG

Enlighted (6933)

Portrait de ARTRAG

27-07-2015, 09:37

Interesting, I usually use notepad ++ and sjasm
what is the gain with glass and your ide?

Par Astesbas

Supporter (2)

Portrait de Astesbas

27-07-2015, 17:37

The IDE is under development and currently only the basic features are available (structured files and project management, syntax highlighting and compilation scripts that lets you compile/run with a single click). There is also a built-in binary file viewer/editor (under construction). Right now I'm working on a sprite editor and there is a "wish list" of some features like a disassembler and a sound generator based on the PSG.
There is the possibility to use an external compiler, like sjasm, TASM and many others (in fact, any compiler that you are able to run in your system via shell script).
That's it!

Par bosh77

Resident (44)

Portrait de bosh77

01-12-2015, 20:26

This is the first version of my project:
It's a very simple version only for testing...

www.kreativesoftware.it/msxproject/MSXCompilatorV01.zip

If you have blueMSX you can try directly after set path with F4!

otherwise in "examples" folder, you will find the DSK file created after compilation.

Page 2/8
1 | | 3 | 4 | 5 | 6 | 7