WHDLoad MantisBT - JimPower
View Issue Details
0001095JimPower[All Projects] Generalpublic2005-10-19 12:292020-05-03 19:57
ReporterDamian Baran 
Assigned ToJOTD 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
ChipMem256 KB
FastMem0 MB
WorkbenchOS 3.9
KickROM40 - Kick 3.1
Summary0001095: The background floor always 'flashes' in non-fly levels.
DescriptionInstall: Jim Power (Loriciel) http://whdload.de/games/JimPower.html
GameVersion: english,pal,2 disks
SlaveVersion: 1.0 from 20.05.2000

Hi MiCK!
---> Jim Power in Mutant Planet
The background floor always 'flashes' in non-fly levels. It stops 'flashing'
when I am not turning left/right.
In the first level it looks good at the beginning, but after (about) a half
of it, the probem appears.
No changes via CACHE/NOCACHE. Only the loading speed change, hehe. :)
Cfg: A1200, 020, 8M Fast, ROM 3.0, HDD 2.6G, WHDLoad 16.4, Slave 1.1
Regards, El Amigos.
TagsNo tags attached.
has duplicate 0002999closed JOTD Flickering of foreground parallax 
Attached Fileszip JimPower.zip (1,943) 2020-04-09 19:43

2009-10-08 18:54   
I can confirm this, long standing issue. But game can be passed without problems.
2009-11-10 11:02   
any plans to fix this ?
2009-11-10 13:14   
JOTD created JST install. Maybe he can fix this.
2010-06-24 20:07   
Ok, I'll try
2012-05-02 00:23   
I can confirm this issue as well.

Haynor : did you manage to get in touch with JOTD ? Can I do anything to help ? (as a user)
2012-05-02 19:34   
No, I lost interest in this one. Besides it's not a serious bug.
2013-09-13 03:10   
(Last edited: 2013-09-13 03:15)
A real pity the development stopped to fix last flickering parallax glitches left in WHDLoad slave 1.1!
It's one of the most impressive Amiga platform games ever!

2013-09-13 14:35   
For a quite long time StingRay is active. Maybe he can look at this.

This but starts appear just after you get first power-up.
2013-09-13 14:48   
(Last edited: 2013-09-13 14:52)
BTW, does it use 060 unimplemented instructions?
I've seen some Exception 'Illegal instruction' $10 at $289E with latest 2.6.0+, that implemented a better 060 emulation...
This occurs after the "You are here" map, before game starts.

Attached core dump: http://www65.zippyshare.com/v/67874847/file.html

2013-09-13 15:46   
StingRay has currently assign report 2696. I didn't spotted this before previos post. I'm sure he will take a look at this.
2013-09-13 19:38   
I will redo this patch as there are several problems with it. Expect updated patch this winter.

2014-05-04 23:34   
Any progress StingRay ?
2014-05-15 10:14   
Progress yet but the updated patch is not finished yet. Patience please. :)
2016-06-08 17:19   
How is the progress StingRay ?
2016-06-08 20:17   
Working on it from time to time but I still prefer demo patching which is what I'm currently doing. Don't expect any news here before winter [notice how I deliberately didn't mention any year ;)].
2016-06-13 18:15   
Ok, not a problem as game works (though I retest it with whdload 18.2, didn't play couple of years). This is only a small graphic issue :)
2016-06-17 11:42   
Well, changed my mind, after fixing the Beast 3 patch I restarted the work on the Jim Power patch as it's an ace game (excellent code!). :)

Can you please try the attached slave and tell me if the flickering still occurs? Please note that this slave is just for testing and not finished, so ONLY test if flickering occurs or not.

And in answer to Hexaae, yes, there is a movep instruction used which I have emulated in the current patch!
2016-06-17 15:07   
Mmmh... 1st level is ok now, but I've seen some issues on 2nd level... WUAE here though so maybe I have to change some settings.
Trainer in game keys not working with this beta slave, would be handy for testing.
2016-06-17 18:32   
Thanks for testing, try the new test slave, you can select levels in the splash window and skip levels during game by pressing "N". I have also fixed the same problem that was responsible for the flickering in the flying levels. Try again and let me know how it works.
2016-06-17 18:53   
I tried latest slave and for most part flickering is gone. But when I die and game moves playfield fast to the last check point I noticed flickering. Also game slowdowns quite a bit. I tested only first level so far.

The biggest problem is first boss - graphic is thrashed totally :/

BTW. I have unlimited lives even if I didn't check required option.
2016-06-17 19:40   
Finally justice is done to this masterpiece classic for the Amiga!

Thank you!

Still some trainer issues (or wanted?): infinite lives, bombs etc. ON by default after you die first time, and skipping/starting levels directly.
2016-06-17 19:43   
(Last edited: 2016-06-17 19:49)
Yes, I've solved boss trashed gfx and glitches on WinUAE using these tooltypes in the Jim Power WHDLoad icon:

ExecuteStartup=C:uae-configuration cachesize 32 cpu_cycle_exact true cpu_speed real

NOCACHE is required to remove trashed boss gfx.

A shot of my WinUAE system on YT: https://www.youtube.com/watch?v=cXYJnWK4d7A ;)
040/040 max speed WB (Picasso 96 emu), working WHDLoad games and all the rest...

2016-06-17 20:06   
I'm playing on real amiga with EC030 proc and 32 mb fast. NOCACHE didn't help.

I've decided to end boss after first stage with this corruption but after I defeated it whole game has trashed gfx (map, second level) :/
2016-06-17 20:19   
Any trainer issues: unimportant as I was only interested in the flickering issues ("fixing" it requires disabling of just one line of code).

As for the end boss, are the graphics trashed all the time?
2016-06-18 14:11   
(Last edited: 2016-06-18 14:14)
When I end first stage and start fight first boss I have trashed graphics all the time. After I defeated (somehow I managed to do this despite problems) I have trashed map screen and trashed second (flight) level.

BTW. Originally flashes occurs only when I get second weapon in first level (different weapon about after half of level not the EXP for first weapon).
I have to confirm this today with older slave.

2016-06-18 14:48   
(Last edited: 2016-06-18 15:27)
A little request for StingRay:
can you add a ButtonWait before level start, on the map screeen?

2016-06-19 15:27   
Haynor: I can not reproduce the "trashed graphics" problem at all. Does this happen with the older slave too? Game uses a bit of self-modifying code here and there but if that's the reason the graphics trash NOCACHE should fix it.

Hexaae: ButtonWait (or delay) for the map screen will be added as it disappears way too fast when game runs from HD.
2016-06-19 15:58   
ButtonWait support for map screen added and a problem related to fetch mode on AGA machines fixed which could cause trashed graphics.

Please try attached slave and tell me if the graphics problems still occur.
2016-06-19 19:06   
(on WinUAE)
2016-06-19 19:17   
(Last edited: 2016-06-19 19:30)
Really? Graphics trash is fixed but I still have some frame loosing/sprite lag. Since trash is gone I could play futher and I noticed:

On first level when die game rapidly move playfield backward. While this happening some parts of graphics dissapearing. Looks like amiga does not have enough time to draw all elements during rapid movement. Sometimes this even happen if you are on fast platform.

On first boss upper part of sometime has some frames lag to bottom part of boss.

On second boss this flickering/frames lags is almost all the time :/

Also I made mistake desribind when flashing occurs with previous slave. It happens exactly after I pick first weapon upgrade NOT after i pick second weapon. What is strange everything is fine back when I pick second weapon, also everything is fine when I picked extension for second weapon :|

Since shoots are sprites maybe weapon extension use one more sprite than weapon without upgrades. At least Codetapper states this: http://www.codetapper.com/amiga/sprite-tricks/jim-power/

2016-06-19 19:27   
What's you exact system configuration?
I've seen you have an EC030 = without MMU 030 CPU...
2016-06-19 19:30   
(Last edited: 2016-06-19 19:31)
This is not fixable without a major recode of the game engine which I am of course not going to do. Coder timed the game for A500 and cheated by not waiting for vertical blank, instead he sometimes waits for the middle of the screen or some other raster line so drawing will be finished in time on A500. I may add selectable raster line waits so people can try to find the perfect raster line waits for their systems (they are different on each andany CPU and depend on the speed of the machine etc. pp.). Have to think about it though as I'm sure this will generate a lot of new "bug" reports which I don't want to happen for obvious reasons.

2016-06-19 19:32   
(Last edited: 2016-06-19 19:37)
I've played on old slave and even on my EC030 apart for flashing first layer (sometimes) everthing is fine.

I understand StingRay, not a problem here. Similiar problem was with Deep Core - game either run too fast (on EC030) or too slow (when blitter waits were put in slave). Wepl would have calculate blitter waits for every processor independly. That reminds that I should test CD32 edition instead of disk version.

2016-06-20 21:35   
BTW. Maybe we could advertise this problem a bit on EAB forum?
Right now there are only 3 testers.
2016-06-24 11:21   
I'll test it on my MiST. It used to work properly at least in the first half of the game.
BTW, a support for the 2nd joypad button would be awesome, I don't know how difficult it is to add it :)
Thanks again for your work !!
2019-06-15 22:15   
No beacuse it was not fixed in my opinion. What is strange flashing occurs only after I get first power up. Before this everything is fine. That was the only problem of old slave.
2019-06-16 14:55   
(Last edited: 2020-03-28 16:15)
In this case I have spent an INSANE amount of time to fix the timing problems but I'm not happy with the results yet hence I haven't released the updated patch yet as I don't like to release unfinished stuff.

Anyway, I will finish my version of the patch (it has been recoded from scratch) and add your joypad additions, this however will not happen anytime soon as I still have to find a way to fix the timing problems properly.

2020-03-28 16:14   
Stingray sent his WIP and it helps. But there are issues also in the flying levels, specially when using smartbomb, to a point where it becomes very annoying.

On WinUAE there is absolutely no problem. But on a CD32 for instance, even with Sting fix, a lot of issues remain. This is going to be very difficult to fix properly.
2020-03-29 19:04   
In interesting why it happens on real CD32 and amiga 1200 but not on WinUAE.

Also why this happens only I get first weapon upgrade.
2020-03-29 21:15   
the more objects on the screen the more chance the flicker can occur

For instance, in flying levels, triggering smartbomb makes the game flash like crazy.
Also when dying and the scroll goes backwards.
2020-04-09 00:58   
(Last edited: 2020-04-09 12:55)
tested tonight with my CD32 and calibrated the syncs properly for each level.

Not sure it works for all amigas, but on CD32 it's now perfect (except for first flying boss with slight glitches in the background, but it's really minor now). Worth a try @haynor666 (new slave attached)

2020-04-09 19:22   
Tested and it works fine on EC030 except first boss You mentioned - bottom part of boss flashing at the beginning of fight
2020-04-09 19:44   
thanks for testing. And great!! Updated the version to fix the first boss. Tested on CD32, no glitches at all)
2020-04-23 09:12   
Please, release final slave. I would like to test it ;)

Issue History
2009-04-10 00:47administratorNew Issue
2009-04-10 00:47administratorStatusnew => assigned
2009-04-10 00:47administratorAssigned To => MiCK
2009-04-10 00:47administratorMachine => A500
2009-04-10 00:47administratorCPU => 68000
2009-04-10 00:47administratorCPUSpeed => 7
2009-04-10 00:47administratorChipSet => OCS
2009-04-10 00:47administratorGFXCard => None
2009-04-10 00:47administratorChipMem => 256 KB
2009-04-10 00:47administratorFastMem => 0 MB
2009-04-10 00:47administratorWorkbench => OS 3.9
2009-04-10 00:47administratorKickROM => 40 - Kick 3.1
2009-04-10 00:47administratorKickSoft => None
2009-04-10 00:47administratorWHDLoad => 16.4
2009-04-10 00:47administratorimported => yes
2009-10-08 18:54haynor666Note Added: 0001497
2009-11-10 11:02haynor666Note Added: 0001522
2009-11-10 12:24WeplAssigned ToMiCK =>
2009-11-10 13:14haynor666Note Added: 0001524
2009-11-10 13:59WeplStatusassigned => new
2010-06-24 20:07haynor666Note Added: 0001840
2012-05-02 00:23mahenNote Added: 0002724
2012-05-02 19:34haynor666Note Added: 0002729
2013-09-13 03:10HexaaeNote Added: 0003435
2013-09-13 03:12HexaaeNote Edited: 0003435bug_revision_view_page.php?bugnote_id=3435#r473
2013-09-13 03:15HexaaeNote Edited: 0003435bug_revision_view_page.php?bugnote_id=3435#r474
2013-09-13 14:35haynor666Note Added: 0003438
2013-09-13 14:48HexaaeNote Added: 0003439
2013-09-13 14:52HexaaeNote Edited: 0003439bug_revision_view_page.php?bugnote_id=3439#r476
2013-09-13 14:52HexaaeNote Edited: 0003439bug_revision_view_page.php?bugnote_id=3439#r477
2013-09-13 15:46haynor666Note Added: 0003445
2013-09-13 19:38StingRayNote Added: 0003449
2013-09-13 19:38StingRayAssigned To => StingRay
2013-09-13 19:38StingRayStatusnew => assigned
2013-09-13 19:38StingRayNote Edited: 0003449bug_revision_view_page.php?bugnote_id=3449#r479
2014-05-04 23:34haynor666Note Added: 0003919
2014-05-11 10:27JOTDRelationship addedhas duplicate 0002999
2014-05-15 10:14StingRayNote Added: 0003988
2016-06-08 17:19haynor666Note Added: 0004918
2016-06-08 20:17StingRayNote Added: 0004919
2016-06-13 18:15haynor666Note Added: 0004947
2016-06-17 11:42StingRayNote Added: 0004971
2016-06-17 11:43StingRayFile Added: JimPower.slave
2016-06-17 15:07HexaaeNote Added: 0004974
2016-06-17 18:32StingRayNote Added: 0004975
2016-06-17 18:33StingRayFile Deleted: JimPower.slave
2016-06-17 18:33StingRayFile Added: JimPower.slave
2016-06-17 18:53haynor666Note Added: 0004976
2016-06-17 19:40HexaaeNote Added: 0004977
2016-06-17 19:43HexaaeNote Added: 0004978
2016-06-17 19:49HexaaeNote Edited: 0004978bug_revision_view_page.php?bugnote_id=4978#r764
2016-06-17 20:06haynor666Note Added: 0004979
2016-06-17 20:19StingRayNote Added: 0004980
2016-06-18 14:11haynor666Note Added: 0004982
2016-06-18 14:12haynor666Note Edited: 0004982bug_revision_view_page.php?bugnote_id=4982#r768
2016-06-18 14:14haynor666Note Edited: 0004982bug_revision_view_page.php?bugnote_id=4982#r769
2016-06-18 14:48HexaaeNote Added: 0004986
2016-06-18 15:27HexaaeNote Edited: 0004986bug_revision_view_page.php?bugnote_id=4986#r773
2016-06-19 15:27StingRayNote Added: 0004988
2016-06-19 15:57StingRayFile Deleted: JimPower.slave
2016-06-19 15:57StingRayFile Added: JimPower.slave
2016-06-19 15:58StingRayNote Added: 0004989
2016-06-19 19:06HexaaeNote Added: 0004990
2016-06-19 19:17haynor666Note Added: 0004991
2016-06-19 19:21haynor666Note Edited: 0004991bug_revision_view_page.php?bugnote_id=4991#r777
2016-06-19 19:23haynor666Note Edited: 0004991bug_revision_view_page.php?bugnote_id=4991#r778
2016-06-19 19:25haynor666Note Edited: 0004991bug_revision_view_page.php?bugnote_id=4991#r779
2016-06-19 19:27HexaaeNote Added: 0004992
2016-06-19 19:30StingRayNote Added: 0004993
2016-06-19 19:30haynor666Note Edited: 0004991bug_revision_view_page.php?bugnote_id=4991#r780
2016-06-19 19:31StingRayNote Edited: 0004993bug_revision_view_page.php?bugnote_id=4993#r782
2016-06-19 19:32haynor666Note Added: 0004994
2016-06-19 19:34haynor666Note Edited: 0004994bug_revision_view_page.php?bugnote_id=4994#r784
2016-06-19 19:36haynor666Note Edited: 0004994bug_revision_view_page.php?bugnote_id=4994#r785
2016-06-19 19:37haynor666Note Edited: 0004994bug_revision_view_page.php?bugnote_id=4994#r786
2016-06-20 21:35haynor666Note Added: 0004996
2016-06-24 11:21mahenNote Added: 0005001
2019-06-15 22:15haynor666Note Added: 0006868
2019-06-16 14:55StingRayNote Added: 0006869
2019-06-24 11:46StingRayAssigned ToStingRay =>
2020-01-12 23:12JOTDSummaryJim Power: Hi MiCK! ---> Jim Power in Mutant Planet The background floor always => The background floor always 'flashes' in non-fly levels.
2020-01-12 23:12JOTDDescription Updatedbug_revision_view_page.php?rev_id=1087#r1087
2020-02-14 10:19JOTDAssigned To => StingRay
2020-02-14 10:19JOTDStatusassigned => confirmed
2020-03-28 16:14JOTDNote Added: 0007980
2020-03-28 16:15JOTDNote Edited: 0006869bug_revision_view_page.php?bugnote_id=6869#r1129
2020-03-29 19:04haynor666Note Added: 0007987
2020-03-29 21:15JOTDNote Added: 0007990
2020-04-02 10:57StingRayAssigned ToStingRay =>
2020-04-09 00:56JOTDAssigned To => JOTD
2020-04-09 00:56JOTDStatusconfirmed => assigned
2020-04-09 00:56JOTDStatusassigned => resolved
2020-04-09 00:56JOTDResolutionopen => fixed
2020-04-09 00:56JOTDFile Deleted: JimPower.slave
2020-04-09 00:58JOTDNote Added: 0008087
2020-04-09 00:58JOTDNote Edited: 0008087bug_revision_view_page.php?bugnote_id=8087#r1156
2020-04-09 12:54JOTDFile Added: JimPower.zip
2020-04-09 12:55JOTDNote Edited: 0008087bug_revision_view_page.php?bugnote_id=8087#r1157
2020-04-09 19:22haynor666Note Added: 0008088
2020-04-09 19:43JOTDFile Deleted: JimPower.zip
2020-04-09 19:43JOTDFile Added: JimPower.zip
2020-04-09 19:44JOTDNote Added: 0008089
2020-04-23 09:12haynor666Note Added: 0008413
2020-05-03 19:57JOTDStatusresolved => closed