Archives for Coding

ALB and Pascal

Posted by ALB42 on 11. September 2018No Comments

Hey ALB do you like all old computers or only Amigas.
 
Let’s say so, if there is a Pascal compiler for it, it’s counted as a computer worth to care about. 🙂
 
So I present to you, a pascal compiler on a old GDR (east germany) computer KC85/4, a real machine, not emulator. Signal converted with the Extron and recorded using the Elgato device mentioned before. Basically just a testcase for the conversion/recording equipment

and another little pascal test program 🙂

Just for fun.

ExtronControl for Extron DSC 301 HD

Posted by ALB42 on 31. August 20182 Comments

I bought that device, its a very nice scaler nicely usable for old computers to bring the image in a good quality to modern monitors. I supplies a serial interface for controlling (beside the on screen display) but only a Windows program to use it. I wrote a little program to operate this device from Amiga/MorphOS (where you can use the USB connector at the front panel as a USB2serial bridge). Already working very nicely, some screenshots.

You can switch the inputs, it shows which input is selected (it also notice the change when you using the front panel). When an input has a usable signal the button is printed in bold. It’s an very early version but works already nicely, if someone it interested I just make a download available here (binaries for Amiga68k and MorphOS and the full source, licensed under CC0, it needs the last MUIClass package to compile, just yesterday I fixed some bugs there, should also compile for the other Amiga platforms) have fun.

ExtronControl-Alpha

MUIMapparium AGA on a native Amiga

Posted by ALB42 on 31. Mai 2018No Comments

I tried the MUIMapparium on my real Amiga 1200 with 680030 50 Mhz (With 68882 FPU). Good news, it works somehow, of course it is slow but once the images are loaded, it moves ok. Unitl now it freezes a little bit when release the mouse button… maybe I should try to find the reason for that.
I also tried on a 16 color screen, much faster… but looks awful 😉 so I decided to make the Video with a 256 colors screen 😉 even it’s slower.

MUIMapparium AGA

Posted by ALB42 on 30. Mai 2018No Comments

Still playing with Datatypes in principle not so difficult, maybe could make it a little bit easier with some wrappers. The Datatype system even take care of scaling the image to the actual screen depth and dither the image if needed.
Until now MUIMapparium need a 15Bit+ Screen because I use Cybergraphics functions to draw the stuff to window. But when loading the pictures with the Datatypes it would even run on an AGA screen with less colors.
I gave it a try and the first version works rather nicely.

MUIMapparium on a 32 color Workbench

Of course it’s just a ugly hack until now, not at all optimized and maybe even crashing or eating memory. But maybe worth investigating a little bit as alternative.

MUIMapparium 0.7

Posted by ALB42 on 18. Mai 2018No Comments

As announced yesterday I release today the new version of MUIMapparium. It’s 0.7 now, most important features are the repaired Search function, Exports and the PhotoList

Change List:

  • BugFix: Search Function
  • BugFix: Saving Route without calculating a Route
  • Set current maps position and zoom as start position for the program
  • Remember open status and active page of Side Panel
  • Configure Color of WayPoints
  • Export Map as PNG Image
  • Export Route as HTML File
  • Export TrackPlot as PNG Image
  • Export Track as HTML File
  • Load EXIF of Photos
  • Show Photo position on Map
  • Simple Photo viewer
  • AREXX commands for adding photos to list
  • Help for AREXX commands

Download at MUIMapparium Page

I added some debug output at AmigaOS4, so if you experience problems starting up MUIMapparium on OS4 check the debug output (e.g. Sashimi) it should count from 1 to 26 on the bootup, check if any numbers missing and send me the result on one of the forums I’m usually on.

Search MUIMapparium Photos

Posted by ALB42 on 17. Mai 2018One Comment

Worked on the broken Search function, I guess I will publish this tomorrow, the new functions are not finished but without the search function the program is more or less useless. The new function is the list of Photo with EXIF GPS positions, as Mapparium also had. It can use Datatypes (need jpg Datatype of course) or the internal pascal JPG loaded, which seems to be slower most of the time, especially on big endian systems. The photos are grouped by date if you double click the date entry it try get all photo markers in sight, when clicking on a photo it shows it.

Attention MUIMapparium Search function

Posted by ALB42 on 16. Mai 2018No Comments

Currently the Search function is broken, because the service used for it changed to SSL only which is not supported by MUIMapparium at the moment.
I will work on this the next days, so wait for 0.7 to fix that.

and because there is an error in the source MUIMapparium will crash instead of printing the errorcode

The routing function is also affected by this of course.

Sorry.

Datatypes for all

Posted by ALB42 on 14. Mai 20184 Comments

I created the datatypes unit for AmigaOS4 and AROS and rewrote the ones for Amiga68k and MorphOS. OF course the aim is again to make them more or less compatible to each other. Of course also wrote a little test program and compiled for all systems which works nice.

DataTypes test for Amiga68k, MorphOS, AmigaOS4 and AROS

Now I have to learn how to actually use Datatypes in a program, especially seems sometimes the datatypes seems to scale down to 8 bit (256 colors) even the screen has 24 bit which I do not understand and if there is a way to let the datatype scale the image to the right size. I use the BitmapScale from graphics.library but this is awfully slow (At least on AROS, even my straigh forward nearest neighbor routine is faster than that).

More Track Statistics

Posted by ALB42 on 10. Mai 2018No Comments

When calculating the statistics value for the track export I thought it would be nice to have them for the normal Tracks Properties Window as well and also repaired the color indicator for the right and left axis for MUI (in Zune it worked).

Export smooth tracks

Posted by ALB42 on 6. Mai 2018No Comments

With such a nice weather I drive a little bit more bicycle, therefore the track function of MUIMapparium is more interesting at the moment.
First of course the export I added for the Route also is useful for the track and there even more, because we can print out some additional informations about the track.
Depending on the Program recording the track the data can be very noisy so I added a simple smoothing function.