![]() |
![]() |
#61 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,715
|
>if your goal is to swap files and put them in the morphos system
Yes, I just need to be able to move files into and out of the emulated MOS environment. >you can use for example "googledrive" and directly download the files you prepare. I only have limited bandwidth so uploading and downloading everything would not be at all practical. >Or an easy way is to use winuae and mount the .img file and move everything you need into it and then mount your .img again with qemu I tried this without success; WinUAE does not seem to be compatible with the format of the IMG file (says there are too many cylinders). |
![]() |
![]() |
#62 |
Registered User
Join Date: Sep 2016
Location: italy
Posts: 1,480
|
@Minuous
if you use linux for example: this can be a good method create an .iso with your 4gigabyte data qemu-system-ppc -machine mac99, via = pmu -rtc base = localtime -m 2048 -device ati-vga, guest_hwcursor = true -boot d -prom-env 'boot-device = hd:, \ boot.img' - bios /home/white/Downloads/openbios-qemu.elf -vga none -serial stdio -device ide-hd, drive = hd-drive, bus = ide.0 -drive file = '/ home / white / Downloaded / morphos. img ', if = none, id = hd-drive, format = raw -net nic, model = rtl8139 -net user -cdrom /home/white/Downloads/your-iso.iso <--- YOU ISO you should find your .iso on the morphos desktop and then be able to move your data within the morphos system it also works for windows I guess but I can't recommend the exact command line for windows Last edited by White; 08 December 2022 at 13:35. |
![]() |
![]() |
#63 | |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,010
|
Quote:
There are several solutions to this. If you want to keep the stick in the FAT format, you can create an image file on it, and mount the image when copying files into it. You can even encrypt it for security with the TrueCrypt based Kryptos application which comes with MorphOS. Instructions how to do it can be found there. If you don't want to encrypt it, making a simple image file and mounting it with FileImageCtrl will work too. Another option is just to format the USB stick to some other filesystem. You can change partition layout to RDB with the HDConfig tool, and then just format the partition(s) like regular HDs to SFS, for example. I've been using this option myself for backupping... I have external USB HD in SFS and also some sticks. Remember the filesystem limits when creating partitions, but you can of course create several paritions to a USB device too (I have 2 x 128GB partitions on my 250GB USB HD). Here's a tutorial how to prepare a CF card for classic Amiga in MorphOS... you can take some advice from there, but if you're formatting USB stick to MorphOS only use, you can skip the custom filesystem identifiers and just use the predefined filesystems. Third option that comes in my mind now is that if you have MorphOS SDK installed, you could use the Tar command from it to archive files into single file without compressing them (it's faster). The MorphOS version of Tar preserves Amiga/MorphOS attributes if you use the --xattrs option. This would be much faster than LHA'ing them. |
|
![]() |
![]() |
#64 |
Registered User
Join Date: Sep 2016
Location: italy
Posts: 1,480
|
@jPV
Thanks once again for all the advice :-) Now I prepare the whole system I have been wanting a modern system together with amiga for years :-) |
![]() |
![]() |
#65 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,715
|
@White:
Yes, making ISOs is a possibility for importing data into the guest, however I also need a way to export data back out again. @jPV: I tried a USB stick but that does not work, it is not seen by MOS/QEMU. |
![]() |
![]() |
#66 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,273
|
Minuous create a second HardFile and share it with WinUAE !
From MOS you have to create the harddisk so that it is supported by WinUAE, if you want I can give you my empty 2GB hardfile. Last edited by AMIGASYSTEM; 04 July 2021 at 11:04. |
![]() |
![]() |
#67 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,715
|
@AMIGASYSTEM:
OK, please attach it compressed ;-) and I will try that. |
![]() |
![]() |
#68 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,273
|
Attach link Empty HardFile 2GB SFS "non bootable", if you want can be activated bootloader by HDToolBox.
HardFile is compatible with OS3, OS4 or AROS 68k that uses SFS filesystem https://drive.google.com/file/d/1qaH...ew?usp=sharing Last edited by AMIGASYSTEM; 22 May 2021 at 14:43. |
![]() |
![]() |
#69 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,715
|
Thanks. Empty hardfile is 378Mb? I will have to grab it in a few weeks when I have more transfer capacity, hopefully it will still be there.
|
![]() |
![]() |
#70 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,273
|
Yes the size is 378Mb because the Hardfile was created by MOS on Qemu and inside there was my data that I deleted.
The download will be available until you download |
![]() |
![]() |
#71 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,715
|
@AMIGASYSTEM:
OK, I've downloaded it now. Thanks. |
![]() |
![]() |
#72 |
Registered User
Join Date: Sep 2016
Location: italy
Posts: 1,480
|
@Minuous
if you are still interested in mounting a usb stick with qemu I solved it like this: sudo lsusb then for example: sudo lsusb -s 1: 6 -v | grep "id" then add this to your line for example: -usb -device usb-host, vendorid = 0xeba4, productid = 0x7588 or also to try: -usb -device usb-host,hostbus=1,hostaddr=6 this will directly mount a real usb stick inside morphos. here you can find an example of how I mounted the USB stick and the related commands: [ Show youtube player ] Last edited by White; 08 August 2021 at 13:25. |
![]() |
![]() |
#73 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,715
|
@White:
Noted, thanks. |
![]() |
![]() |
#74 |
Registered User
Join Date: May 2015
Location: Australia
Posts: 132
|
Hi guys. I thought I would give this a shot. But I ran into a few problems. If it wasn't for the fact my Macs are unreliable I wouldn't bother with emulation. I'm using Linux so had to compile it myself. I did install it from manager but it was too old.
I managed to get it booting but then face three main problems: 1. The screenmode is too big and scaled on my laptop. I can't read the fonts. So I need to squint and drop it down from MUI settings on every boot. When I looked it up I found QEMU cannot set or restrict the display mode which seems like an oversight. 2. It cannot install to a fresh HDD image. I set up a fresh HDD image as a cow (moo) but the IWizard did not like a fresh HDD. It kept asking for Boot. I didn't know if it wanted a boot CD or boot HD. Does it only fresh install to Mac formatted HD or is this an emulation problem? 3. I cannot get it to boot HDD. I tried blessing it, reinstalling on another image pre-formatted as HFS and playing with boot options. Off HDD it always hangs while booting in BIOS. So I always need to boot off CD and change screen mode to test it it. I tried to boot off "c" and "d". I tried copying and booting off the "\mac_ppc32\boot.img" and nothing works. Does anyone else face these problems and know how to solve them? My failed boot line: Code:
qemu-system-ppc -machine mac99,via=pmu -m 512 -boot d -prom-env "boot-device=hd:,\boot.img" -bios '/home/damien/Downloads/openbios-qemu.elf' -serial stdio -vga none -device ati-vga,guest_hwcursor=true -hda /home/damien/Images/MOSHD.img |
![]() |
![]() |
#75 |
morphos.pl
Join Date: Aug 2014
Location: Kraków, Poland
Posts: 105
|
Take a look at my syntax. I am using Windows
Code:
qemu-system-ppc -machine mac99,via=pmu -m 1536 -vga none -device ati-vga,guest_hwcursor=true -prom-env 'vga-ndrv?=false' -boot d -prom-env "boot-device=hd:,\boot.img" -bios openbios-qemu.elf -device ide-hd,drive=hd-drive,bus=ide.0 -drive file=mos.img,if=none,id=hd-drive,format=raw -serial stdio -net nic,model=rtl8139 -net user |
![]() |
![]() |
#76 |
Registered User
Join Date: May 2015
Location: Australia
Posts: 132
|
Thanks for your reply. I tried your line with my files but something goes wrong. OpenBIOS gives me an error: No valid state has been set by load or init-program I got the same thing when I tested hacking the CD into another ISO with MUI settings. I also note you use the "-boot d" option but according to the docs that is for booting CD which is why I used "-boot c" but I found it doesn't matter. Unless I set a cdrom I cannot even boot the boot.img off the CD. Either from root or mac_ppc32 on HD it won't boot. It just hangs. This is just too complicated. ![]() |
![]() |
![]() |
#77 |
Registered User
Join Date: May 2015
Location: Australia
Posts: 132
|
I got it. The -hda option cannot be used. This breaks both installation and will prevent HDD image from booting. A simple -drive option must be used. Which only needs file and format if raw.
|
![]() |
![]() |
#78 |
Registered User
Join Date: Sep 2016
Location: italy
Posts: 1,480
|
For those interested now the usb-audio stick is recognized in Sam460Ex with Morphos.
Aros ppc with Sam460ex also recognizes the USB audio stick but they don't make any sound at the moment. Currently Pegasos2 and G4 still suffer from the blocking of the usb-audio stick. If anyone can do these tests it would be great. I haven't done any reports to the author of qemu-ppc yet here a video of a few minutes on the recognition of the usb-audio stick: https://we.tl/t-LMxlsyj9tt |
![]() |
![]() |
#79 |
Registered User
Join Date: Sep 2016
Location: italy
Posts: 1,480
|
I also report here what I'm trying to do if anyone has any ideas:
In summary what I'm trying to do is this: lsmod snd_usb_audio 356 352 0 snd_usbmidi_lib 45056 1 snd_usb_audio snd_rawmidi 45056 1 snd_usbmidi_lib mc 65536 1 snd_usb_audio because something seems to work but I still can't understand the right procedure is always if this exists then example: sudo modprobe -f snd_usb_audio and so on: sudo modprobe -f snd_usbmidi_lib some of these loaded modules conflict with the following error: qemu-system-ppc: libusb_release_interface: -4 [NO_DEVICE] But not always I can also avoid it but this involves the freezing of Morphos and therefore I cannot complete the saving of the peripheral. I will try other solutions If anyone is interested any suggestions would be nice :-) Thank you. :-) |
![]() |
![]() |
#80 |
Registered User
Join Date: Sep 2016
Location: italy
Posts: 1,480
|
Here is the test carried out on "Sam460ex" with "ArosPPC"
here too the usb-audio stick is recognized by "Poseidon" but even in this case no sound is heard. https://we.tl/t-dIoDLeN0Dv |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE QEMU PPC | Toni Wilen | support.WinUAE | 566 | 08 July 2024 08:38 |
QEMU Released | AMIGASYSTEM | News | 12 | 17 July 2018 00:52 |
MorphOS under Emulation? | Charlie | Retrogaming General Discussion | 11 | 02 February 2010 18:09 |
E-UAE (MorphOS) and CD32 joypad emulation | Solo Kazuki | support.OtherUAE | 0 | 10 April 2007 00:32 |
|
|