Thinking seriously jump to MSX-C / Pascal / ASM

Page 2/3
1 | | 3

Par AxelStone

Prophet (2794)

Portrait de AxelStone

02-03-2015, 17:33

konamiman wrote:

C is a wonderful language for MSX development as long as you are not developing action games or something that needs to squeeze up to the last clock cycle from the Z80. Compared to pure assembler it makes bigger and slower programs, true; but development is A LOT easier and faster. From some time ago I am developing all my sowftare in C, except for really critical components such as the Nextor kernel (but even then, Nextor's integrated FDISK tool is written in C!)

My advice is to give C a try. Keep in mind also that you can always write in assembler those parts of your program that are too slow or too big; writing a small chunk of assembler is much more affordable than writing a whole application!

As for the C compiler, I use SDCC, mainly because nowadays it's a lot easier for me to develop using a PC and to test using an emulator than to use a real MSX for that (but mind you, I always test my software in my real Turbo-R before releasing it!) and even more important, I have access to proper source code control tools.

If you are going to take a look at SDCC, check out the SDCC section in my web too, as there are some useful resources.

Amigo, se cruzaron nuestros correos. Me vas a perdonar, tenía intención de usar el NestorBasic, pero la limitación de 10Kb sigue ahí y es lo que me impide avanzar :( . Sobre el compilador SDCC, ¿soporta sin problemas las librerías de MSX para gráficos y demás? Gracias.

We crossed our emails ;) . I thought about using Nestor Basic but the 10Kb limitation still remains, so it prevents me to advance. About SDCC compiler, does it support native MSX-C libraries as graphic libraries?

Thanks.

Par Trebmint2

Master (215)

Portrait de Trebmint2

02-03-2015, 18:49

Hi, as the author of Unify, can I just say a couple of things. I can understand why you'd think it was a scripting language as at its core its based around seemingly unconnected chucks of code contained within functions. This however isnt actually any different really to how Microsoft studio works. The only thing Unify does that you don't have control of is event capture and distribution. You can use either the basic like language or ML how you want. The problem with using Unify and indeed symbos for creating an RPG at the moment is that its form based... and that wont be the case within the near future.

In the long term Unify/Symbos we hope will be the best option for a RPG coder, or any very large scale game. Networking, Large Storage options, Streaming video etc are all built in. Development is also RAD as the tools are all built in.

Par PingPong

Prophet (3598)

Portrait de PingPong

02-03-2015, 22:47

AxelStone wrote:

One question, why you suggest not even try Pascal? It's perhaps abandoned? Thanks Wink

The pascal compiler from borland is something of very efficient. I do not know if sdcc is comparable.
Plus i think you get overlays a techique to fit in ram a program bigger than available RAM, by swapping from disk.

Par gdx

Prophet (3923)

Portrait de gdx

03-03-2015, 00:28

Only the assembler provides access to all the resources of MSX. (Slot, Mappers, etc)
You arrive quickly enough to various constraints with other languages.
A good asm code source library can greatly simplify the programming.

A real Basic compiler on MSX is a old dream for me.

Par AxelStone

Prophet (2794)

Portrait de AxelStone

03-03-2015, 08:13

PingPong wrote:
AxelStone wrote:

One question, why you suggest not even try Pascal? It's perhaps abandoned? Thanks Wink

The pascal compiler from borland is something of very efficient. I do not know if sdcc is comparable.
Plus i think you get overlays a techique to fit in ram a program bigger than available RAM, by swapping from disk.

Yes this is a very powerfull feature of Turbo Pascal, you can overlay different methods that are not used simultaneously in the same zone of RAM. My only doubt about Pascal is the lack of support of the comunity, maybe? I've found a set of libraries written for Kari Lamassari that seems very complete.

Par ericb59

Paragon (1030)

Portrait de ericb59

03-03-2015, 08:10

Hé I was not aware Pascal exist on MSX ! oO

I quickly find this page : http://pascal.hansotten.com/index.php?page=msx-and-pascal
Very interesting...
Is there other Turbo pascal ressources for MSX elsewhere ?
Is there some MSX stuff written in Pascal out ?

Par AxelStone

Prophet (2794)

Portrait de AxelStone

03-03-2015, 08:17

ericb59 wrote:

Hé I was not aware Pascal exist on MSX ! oO

I quickly find this page : http://pascal.hansotten.com/index.php?page=msx-and-pascal
Very interesting...
Is there other Turbo pascal ressources for MSX elsewhere ?
Is there some MSX stuff written in Pascal out ?

I worked in MSX-Pascal 20 years ago oO oO . I wrote even a small strategy game using Pascal, but it was in text mode. I keep a good memory of it: very very easy to learn. The only fault was that you can't access to hardware resources but it seems that libraries I mentioned has all needed functions: copys, music players... Perhaps I'll give it a try

Par ericb59

Paragon (1030)

Portrait de ericb59

03-03-2015, 08:23

I would like to try Pascal !!
It's a language I started to learn at school 30 years ago, and yes it was easy to learn.
Where are the libraries you are talking ?

Par ARTRAG

Enlighted (6462)

Portrait de ARTRAG

03-03-2015, 08:44

But nowadays c is more supported as sdcc and HiTech C crossbow pile are more evolved than Pascal by borland
Sdcc is still evolving while Pascal by borland has stopped in late 80's and is the sole compiler for msx I know

Par ericb59

Paragon (1030)

Portrait de ericb59

03-03-2015, 08:50

Yes your are totally Right Artrag !
I have same problems with C than with ASM, it 's too obscur for me !

Page 2/3
1 | | 3