![]() |
![]() |
#1481 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,022
|
the new years edition from post #1278 has the option to invert the mouse so up is down and down is up
|
![]() |
![]() |
#1482 | ||
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,926
|
Quote:
Quote:
|
||
![]() |
![]() |
#1483 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
@grond
As I said, these are not optimisations or changes I consider remotely worth the effort which is why I merged them anyway. It was more to answer the question "what might I have done differently". The averaging of the last 8 frames is specifically to avoid the memory effect you described but to be fair, the influence of each previous frame is halved every time so it's not actually a big deal. Last edited by Karlos; 06 March 2023 at 13:32. |
![]() |
![]() |
#1484 |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,686
|
Would it be OK to ask compiled new versions to first post?
|
![]() |
![]() |
#1485 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
I've updates the makefile to have a dev target and began conditionally assembling all the instrumentation. I've also moved it to it's own source file.
Once I've finished tidying I'll actually start implementing the stuff I intended in the dev build. |
![]() |
![]() |
#1486 | |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,022
|
Quote:
I don't think testing under emulation will be that representative as I believe the cpu emulation is not instruction timing correct for 68020 and above, I could be wrong however. |
|
![]() |
![]() |
#1487 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
Quote:
I tried to add you as a reviewer to this PR but I think you may need to be a collaborator. Either way, it moves the code you've added and makes some renaming changes: https://github.com/mheyer32/alienbreed3d2/pull/56 It also leverages the fact that the frame render and c2p timing calls are adjacent and simplifies it a bit to get 2 fewer eclock calls per frame. To build with instrumentation you now have to do "make dev". The default behaviour is to build the "release" version. |
|
![]() |
![]() |
#1488 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,022
|
looks good to me
![]() |
![]() |
![]() |
#1489 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
I'm probably going to move the info into a horizontal line at the foot of the display where the in game messages used to render, assuming the full height is still 256 pixels. That way avoid overdrawing the play area. Can probably get away with a single text buffer and Text() call then too.
|
![]() |
![]() |
#1490 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
@grond & @abu
I noticed in the frame timing, d1 seems to contain the result of SubTime(), but according to the autodocs, this is supposed be a void return. Is this behaviour documented somewhere? Or did I just misread what was going on? |
![]() |
![]() |
#1491 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,022
|
This may well be a mistake? by me.
|
![]() |
![]() |
#1492 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
Well, it works. If I had to guess it's the ABI saying d0 and d1 can't be trusted after a function call. If I had to guess how the SubTime() was implemented I'm going to guess at the aforementioned sub/subx pair. It may well be that d1 happens to contain the lower 32-bit difference afterwards.
Maybe the assembler includes say different than the C docs. |
![]() |
![]() |
#1493 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,926
|
AddTime() and SubTime() store the result in the first of the two specified timeval structs. If the result is also available in d1, this is probably an undocumented and unreliable side effect of the implementation of the timer.device. Future versions or alternative implementations (AROS) could do it differently.
|
![]() |
![]() |
#1494 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
@grond & @abu
I may update the instrumentation code to just record a number of eclock values per frame at certain points in the code and then do all the analysis in one place at the end. At the moment we have discrete start/finish markers per thing measured, although I've consolidated a pair of them, there are still the same marker values due to the destructive nature of SubTime(). Not in a rush to do it but I think consolidating it makes sense. |
![]() |
![]() |
#1495 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,022
|
Modify away, your the guy who's going to be using it.
|
![]() |
![]() |
#1496 |
Registered User
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
|
Does a 060 compiled version make any difference for such a system?
I can't really try myself as I don't have an 060. |
![]() |
![]() |
#1497 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
|
![]() |
![]() |
#1498 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
Any word on what pipper is up to?
|
![]() |
![]() |
#1499 |
Registered User
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
|
|
![]() |
![]() |
#1500 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,022
|
@Karlos
not heard anything for a while, I have seen him popup as being on line here on eab a couple of times recently. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alien Breed 3D II The Killing Grounds RTG patch | Angus | Retrogaming General Discussion | 63 | 14 December 2022 15:20 |
Alien Breed & Alien Breed '92: SE - delay when picking up items / opening doors | Ian | support.WinUAE | 16 | 23 December 2016 15:50 |
Alien Breed 3D II : The Killing Grounds code booklet | alexh | support.Games | 19 | 10 October 2012 22:17 |
Alien Breed 3D 2 - The Killing Grounds | Ironclaw | support.Games | 12 | 13 September 2005 13:07 |
HD Version of Alien Breed I ? | Kintaro | request.Old Rare Games | 20 | 31 July 2003 10:48 |
|
|