Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
29 user(s) are online (22 user(s) are browsing Forums)

Members: 1
Guests: 28

sailor, more...

Headlines

 
  Register To Post  

« 1 ... 63 64 65 (66) 67 68 69 ... 72 »
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@Maijestro
You are currently using PIO mode 4:Quote:
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 69 (UDMA 5, 100 MB/s) / current 12 (PIO 4, 16 MB/s)


Quote:
assume that in the last section it is "DMA : yes" ?
That's just what the (emulated) drive supports, not what's currently used by the driver.

To use a Kickstart/nvram.config file, instead of the AmigaOne NVRAM which is not yet supported by QEmu, you'd have to replace the AmigaOne Kickstart/nonvolatile.library.kmod with a version from a classic Amiga or Pegasos2 version of AmigaOS 4.x.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@joergQuote:
joerg wrote:@Maijestro
To use a Kickstart/nvram.config file, instead of the AmigaOne NVRAM which is not yet supported by QEmu, you'd have to replace the AmigaOne Kickstart/nonvolatile.library.kmod with a version from a classic Amiga or Pegasos2 version of AmigaOS 4.x.


Ok, I replaced the nonvolatile.library.kmod with the Pegasos2 version and nvram.config is in the Kickstart folder but PIO mode 4 is still used.

Can I also tell the Uboot firmware that I can activate it for a boot process? I am aware that the variables are not saved without NVRAM support.

The Pegasos 2 machine uses as standard:

Xfer mode best pio 12 (PIO 416 MB/s) / best dma 69 (UDMA 5100 MB/s) / current 69 (UDMA 5100 MB/s)


It works better here.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@Maijestro
Quote:
Ok, I replaced the nonvolatile.library.kmod with the Pegasos2 version and nvram.config is in the Kickstart folder but PIO mode 4 is still used.
Make sure you aren't using the unmodified Pegasos2 nvram.config file (peg2ide_xfer/irq) on the AmigaOne but changed it to AmigaOne hardware/drivers (a1ide_xfer/irq).

Quote:
Can I also tell the Uboot firmware that I can activate it for a boot process? I am aware that the variables are not saved without NVRAM support.
setenv a1ide_xfer FFFF
setenv a1ide_irq 1111
But AFAIK AmigaOS can't access current values but only the ones stored in NVRAM ("saveenv" U-Boot command, not supported by QEmu).

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@joergQuote:
joerg wrote:@Maijestro
Quote:
Ok, I replaced the nonvolatile.library.kmod with the Pegasos2 version and nvram.config is in the Kickstart folder but PIO mode 4 is still used.
Make sure you aren't using the unmodified Pegasos2 nvram.config file (peg2ide_xfer/irq) on the AmigaOne but changed it to AmigaOne hardware/drivers (a1ide_xfer/irq).


Thanks for the tip, but I remembered to enter the value in the nvram.config too.

Resized Image

Quote:
Can I also tell the Uboot firmware that I can activate it for a boot process? I am aware that the variables are not saved without NVRAM support.
setenv a1ide_xfer FFFF
setenv a1ide_irq 1111
But AFAIK AmigaOS can't access current values but only the ones stored in NVRAM ("saveenv" U-Boot command, not supported by QEmu).[/quote]

Ok, I understand that wouldn't work for testing purposes either.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@Maijestro
If nvram.config doesn't work you can use something like
idetool >NIL: -x a1ide.device 0 69
idetool 
>NIL: -x a1ide.device 2 69
in your S:startup-sequence or S:user-startup instead to change the transfer mode.
(According to the idetool -l output you are using 2 emulated drives, unit 0 and 2.)

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@joergQuote:
joerg wrote:@Maijestro
If nvram.config doesn't work you can use something like
idetool >NIL: -x a1ide.device 0 69
idetool 
>NIL: -x a1ide.device 2 69
in your S:startup-sequence or S:user-startup instead to change the transfer mode.
(According to the idetool -l output you are using 2 emulated drives, unit 0 and 2.)


With this entry my machine no longer boots and gets stuck at the boot logo.

I then tried to activate UDMA mode via the shell with:

idetool -x a1ide.device 0 69 and idetool -x a1ide.device 2


As soon as I do that, UDMA mode is switched on, but as soon as I want to access the hard drive, only the loading status (clock) comes up and I can no longer operate the system.

If I only:

idetool -x a1ide.device 2


As far as my 2 HD is concerned, I still have full access under AmigaOs4.1, but as soon as I want to access the 2 hard drive there is the loading status again as described above. I also checked it with:

idetool -l a1ide.device


And the HD is actually put into UDMA mode but is unusable when used. This is strange...

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@joerg

I didn't change anything in library / kernelstart - I just ran the commands from the console and tested under QEMU amigaone
It looks like I have UDMA 5 at my place - thanks for the help

old:
idetool -l a1ide.device
-------------------Unit 0 information------------------------
    
Flags : $00000185 - presentsupports DMAATAsupports cache flushinterrupts used
    
Xfer mode best pio 12 (PIO 416 MB/s) / best dma 69 (UDMA 5100 MB/s) / current 12 (PIO 416 MB/s)
    
Total blocks 8388608
    Blocksize 
512
    Power mode  
idle (ready for operation)
    
IO1 IO2 BMCR @ : $1F0 / $3F6 $CC00
    spurious interrupts
0
    bounced misaligned cache line start DMA requests
0
    bounced misaligned cache line end DMA requests
0
    bounced non
-contiguous buffer DMA requests0
*** Error opening device a1ide.device unit 1
*** Error opening device a1ide.device unit 2
*** Error opening device a1ide.device unit 3
*** Error opening device a1ide.device unit 4
*** Error opening device a1ide.device unit 5
*** Error opening device a1ide.device unit 6
*** Error opening device a1ide.device unit 7
*** Error opening device a1ide.device unit 8
*** Error opening device a1ide.device unit 9
*** Error opening device a1ide.device unit 10
*** Error opening device a1ide.device unit 11
*** Error opening device a1ide.device unit 12
*** Error opening device a1ide.device unit 13
*** Error opening device a1ide.device unit 14
*** Error opening device a1ide.device unit 15

6.AmigaOsA1
:> ram:DiskSpeed/DiskSpeed ALL
DiskSpeed 4.5
OS4 version
Copyright 
1989-92 MKSoft Development
Copyright 
2003-04 Daniel JAndrea II St?phane Guillard
Modified June 2023 by A
WWyatt for VP DOS API

------------------------------------------------------------
CPUAmigaOne  AmigaOS Version54.30  Normal Video DMA
Device
:      Buffers64

Testing directory manipulation speed
.
File Create:         6398  files/sec
File Open
:          27.64 kfiles/sec
Directory Scan
:    180.21 kfiles/sec
File Delete
:         9387  files/sec

Seek
/Read:         128.82 kseeks/sec

Testing with a 512 byte
LONG-aligned buffer.
Create file:         7.80 MiB/sec
Write to file
:      54.62 MiB/sec
Read from file
:     59.04 MiB/sec

Testing with a 4096 byte
LONG-aligned buffer.
Create file:        11.40 MiB/sec
Write to file
:     299.88 MiB/sec
Read from file
:    313.72 MiB/sec

Testing with a 32768 byte
LONG-aligned buffer.
Create file:        15.04 MiB/sec
Write to file
:     920.64 MiB/sec
Read from file
:    975.17 MiB/sec

Testing with a 262144 byte
LONG-aligned buffer.
Create file:        10.88 MiB/sec
Write to file
:      15.44 MiB/sec
Read from file
:     14.72 MiB/sec

Testing with a 1048576 byte
LONG-aligned buffer.
Create file:        13.70 MiB/sec
Write to file
:      15.38 MiB/sec
Read from file
:     14.75 MiB/sec


new:
6.AmigaOsA1:> idetool -l a1ide.device
-------------------Unit 0 information------------------------
    
Flags : $00000185 - presentsupports DMAATAsupports cache flushinterrupts used
    
Xfer mode best pio 12 (PIO 416 MB/s) / best dma 69 (UDMA 5100 MB/s) / current 69 (UDMA 5100 MB/s)
    
Total blocks 8388608
    Blocksize 
512
    Power mode  
idle (ready for operation)
    
IO1 IO2 BMCR @ : $1F0 / $3F6 $CC00
    spurious interrupts
0
    bounced misaligned cache line start DMA requests
0
    bounced misaligned cache line end DMA requests
0
    bounced non
-contiguous buffer DMA requests0
*** Error opening device a1ide.device unit 1
*** Error opening device a1ide.device unit 2
*** Error opening device a1ide.device unit 3
*** Error opening device a1ide.device unit 4
*** Error opening device a1ide.device unit 5
*** Error opening device a1ide.device unit 6
*** Error opening device a1ide.device unit 7
*** Error opening device a1ide.device unit 8
*** Error opening device a1ide.device unit 9
*** Error opening device a1ide.device unit 10
*** Error opening device a1ide.device unit 11
*** Error opening device a1ide.device unit 12
*** Error opening device a1ide.device unit 13
*** Error opening device a1ide.device unit 14
*** Error opening device a1ide.device unit 15


6.AmigaOsA1
:> ram:DiskSpeed/DiskSpeed ALL
DiskSpeed 4.5
OS4 version
Copyright 
1989-92 MKSoft Development
Copyright 
2003-04 Daniel JAndrea II St?phane Guillard
Modified June 2023 by A
WWyatt for VP DOS API

------------------------------------------------------------
CPUAmigaOne  AmigaOS Version54.30  Normal Video DMA
Device
:      Buffers64

Testing directory manipulation speed
.
File Create:         6313  files/sec
File Open
:          27.02 kfiles/sec
Directory Scan
:    179.39 kfiles/sec
File Delete
:         9739  files/sec

Seek
/Read:         123.70 kseeks/sec

Testing with a 512 byte
LONG-aligned buffer.
Create file:        16.53 MiB/sec
Write to file
:      39.41 MiB/sec
Read from file
:     58.28 MiB/sec

Testing with a 4096 byte
LONG-aligned buffer.
Create file:        45.36 MiB/sec
Write to file
:     235.15 MiB/sec
Read from file
:    328.15 MiB/sec

Testing with a 32768 byte
LONG-aligned buffer.
Create file:        49.57 MiB/sec
Write to file
:     795.75 MiB/sec
Read from file
:    904.26 MiB/sec

Testing with a 262144 byte
LONG-aligned buffer.
Create file:       175.12 MiB/sec
Write to file
:     357.69 MiB/sec
Read from file
:    326.50 MiB/sec

Testing with a 1048576 byte
LONG-aligned buffer.
Create file:       189.62 MiB/sec
Write to file
:     361.38 MiB/sec
Read from file
:    328.50 MiB/sec

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
After I restored the original "nonvolatile.library.kmod" and deleted nvram.config from the Kickstart folder, UDMA mode can also be used here. This makes everything feel a little faster when loading. Thanks smarkusg for the tip.

@joerg

Thank you very much for sharing your knowledge with us.

Resized Image

As you suggested, I entered it into User-startup and it works

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@smarkusg
Use much more buffers, at least 1000 instead of only 64. Change it with MediaTooBox in the partition details.

DiskSpeed isn't really usable for such tests, using for example ScsiSpeed would be better.
DiskSpeed is a benchmark tool for comparing different file systems on the same hardware and most of your results for the small transfer sizes are just testing memcpy() speed of the disk cache instead of actual disk accesses and as result for example the 32768 bytes read/write results (from/to the disk cache) are much faster than the results of the larger transfers (which may bypass the disk cache and are disk I/O speed).
ScsiSpeed is for checking the speed of the hardware/driver, without using a file system, disk caches, etc.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@joergQuote:

Use much more buffers, at least 1000 instead of only 64. Change it with MediaTooBox in the partition details.


What does changing the buffer size do? Should it be increased for all partitions or only for the system partition.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@joerg
Quote:
Use much more buffers, at least 1000 instead of only 64. Change it with MediaTooBox in the partition details.


You are right , the value should be minium 1000 - my mistake . Thank you

I have a question for you as we are talking about file systems. I have searched but have not found an answer.
There is a JXFS file system. I checked - the file is no different from the one in AOS 4.1. In AOS 4.1 FE is the same - it even has the same checksum.
The system can be used for reading and writing, but only until the next reboot of 4.1 FE.
Is it possible to unlock it to make it read/write in AOS 4.1 FE?
From what I read there were problems with it and it was withdrawn. I am aware that it can break something, but I would like to find out for myself

Pegasos 2 Qemu:
jxfs
Testing directory manipulation speed
.
File Create:         1124  files/sec
File Open
:           5708  files/sec
Directory Scan
:     88.79 kfiles/sec
File Delete
:         1808  files/sec

Seek
/Read:          17.19 kseeks/sec

Testing with a 512 byte
LONG-aligned buffer.
Create file:         7.29 MiB/sec
Write to file
:       7.86 MiB/sec
Read from file
:      7.74 MiB/sec

Testing with a 4096 byte
LONG-aligned buffer.
Create file:        38.70 MiB/sec
Write to file
:      45.28 MiB/sec
Read from file
:     65.65 MiB/sec

Testing with a 32768 byte
LONG-aligned buffer.
Create file:        62.88 MiB/sec
Write to file
:     273.49 MiB/sec
Read from file
:    389.35 MiB/sec


sfs

Testing directory manipulation speed
.
File Create:          407  files/sec
File Open
:           1572  files/sec
Directory Scan
:      9239  files/sec
File Delete
:          712  files/sec

Seek
/Read:           6077  seeks/sec

Testing with a 512 byte
LONG-aligned buffer.
Create file:         1.26 MiB/sec
Write to file
:       3.75 MiB/sec
Read from file
:      4.64 MiB/sec

Testing with a 4096 byte
LONG-aligned buffer.
Create file:         9.38 MiB/sec
Write to file
:      22.98 MiB/sec
Read from file
:     28.84 MiB/sec

Testing with a 32768 byte
LONG-aligned buffer.
Create file:        17.96 MiB/sec
Write to file
:     115.34 MiB/sec
Read from file
:    148.36 MiB/sec


Edited by smarkusg on 2023/11/5 22:48:50
Edited by smarkusg on 2023/11/5 22:50:34
Edited by smarkusg on 2023/11/5 22:51:24
Edited by smarkusg on 2023/11/5 22:52:16
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@all

Is it possible to use a real gamepad (usb) with Qemu and AmigaOs4.1? Qemu Pegasos2 supports USB.

Resized Image

Most of the games I currently play on AmigaOs4.1 work very well with a keyboard, but games like MegaMario/XRick/SMC etc. would play much better with a joystick or gamepad.

I found this gamepad on https://www.amiga-shop.net/en/Amiga-Ha ... -Amiga-gamepad::1125.html and would like to buy it, it also offers USB support, so it should be possible, since according to the manufacturer AmigaOs4.1 supports this device.

Has anyone already tried or tested this?


Edited by Maijestro on 2023/11/18 20:24:18
Edited by Maijestro on 2023/11/18 20:24:51
Edited by Maijestro on 2023/11/18 20:25:37
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
Some news about QEMU and AmigaOS:

I've moved the project to qmiga.codeberg.page from the osdn.io address because that does not work reliably any more. Please use this address from now on. The wiki articles are also on codeberg.org/qmiga/pages/wiki now.

There is also a new BBoot release to simplify booting AmigaOne version but that needs latest QEMU from git master for now or the 8.2 release that will be out in one or two weeks. More info on using it is here.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@balaton

Compiled current qemu master for windows and Amigaone machine with bboot working as intended. Good job!

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@balaton

Thanks for the new BBoot version, after some start difficulties by "SmartFilesystem" alias "SmartFileSystem" BBoot could not find and load the module, I had the problems at that time already with BBoot Pegasos2.

By removing all required firmware rom files it makes the installation for the AmigaOneXe machine very easy, no modification of the Install.Iso is necessary anymore.

Just a short info the AmigaOneXe machine works as fast as the Pegasos2 machine UDMA/USB/VIA-AC97 network works without any problem. Fantastic work.




MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just popping in
Just popping in


See User information
ZBalaton man of the year!
Where can I find windows binaries for latest qemu 8.2?

Memento audere semper!
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@flash

See here - I saw that someone has made the windows version available today

https://www.amiga-news.de/de/forum/thr ... tart=271&BoardID=6#375174

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@balaton

BBoot with AmigaOne works very well. Additionally, I have noticed that emulation works much better with BBoot than U-Boot.
I don't know why, but it does.
Thank you

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
Hello... i recently bought an amigaos4 pegasos II cd to try this..
But no matter what i do, i get this error when i try to start it:

qemu-system-ppc: -drive if=none,id=hd,file=Peg2InstallCD.iso,format=raw: Failed to lock byte 100

I am on an M1 mac if that matters.

Help!

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@spotUPQuote:
spotUP wrote:Hello... i recently bought an amigaos4 pegasos II cd to try this..
But no matter what i do, i get this error when i try to start it:

qemu-system-ppc: -drive if=none,id=hd,file=Peg2InstallCD.iso,format=raw: Failed to lock byte 100
Help!


I command line doesn't make any sense, they just told Qemu a drive.

Please use Balaton Zoltan`s guide it will help you with the installation. If you still have problems, I would be happy to help you.

Installation Guide :

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

If you can read German, I have also written an installation guide with a little more detail about using Qemu.

Installation instructions (German) :

https://www.docdroid.net/N4g6McT/qemu8 ... epegasos2bbootinstall-pdf

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top

  Register To Post
« 1 ... 63 64 65 (66) 67 68 69 ... 72 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project