Archives for OS4

Small, Smaller, Smallest

Posted by ALB42 on 10. Januar 2017One Comment

We (ChainQ and me) activated the section linking for the other Amiga Platforms as well. Freepascal for MorphOS for example will now also use vasm and vlink with section linking. The mentioned MUI demo for example has a size of 82k on MorphOS, so a little bit bigger as on Amiga 68k. Sadly vasm and vlink does not exist for AROS currently (except 68k of course) so there we are bind to the GNU tools. But the AROS ld is much more recent so it supports section linking already. The sizes of the MUI demo for the AROS Platforms: i386: 83k, ARM: 86k, x86_64: 144k. Sadly on AmigaOS4 it still not work, it still needs some fixing in the linker and startup code. Of course it’s nice to have this small sizes on NG Amigas, but more important on the 68k Platform, maybe you remember the compilation attempt on a real Amiga (so not UAE) which needed around 3 minutes and 160 MB RAM. I retried that with vasm and vlink today. It is smaller (1.6 MB instead of 6.5 MB) and also need less RAM for compiling and linking (around 100 MB instead of 160 MB), really nice. The speed does not really change, because it is limited by the Harddisk speed, which is around 1.2 MB/s only for my A1200. I’m thinking to use the SCSI of Blizzard 1260 but I need a fast SCSI to SATA Adpater or so, the one I found in Internet seems not so good, no synchronous transfer, questionable compatibility with the SCSI interface of Blizzard.

Amiga LCL goes official

Posted by ALB42 on 3. Januar 20174 Comments

As explained in the 2016 summary I started to try to introduce the MUI LCL Interface to the official Lazarus subversion repository. I started with the basic compilation nogui LCL, which is a rather small patch (when compared to the complete new MUI widgetset). Today I got answer (after posting that as Bug in the lazarus bug tracker) and the patch got accepted to the official repository. That was my introduction, so now I would like to also include the MUI LCL which will be my next target. It would make the development so much easier. Especially because they change a lot in Lazarus over the time. My branch at github is again so outdated that it means again a new implementation to bring it to latest status (for the 4th time). If it is in the official repository I will directly notice if something change which need my attention. And the people will see the HASAMIGA defines everywhere and maybe care about to not break it 😉

About this year … 2016

Posted by ALB42 on 31. Dezember 20162 Comments

Again a year passed so I will try to give a short summary about things going on in the Freepascal world for Amiga-style systems.

 

In Januar 2016 a big change in Freepascal was done to fix the Varargs version of the amiga library version. All “array of const” are replaced with the better “array of PtrUInt” which is much better to emulate the open end parameter list

 

The MorphOS LCL implementation took a big step in the begin of the year until got the usual suspects to work. All resulted in the first MorphOS FPC release including LCL units in March 2016.

 

A little funny new experience started also in March. I created the first 64Bit ABIv1 AROS distribution. Mainly, of course because I need a test field for the FreePascal AROS x64. For me x64 would be the perfect successor of the i386-aros ABIv1. My suggestion for AROS developer would be to leave i386 ABIv0 as it is, backport changes to there. And change then to x64 ABIv1 (and do not use/promote i386 ABIv1). But the x64 AROS still need much work, many things still crash, much code still cast Pointers to integer so not 64bit ready. This is also the main reason the 64bit distribution did not get much new version, not much changed with the problems there, I retest the usual problems from time to time. Also the FPC 64bit had big problems, which I found out end of 2016 are mainly alignment problems, where AROS made it’s own life much harder than it should be. (reminder “stacked int”s)

 

EdiSyn got a new Version with some bugfixes and basic printing support. End of year it got also a ARM version of EdiSyn to public with some more advanced features.
I also tried EdiSyn on MorphOS and Amiga. But both have some problems because of the different behavior of MUI and Zune. And I did not took much work on it because on MorphOS there is already a very good Editor with syntax highlighting and on Amiga m68k it’s just too slow. But in principle it works just LCL need some more work.

 

LCL on a native Amiga got some improvements to work also if no Graphic card is present, like my A1200 and also ported the usual suspects to m68k Amiga.

 

I used already a Lazarus on Linux to cross compile to AROS i386, in April I created a Lazarus which can cross compile for all supported Platforms (AmigaOS 3, AROS, MorphOS). Because it worked to nicely I planed to release a Lazarus for Linux including the binutils and cross compilers for all Amiga systems. But I noticed it is very difficult, even to write a Manual how to install such a systems. Therefore I decided to create a virtual machine which includes Lazarus, cross compilers and binutils for all Amiga Systems. After Amiga OS 4 was added to Freepascal and LCL I released a 2nd Version including the Amiga OS 4 binutils and cross compiler.

 

ChainQ implemented FreePascal for OS4 long time before already but because of changes in FreePascal and without a maintainer it did not compile anymore. In April ChainQ resurrected it and fixed some basic things, make it self compiling again. Then I took the lead and implemented some OS4units bring FP-IDE to work and finally the LCL with the usual suspects for OS4. Which resulted to a Amiga OS 4 FPC release including LCL. I will continue to maintain the OS4 fpc but will not improve it much more, maybe someone will appear to continue it especially with the unusual interfaces can be found on AmigaOS4.

 

I continued to work on applications using my LCL. This time I got the idea to create a Map application showing routes of my bike GPS. I played around with google maps API and openstreet API. Openstreetmap is much better because google maps you are forced to use the google libs which is difficult at AROS. It get some releases for all available platforms. I also experimented with GPS support, first via a extra program later also directly inside Mapparium, which is still not released.

 

Long Time before I got the direct linking of C static objects to freepascal programs at AROS to work, which was really nice, but no real program resulted from it. On magoriums work on mikmod, I got an idea for a Delitracker like program for AROS, to Play my old modules. I results into my first native Zune program (so without LCL wrapper) ZuPaPlayer. And because Delitracker is working directly on MorphOS and Amiga I concentrated on AROS.

There I also noticed its rather difficult to write MUI applications in Freepascal. In C there are many many macros to make it easier, but they are not directly possible to convert to pascal. There is a muihelper unit in MorphOS with some starts to make it easier. I moved it to ami-extra to make it available to all platforms and extended it a lot. To test and prove the usability of it I started to port the example codes of the official MUI 3.8 release. On Amiga it works very nice on AROS it shows very good the differences of MUI and Zune.

 

Because ChainQ included support for 68000 processor which need some more alignment care. Because of this I created a little RTL for Workbench 1.3 which is really difficult because much things are not available.

 

This year also the port of FPC to ARM AROS including LCL and the usual suspects was done.

 

I try to bring the MUI-LCL to the official repository, started with the basic LCL implementation. Announced at mailing list. We will see how it goes.

Mapparium 0.6

Posted by ALB42 on 10. Juli 2016No Comments

A new Mapparium release bring the image position showing to public including some AREXX commandos for it. But there are more changes. Finally I added a Menu for the Main Window. There are some problems with the menu on MorphOS, and I want to prevent bug announcement about this. I should really again try to find a clue about it. Besides this added overall statistics.

Changes
  • ADD: Image List with EXIF position Data
  • ADD: Image preview
  • ADD: AREXX commands for Add images to imagelist
  • ADD: Menu for Main window and ImageList
  • ADD: Active Route color
  • ADD: Overall statistics
  • FIX: Color settings

Download as always on Mapparium Page

Remember, remember… the holidays

Posted by ALB42 on 3. Juli 2016No Comments

On request I added a nice little feature to Mapparium. It can now extract GPS informations saved in the EXIF of JPG photos. Usually smartphones and better cameras with GPS chips add them to the photos.
Really nice to remember where the photos are taken. a little preview of the image is included, sadly the JPG loading is very slow on MorphOS. I’m not sure whats the reason for this maybe some x86 optimization or general endian problem. So I decided to make the preview with a small preview of the image loaded and call MultiView to show the whole image on request. Mostly the small image is enough to have an idea whats on it. And with MultiView you can inspect in detail. Of course it would be nice to make it configurable later.
 
Little movie to show how it will work:
 

The GPS support will have to wait a version more I think, still need a lot of work, and if included track recording and so on should also be implemented, so still a lot of work.

Mapparium 0.5

Posted by ALB42 on 27. Juni 2016No Comments

The new Mapparium has some basic route calculation support. I found two usable services, YOUR and OpenLS. Both have positive and negative sides, YOUR is much more reliable but only support the orders as text without coordinates where the direction order is active. OpenLS had on my tests some speed issues, sometimes very slow, even 1 day offline as it seems, but it supplies orders also with position informations.

Changes
  • FIX: AROS invisible search text
  • ADD: Routing calculation via YOUR or OpenLS
  • FIX: better Prefs window
  • ADD: Save/load routes from GPX
  • CHG: Open TrackView or RouteView on Show/Edit Button
  • CHG: Moved Track title edit into TrackView
  • ADD: Context sensitive Add Button
  • ADD: Possibility to hide/show tracks/route
  • FIX: Faster drawing for 68k Amiga

Download at Mapparium Page

Mapparium 0.5 on MorphOS

Mapparium 0.5 on MorphOS

Show me the way

Posted by ALB42 on 16. Juni 2016No Comments

I got already some requests for easy route planning inside Mapparium, for me thats not so important, because mostly I just drive without a plan. But it’s funny to play around. In fact I plan both ways of planning, online search “from to” and manual planing by defining some points. But first make the online search, rather easy with “YOUR”. Sadly the by turn announcements are only supplied as text wit no relations to the route. That means you cannot click onto a announcement and zoom to the map where it should happen. I found another one from the university of Heidelberg, and it has map coordinates for every turn. But today when I tried to implement it’s offline :-O I’m a little bit hesitated to include such a service, if it is this unstable to use. Especially because it’s not just offline, but just lagging some minutes to timeout, which is very annoying, because it looks like the application is crashed. (But just waiting for the answer.)

Mapparium 0.4

Posted by ALB42 on 12. Juni 2016No Comments

New Version of Mapparium for all Amiga systems.
Most important changes are, AREXX Port (not available on AROS, due to Zune restriction), Find by IP, Check position, localized search and support for Garmin FIT data. Have fun for me it works already better than my other route inspector programs, I also use it on Linux as my default. I just notice when adding many routes it becomes a litte messy, because the start of every route is the same, maybe I need an option to hide routes from the view.

Changes:

  • ADD: Clear HD Cache by Button in Prefs to a certain zoom level
  • ADD: Find current position (by ip)
  • ADD: Search position by ip (type: ip:x.x.x.x to search)
  • ADD: Get address for current position
  • ADD: Zoom in by double mouse click
  • ADD: AREXX port with commands “goto” and “addwaypoint”
  • ADD: Loading of Garmin FIT data
  • ADD: Other color for active track
  • FIX: Umlauts fix in search header
  • FIX: Search by Return press in search box

Download at Mapparium Page

AREXX on the map

Posted by ALB42 on 10. Juni 2016No Comments

Polluks wrote a little AREXX script to extract positions from JPG exif informations to show on the map, it also create geo: URIs suitable for Mapparium. He also asked me if it would be possible to include AREXX support directly to Mapparium. I always played with the idea to try some AREXX support things, but never had a reason. In principle is rather easy to get a message and return a error value.
 
I added two simple commands to Mapparium, goto and addwaypoint.
 

Mapparium with AREXX

Mapparium with AREXX


 
At AROS sadly I didn’t get the AREXX (or Regina) to work, thats the reason I implement for Amiga Classic at the moment.

Whats written there.

Posted by ALB42 on 5. Juni 2016No Comments

Strange problem appeared with Mapparium on AmigaOS4, all texts are invisible. The funny thing: on my UAE and the OS4 computer at Amiga meeting it was working, difficult to debug. But thanks to some guys at amiga.org I was able to solve it. First I thought it was some Font issue but then I found an informations about color setting in AmigaOS4 and that the given color also contains an alpha value and this was of course always zero for my setting now. MorphOS/AROS/Amiga does not need there a value. And after a failed try (I missed one call) I got a positive feedback from Amiga.org.

 

Besides this I fixed some little things and implemented Garmin tcx reading (also a xml format but seems only for tracks). Because of this I decided to make a new release for all platforms not only for AmigaOS4 and called it 0.3.

 

Mapparium 0.3

OpenStreetMap viewer for all Amiga systems.

0.3

  • FIX: Invisible texts on OS4
  • FIX: Go offline if internet is down
  • FIX: Start folder for load/save dialogs
  • FIX: Filter for dialogs
  • FIX: Version informations
  • ADD: Load tracks from Garmin TCX files
  • ADD: Set size of middle marker
  • ADD: Support for geo: URIs
  • ADD: DblClick to lower panel copies middle position to clipboard as geo: URI

Download at Mapparium Page