13 November 2022, 02:13 | #201 |
Registered User
Join Date: Jan 2019
Location: Finland
Posts: 640
|
|
13 November 2022, 11:08 | #202 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
Quote:
You would need a specialized emulator for that. Besides there are also data accesses. If they're read only, it doesn't matter if you're reading the unrelocated copy or not, but if they're read/write it can be a problem. And anything that generates false alarms must be fixed anyway. I'm glad that Starglider 2 works ! I have another version to support not sure I'm going to do it, there are so many manual steps for that game... |
|
14 November 2022, 21:56 | #203 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 761
|
Disk access in Hunter works again. Fantastic! But I have two new issues reported in Mantis.
(Sorry for the resume name of one of them but cant edit the entry). |
15 November 2022, 02:20 | #204 | |
Registered User
Join Date: May 2018
Location: Ireland
Posts: 684
|
Quote:
I'm sure Toni could magic it up |
|
15 November 2022, 10:34 | #205 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
Self-modifying code is already supported (with limitations). My problem is more specialized than that.
more news: Small update on blitter emulation, thanks to paraj and his C++ blitter emulation code, I converted to C then asm and tested on one of my games, it seems to work, so later I'm going to try to plug it in Killing Cloud and later on FighterBomber I've tested Infestation (beta, unstable) on my 060 and it runs much smoother than the original. Which is good news. I've also tested Starglider 2 and on my 060 it makes no difference (in chipmem it's already very smooth). But maybe it does make a difference on 020 or 030 + fast. Testers welcome. |
15 November 2022, 23:56 | #206 |
Amiga Games Database
Join Date: Jun 2006
Location: South West England
Posts: 1,271
|
This is awesome work, Jean-François. :-)
|
17 November 2022, 23:40 | #207 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
Small update & news on the global project:
- someone reported bugs in Hunter relocated. I have fixed them, but not released the fix yet (3 versions to fix) - paraj helped me with the blitter code. There are still issues but it more or less works.So I have plugged the blitter emulation into "the killing cloud" and it kind of worked. Gfx glitches because blitter emulation isn't perfect (yet) but it already looks faster than with the blitter on fast cpus. Maybe a mixed mode (half blitter / half cpu depending on the bitplanes) would rock. |
18 November 2022, 08:06 | #208 |
Alien Breeder
Join Date: Dec 2007
Location: Szigetszentmiklos / Hungary
Age: 46
Posts: 1,106
|
Cool, can't wait to see it on my screen!
|
22 November 2022, 15:44 | #209 |
Alien Breeder
Join Date: Dec 2007
Location: Szigetszentmiklos / Hungary
Age: 46
Posts: 1,106
|
4D Sports Driving just came to my mind... it also looks horrible in terms of frames / sec...
|
22 November 2022, 17:16 | #210 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
4D Sports Driving is probably coded in C with old compilers. Time to use my profiler on that one (that one and Hard Driving 2).
News: paraj is helping me with Killing Cloud. The issue here is more than fastmem but heavy use of blitter. Blitter emulation works but is too slow so he rewrote the drawing routine more globally. Seems to speed it up. More to come... Started work on relocating Fighter Bomber too. |
23 November 2022, 08:06 | #211 | |
Alien Breeder
Join Date: Dec 2007
Location: Szigetszentmiklos / Hungary
Age: 46
Posts: 1,106
|
Quote:
If I can help with testing, please let me know. |
|
23 November 2022, 10:12 | #212 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
I'll zone beta versions as soon as they're more or less running
I profiled 4D Sports Driving and the program spends most of the time ... waiting for the blitter to finish... Paraj replaced blitter routines by cpu routines but that was some extra work to rewrite drawing routines (not just plugging blitter emulation). That speeds up the game (Killing Cloud). But that's a lot of specific work for each game, without guarantee that it will provide significant speed up. Last edited by jotd; 23 November 2022 at 19:40. |
23 November 2022, 20:08 | #213 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,146
|
I've spent way too much time on this, but here's a Killing Cloud slave for testing. It's still a shit^H^H^Hlideslow when clouds are off, but hopefully it's faster than previously.
Added a FPS counter so speed can be objective compared. The other 3 options disable stuff that I think are logical optimizations but may have bugs (I've only tested the first level for a couple of minutes, not actually played the game) or not be improvements on other machines. On my A1200 (Blizzard 1260@50MHz) I get 2-3 FPS with clouds off (with most of the city in view) and around 10-16 with them on. Comments on whether the various options improve speed for different configurations (or if they don't work of course) would be great. Last edited by paraj; 27 November 2022 at 09:55. Reason: Removed obsolete attachment |
26 November 2022, 00:00 | #214 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
Some good news about the project
- paraj worked wonders on speeding up Killing Cloud, and the result is in the zone for you to test (I have fixed some other remaining issues too). - I have profiled Hard Driving 2 and I don't think the game is slow or taxing for a fast machine. It's just that whdload slave introduced "speed regulation" (because it was maybe too fast at times) but in a wrong way (adding cpu delays before each blitter wait), so it may be slower that it should. I have to re-do the speed regulation so it's steady 25 fps and not too fast either hopefully. The game is coded in C, but it seems that critical parts were done in asm, and it's natively running in fastmem (standard amiga exe). Good effort for a Tengen game! - Still struggling with Fighter Bomber. But making progress. Paraj had a look at the drawing routines and it appears that they're similiar to Killing Cloud (same dev) so game can probably be sped up a great deal. Let's hope. Send in your speedup ideas for 3D or even 2D games. I'll study them. It seems that Vampire struggles with some games (with code running in chip, can someone confirm?) even more than A1260 phase 5 board, reading the number of mantis bugs reported for that configuration. I'm not sure I can fix every game like that, it's a lot of work. Maybe they should fix the Vampire instead. |
26 November 2022, 14:46 | #215 |
Registered User
Join Date: Feb 2020
Location: bristol
Posts: 15
|
Aquaventura Could do with an fps injection...
|
26 November 2022, 20:35 | #216 |
J.M.D - Bedroom Musician
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,558
|
Aquaventura is a whole different can of worms - especially the 1989 press demo -_-
|
26 November 2022, 21:27 | #217 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
Just tested Aquaventura. Not the fastest, even on 060. Will check on WinUAE.
I tested last paraj build of Killing Cloud and wow! it's almost playable with "cloud off". We get 5FPS instead of 2... So in normal play it's very smooth. |
26 November 2022, 23:20 | #218 |
Registered User
Join Date: Feb 2020
Location: bristol
Posts: 15
|
Would this work on sprite scaled games like: Line of Fire, Galaxy Force, Power Drift?
|
26 November 2022, 23:56 | #219 |
Lemon Curry ?
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,106
|
Pressing F2 ingame in Killing Cloud v2.0 (fast relocated slave) makes it quit back to Workbench.
If I do the same with old v1.0 or v2.0 NoReloc slave, it switches to rear view. |
27 November 2022, 00:40 | #220 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
Quote:
If a game crawls on real machine but runs smooth on WinUAE (A1200 speed, or fastest possible), it means that it could benefit from a speedup. If the game runs from chip memory, relocating to fast memory gives some speedup, unless it's relying heavily on the blitter. I'm targetting 3D games mostly because they're also CPU intensive because of all the math. It may not be the case for sprite scaling games. Power Drift looks not very good I don't see how it could be better. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
at a loss with Red Zone framerate | jotd | project.WHDLoad | 23 | 02 March 2021 19:55 |
Cover Disk: Red Zone demo - Freezeframe? | Angus | support.Games | 10 | 06 May 2020 16:09 |
Red Zone? | mikey2002kent | support.Games | 0 | 26 February 2014 22:06 |
Proposal: Split Amiga projects and PC projects? | andreas | project.Amiga Game Factory | 4 | 12 February 2008 12:00 |
Red Zone demo on The One cover disk? | Angus | Retrogaming General Discussion | 7 | 08 November 2006 11:13 |
|
|