devos50 / qemu-ios

A QEMU emulator for legacy Apple devices
Other
873 stars 64 forks source link

Running in vnc #98

Open BotchedRPR opened 7 months ago

BotchedRPR commented 7 months ago

Hi! I wonder if there are any plans of this being able to run in vnc. Currently I get an apple logo and a lot of

unexpected CLCD interrupt: 00000001
unexpected CLCD interrupt: 00000001

warnings. The server stays at the logo and does NOT proceed into the homescreen. Eventually the warnings calm down. I'm then left with

DCFG=00000000 DCTL=00000000 DSTS=00000000 
EP80 DIEPCTL=00000000 DIEPINT=00000000 DIEPTSIZ=00000000 DIEPDMA=00000000 
EP00 DOEPCTL=00000000 DOEPINT=00000000 DOEPTSIZ=00000000 DOEPDMA=00000000
EP81 DIEPCTL=00000000 DIEPINT=00000000 DIEPTSIZ=00000000 DIEPDMA=00000000
EP82 DIEPCTL=00000000 DIEPINT=00000000 DIEPTSIZ=00000000 DIEPDMA=00000000
EP83 DIEPCTL=00000000 DIEPINT=00000000 DIEPTSIZ=00000000 DIEPDMA=00000000
EP01 DOEPCTL=00000000 DOEPINT=00000000 DOEPTSIZ=00000000 DOEPDMA=00000000
EP02 DOEPCTL=00000000 DOEPINT=00000000 DOEPTSIZ=00000000 DOEPDMA=00000000

Sun Mar  5 21:26:25 localhost configd[9] <Debug>: loading com.apple.SystemConfiguration.IPConfiguration
NAND write not suported yet!
NAND write not suported yet!
NAND write not suported yet!

and network errors, which seem to be normal. Are there any plans of this being runnable in VNC? Might try to make it work myself. Thanks.

BotchedRPR commented 7 months ago

Well, on the tenth attempt it got to the homescreen. Nice. I'll leave this issue open because obviously input doesn't work.

devos50 commented 7 months ago

Thank you for your report. It is odd that it doesn't consistently boot to the Home Screen. Could you perhaps provide the full log so I might have an idea where the emulator hangs?

Regarding VNC support - I haven't tested this out myself or planned this yet but it would be cool to have this!

BotchedRPR commented 7 months ago

Thank you for your report. It is odd that it doesn't consistently boot to the Home Screen. Could you perhaps provide the full log so I might have an idea where the emulator hangs?

Regarding VNC support - I haven't tested this out myself or planned this yet but it would be cool to have this!

At this point I just recompiled and it did work better, which is weird. I can constantly get to the homescreen.

photo_2024-01-01_20-47-19

And just for fun - this emulator running on a ramdisk on an Oppo Reno phone :) iOS on android is real :)

devos50 commented 7 months ago

iOS on android is real :)

Wow, that's amazing! How difficult was it to get this running on your phone?

spetterman66 commented 7 months ago

what now, qemu-ios on raspberry pi? :D

devos50 commented 7 months ago

qemu-ios on raspberry pi? :D

Well, the original Raspberry Pi uses the ARMv6 instruction set, so it could use KVM to speed up things 😁

BotchedRPR commented 7 months ago

Wow, that's amazing! How difficult was it to get this running on your phone?

Easier than I thought :) Setup went like this: qemu-ios on vnc -> fbvnc -> android /dev/graphics/fb0 device (running on a whole recovery ramdisk for the feel lol)