Archives on August, 2021

Bike Statistics

Posted by ALB42 on 15. August 2021No Comments

I use my bicycle regularly, drive every day to work and nearly every day a little round as training just for fun. Having and iPhone and Apple Watch, it’s very easy to record the tracks with that (I use an app called „Trailes“) of course would be even nicer to have some statistics about it, sadly the App does not really have that.

Therefore I coded my own little tool to show some statistics about my last rounds, as always for the last programs I did I coded it with Free Pascal for Amiga and it worked quiet nicely and easy, most of the stuff is already there in MUIMapparium (reading GPX files and calculating track properties)

So here it is:

2 hours of work and it loads the GPX data and shows them in a nice little table with settings to choose the columns and sort them by it. Free Pascal power at its best.

Free Pascal IDE on Workbench 1.3

Posted by ALB42 on 4. August 2021No Comments

Working a little bit on the Workbench 1.x compatibility of Free Pascal compilation. A lot of important calls are missing for 1.x which makes it a bit difficult to compile the same program for OS3.x and 1.x especially all the TagList calls are missing. I implemented some of them by hand (like OpenScreenTags, OpenWindowTags) to make it a bit easier. As a test I chose the Free Pascal IDE, I do not really expect it to be usable, because of the huge DOS mode chars und FreeVision emulation, which is needed. But after some days of coding, finally it somehow works (without any changes inside of the IDE source code). In the DOS Mode emulation I changed it to be always on a own 16 color screen and always use the smaller font, everything is unchanged. so very nice.

A little video:

Sadly I still can’t upload the changes because Free Pascal is still on the move to GitLab and it’s not finished.