Click Here
home features news forums classifieds faqs links search
6096 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
Home
Features
News
Forums
Classifieds
Links
Downloads
Extras
OS4 Zone
IRC Network
AmigaWorld Radio
Newsfeed
Top Members
Amiga Dealers
Information
About Us
FAQs
Advertise
Polls
Terms of Service
Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
33 crawler(s) on-line.
 34 guest(s) on-line.
 2 member(s) on-line.


 NutsAboutAmiga,  nuke

You are an anonymous user.
Register Now!
 nuke:  0 secs ago
 NutsAboutAmiga:  4 mins ago
 Kronos:  17 mins ago
 olsen:  19 mins ago
 zipper:  28 mins ago
 clint:  29 mins ago
 amigakit:  44 mins ago
 Rob:  1 hr 8 mins ago
 Turrican3:  1 hr 32 mins ago
 Maijestro:  1 hr 34 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Register To Post

Goto page ( 1 | 2 | 3 Next Page )
PosterThread
OneTimer1 
Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 28-Mar-2023 19:30:20
#1 ]
Cult Member
Joined: 3-Aug-2015
Posts: 803
From: Unknown

Here a short tutorial explaining how to install AOS4 for Pegasos-2 on your Windows or Mac PC:

http://amiga-news.de/en/news/AN-2023-03-00113-EN.html

Last edited by OneTimer1 on 28-Mar-2023 at 07:33 PM.

 Status: Offline
Profile     Report this post  
retro 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 29-Mar-2023 20:56:48
#2 ]
Super Member
Joined: 16-Dec-2003
Posts: 1048
From: Unknown

@OneTimer1

How many ram can this solution provide or emulate
What about that memory pageing does it suport that too

 Status: Offline
Profile     Report this post  
Fl@sh 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 29-Mar-2023 22:48:29
#3 ]
Regular Member
Joined: 6-Oct-2004
Posts: 252
From: Napoli - Italy

@OneTimer1

Zoltan Balaton have done really a great job with Pegasos 2 platform emulation.
Once emulation is fully complete this virtual board can be faster than native one.

_________________
Pegasos II G4@1GHz 2GB Radeon 9250 256MB
AmigaOS4.1 fe - MorphOS - Debian 9 Jessie

 Status: Offline
Profile     Report this post  
BigD 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 29-Mar-2023 22:55:58
#4 ]
Elite Member
Joined: 11-Aug-2005
Posts: 7136
From: UK

@OneTimer1

Yay! A Workbench "clean up by column>Snapshot All" simulator! Can I mess with Icon Edit on a Mac/PC please?

_________________
"Art challenges technology. Technology inspires the art."
John Lasseter, Co-Founder of Pixar Animation Studios

 Status: Offline
Profile     Report this post  
OneTimer1 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 29-Mar-2023 23:10:28
#5 ]
Cult Member
Joined: 3-Aug-2015
Posts: 803
From: Unknown

@retro

Quote:


How many ram can this solution provide or emulate
What about that memory pageing does it suport that too


Don't know, I'm not an AOS4 fan, but I believe running AOS4 for Pegasos2 on Qemu should give you much more RAM than emulating an PPC Amiga with UAE.

 Status: Offline
Profile     Report this post  
kas1e 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 1-Apr-2023 5:53:47
#6 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3548
From: Russia

@OneTimer1

WinUAE can emulate as much memory as you need, because it has emulation of Z3 ram, and it can be set to use as main memory. For example, my OS4 winaue setup do have 1GB of RAM.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
pavlor 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 1-Apr-2023 7:59:05
#7 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9494
From: Unknown

@kas1e

I use 128 MB CPU RAM and 512 MB Z3 RAM, never had any issue with not enough RAM.

Main problems with WinUAE are slow disk access and sloooooow FPU emulation (this one is inherited from the QEMU CPU core).

 Status: Offline
Profile     Report this post  
Maijestro 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 2-Apr-2023 9:51:58
#8 ]
Member
Joined: 31-Mar-2023
Posts: 20
From: Unknown

@retro

Quote:

retro wrote:
@OneTimer1

How many ram can this solution provide or emulate
What about that memory pageing does it suport that too


The Qemu Pegasos 2 emulation supports 1024 MB RAM and 64 MB video memory.

 Status: Offline
Profile     Report this post  
pavlor 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 2-Apr-2023 10:23:06
#9 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9494
From: Unknown

@Maijestro

Quote:
The Qemu Pegasos 2 emulation supports 1024 MB RAM and 64 MB video memory.


Enough for most uses.


And of course...

Welcome!


Edit: I see max resolution is limited to 1440x900 16 bit, maybe I should try this on my old notebook (1366x768) and compare to WinUAE on the same computer?

Last edited by pavlor on 02-Apr-2023 at 10:27 AM.

 Status: Offline
Profile     Report this post  
pavlor 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 7-Apr-2023 9:30:30
#10 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9494
From: Unknown

I'm trying to install AmigaOS4, but my success is limited so far.

I was able to modify the boot CD and boot into the installation enviroment. However, clicking on the install icon leads to an error mesage in a shell window (:Installation-Support/Install-AmigaOS4.1: file is not executable). Clicking on that icon in WB (Installation-Support/Install-AmigaOS4.1) leads to OS4 installation window. Then I can select where to install OS4, but not where to put a bootloader (I created a "boot" partition for amigaboot.of and an "AmigaOS4" partition for the rest of the OS - like on my Pegasos 2). "boot" partition uses FFS/01 and "AmigaOS4" partition uses FFS/07. Copying amigaboot.of to the "boot" partition by hand probably is not best idea (tried anyway). Now, only OS4CD is visible in the boot menu, I'm not able to boot from HDD). Any idea how to solve this mess I created?

 Status: Offline
Profile     Report this post  
Maijestro 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 7-Apr-2023 21:19:55
#11 ]
Member
Joined: 31-Mar-2023
Posts: 20
From: Unknown

@pavlor

You do not need a BOOT partition, this would only be necessary if you set up the remaining partitions as SFS. Since SFS does not work in the Pegasos 2 emulation at present it is not necessary.

You have to set up all partitions FFS. Do not start the installation directly from the window, but click on "continue and start Workbench directliy from the CD".

Then start the installation from the dock.

As a beta testa I have tested the whole thing for about 3 months it is still a lot of work at the moment, but it will get easier over time.

Also here you can get some information...

http://zero.eik.bme.hu/~balaton/qemu/amiga/aos_pegasos2.html

 Status: Offline
Profile     Report this post  
pavlor 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 8-Apr-2023 10:57:58
#12 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9494
From: Unknown

@Maijestro

Thanks for help! In the end, my issue was a garbled kicklayout in CD0:System/Kickstart. Now I'm able to boot from the HDD!

My experience so far (on 6 years old notebook with Core i3-5005U 2 GHz):
CPU speed is comparable to WinUAE/OS4 (cca 300 MHz G3 in dnetc/OGRNG benchmark).
Disk speed when using an image file is sloooooow (well, this is similar to WinUAE/OS4 - I have plain HDD in my notebook, no SSD). In theory, QEMU supports using host drives as a real harddrive, so I may devote an entire SD card to this purpose for faster disk access (I will postpone trying this until better file systems than FFS are supported).
GFX card emulation is limited to 16 bit resolutions, speed is OK without compositing effects or solid window dragging. My native screen resolution is probably not supported (I get garbled display when using 1366x768 mode defined in the monitor icon tooltypes). Again in theory, QEMU could use a real Radeon 9250 PCI GFX card via PCIe x1 to PCI adapter, but something like this is well above my experience level.
Emulated CPU is not identified by OS4 (plain Final Edition, not upgraded to FEu2 yet).
I get DSI error in "ramlib" at every startup, OS4 seems to work OK after I click to kill that task (QEMU 8.0pre for Windows 10 64 bit).
When I booted from HDD, time is at 1978 and the Time prefs editor complains about "unable to open battclock.resource". I use command line options for QEMU startup from amiga-news.de news item linked above.
Is there any way to save boot options, so I don't have to type the boot command in the smart firmware console at every boot up (set env settings aren't saved)?

Attendum: AmigaOS 4.1 FE Update2 (after hot-fix) locks up during startup (WB screen appears with icons and a busy pointer, no backdrop, WBStartup progress or AmiDock). Is this only an issue on my side, or this happens also to others? (I have image file backups after every major update, so no problem to return back and try again)

Last edited by pavlor on 08-Apr-2023 at 01:47 PM.

 Status: Offline
Profile     Report this post  
Maijestro 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 8-Apr-2023 14:20:04
#13 ]
Member
Joined: 31-Mar-2023
Posts: 20
From: Unknown

@pavlor

Quote:

pavlor wrote:
@Maijestro

Thanks for help! In the end, my issue was a garbled kicklayout in CD0:System/Kickstart. Now I'm able to boot from the HDD!

My experience so far (on 6 years old notebook with Core i3-5005U 2 GHz):
CPU speed is comparable to WinUAE/OS4 (cca 300 MHz G3 in dnetc/OGRNG benchmark).
Disk speed when using an image file is sloooooow (well, this is similar to WinUAE/OS4 - I have plain HDD in my notebook, no SSD). In theory, QEMU supports using host drives as a real harddrive, so I may devote an entire SD card to this purpose for faster disk access (I will postpone trying this until better file systems than FFS are supported).
GFX card emulation is limited to 16 bit resolutions, speed is OK without compositing effects or solid window dragging. My native screen resolution is probably not supported (I get garbled display when using 1366x768 mode defined in the monitor icon tooltypes). Again in theory, QEMU could use a real Radeon 9250 PCI GFX card via PCIe x1 to PCI adapter, but something like this is well above my experience level.
Emulated CPU is not identified by OS4 (plain Final Edition, not upgraded to FEu2 yet).
I get DSI error in "ramlib" at every startup, OS4 seems to work OK after I click to kill that task (QEMU 8.0pre for Windows 10 64 bit).
When I booted from HDD, time is at 1978 and the Time prefs editor complains about "unable to open battclock.resource". I use command line options for QEMU startup from amiga-news.de news item linked above.
Is there any way to save boot options, so I don't have to type the boot command in the smart firmware console at every boot up (set env settings aren't saved)?

Attendum: AmigaOS 4.1 FE Update2 (after hot-fix) locks up during startup (WB screen appears with icons and a busy pointer, no backdrop, WBStartup progress or AmiDock). Is this only an issue on my side, or this happens also to others? (I have image file backups after every major update, so no problem to return back and try again)


It has been confirmed that there are problems with the Windows build from https://www.emaculation.com/forum/viewtopic.php?t=9028&sid=b387f410782702ca9b2dd6b3afec99c8.

The best way to test this is to compile Qemu yourself.

1. download and run the MSYS2 installer from https://www.msys2.org/

2. MSYS2 Console:
pacman -Syu
pacman -Su
pacman -S base-devel mingw-w64-x86_64-toolchain git python ninja
pacman -S mingw-w64-x86_64-glib2 mingw-w64-x86_64-pixman python-setuptools
pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-SDL2 mingw-w64-x86_64-libslirp
Close the MSYS2 console.

3. Download Qemu from https://www.qemu.org/download/ and change to the Qemu directory after unpacking.

Alternative:

3. Run mingw64.exe
git clone https://www.gitlab.com/qemu/qemu

4. finally build QEMU with:

./configure --target-list=ppc-softmmu --enable-sdl
make

After the installation you should install all available updates via AmiUpdate for AmigaOs4.1 and only via AmiUpdate then the system should work clean.

Last edited by Maijestro on 08-Apr-2023 at 04:23 PM.
Last edited by Maijestro on 08-Apr-2023 at 04:17 PM.

 Status: Offline
Profile     Report this post  
pavlor 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 8-Apr-2023 16:06:13
#14 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9494
From: Unknown

@Maijestro

Thanks for great explanation!

I tried your step by step guide, but the configure part hangs somewhere (running via mingw64 as an administrator):

ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T.
You probably need to set PKG_CONFIG_LIBDIR
to point to the right pkg-config files for your
build target


build/config.txt says:

funcs: do_compiler_werror do_cc compile_prog main
lines: 162 182 1538 0
cc -m64 -mcx16 -fno-pie -mthreads -std=gnu11 -Wall -fno-pie -no-pie -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -Wundef -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wmissing-format-attribute -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -IC:/Program\ Files/msys64/mingw64/include/glib-2.0 Files/msys64/mingw64/lib/glib-2.0/include Files/msys64/mingw64/include -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -no-pie -fstack-protector-strong -LC:/Program\ -lgthread-2.0 Files/msys64/mingw64/lib -lglib-2.0 -lintl
config-temp/qemu-conf.c:1:10: fatal error: glib.h: No such file or directory
1 | #include
| ^~~~~~~~
compilation terminated.



I'm only somewhat experienced user, I will probably wait for a working public release.

 Status: Offline
Profile     Report this post  
Maijestro 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 8-Apr-2023 16:19:25
#15 ]
Member
Joined: 31-Mar-2023
Posts: 20
From: Unknown

@pavlor

Post updated see above step 3

 Status: Offline
Profile     Report this post  
pavlor 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 8-Apr-2023 16:41:23
#16 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9494
From: Unknown

@Maijestro

Same error here. I fear you are wasting your time on me, my coding skills end in AMOS Basic and "hello world" in C.

 Status: Offline
Profile     Report this post  
Maijestro 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 8-Apr-2023 17:59:40
#17 ]
Member
Joined: 31-Mar-2023
Posts: 20
From: Unknown

@pavlor

Quote:

pavlor wrote:
@Maijestro

Same error here. I fear you are wasting your time on me, my coding skills end in AMOS Basic and "hello world" in C.


I took it myself from here https://www.amiga-news.de/de/forum/thread.php?id=36423&start=91&BoardID=6. I can not test it myself, because I do not own a PC and everything runs under MacOs.

Qemu 8 RC will be final in about 2 weeks and then there will be official builds for Windows.

 Status: Offline
Profile     Report this post  
pavlor 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 8-Apr-2023 18:14:42
#18 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9494
From: Unknown

@Maijestro

There is no hurry, I can wait "two more weeks" ( ). I have well working WinUAE/OS4 setup here on my notebook and a real Pegasos 2 G4 few stories bellow.

 Status: Offline
Profile     Report this post  
pavlor 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 9-Apr-2023 11:11:08
#19 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9494
From: Unknown

@Maijestro

Qemu package linked in the thread on amiga-news.de works well. I was able to boot into OS4.1FEu2HF and configure network. It is somewhat slower than the older QEMU, but compatibility is more important than speed.

 Status: Offline
Profile     Report this post  
Maijestro 
Re: Tutorial: Installation guide for AmigaOS 4.1 under QEMU 8
Posted on 9-Apr-2023 12:44:46
#20 ]
Member
Joined: 31-Mar-2023
Posts: 20
From: Unknown

@pavlor

Quote:

pavlor wrote:
@Maijestro

Qemu package linked in the thread on amiga-news.de works well. I was able to boot into OS4.1FEu2HF and configure network. It is somewhat slower than the older QEMU, but compatibility is more important than speed.


I am glad that they can now play with it

If you get problems with the network after AmigaOs4.1 FE Update 1 and 2 please replace the rtl8139 driver with the older one from the Pegasos 2 Install.iso.

You can find it in system/devs/Networks

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 | 3 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle