[Turbo Pascal] Q&A official thread

Page 14/17
7 | 8 | 9 | 10 | 11 | 12 | 13 | | 15 | 16 | 17

By Manuel

Ascended (17048)

Manuel's picture

03-05-2020, 19:18

How do I get it to you?

By rolandve

Master (220)

rolandve's picture

03-05-2020, 21:43

Zie je email.

By popolony2k

Hero (532)

popolony2k's picture

04-05-2020, 04:23

rolandve wrote:

And another one with Turbo Pascal 3.3f

Popolony2K's libraries also behaves erratic on interaction addressing VRAM. This is a 3.3f issue. Using 3.0 the program runs as expected. You can try, with this code straight from the libraries: names left out for privacy.

Please tell me what happen when you're using PopolonY2k's library ? This is an oldest part of my library, so maybe i did something is not working well or even it needs some adjustments.

If you can, please send me more details.

Regards
PopolonY2k

By rolandve

Master (220)

rolandve's picture

04-05-2020, 20:28

Hi Popolony,

Good to see your still around. Hope in good health. The code I posted hangs in my system when compiled with turbopascal 3.3F. The other is KARI's library. Every now and then I run in to situations where the built-in dependency on GIOS and memman pops up. I traced the unstable situations to situations where the EI instruction was not added to inline. Result is that the system more or less hangs. I've moved on and I can't point my finger to code that had that issue.

Cheers

By popolony2k

Hero (532)

popolony2k's picture

05-05-2020, 01:07

Thanks, I'm fine and I hope you too and with perfect health.

I think both, mine and Lamassari's libraries are working fine in Turbo Pascal 3.0 (Borland). I don't know if Turbo Pascal 3.3f is really 100% compliant with Borland's compiler because some users are complaining about some behaviours of this 3.3f version.

In fact I'm working to improve my library and soon I'll release a big improvement to my library.

After this I'll start working with FreePascal.

[]'s
PopolonY2k

By rolandve

Master (220)

rolandve's picture

05-05-2020, 10:03

Both your libraries work very well in 3.0 There is a design difference between the libraries, though: you created generic libraries where Kari created a library supporting certain aspects like video output, character manipulation. Mixing both Libraries is possible, but you need to tweaks both. Dependencies introduce constants that are redefined in the others library. Etc, etc.

A new pascal compiler like Freepascal would be very nice, are you going to look at the Z80 back-end or are you leaving Z80?
The TP compiler however has a. slew of optimisations that it could use, like leaving out unused functions and variables. No built-in runtime with all possible function, but just with what's needed. I've noticed some TP functions are slow compared with their direct assembly equivalents. So a new pascal compiler is more than welcome.

By Manuel

Ascended (17048)

Manuel's picture

05-05-2020, 14:12

I never mixed Kari's libraries with the GIOS ones. I only used Kari's libs with TP 3.3f, and I don't remember having problems with it.

By popolony2k

Hero (532)

popolony2k's picture

05-05-2020, 17:02

Yes, using Kari's and mine libraries is possible like you wrote before. Soon I will extend mine library to add support to graphics V9990 and so on.

About FreePascal, I'm not leaving Z80...recently and finally, FreePascal teams added support to Z80 and an initial support to ZXSpectrum RTL in FPC.

I subscribed FPC developers forum to understand how they work and try helping in Z80 support and I'll try to add MSX RTL support too.

There is a lot of work to do.

[]'s
PopolonY2k

rolandve wrote:

Both your libraries work very well in 3.0 There is a design difference between the libraries, though: you created generic libraries where Kari created a library supporting certain aspects like video output, character manipulation. Mixing both Libraries is possible, but you need to tweaks both. Dependencies introduce constants that are redefined in the others library. Etc, etc.

A new pascal compiler like Freepascal would be very nice, are you going to look at the Z80 back-end or are you leaving Z80?
The TP compiler however has a. slew of optimisations that it could use, like leaving out unused functions and variables. No built-in runtime with all possible function, but just with what's needed. I've noticed some TP functions are slow compared with their direct assembly equivalents. So a new pascal compiler is more than welcome.

By rolandve

Master (220)

rolandve's picture

05-05-2020, 18:08

Manuel wrote:

I never mixed Kari's libraries with the GIOS ones. I only used Kari's libs with TP 3.3f, and I don't remember having problems with it.

I wasn't referring to any library related to you. Some of Kari's libraries explicitly say they shouldn't be used with 3.3F because there is a bug in how 3.3 handles pointers.

By Manuel

Ascended (17048)

Manuel's picture

05-05-2020, 18:13

Really? Then I must have completely forgotten that.

Page 14/17
7 | 8 | 9 | 10 | 11 | 12 | 13 | | 15 | 16 | 17