CPCWiki forum

General Category => Technical Support - Software related => Topic started by: mikezt on 17:33, 02 May 21

Title: The Abduction of Oscar Z on a real CPC
Post by: mikezt on 17:33, 02 May 21
Hello!
I'm trying to play Abduction of Oscar Z on a real CPC, but the picture is very wrong. Look at the attachment. Why is this happening? Is it because of the wrong CRCT type?
Cheers,mike/zeroteam
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: roudoudou on 21:34, 02 May 21
Quote from: mikezt on 17:33, 02 May 21
Hello!
I'm trying to play Abduction of Oscar Z on a real CPC, but the picture is very wrong. Look at the attachment. Why is this happening? Is it because of the wrong CRCT type?
Cheers,mike/zeroteam
because this is not a cathodic screen, there is sync issues
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: XeNoMoRPH on 06:49, 03 May 21
yes, it is a bug already reported, @tulinmola (https://www.cpcwiki.eu/forum/index.php?action=profile;u=2305) promised to fix it, but the fix is ​​not posted yet

on the other side, @CyrilAmstrad (https://www.cpcwiki.eu/forum/index.php?action=profile;u=2949) , He also has a corrected version available, but it is not yet published:


https://youtu.be/kHq44o0-dg0
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: tulinmola on 12:34, 03 May 21
Hi all, here Tulo!


Yes, I'm fully aware of the sync bug. As @XeNoMoRPH (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1952) said there will be a fix for this (with other minor changes/fixes). And it will be available as soon as I can steal some time to my real life. I hope it to be sooner than later!


Cheers!
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: mikezt on 16:15, 03 May 21
Hi tulinmola!
That's good news and don't worry, I know the problem with free time. I'm looking forward to play it on a real hw.
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: jesusdelmas on 19:33, 08 September 21
Hello all!


Any news about the fix version??
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: Rhino on 23:37, 23 October 21
Quote from: tulinmola on 12:34, 03 May 21
Hi all, here Tulo!


Yes, I'm fully aware of the sync bug. As @XeNoMoRPH (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1952) said there will be a fix for this (with other minor changes/fixes). And it will be available as soon as I can steal some time to my real life. I hope it to be sooner than later!


Cheers!
Hey @tulinmola (https://www.cpcwiki.eu/forum/index.php?action=profile;u=2305) , congrats on the game! It's really beautiful and a genre that doesn't have a lot of good games on CPC so it's even more appreciated.  :)

About the sync bug, I debugged the code and I think I found where you have the problem.

I saw that you use the same screen configuration of the Mario demo (https://www.cpcwiki.eu/forum/games/astonishing-and-enigmatic-pics-from-batmangroup!!/100/) I made and the code you use to configure the screen is basically the same I wrote for that demo but with a modification that causes the desync:

In the third interrupt, when CRTC register 9 is set to 7 to make the character 8 pixels height again, it is done prematurely, when still VCC=#14 and VLC=#01, and as a consequence the character #14 becomes 8 pixels high instead of the 2 pixels it should be, because the rest of the code is set to generate a 50Hz signal (or 312 scanlines) only if that character is 2 pixels high. That little timing mismatch is producing extra scanlines and a signal a bit slower than the PAL standard and that's why it doesn't sync well on monitors with low tolerance to frequency mismatches. To fix it, just set register 9 to 7 about 20 cycles later, just like in the Mario demo.

Also keep in mind that fixing it will take a few hundred cycles per frame and if you're on the speed limit to keep the game's refresh rate you may need to do some additional speed optimisation, although I hope that's not the case.

Then, in the second interrupt I think there may be another possible issue because register 9 is set to 1 at the very beginning of the first line of the character and, although it may work, on not very accurate emulators it could fail unnecessarily. Although I don't know if you need this modification to have a bigger delay margin in the interrupt but, if this is not the case and you always have the interrupts enabled, it would be better to do it a few cycles later for better stability/compatibility.

And that's all! I hope this will help you to get the fix out soon, as I think there are many people waiting to have your great game fixed!

Regards!


Title: Re: The Abduction of Oscar Z on a real CPC
Post by: TotO on 09:40, 08 November 22
Has the desync display bug on a real CPC has been fixed?
If yes, where it is possible to download it? Thank you!
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: TotO on 09:57, 24 November 22
More screenshots:

(https://i.ytimg.com/vi/XKmNeWqUteE/maxresdefault.jpg)
(https://i.servimg.com/u/f40/19/34/01/75/tm/img_2046.jpg)
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: XeNoMoRPH on 10:43, 24 November 22
With the resurgence of the post, I decided to talk to @tulinmola again, on November 14, he told me that he would answer all the messages as soon as he could.
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: TotO on 12:12, 24 November 22
Thank you.

Can be nice, as this game is not playable on a real CPC since a year for some users. :)
Title: Re: The Abduction of Oscar Z on a real CPC
Post by: nikos_a on 13:14, 15 February 24
Ah, one of the new games I tried to play on my newly bought CPC and freaked out that something may be wrong with the hardware. Would love to see a fixed version (if possible).
Powered by SMFPacks Menu Editor Mod