Have a Sinclair QL? Please run it for me!
Have a Sinclair QL? Please run it for me!
I am doing some code which relies on the system speed. I tried using different emulators to get an idea of the original QL speed. I did 3 screenshots. They show very different performance. It seems MESS/MAME is massively inaccurate. QemuLator and sQLux show close results, so I can think that they are close to real hardware. However I am not sure. I have attached my program here. This program very quickly generates 16 Mandelbrot images. I am looking for results (a screenshot) from the QL with the 68008@7.5 MHz. I don't know are there ways to increase the QL performance besides the CPU upgrade. So I am also curious are there other ways to make the original QL faster? Thank you.
- Attachments
-
- mandelbrot.zip
- (1.35 KiB) Downloaded 139 times
- mk79
- QL Wafer Drive
- Posts: 1349
- Joined: Sun Feb 02, 2014 10:54 am
- Location: Esslingen/Germany
- Contact:
Re: Have a Sinclair QL? Please run it for me!
Speed varies mainly with the fact if external extended memory is available or not. The internal memory is contended with the screen refresh and slow in comparison. Different OS can also make a difference, depending on how many facilities are used in the application (maths library or whatnot). In your case OS doesn't make a lot of difference, though QDOS is a bit faster (which is counter-intuitive). But putting a TrumpCard memory expansion in makes a HUGE difference (much more than I would have expected)... it's all the same QL BTW, with a QL-SD ROM drive to switch the OS.
QL 128KB Minerva QL 128KB QDOS QL 768KB TrumpCard QL 4MB SGC
QL 128KB Minerva QL 128KB QDOS QL 768KB TrumpCard QL 4MB SGC
Re: Have a Sinclair QL? Please run it for me!
Why is sQulx so slow is it running at QL simulation speed or are you running it on a 33 MHz 486?vol wrote:I am doing some code which relies on the system speed.

I remember doing a Mandelbrot on a 286 then adding a maths coprocessor where the difference was minutes down to less than a minute and I thought that was ace. That's the days when WIndows was written in Pascal and any upgrades made a difference in speed

- NormanDunbar
- Forum Moderator
- Posts: 2470
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Buckie, Scotland
- Contact:
Re: Have a Sinclair QL? Please run it for me!
Windows? Pascal? Are you sure, because I was of the understandingthat it was Macintosh no Windows. I've not found anything online about windows, but a few about Mac:Ruptor wrote:That's the days when WIndows was written in Pascal ...
The Classic Mac OS, known at the time as System 1, was written in Motorola 68000 assembly language and Lisa Pascal.
Lisa being the Apple product that bombed, big time. I actually liked it, I was working on a college placement at the North of Scotland Hydro Electric Board's computer centre in Aberdeen and Apple can to us to give a demonstration of the Lisa. It wen't down rather well at the time, but went down too well when it was released.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
-
- Font of All Knowledge
- Posts: 4683
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Have a Sinclair QL? Please run it for me!
Hi,
Is the source code to the Mandelbrot rountine available?
Is the source code to the Mandelbrot rountine available?
Regards,
Derek
Derek
- mk79
- QL Wafer Drive
- Posts: 1349
- Joined: Sun Feb 02, 2014 10:54 am
- Location: Esslingen/Germany
- Contact:
Re: Have a Sinclair QL? Please run it for me!
Early Windows versions were written in assembler of course, later gradually moving to C and even later to C++. The Win16 API does use the so-called Pascal calling convention, but that was a conscious decision to save a few bytes on every call (C calling convention must clean up the stack on every caller location). Back then the Microsoft developers actually had to fight for every byte, too...NormanDunbar wrote:Windows? Pascal? Are you sure, because I was of the understandingthat it was Macintosh no Windows.
Re: Have a Sinclair QL? Please run it for me!
Back to my original question with corrected spelling.
.


The numbers don't look right to me.Ruptor wrote:Why is sQlux so slow is it running at QL simulation speed or are you running it on a 33 MHz 486?

Re: Have a Sinclair QL? Please run it for me!
Up to Windows 3.1 at least parts of WIndows were written in Pascal.NormanDunbar wrote: Windows? Pascal? Are you sure, because I was of the understandingthat it was Macintosh no Windows.
Windows 95 was written in Watcom C. God, it was taking hours to compile anything!
Re: Have a Sinclair QL? Please run it for me!
Were you at Microsoft? I was from '05 to '07 but then things were C/C++/C#.Andrew wrote:Up to Windows 3.1 at least parts of WIndows were written in Pascal.NormanDunbar wrote: Windows? Pascal? Are you sure, because I was of the understandingthat it was Macintosh no Windows.
Windows 95 was written in Watcom C. God, it was taking hours to compile anything!
- mk79
- QL Wafer Drive
- Posts: 1349
- Joined: Sun Feb 02, 2014 10:54 am
- Location: Esslingen/Germany
- Contact:
Re: Have a Sinclair QL? Please run it for me!
I could find not a single source for that.Andrew wrote:Up to Windows 3.1 at least parts of WIndows were written in Pascal.
At that point they had their own C compiler for 10+ years, why would they use the competition?Windows 95 was written in Watcom C. God, it was taking hours to compile anything!