RPi5 out
Colin Ferris (399) 1814 posts |
Interesting remark about arm 64 v arm 32 on Rick’s site. |
Martin Philips (9013) 48 posts |
So we’re all agreed then |
Sveinung Wittington Tengelsen (9758) 237 posts |
bq.So we’re all agreed then Sir, thou art pulling my leg.. seriously, I’ve give my opinion on that issue. Making RISC OS Yet Another Linux Desktop is pointless – it would only contribute to kill RISC OS as a full operating system. It’s 64-bit or toast within this decade. It may be that updating and extending many of the relocatable modules plus develop fully transparent emulation for legacy stuff is the most work-intensive task – the core (tiny as it is) may not pose a big challenge except for adding PMT, multicore support and multi-threading. Not being a programmer I’ pretty certain there will be a rush to point out I’m talking through my derriere here. Though I hope not. |
Alan Adams (2486) 1149 posts |
So the main applications I use are Ovation Pro (could be done on Windows), Pipedream, SchemED, Messenger/Netfetch, plus BASIC. With Pipedream I use quite a lot of custom functions, which I really don’t want to have to replicate in something else. I have a huge software system written in BASIC which makes extensive use of WIMP, filesystem and Network APIs, plus some use of GPIO. It’s origin predated the affordable availability of the toolbox and Dr Wimp, so all the WIMP libraries are home-grown. To move that to a 64-bit platform would require a fully compatible BASIC and a large chunk of the RO 32-bit API, plus Reporter, not just the desktop look and feel. It probably needs case-insensitive filename handling as well. There’s one bit where using 64-bit integers would help though. Doing arithmetic on RO 5-byte times is painful. |
Stuart Swales (8827) 1357 posts |
That could be done right now, on all our existing 32-bit platforms. |
Alan Adams (2486) 1149 posts |
In this I agree with you. RISC OS as a fully emulated application on Linux, hiding Linux from the user, would be useful. That would allow everything that currently runs to continue to run. Linux with a desktop that looked like RO would be useless – RO’s usefulness is inthe applications, allied with the user-friendly desktop. Without the applications it’s nothing. A 64-bit conversion of RO (not realistic given the resources available) would still need to preserve the 32-bit API in addition to a new 64-bit API, otherwise the applications would not run. It would also need a way for 32-bit code to run, since the 64-bit instruction set is incompatible in too many ways. So in effect a 64-bit RO would need an embedded 32-bit emulator. The only advantage I can see is that there would not be a foreign OS underneath it, though 64-bit RO would be pretty foreign. |
Sveinung Wittington Tengelsen (9758) 237 posts |
Finally, some constructive thoughts. Everything I write is from a user standpoint with a focus on desktop publishing and illustration (print/web). The software I used – Impression Publisher, Ovation Pro, ArtWorks, Vantage, Photodesk, TopModel – were brilliant both by themselves and in conjunction with each other. My private “64-bit RO campaign” may not be 100% realistic seeing the downward spiraling of the RO market versus the substantial funding this whole transition would need. But RO just as it is, 32-bit, is still a leader in productivity bar the lack of development to support new printing systems and device drivers. Maybe that train has gone, the Dopplerd flute fading away. Still, for the sake of platform plurality if nothing else, I wish it’d happen. |
Martin Philips (9013) 48 posts |
Yes, indeed, thou art correct
but seriously, why do you have to repeat your opinion so many times? I disagree with you that RISC OS on Linux would kill off RISC OS The biggest challenge facing RISC OS currently is that Arm CPUs are dropping native 32-bit support Or go down the pure emulation route of RPCEmu (which way well be acceptable in a lot of use-cases) So, one way (but by no means the only way) of achieving this would be to progress the Timothy Baldwin RISC OS on Linux project Dreaming of an ideal solution is all very well, but, as others have pointed out, would require far more effort than is available in the RISC OS Community |
Martin Philips (9013) 48 posts |
Have a read of this post (and thread) https://www.riscosopen.org/forum/forums/9/topics/18863?page=1#posts-144154 |
Steve Pampling (1551) 8170 posts |
Middle-aged at best. |
Rick Murray (539) 13840 posts |
How long would you imagine we can rely upon a 32 bit world of any kind existing in 64 bit hardware? As for RISC OS on Linux, I’m not looking forward to the idea as I find Linux to be a massive pain in the arse, however, it is a lifeline. Maybe not ideal for the purists, but the alternative is to say “this is it guys, the end of the road 1”. 1 I say this only partly in jest as there’s a ridiculous amount that could be done with existant hardware. Like Bluetooth, WiFi, 21st century networking (that is on the way…), GPU acceleration for video, having the DDE compiler support VFP instead of still relying on an ancient bloody emulation, those other three cores…….. |
Martin Philips (9013) 48 posts |
Well, as far as I know, aarch32 in EL0 is supported upto A78 / X1 Everything after than is pure aarch64 (as far as I know) So, there may possibly be another generation of Raspberry Pi with aarch32 support Anyway, 2-4 years is the short answer After that, QEmu’s emulation/JIT, someother JIT? With regards to Linux, it would be reasonably possible to do a cut down version that booted into RISC OS Pyromanics may be viable also (I did look at it a little look today, and it seems reasonably understandable, the bit I looked at I mean… Tiny Code Generator ) Pyromanics isn’t (yet) open source though, so, it depends on getting that open source, I would think… Anyway, I can understand some people not being in love with Linux |
Martin Philips (9013) 48 posts |
With regards to ‘Kernel-In-C’ That allows easier development going forward, no matter what… |
Sveinung Wittington Tengelsen (9758) 237 posts |
-and when all is done it can be compiled into a 64-bit version. It’d just need the 26/32 emulator.* immediately to have a ready software base, with a possibility to do a new 64-bit user friendly SDK with a 64-bit compiler. Then it’s Arm V9, here we come? Could run fine on the RPi5 too. Thanks for inspiration Mr. Phillips.
|
David Feugey (2125) 2709 posts |
A lot of non sense here. Sorry. If we make a new 64bit OS, it will be completely incompatible with RISC OS and its applications. The shift will be the same as between BBC MOS and RISC OS. Something a bit similar, but not compatible at all, so the need of an emulator. Do we wan’t to start again from 0? Do we wan’t to leave our 32bit ecosystem? I will not comment on the fact that making all in C will not solve the 64bit port.
Yep, for Linux or BSD kernels, it was just hundred of man-year work. And, sometimes, the giant lock problem is still not fully solved. The Linux kernel has a bunch of features that will be very difficult to replicate. Do not forget this is a 22+ year work, with thousand of developers. Anyway. What can we do now? New Cortex-A76-A78 systems
Incompatible systems (AArch64 only, x86….)
Market opportunities The current Pi0, and probably the next ones, is/will be compatible with RISC OS. Yes, there are not the fastest ARM boards. But their cost is interesting. My point If it’s a good OS, capable of supporting desktop on low end systems, it will be used by a lot of people, because Linux can’t do that (and do not plan to target that). RISC OS can run on 20 euros systems or less. And could work later on 10 euros systems, 5 euros systems, etc. I’m pretty sure that if there is a market, the Raspberry Pi Foundation will protect it. And ARM too, since they do now own a part of the Foundation. ARM 32bit is not dead. RISC OS exists on it, but needs to become better. So let’s make always more for less. Dream? Why this is interesting? 1/ Linux will not going there soon 2/ RISC OS on a sub 1 euro microcontroler, that’s great! 3/ The rePlam guy proved it can be done. 4/ It will be still a system compatible with RISC OS applications. 5/ We could imagine side car projects (Thumb support in DDE to emit full native code) 6/ It will have a lot of sense when ARM microcontrollers will switch from Thumb code to normal 32bit code. 7/ It could attract more people from the retro community. |
David Feugey (2125) 2709 posts |
Nota: if you really wan’t to write a new OS for a new CPU architecturs, it would be better to support all of them with a portable offer, or to bet on RISC V (did you see the 64 core Milk-V system, the Litchee offers? this is an outlook on the future). But good luck to compete there with Linux, *BSD or the excellent HaikuOS. And good luck too to exploit the TPU, because future systems will all be controlled via IA systems. Bye the GUI, bye the WIMP… (even if I will stay on CLI or GUI systems for the rest of my life). |
Chris Hall (132) 3554 posts |
If we are going the emulation route then Virtual Risc PC is streets ahead of RPCEmu and Pyromaniac. Findamentally important is that existing RISC OS applications must continue to work not just those written in BASIC. |
Raik (463) 2061 posts |
I’m a little surprised and my thoughts go to David. We have more hardware than ever available for RISC OS, but we are only using a fraction of its potential. WiFi, USB3, Bluetooth etc. are missing… The development seems to be poorly coordinated, ROD and ROOL seem to be pulling from different sides and not in the same direction… |
David Feugey (2125) 2709 posts |
Correct. We already have all that’s needed for this, even if I think a QEMU port would be great too, because it’s the core solution for all the biggest efforts around ARM on ARM emulation. RISC OS on Linux/Genode/HAL64 would be great for current A76/A78 systems. The Pi5, the RK3588 systems, and perhaps the Pi6. But probably the last move on the “always more (power)” direction. Now we still have the “always less (price, power, resources…)” direction. With a bunch of devices: SBC, tablets, phones, etc. This is a huge market. With the right boards, we could imagine future complete computers (board, PSU, cases) for less than 50 euros and with good performances and a large ecosystem of applications and games. That’s what RComp (and also RISCOSbits) tries to do: choosing the right processor for the next port to provide new kind of products. Trying to do the good move.RK3399 was a good bet (Pinebook Pro…) and RK3562/3566 seem to very promising, with a bunch of devices coming, low cost / low size. I would love to have, as next RISC OS product, a small portable gaming device (Odroid?). This is very exciting. |
David Feugey (2125) 2709 posts |
True for the network stack. But that’s – IMHO – a ‘small’ problem. VFP support Large disc support GPU acceleration Multicore I really like also the work of Michael (?) around BSD/RISC OS systems that can run on other cores. So, all is slow, because of the lack of resources, but this is not a lost cause. IMHO, the problem is not on the RISC OS side, but in the actual world. The counterpart of the massive crisis coming is that everything is accelerating up to the limit, and we really have no time left for anything. It’s really a problem, but it’ll probably break soon. |
Martin Philips (9013) 48 posts |
RISC OS on FreeRTOS could give you a lot of what you want RP3B RP4 Support for multi-thread, multi-core |
Rick Murray (539) 13840 posts |
Don’t apologise. Some of what’s been posted here is comically ridiculous.
The reason my ray casting code was written in BASIC was precisely because the ABC compiler (which isn’t exactly a clever optimising compiler) could spit out VFP code that flew.
This. Without emulation, it’ll be “something new that sort of resembles the OS we know”.
Is this even a relevant point when there are three cores doing nothing on most boards? A potential massive speedup requires the OS to change, not the hardware.
A nice idea, but have you used the Arduino IDE recently? Okay, it’s crap and it’s slow, but it has plug in compilers for all sorts of things and so many library options it would be hard to find something that isn’t supported. That’s not to say it’s not an idea worth looking at – more a warning that we’re up against an established and supported ecosystem. Note also the price these ESP32 or Arduino boards are going for, and that programming them can be as easy as writing some code and telling the IDE to build it and flash it. It’s literally one button click, and there’s even a working mini Arduino IDE that runs on 64 bit Android devices (my LapseCam code was built on it, on a Samsung S9 it was actually faster than my old PC!).
Yes, the world is really badly broken, but I’m not sure that supporting (or not) RISC OS is going to make an iota of difference. It’s more a worthy distraction to stave off the impending madness. |
Stuart Swales (8827) 1357 posts |
Just to take it temporarily off-topic, any DDE C users that want to try using VFP in their application (and maybe even still use the same build on non-VFP systems, like RPCEmu), have a look at https://www.riscosopen.org/forum/forums/2/topics/3457?page=10#posts-126520 onwards. ROOL continue to be very helpful in bug-fixing to assist this effort even though it’s technically unsupported. Please continue over there though, not here! |
Daniel J (1557) 39 posts |
Good idea. Use the closed source thing that costs money and ostensibly has a bus factor of one for the open source OS that you want more people to use. |
Clive Semmens (2335) 3276 posts |
Emulating a RiscPC – unless it’s an imaginary RiscPC without the RAM and VRAM limits of the real beast – seems rather uninteresting… |