RPCEmu run in Haiku
Sergei (6085) 12 posts |
For special geeks, I compiled RPCEmu 0.9.4 for OS Haiku I doubt that it will be necessary for someone other than me :) EDIT: You can download fresh build on my RISCOS page EDIT: Network suppot now. You need build dated 21/02/2022 |
Michael Grunditz (8594) 259 posts |
VERY NICE!!! :) I like Haiku a lot. |
Chris Mahoney (1684) 2165 posts |
Neat. I had the BeOS 3 demo, followed by the BeOS 5 “Personal Edition” back in the day and liked it. Haiku beta 4 is supposed to be out “any day now” so I’m probably going to give it a try when that happens :) |
Michael Grunditz (8594) 259 posts |
I am running it in Haiku now. Didn’t the JIT build? I will have a look on it. Recompiler builds just fine.. I wonder if it makes any difference. Can’t really say right now. EDIT2 Recompiler crashes , didn’t build it proper at first. |
Paolo Fabio Zaino (28) 1882 posts |
@ Michael
The recompiler seems to make a big difference in a lot of cases, look my tests of the recompiler vs native interpreter on the Apple M1 Max. I was executing the JIT generated x86 binary through Rosetta, so double jit and it was still way faster than the pure interpreter, post with info here: https://www.riscosopen.org/forum/forums/10/topics/17008 Scroll down for measurements of the recompiler. |
Michael Grunditz (8594) 259 posts |
Yes I know , but the JIT crashes instant on Haiku. I find it hard to debug :) But who knows. I just found a Haiku compatible gfx board. Was using VESA at first. |
Steve Pampling (1551) 8170 posts |
I’ve had that several times in the past1 on Windows, and as I recall it was something related to a corrupt cmos file. 1 A couple of Windows revisions ago, and a few RPCEmu too. |
Michael Grunditz (8594) 259 posts |
Working now. I just needed to add haiku to the places where linux was ifdeffed in ArmDynarec.c. My Haiku box is a rather old Core2Duo pc, but I get 100+Mips. That is @Sergei do you want to update your archive? |
Steve Pampling (1551) 8170 posts |
Small tweak to the key handling to make the Menu key more useful:
Insert in “main_widow.cpp” before: NB. Not a programmer, just a twiddler… |
Sergei (6085) 12 posts |
Thanks everyone for the advice. I added all options: I have updated the build 20/02/2022. You can download on my RISCOS page |
Sergei (6085) 12 posts |
I can build RPCEmu with NAT network support in Haiku, but network don’t work :( If someone wants to test, then you can download rpcemu-0.9.4-haiku64-net_20220220.zip |
Sergei (6085) 12 posts |
Network worked now in build dated 21/02/2022 (rpcemu-0.9.4-haiku64-net_20220221.zip) |
Michael Grunditz (8594) 259 posts |
Nice with networking. |
Michael Grunditz (8594) 259 posts |
It seems like HostFS is broken on Haiku. Many writes fails. So I gave up on RO5 and went with RO4 to get adfs drive support. A mess to get networking running. A good thing is that SunFish works, makes it quite easy to transfer files , despite the lack of ShareFS. |
Michael Grunditz (8594) 259 posts |
There is a error in keymap haiku. TAB should have 0×01000001 as scancode. You also want to add: Without it imposible to write | with usa kbd and # with uk. When I configure RISC OS to use Swedish keyboard the key with <>| is dead , no reaction RPCEmu doesn’t even register the key press. |