25 June 2017, 21:42 | #41 |
Registered User
Join Date: Mar 2002
Location: Kansas City, MO, USA
Posts: 683
|
|
25 June 2017, 21:46 | #42 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
I can go into technical details and, at the end of beta stage, release the source code of the slave (but first i've to talk to Wepl about it, my use of WHDLoad is improper..). There would be more to do but too much work required (relocate code/data to fast RAM, even use FMODE=1 ), so I hope that what I did is enough. Bye, ross Last edited by ross; 25 June 2017 at 22:41. Reason: better english? utopia.. |
|
26 June 2017, 12:36 | #43 |
namm namm AMIGA
Join Date: Jan 2015
Location: Austria
Age: 44
Posts: 734
|
Hi Ross.
I Tested the Beta of the AGA version and its way better. Slowdowns happen here and there but i think thats the game itself. The Blitter waits are pretty much fixed as far as i can tell. The 16 Bit version would be sweet too (for my A600 FuriaV2) Here is a very interresting readme from the JST version. Maybe it is worth taking a look. HUGE greetings & Thanks, Nibbler Last edited by Nibbler; 26 June 2017 at 18:56. |
26 June 2017, 16:34 | #44 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
(AGA seems a quick OCS transcoding.. brutally increasing DMA usage from 4 to 7BPL(4+3) and FMODE=0 ). There is SMC and reversed BlitterWaits, so you be right (all patched in new AGA beta slave). Bye, ross |
|
27 June 2017, 00:14 | #45 | |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
Quote:
The extra cycles consumed by WHDLoad during interrupt processing are minimal. I doubt that these can result in any noticeable degradation in normal demos/games. Excessive unusual interrupt load would be necessary for that. But your are welcome to prove the opposite. |
|
27 June 2017, 04:01 | #46 |
Posts: n/a
|
I've actually seen whdload Zool 2 freeze in fs-UAE.
Unfortunately, a great many games have timing faults of some kind that are heisenbugs. It's probably a pity reporting is not automated, so almost for certain, a great amount of semi-reproducible bugs are slipping through unnoticed. |
27 June 2017, 12:11 | #47 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
Bye! ross |
|
27 June 2017, 20:06 | #48 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
WHDLoad impact
Ok, time for some numbers
(they are approximate, the variables to consider are many more). I've rewritten IRQ services L2 and L3 (CIAA/VBL). For CIAA I 've used TimerA/TimerB/SP (before there is only SP). TimerA is for KBD ACK after SP IRQ so is impredictable. TimerB is for DMA start of sample in PT replay routine (VBL) and for repeat point (before there was a delay done with a cpu loop...). So i've a minumum of 3 IRQ / frame. In fast processor Wepl code can take 0.5 H line, so 1.5 line/frame for Zool. This is a mere 0.5% of the total time (can be 1% in slow processor). note: these numbers are for a non-optimal situation (stack in chip ram, vector call cycles in whdload routine count ...) So I think WHDLoad cannot be the reason of the slowdowns Cheers, ross Last edited by ross; 27 June 2017 at 20:25. Reason: note: |
27 June 2017, 21:39 | #49 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
In The Zone! a pure WHDLoad slave
Please test and report if slower than previous version. @Wepl: for some critical demo/game my _Disable/_Enable can be useful. What about an official version? (with some precaution i proved that can be secure and usable) A big NOOO can be an acceptable response Bye! ross |
27 June 2017, 23:11 | #50 | ||
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
Quote:
On which CPU do you tested? And was there fast ram? Quote:
What do you mean with 'official version'? |
||
28 June 2017, 01:04 | #51 | ||
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Thanks Wepl for the interest!
I own only an Amiga: WinUAE... But I'm orthodox: only CPU/DMA/Memory_access cycle exact. In this case a '030 8x base freq. + exp. RAM. (yes, for me this is a reference/fast machine..). The latency emulation in WinUAE in regard to internal bus is VERY good. I check time elapsed from HPOS. In your case there is latency from: CPU cycles for the IRQ start, some environment/stack checks, some custom/CIA read/check, get autovector from chip_RAM, make the new stack, call the real service (with probably supervisor SP in chip..). I made some fast test with an emulated vanilla A1200 resulting near one H-line (but for precise result I've to repeat.. ). On a '060 sure much better than 0.5H (practically only latency from internal bus). I'm really sorry for lack of real Amiga... But I trust WinUAE. Quote:
Can be a solution (absolutely fast!), but in users hands.. Quote:
Both solutions have pros and cons. And first we need a demo/game that generate an IRQ storm.. But after there's no more excuse for a slow slave Bye! ross |
||
28 June 2017, 05:23 | #52 |
Registered User
Join Date: Mar 2002
Location: Kansas City, MO, USA
Posts: 683
|
I ran the side by side comparison with the new slave, and speedwise, it's very close to the first beta you put out.
However, I think the first beta seems to be just little smoother overall when lots of sprites are on screen. If I set speed = "FAST" and inertia = "OFF" in the options, the speed differences seem to be a little more pronounced. |
28 June 2017, 09:24 | #53 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
So Zool AGA is really time critical and a good candidate for FastInts/Sor resload_Disable(). This is surely due to the exaggerate usage of BPL DMA / small BLIT (internal bus is hogged too much). Not to mention the intensive use of variables in chip memory (CPU register usage is 'optional'..). The little 0.5% is in most way related to free internal cycles so is multiplied and make some difference. |
|
30 June 2017, 18:07 | #54 |
namm namm AMIGA
Join Date: Jan 2015
Location: Austria
Age: 44
Posts: 734
|
Hi Ross & Co. (Sorry, it took a while )
I agree with th4t1guy. The first beta was the "smoothest" Not much of a difference; just a little bit. (i played always the same style in level 1-1... just pressing right on the joypad and fire fireballs... until the forced walljump passage with the "double zool ability" ... then keep on running right without any pause and shooooooooting fireballs ) a good stress test (man, if zool would scroll like kid chaos !!!! ) Thank you ross |
30 June 2017, 19:24 | #55 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Working on Zool (OCS).
In theory it should go much better than the AGA version. See you soon, ross |
30 June 2017, 20:26 | #56 |
namm namm AMIGA
Join Date: Jan 2015
Location: Austria
Age: 44
Posts: 734
|
No hurry Ross. Ready when you are. Big fan
|
30 June 2017, 20:49 | #57 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
01 July 2017, 10:53 | #58 |
namm namm AMIGA
Join Date: Jan 2015
Location: Austria
Age: 44
Posts: 734
|
- hihi -
|
02 July 2017, 20:13 | #59 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Zool (OCS) WHDLoad rework beta (in The Zone)
phew, more patch points than AGA version... Ciao, ross |
02 July 2017, 20:59 | #60 |
Warhasneverbeensomuchfun
Join Date: Jun 2001
Location: Rio de Janeiro / Brazil
Age: 41
Posts: 3,450
|
I remember reviews pointing out that Zool AGA had lots of slowdowns and jerkiness not present on the OCS version.. this was magazines back at the time, I remember "The One" review pointing out there's no point in add parallax and more colors if the game is going to run like shit.
Maybe this is not an WHDLoad problem indeed? As I never owned an AGA machine I can't give much personal info about it. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Who can fix Cannon Fodder WHDLoad installer? | apex | project.WHDLoad | 3 | 18 November 2016 23:39 |
FS-UAE - Unregistered WHDLOAD : WHDLOAD.KEY - FIX | Neil79 | support.FS-UAE | 14 | 29 January 2013 22:34 |
Annoyed Zool ad/ Zool PSP Survey | Scuba-cheese | Nostalgia & memories | 9 | 30 May 2011 16:57 |
Zool 2 Slowdown on WHDLoad | Graham Humphrey | support.Games | 14 | 22 April 2007 15:59 |
Zool vs Zool 2 (2nd time) | NytroX86 | Nostalgia & memories | 6 | 05 December 2002 14:10 |
|
|