17 May 2023, 19:27 | #2581 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
It didn't break because nothing calls that function yet. All the Dev metrics go via a macro that just does the lower 32-bit eclock difference.
Aww, I was gonna do some RTG *sniff* No seriously, go for your life. Last edited by Karlos; 17 May 2023 at 19:32. |
17 May 2023, 19:37 | #2582 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
Regarding RTG, isn't the render area already 320*240?
Replace the border with a HUD, I'd suggest. |
17 May 2023, 21:38 | #2583 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,024
|
@pipper
cool stuff indeed |
17 May 2023, 22:29 | #2584 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
Quote:
*A late 70s weekend early evening comedy. |
|
18 May 2023, 09:42 | #2585 |
Amiga Games Database
Join Date: Jun 2006
Location: South West England
Posts: 1,294
|
|
18 May 2023, 10:46 | #2586 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
|
18 May 2023, 10:59 | #2587 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
@pipper
On the RTG front, I don't know if this has changed since the CGX4/OS3.9 days but back then the only way to do performant rendering was to lock the bitmap and use your own copy/transform code to blast raw pixel data from your chunky buffer into the bitmap. All of the provided functions tended to suck at this. Using move16 on the BVision I was able to reach near total saturation during transfer. Last edited by Karlos; 18 May 2023 at 11:29. |
18 May 2023, 14:37 | #2588 |
Registered User
Join Date: Apr 2023
Location: piteƄ/sverige
Posts: 13
|
Got it running on my A4000 3660 @50 mhz, between 5-11 fps and in winuae steady 59 fps. must say although the fps very enjoyable play wise. will try on my 1200T later.
im also all for keeping it on the amiga i only thought it odd that it was never ported to ppc for the blizzard accelerator and such back in the day but guess the developers had moved on to other platforms by then and didnt see the point. |
18 May 2023, 15:12 | #2589 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
There was a tool that purported to be able to translate 68K assembly language source to PPC assembler. I don't know how well, or even if, it worked.
I wouldn't be surprised if the current build actually runs on a PPC equipped classic machine where the hardware that it does touch is actually available. |
18 May 2023, 22:39 | #2590 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 681
|
Man, the menu code is a hot mess. I tried to find a single entry that would be called regularly called when the menu is shown (so I can squeeze a call to BlitBitMapRastPort() in there), but couldn't find a suitable one.
I ended up creating a second task(!) that would receive a message from the vblank interrupt to execute the blit from offscreen menu bitmap (planar) to onscreen RTG (chunky). That works sorta... but is a really shoddy solution. I only did it because I don't want to deal with the menu code just yet. I think once I muddled through and got the actual game run on RTG, we might want to completely overhaul the menu system in C. |
18 May 2023, 22:47 | #2591 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
Agreed. If we are having to copy from chip to VRAM (possibly even going via fast memory internally), the menu is likely to end up more CPU bound than the bloody game, lol.
|
18 May 2023, 22:47 | #2592 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,024
|
yep, the menus are a mess, all 3 versions that are scattered throughout the code
|
18 May 2023, 22:58 | #2593 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
Are the menu glyphs planar? We could preconvert those to chunky and just have a functional menu without the snazzy fire and scroll effects for RTG. Then we can have four versions lol.
|
19 May 2023, 00:11 | #2594 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 681
|
Yes, going forward I'd opt for rendering the menu entirely in fastmem as chunky buffer. On RTG this will then be just copied over to the graphics card, on AGA the classic C2P routines will be used. I would want to keep backwards compatible with the assets, though (fonts, images etc), which shouldn't be too much of a hassle.
|
19 May 2023, 09:55 | #2595 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 681
|
Ok lads, I have updated the C migration branch with rudimentary RTG rendering.
No text, no HUD, no functioning doublewidth/double height modes and slow main menu along with slow loading while the menu is running) - but hey, we got the game render through RTG ;-) Its not as fast as I hoped on my A3000 with a BFG9060...but there's likely still room. |
19 May 2023, 10:14 | #2596 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
How are you copying the fast buffer to the bitmap?
|
19 May 2023, 10:31 | #2597 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 681
|
Either memcpy or a single call to CopyMemQuick.
|
19 May 2023, 11:05 | #2598 |
Retro Freak
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,665
|
Is there a built exe of the rtg test version anywhere?
|
19 May 2023, 11:21 | #2599 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,516
|
I'd probably have a function pointer for this and have a number of routines that can be switched through. Certainly on my old BVision, for 040 and 060, move16 was a clear winner. If you use the copymemquick type patches, you could approach it. With the C memcpy, you are totally at the mercy of the compiler standard library implementation.
|
20 May 2023, 00:12 | #2600 | |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,024
|
Quote:
I am unable to build hiresC, it terminates with fatal error: ld terminated with signal 11 [Segmentation fault] might be something I done wrong? |
|
Currently Active Users Viewing This Thread: 3 (0 members and 3 guests) | |
Thread Tools | |
Similar Threads | ||||
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 |
|
|