Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: WHDLoad vs Floppy game speed  (Read 720 times)

0 Members and 1 Guest are viewing this topic.

Offline blakespot

WHDLoad vs Floppy game speed
« on: May 16, 2020, 03:51:10 AM »
I launched Zeewolf 2 on my A2000 '020 w/ 2MB 32-bit FAST RAM and 4MB 16-bit FAST RAM. It is FAR faster using an ADF than the WHDLoad image. Is part of the point of WHDLoad to eliminate any accelerator advantage? Why would that be?


bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Online TribbleSmasher

Re: WHDLoad vs Floppy game speed
« Reply #1 on: May 16, 2020, 12:30:40 PM »
Maybe you have a generic WHDload icon for Zeewolf with CPU cache turned off.
 

Offline x303

Re: WHDLoad vs Floppy game speed
« Reply #2 on: May 16, 2020, 01:37:40 PM »
Maybe preload is on.

Offline blakespot

Re: WHDLoad vs Floppy game speed
« Reply #3 on: May 16, 2020, 02:03:26 PM »


I checked that right off - not the case. And the notes talk about cache optimizations, etc. Cache not turned off.

And as for preload - why would that matter for frame rate?
« Last Edit: May 16, 2020, 02:06:21 PM by blakespot »
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Offline giZmo350

Re: WHDLoad vs Floppy game speed
« Reply #4 on: May 16, 2020, 07:04:47 PM »
Gooday Blake.... I'm sure you already checked the slave on WHDLoad however, I'll link it here. May be some useful info.

http://whdload.de/games/Zeewolf2.html

You would surely get a response to your question over at EAB as all the WHDLoad experts are over there!   8)


« Last Edit: May 16, 2020, 07:08:10 PM by giZmo350 »
A500: 2MB Chip, 8MB Fast, IndiECS, MiniMegi, IDE4ZorroII on Z-500, KS1.3/KS3.1, WB3.1&BWB
 
A2000HD: 2MB Chip, 128MB Fast, P5:Blizz 2060@50MHz, PCD-50B/4GBCF, XSurf100, RapidRoad, IndiECS, Matze RTG, MiniMegi, CD-RW, SunRize AD516, WB3.9
 
A1200: 2MB Chip, 64MB Fast, 4GBCF, GVP Typhoon 030 @40MHz w/FPU, Subway USB, EasyNet Ethernet, Indi AGA MKI, FastATA MK-IV, Internal Slim CD/DVD-RW, WB3.5

Surfing The Web With An AMIGA Is Fun Again!
 

Offline blakespot

Re: WHDLoad vs Floppy game speed
« Reply #5 on: May 21, 2020, 01:01:50 AM »
Check this out. I took a video of the game running in 3 different states:

Floppy - 68000 w/ 1MB CHIP, 4MB FAST
Floppy - 14.3MHz 68020 w/ 1MB CHIP, 2MB 32-bit FAST RAM, 4MB 16-bit FAST RAM
WHDLoad - 14.3MHz 68020 w/ 1MB CHIP, 2MB 32-bit FAST RAM, 4MB 16-bit FAST RAM

https://www.youtube.com/watch?v=gXs0AX9LlEI

Note the WHDLoad notes shown on video before the WHDLoad example plays. How is it as slow (slower?) than the 68000-only floppy run? Makes me question the whole WHDLoad situation. My "floppy" is a HxC2001.

Thanks for having a look.



bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Offline doctorq

Re: WHDLoad vs Floppy game speed
« Reply #6 on: May 21, 2020, 06:41:21 AM »
You haven 't got preload enabled.

From the manual
Quote
Preload/S
If this option is enabled, WHDLoad will load as many files and disk images as possible into memory at startup. If during preload the free memory is not sufficient for a file preloading will stop. Then only a part of the files are preloaded. This increases performance when the installed program is running, because it avoids switching to the OS to load data directly from the harddisk. This option should be enabled always.
 

Offline blakespot

Re: WHDLoad vs Floppy game speed
« Reply #7 on: May 21, 2020, 07:15:05 PM »
You haven 't got preload enabled.

From the manual
Quote
Preload/S
If this option is enabled, WHDLoad will load as many files and disk images as possible into memory at startup. If during preload the free memory is not sufficient for a file preloading will stop. Then only a part of the files are preloaded. This increases performance when the installed program is running, because it avoids switching to the OS to load data directly from the harddisk. This option should be enabled always.

It was on. User x303, up in the thread, said "maybe preload is on." I have no idea why preload would cause it to be slower, so I turned it off. It was on. Preload makes no difference -- same speed during gameplay either way. Preload is not the issue.


bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Offline vince_6

Re: WHDLoad vs Floppy game speed
« Reply #8 on: May 21, 2020, 11:08:21 PM »
Indeed, preload has nothing to do with framerate.
I had this issue with Lotus 2 on every Amiga I checked.
The gameplay was slower.
Same goes for SWOS. When you reached the goalposts then everything slowed down. (not anymore though but I had this for over a decade)
My BBS : flashbackbbs.sytes.net:6502
http://partsfromthepast.blogspot.gr/ A1200 Black Project
 

Offline doctorq

Re: WHDLoad vs Floppy game speed
« Reply #9 on: May 22, 2020, 06:46:43 AM »
 It isn't in your video, hence the suggestion.
 

Offline blakespot

Re: WHDLoad vs Floppy game speed
« Reply #10 on: June 25, 2020, 10:45:26 PM »
It's unfortunate this seems to happen with some titles. Now I am compelled to check every WHDLoad game against a floppy image of same on my A2000 '020. Yea, it's only a 14.3MHz '020 -- but it has some 32-bit FAST RAM, the MMU, and the '881 FPU -- the only advantage a '030 would have over it is a 256 byte data cache (the '020 has only a 256-byte instruction cache). So the difference in performance is worth thinking about.

bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Offline Matt_H

Re: WHDLoad vs Floppy game speed
« Reply #11 on: June 26, 2020, 02:14:47 AM »
Try it with WHDLoad v16, which was current at the time the slave was written. Despite the claimed performance tweaks in the readme, I suspect there's a bug hindering performance, possibly triggered by changes in newer WHDLoad versions.

Also try the CACHE tooltype to force-enable that feature. I was also going to suggest the MMU tooltype (which is related to cache performance) but the docs say the external MMU on the 2620 (I assume that's your accelerator judging by the boot menu) isn't supported. But try it anyway. ;)