Turbo Pascal and GFX9000

By edoz

Prophet (2501)

edoz's picture

10-06-2011, 22:49

Is it possible to use turbo pascal language with this device?
Does anybody know ?
I think i want to try more with my MSX. After some looking to different programming languages i think pascal is easy to learn.
But i want to know the limitations for pascal on MSX. I think C is to complex for me at this moment.

Login or register to post comments

By Tanni

Hero (556)

Tanni's picture

11-06-2011, 00:35

I don't see a reason why it shouldn't be possible.

If you use Turbo Pascal, the only ''limitation'' I can think of is that there is a ca. 8 KB runtime library, so every com file generated has at least 8 KB. Turbo Pascal provides an Inline statement to enable mc routines. You easily can access memory locations and ports. I can provide you some TP programms for learning, if you like.

By Manuel

Ascended (19688)

Manuel's picture

11-06-2011, 12:42

At the moment, I do not know of any TP libraries for GFX9000. So, as Tanni said, you'll have to write it yourself... Which is not trivial.

I don't know about any C library for GFX9000 either... do you?

By edoz

Prophet (2501)

edoz's picture

13-06-2011, 00:10

Hi Tani, It sounds nice to give TP a try. I'm totaly new to Turbo Pascal so i'm now trying to find out what is the best way and where to start. For now i just downloaded TP 3 and i'm no looking for a good way of working (editor and things like that.. say best practise)
So i understand there is no GFX9000 library for TP. Maybe it's wise to start just with the simple things for now Wink

By Tanni

Hero (556)

Tanni's picture

13-06-2011, 00:45

If you provide me your e-mail address, I'll send you a .dvi-file with all you require for the start, including TP, so you can learn it on an emulator, which, for that purpose, is way better than using a real MSX. Turbo Pascal has an editor included, so you don't need an extra one. On that dsk.file, there are simple and somewhat more advanced program source codes. All other instruction can be done via e-mail. Tell me about your previous programming skills in other languages, that makes it easier for me to help you.

By edoz

Prophet (2501)

edoz's picture

13-06-2011, 20:44

Hi Tanni, It sounds very nice that you want to help me learling TP. I realy thank you for this!
My mail adress is evanzanten AT home DOT nl
If you want to send me some information it would be nice. I have not realy a background as a programmer.. but i have a IT background.
For my job sometimes i use Visual Basic 2008/2010 to make some custom programs. Most of the time to SQL databases or other microsoft things.. like Active Directory etc.
My last program was a program for deploying software (Software update tool) in one of my projects. On MSX i have some basic basic skills.. but not specitulair. However most i can understand and read. Hope this wil help learning TP Wink

By PingPong

Enlighted (4156)

PingPong's picture

13-06-2011, 20:56

does the borland turbo pascal support overlay?

By Manuel

Ascended (19688)

Manuel's picture

13-06-2011, 22:39

Yes. But by all means, use TP 3.3.