MorphOS runs on QEmu
  • Paladin of the Pegasos
    Paladin of the Pegasos
    pampers
    Posts: 1055 from 2009/2/26
    From: Tczew, Poland
    Can anyone post some quick tutorial how to run this on MacOS for lamers like me? ;)
    MorphOS 3.x
  • »20.07.18 - 13:30
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 80 from 2017/9/10
    what version of macos do you have?
    in case you are speaking about an old leopard or tiger (PPC) qemu dont build any more on it.
    in case you are speaking about new x86_64 Osx . you need to install homebrew and start build there from source qemu (note you need to be little skilled about).
  • »20.07.18 - 15:43
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1014 from 2013/5/24
    From: Englistan
    Quote:

    pampers wrote:
    Can anyone post some quick tutorial how to run this on MacOS for lamers like me? ;)


    Code:

    git clone https://github.com/qemu/qemu
    cd qemu
    ./configure
    make -j8
    make install
    qemu-img create -f qcow2 morphos.img 120G

    # Boot from CD with HDD attached
    qemu-system-ppc -machine mac99,via=pmu -m 1536 -vga none -device sm501 -hda morphos.img -boot d -prom-env 'boot-device=cd:,mac_ppc32boot.img' -bios openbios-qemu.elf -serial stdio -net nic,model=rtl8139 -net user -cdrom morphos-3.11.iso


    Install MorphOS using IWizard.

    Code:

    #Boot from HDD
    qemu-system-ppc -machine mac99,via=pmu -m 1536 -vga none -device sm501 -hda morphos.img -boot c -prom-env 'boot-device=hd:,boot.img' -bios openbios-qemu.elf -serial stdio -net nic,model=rtl8139 -net user
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.9

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, OSX 10.5.8, 500GB SSHD, MorphOS 3.9
  • »20.07.18 - 20:32
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    pampers
    Posts: 1055 from 2009/2/26
    From: Tczew, Poland
    Cheers guys, will try that later on. Where do I get open bios files?
    MorphOS 3.x
  • »21.07.18 - 09:39
    Profile Visit Website
  • Cocoon
    Cocoon
    waldiamiga
    Posts: 56 from 2007/7/25
    From: Krakow, Poland
    Quote:

    pampers wrote:
    Cheers guys, will try that later on. Where do I get open bios files?




    Here OpenBIOS.elf
    Good site - Amiga like OSes on QEMU

    MorphOS.pl
    PowerBook G4 1.67GHz|2GB DDR2|ATI Radeon 9700M 128MB|SSD 80GB|TFT 17"|MorphOS 3.11
    Core i7 Notebook|WinUAE 3.x/AmigaOS4.1x & Icaros Desktop 2.x/QEmu 3.x.x
  • »21.07.18 - 10:03
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1014 from 2013/5/24
    From: Englistan
    Heads up for everyone, I seem to be getting a lot of corruption when using a qcow2 image.

    Stuff copies and works fine but then after a reboot is corrupted.

    Gonna try using a raw image instead.

    edit:

    Same with a raw image. Hmmmm.

    [ Edited by Intuition 21.07.2018 - 13:26 ]
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.9

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, OSX 10.5.8, 500GB SSHD, MorphOS 3.9
  • »21.07.18 - 12:46
    Profile
  • Butterfly
    Butterfly
    Posts: 80 from 2017/9/10
    Quote:

    pampers wrote:
    Cheers guys, will try that later on. Where do I get open bios files?


    use max 10GB img and use raw format
  • »21.07.18 - 14:47
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1014 from 2013/5/24
    From: Englistan
    Quote:

    tlosmx wrote:
    Quote:

    pampers wrote:
    Cheers guys, will try that later on. Where do I get open bios files?


    use max 10GB img and use raw format


    Even a 10GB image gives random corruption.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.9

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, OSX 10.5.8, 500GB SSHD, MorphOS 3.9
  • »21.07.18 - 22:51
    Profile
  • Butterfly
    Butterfly
    Posts: 80 from 2017/9/10
    strange i dont have this issues
  • »22.07.18 - 14:23
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Spectre660
    Posts: 214 from 2015/6/30
    Floating point performance at 18% ? .
    eh hem .
    At least with regards tpo AmigaOS 4.1 Tabor looks to be a better option at this point.


    [ Edited by Spectre660 23.07.2018 - 10:10 ]
  • »23.07.18 - 14:10
    Profile
  • ASiegel
    Posts: 1085 from 2003/2/15
    From: Central Europe
    Quote:

    Spectre660 wrote:
    Floating point performance at 18% ? .
    eh hem .
    At least with regards tpo AmigaOS 4.1 Tabor looks to be a better option at this point.


    No offence but "qemu is even slower at FPU operations" is nothing to brag about.
  • »23.07.18 - 15:05
    Profile
  • Butterfly
    Butterfly
    Posts: 80 from 2017/9/10
    Just for info ...
    the qemu devs are working for have better fpu operations in qemu.
    One option can be have the fpu operations in another cpu thread and not in the same thread where all the machine is emulated.

    PS: The integer operations on my machine is more faster then a G4 1.67 Ghz it mean much more faster then a tabor one and i have only 31 threads more available for have 31 AmigaOs more at same time.

    [ Edited by tlosmx 23.07.2018 - 15:35 ]
  • »23.07.18 - 15:32
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Spectre660
    Posts: 214 from 2015/6/30
    Any practical application that you can think of for 31 AmigaOs's at a time ?
    Apart from maybe software development/debugging ?

    Also what happens with floating point performance under KVM ?

    Look at it from the point of view that AmigaOS 4.1 and MorphOS 3.xx still perform well on real Sam460's and X5000's as well as MorphOS on the other supported hardware .
    Also Improvements in video performance are done (But not yet released) for AmigaOS 4.1 for the Sam460 and X5000 and likely to come for MorphOS. I expect AmigaOS on Tabor to squeeze out the maximum possible video performance too over time.
  • »23.07.18 - 19:52
    Profile
  • Cocoon
    Cocoon
    waldiamiga
    Posts: 56 from 2007/7/25
    From: Krakow, Poland
    Someone will help, the system has been able to be installed now to boot from the disk.

    Code:
    qemu-system-ppc -machine mac99,via=pmu -m 1024 -device sm501  -boot d -prom-env "boot-device=hd:,mac_ppc32boot.img" -bios openbios-qemu.elf -vga none -device ide-hd,drive=hd-drive,bus=ide.0 -drive file="morphos.img",if=none,id=hd-drive,format=raw -net nic,model=rtl8139 -net user

    MorphOS.pl
    PowerBook G4 1.67GHz|2GB DDR2|ATI Radeon 9700M 128MB|SSD 80GB|TFT 17"|MorphOS 3.11
    Core i7 Notebook|WinUAE 3.x/AmigaOS4.1x & Icaros Desktop 2.x/QEmu 3.x.x
  • »23.07.18 - 21:50
    Profile
  • Butterfly
    Butterfly
    Posts: 80 from 2017/9/10
    Guys yesterday finally i was testing the first heavy program inside QMos it was FPSE result it was running fast and smooth at 640x480 in software rendering with spu null.
  • »25.07.18 - 15:06
    Profile
  • Moderator
    Kronos
    Posts: 1793 from 2003/2/24
    Quote:

    waldiamiga wrote:

    Code:
    qemu-system-ppc -machine mac99,via=pmu -m 1024 -device sm501  -boot d -prom-env "boot-device=hd:,mac_ppc32boot.img" -bios openbios-qemu.elf -vga none -device ide-hd,drive=hd-drive,bus=ide.0 -drive file="morphos.img",if=none,id=hd-drive,format=raw -net nic,model=rtl8139 -net user



    Tried under OSX complains bout " Property '.via' not found", leaving that out will start QEMU but fails to boot.
    --------------------- May the 4th be with you ------------------
    Mother Russia dance of the Zar, don't you know how lucky you are
  • »27.07.18 - 14:58
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4695 from 2009/1/28
    From: Delaware, USA
    Quote:

    tlosmx wrote:


    Quote:

    Also what happens with floating point performance under KVM ?




    threadripper vs g5 quad in kvm on Mac99 qemu
    https://scontent.fnap1-1.fna.fbcdn.net/v/t1.0-9/27540591_10211001296249952_3934778983080779619_n.jpg?_nc_cat=0&oh=523c1f6cddb62032b5879224613d210d&oe=5BBE5122


    Hmm, pretty good. And we are comparing a 2.5 GHz PPC to a higher clocked X64 cpu.
    Bench averages look good, and the fpu scores clearly favor kvm/PPC.

    If this was possible under Power 9, all the scores would favor Power/kvm.
    And even on a 970FX it looks good.

    No matter how hard you try to push Tabor, this is a better solution that would provide for multiple sessions with more power and a fully compatible standard fpu with AltiVec/VMX instructions.

    What's more, the price of a Quad G5 is comparable (or lower) than a Tabor motherboard.
    Add better performance under Linux, the ability to run OSX or BSD, and I know what platform I prefer.
    "Never attribute to malice what can more readily explained by incompetence"
  • »27.07.18 - 22:16
    Profile
  • Just looking around
    Posts: 1 from 2017/2/2
    Hey, thanks for all the help. When using -net user on the qemu command line, how do you set up the networking on the MorphOS preferences and on the host system to communication and let the MorphOS network traffic flow through?

    Thanks!
  • »13.08.18 - 03:37
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1014 from 2013/5/24
    From: Englistan
    Quote:

    rushpat wrote:
    Hey, thanks for all the help. When using -net user on the qemu command line, how do you set up the networking on the MorphOS preferences and on the host system to communication and let the MorphOS network traffic flow through?

    Thanks!


    You can't from an installed image it doesn't work.

    Only from the live CD.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.9

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, OSX 10.5.8, 500GB SSHD, MorphOS 3.9
  • »13.08.18 - 11:52
    Profile