Monday, 28 March 2016

SMSQmulator on RPi3

Another screen shot.



SMSQmulator on the RPi 3 is a very usable system. The screen shows Eddi the icon editor which is a large QLiberated program which runs exceptionally well under the emulator. On the screen it is possible to see that the emulator was producing 10.94 bogomips despite all the other programmes running. uQLx is a bit more quirky. This is probably not down to the RPi but to its design as a QDOS/Minerva emulator. Hence crashes occurred this morning when QPAC2 version 1.45 was loaded and also separately with the button frame extension. Also Launchpad which can be seen on the screen above had a "General Protection Fault" error with both LP1 and LP2.

The screen shots have been captured by the wonderfully named linux app called scrot - its command line seen above in the terminal window.

Sunday, 27 March 2016

uQLx on Rpi3


Finally got uQLx running on RPi. Even although the emulator comes precompiled with an installer there is still a bit of a learning curve for the linux novice. For example, once the package had been unzipped on to the RPi where were the example configuration files .uqlxrc files that were mentioned in the text document and were required for the emulator to start correctly. Answer they were in the folder where they should be but were invisible as files beginning with "." in linux are hidden files.

How to boot qdos once the emulator was started. Answer again described in the docs. Either create a folder called mdv1 in the RPi file structure, save in the folder a file named boot, containing the boot instructions and add to the .uqlxrc file the location of the mdv1 folder, easily done one the .uqlxrc examples were found. 
Or using the linux terminal add a boot option -b as described in the instructions.

How to start the emulator without retyping the whole command line again etc.
Answer - learn to make a simple shell script under linux containing all the options required on start such as window size and boot file and save this to the desktop or to the files menu. Simple once you know how.

uQLx speed is good. It gets 23.62 bogomips on RPi3 no overclock. This compares to 10.73 bogomips for SMSQmulator on the RPi3 and with 5 or so bogomips for a Supergoldcard original QL.

Some quirks. Trying to open an SBasic window with a y dimension of more than 640 regardless of the emulator window size corrupts the SBASIC code in
memory. Some extensions do not work particularly the FLIM_X and FLIM_Y from DWJ Display code with both returning 0. Also Launchpad crashes with a serious error message. This needs to be explored and will perhaps be in the next post.

Despite the niggles uQLx is a great QL emulator for the RPi as is SMSQmulator.