Archives on Mai, 2021

Free Pascal 3.2.2 Release

Posted by ALB42 on 20. Mai 2021No Comments

New Release of Free Pascal is done. It’s a bug fix release for 3.2.0 it has also some bug fixes for the Amiga systems, especially structures and functions are checked against official SDKs (especially for MorphOS with its latest SDK Version). For changes that break compatibility you can check official changes document.

Downloads

or you go directly to the Free Pascal home page and download from one of the mirrors. Have Fun.

Hex2 for SinclairQL

Posted by ALB42 on 19. Mai 2021No Comments

Charlie was introducing SinclairQL port of Free Pascal, another platform using m68k processor. To be honest I never heard of it before. It also uses vasm and vlink as on Amiga, so it’s rather easy to create the cross compiler for it, the port is still in a very early stage but some stuff is already working, for example my HEX2 pocket calculator already works nicely (after some tine bugfixes 😉 in the code and in the Free Pascal code). I got a emulator for SinclairQL and it works, very nice.

If you want to try you can download the program here: Hex2-QDOS

Some little facts I should mention, the source was developed for TurboPascal 3.3 for CP/M (for my KC85) I tried a lot o things, all seems to work, but maybe some errors still hidden.

Because it was developed for KC85, so very little RAM available I decided to load the error messages and help messages from file only when needed. But that seems not so easy on SinclairQL. I had to add the „mdv1_“ (representing the first microdrive) before the filename that it can find the help or error file. Until now it seems there is no way to find out at which drive my program is (ParamStr(0) is empty), so I just hard coded that for now.

Amiga CDXL converter

Posted by ALB42 on 14. Mai 2021No Comments

Someone asked me to try a CDXL converter (agaconv) but I did not get to work until i compiled it for myself on Linux. CDXL if you don’t know, was an very early movie format invented by Comodore to use for the Amiga CDTV, so it aimed at a 68000 with 7 MHz with a Single speed CD Rom (150 kb/s).

I tried to create some little movies with it and it works quite nicely, especially the agablaster is very good and fast for viewing on a native Amiga (if you have AGA I guess from the Name? I do not own an OCS or ECS Amiga so I can not try). To really get the movie to the small size (to meet the 150kb/s target) you really have to tweak the options. You need to lower den resolution to 160×100 (or lower) and the colors to 5bit (32 colors) or 6bit (HAM6) reduce the number of frames per second to 12 and recalculate the audio to mono 11025 kbit/s.

For me it was interesting to see how the movie would look like with such low quality, as example I took the OpenSource Big Bug Bunny Movie, which is nicely short and free to use without any legal problems.

For a faster Amiga (like a A1200) with a normal HD (around 1 MB/s) you can make the movie in something like 320×200 in 256 colors or even HAM8 and looks rather decent texts still readable sound is ok (just the 8 bit sound conversation is a bit weak, I increased the loudness a bit) and you get a nice movie result, just a bit big (around 500 MB for 8,5 minutes movie). Not all CDXL player can show this format (agablaster does it very nicely)

If you go to the original CDXL format description (as above), it becomes hard, it’s really tiny and greasy you can easily see the dithering and color reduction, texts (except Main Title) not readable at all, back in the days maybe nice (in 1991 or so, when CDTV came out) to at least see a movie but its much worse than CD-i (1990) or VCD (1993).

Because the agaconv is not directly running, need FFMPEG and java (if you want convert to HAM and it it needs a X Server) I created a docker container where all is installed inside working. I created two little scripts (one for Linux and one for Windows) to start the agaconv using the docker, all you need is installed docker and this script and of course the movie.

for example to create the standard movie format as decribed before you need to start it with (linux example):

agaconf.sh test.mkv test.cdxl --fps=12 --color-mode=ham6 --width=160 --audio-mode=mono --frequency=11025 --std-cdxl

Example movie: Big Bug Bunny with CDXL Standard settings ready for a stock Amiga.

I played this movie on my Amiga1200 and it looks like this:

I compiled 2 more versions, one with 32 colors (–color-mode=ocs5) and one for AGA Amigas (–color-mode=aga5) but the other settings stay the same.

So if you want to watch videos on your old Amiga try CDXL (and to convert you can use the docker container)