QL on the Raspberry Pi...?

Discussion and advice about emulating the QL on other machines.
Derek_Stewart
Font of All Knowledge
Posts: 2283
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: QL on the Raspberry Pi...?

Postby Derek_Stewart » Mon Nov 02, 2020 7:04 pm

Hi,

I considered fitting a Q68 board to a PS/2 mini keyboard, would this be something worth doing?


Regards,

Derek
User avatar
dilwyn
Mr QL
Posts: 1968
Joined: Wed Dec 01, 2010 10:39 pm

Re: QL on the Raspberry Pi...?

Postby dilwyn » Mon Nov 02, 2020 8:37 pm

Derek_Stewart wrote:Hi,

I considered fitting a Q68 board to a PS/2 mini keyboard, would this be something worth doing?

Guess that would be attractive to someone like me who is short of desk space to permanently set up a "QL".


--
All things QL - http://www.dilwyn.me.uk
User avatar
Dave
SandySuperQDave
Posts: 2590
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: QL on the Raspberry Pi...?

Postby Dave » Mon Nov 02, 2020 8:45 pm

The Pi 400 with emulator will be much faster than a Q68, and half the price.

While there's something satisfying about real hardware, for plain performance and ease of access, this Pi 400 is going to be a real boon.

Just waiting for the all black model to be released in February. Pink is not my thing.


Derek_Stewart
Font of All Knowledge
Posts: 2283
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: QL on the Raspberry Pi...?

Postby Derek_Stewart » Mon Nov 02, 2020 9:01 pm

Dave wrote:The Pi 400 with emulator will be much faster than a Q68, and half the price.

Which emulator?

Bearing mind Q68 can run SMSQ/E, where the PI can only run SMSQmulator with Java installed.
Dave wrote:While there's something satisfying about real hardware, for plain performance and ease of access, this Pi 400 is going to be a real boon.

I may buy one, but I hardly use the PIs I have.
Dave wrote:Just waiting for the all black model to be released in February. Pink is not my thing.

I thought someone said you look pretty in pink....


Regards,

Derek
User avatar
XorA
Aurora
Posts: 767
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL on the Raspberry Pi...?

Postby XorA » Wed Nov 04, 2020 9:27 pm

Derek_Stewart wrote:
Dave wrote:The Pi 400 with emulator will be much faster than a Q68, and half the price.

Which emulator?

Bearing mind Q68 can run SMSQ/E, where the PI can only run SMSQmulator with Java installed.


Just need the source code for QPC2 and a quick port to ARM and sorted for SMSQ/e


User avatar
NormanDunbar
Forum Moderator
Posts: 1545
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QL on the Raspberry Pi...?

Postby NormanDunbar » Wed Nov 04, 2020 11:08 pm

I beleve that some/much/most of QPC2 is written in assembler. I might be misremembering, but I'm sure (at my age, that's about 60% sure) Marcel mentioned this a while back.

Be gentle if I'm wrong though! ;)

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
Derek_Stewart
Font of All Knowledge
Posts: 2283
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: QL on the Raspberry Pi...?

Postby Derek_Stewart » Wed Nov 04, 2020 11:32 pm

Hi,

I think porting SMSQ/E to ARM be be easier than seeing the source code to QPC2...


Regards,

Derek
User avatar
mk79
Aurora
Posts: 958
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QL on the Raspberry Pi...?

Postby mk79 » Thu Nov 05, 2020 9:40 am

XorA wrote:Just need the source code for QPC2 and a quick port to ARM and sorted for SMSQ/e
I'm almost tempted to give it to you to see how quickly you can port 10000 Lines of x86 Assembler to ARM ;)

Well, it used to be a lot more lines, but for the upcoming v5 I rewrote everything but the 68k core in C, so it's easier now and one might just switch to a C-based core to get rid of the rest (which I expect not to be easy but doable). But then you'd still be stuck with some 15000 lines of C code that was exclusively written with Windows in mind, making plenty of use of the Windows and DirectX APIs and so on. I read people have managed to install Windows 10 on a Pi, but it doesn't seem to be a pleasant nor fast experience ("starting a browser takes several minutes").

I've been working on this thing code for over 25 years and few lines have not been refactored in this time, but god damn, that's a long time.


User avatar
NormanDunbar
Forum Moderator
Posts: 1545
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QL on the Raspberry Pi...?

Postby NormanDunbar » Thu Nov 05, 2020 10:27 am

mk79 wrote:I'm almost tempted to give it to you to see how quickly you can port 10000 Lines of x86 Assembler to ARM ;)


Hey! I was right! :)

And ARM assembly is just weird. (Dons flameproof suit.....)

mk79 wrote:I've been working on this thing code for over 25 years and few lines have not been refactored in this time, but god damn, that's a long time.


That's more than a long time, that's serious dedication. And thanks for all you have done over the years, without QPC, I'd have no QLing.


Stay safe.


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
XorA
Aurora
Posts: 767
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL on the Raspberry Pi...?

Postby XorA » Thu Nov 05, 2020 6:37 pm

mk79 wrote:
XorA wrote:Just need the source code for QPC2 and a quick port to ARM and sorted for SMSQ/e
I'm almost tempted to give it to you to see how quickly you can port 10000 Lines of x86 Assembler to ARM ;)

Well, it used to be a lot more lines, but for the upcoming v5 I rewrote everything but the 68k core in C, so it's easier now and one might just switch to a C-based core to get rid of the rest (which I expect not to be easy but doable). But then you'd still be stuck with some 15000 lines of C code that was exclusively written with Windows in mind, making plenty of use of the Windows and DirectX APIs and so on. I read people have managed to install Windows 10 on a Pi, but it doesn't seem to be a pleasant nor fast experience ("starting a browser takes several minutes").

I've been working on this thing code for over 25 years and few lines have not been refactored in this time, but god damn, that's a long time.


Sorry I missed the smiley I meant to put on the statement as I know youve detailed that before.

The DirectX/Windows APIs would not be my worry on that as wine project is also a linkable library so there is a native linux ARM implementation of those.



Who is online

Users browsing this forum: No registered users and 3 guests