CPCWiki forum

General Category => Games => Topic started by: DanyPPC on 14:45, 15 December 17

Title: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 14:45, 15 December 17
I found this game doesn't work on my CPC 6128+ with Gotek HXC and C4CPC cartridge.
The same game (CNGSoft 2014 version) works properly on standard CPC 464 and 464+


May you test on your 6128+ ?
Or is there a patch for it ?


Thanks
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Shaun M. Neary on 17:02, 15 December 17
I can give it a go later when I get back from the office. I'm fairly certain I have a working version for a 6128+  :)
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 17:24, 15 December 17
Thanks Shaun
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Shaun M. Neary on 00:17, 16 December 17
Quote from: DanyPPC on 17:24, 15 December 17
Thanks Shaun

I had no luck with this at all so far i'm afraid on my 6128+

I loaded two versions. The first one was Two Mag's crack, that brought me to the title screen, but crashed as soon as the game started.
The second was CNGSoft's latest one. That just nuked with a reset after I went to start the game.

My memory must have been playing it on an old CPC6128 and not the plus.  :(

Tested with both a Gotek HXC as well as the M4 board. Both had the same results.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: dragon on 00:27, 16 December 17
Try with the french downgrade cartride if it work.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Shaun M. Neary on 01:13, 16 December 17
Oh, I forgot I have a C4CPC downstairs.


Can try it!
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Shaun M. Neary on 01:20, 16 December 17
No dice. Tried rb patched firmware


Firmware 3.16 and 3.15 also didn't work unfortunately.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: 00WReX on 06:33, 16 December 17
Yes, crashing for me too after the title screen.
Tried it on my 6128 Plus from the M4 board.
Also tried it on the same computer loading via GOTEK (FlashFloppy firmware).

Cheers,
Shane
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 10:35, 16 December 17
Exactly what happens on my machine.


I was looking for a confirmation.
That's pity because Eliminator is a good game on Amstrad CPC.
It requires a fix on 6128+


Thanks to all !
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: dragon on 10:48, 16 December 17
Quote from: Shaun M. Neary on 01:20, 16 December 17
No dice. Tried rb patched firmware


Firmware 3.16 and 3.15 also didn't work unfortunately.


What patch? It no have burnin rubber menu. I speak about these: http://cpcwiki.eu/imgs/7/7a/Basic_%28F%29_%28White_Label%29.zip
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Shaun M. Neary on 12:39, 16 December 17
There's a few patched firmwares other than the white label one out there.


None of them work in this instance.
The White label one is also pretty useless for those who can't use awkward French keyboards.  :laugh:
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Phantomz on 16:27, 16 December 17
Have you tried the versions by " XOR " or " Nicholas CAMPBELL " ?
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 17:34, 16 December 17
Now i test it, thanks !
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 17:50, 16 December 17
Nothing to do, both cpr and dsk/hfe didn't work on CPC 6128+
The game reset the machine after start on the menù.


Thank you Phantomz for you interest.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Phantomz on 18:18, 16 December 17
Quote from: DanyPPC on 17:50, 16 December 17
Nothing to do, both cpr and dsk/hfe didn't work on CPC 6128+
The game reset the machine after start on the menù.


Thank you Phantomz for you interest.

No problem, sorry they didn't work, I thought they would.  ???

I can't test on a real machine at the moment, but I changed the xor menu in the cpr and it worked in MESS emulator, so thought it was going to work.  ::)
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 18:44, 16 December 17
The strange thing is that WinAPE in 6128+ configuration runs the game without problems
but the emulator is not the real machine.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Shaun M. Neary on 22:16, 16 December 17
Another thing I thought of (as I think it's a hardware issue), was clearing the additional 64k using the  multiface but I got the same result there too.


It's definitely interesting all the same.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: dragon on 00:24, 17 December 17
O.k i take a look at the game inside when i have spare time.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 10:43, 17 December 17
Maybe there are also other games that do not run on 6128+ but Eliminator is the first one i found.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: dragon on 15:01, 17 December 17
Is a hardaware bus problem:

in
&82f9 call &4fef

org #4fef
ld bc,#fbed
in a,(c)
rrca
ret c
pop hl
ld sp,#14fc
ret

In plus computers the in a,(c) returns &78 Thats made he not execute the instruction ret c instead it execute the last ret returning to &0000 restarting the computer.

In normal 6128 (and winape) it recieve a &ff executing the ret c and returning to &82fc

Try change the ret c to ret. d8->c9
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 17:47, 17 December 17
Yes, now it works !


Tested successfully on my 6128+ machine.
Thank you very much Dragon !
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Phantomz on 17:58, 17 December 17
Nice work @dragon (http://www.cpcwiki.eu/forum/index.php?action=profile;u=251)  8)

I noticed that you worked on the original disc.

I've applied your fix and also the level 12 bug fix to the XOR version, I did this so we have a version with a Trainer and also so that we can have it in cpr format.  ;D

I've tested the cpr in my 6128+ and it works great so the disc should work too.  ;D
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 18:42, 17 December 17
I confirm, this patched version works great in C4CPC and HxC Gotek,
many thanks to both Dragon and Phantomz !
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Shaun M. Neary on 23:23, 17 December 17
Nice work, Dragon! 😊


And to Phantomz as well to make it for the GX4000
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: CraigsBar on 00:49, 18 December 17
You guys are awesome!

Sent from my ONEPLUS 3t using Tapatalk

Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: dragon on 11:03, 18 December 17

That is the teory explanation copy paste from grimware site:






When no device is driving the bus, it's lines are left like disconnected, floating in the air, therefore no real value is fixed on the bus. Usually, no device should try to read the bus in such a state because there's actually nothing to read on it. Nevertheless, if you try do so, for example from BASIC with a PRINT INP(&FFFF), a value is returned. So where this value comes from?
In order to register a 0 on a line, current has to be actively sunk out. If the bus is read while all devices are tri-stated, nothing sinks the current, thus &FF is read. But the more stuff is connected to the bus, the more stray capacitance gets added to the lines, the slower the lines will be able to change their state. For example, if the bus contains &00 just before being left un-driven, it will take some time before the stray capacitance rise to 1 again. If the bus is read in the meantime, the voltage won't cross the TTL high level and a zero will be read.
On the Amstrad, there's only once case where you have to deal with this floating bus value, which is when you want to use the Z80 vectorized interrupts mode (See the Z80 IM2 documentation), and that's all.
The floating value on the databus of a bare CPC is usually &FF, but may also even changes periodically (especially, for some unknown reason at the moment, on CPCs fitted with CRTCtype 1). On a bare Amstrad Plus, this is usually &78 (no idea why it's not &FF, I bet there's some ASIC mystery involved here).




Any program relying on a floating bus value prediction WILL FAIL. Any programmer doing such crap will be flamed all over the intarweb and fucked in mighty hardware scrollers! I warned you!
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Phantomz on 12:48, 18 December 17
Quote from: Shaun M. Neary on 23:23, 17 December 17
Nice work, Dragon!  :)


And to Phantomz as well to make it for the GX4000

I hadn't made it GX4000 friendly, it was now plus friendly with a Trainer and in cpr format for quick easy loading.  ;)

I've looked into making this GX4000 friendly.

I've made the Trainer GX4000 friendly, it is now also in English, I've removed the level code list as unsure how to get these changed at the moment.

However the game is fully playable from start to finish including the highscore table, therefore @remax (http://www.cpcwiki.eu/forum/index.php?action=profile;u=314) may wish to add this game.  ;D

The GX4000 version is now joypad only, pause the game with joypad button 2, joypad button 1 or 2 to unpause, you can also press joypad button 2 to turn music on or off.

Whilst paused you can press the console pause button to quit game, this only works in a normal game with no trainer cheat option on.

Hopefully the codes can be sorted at a later time, however like I said the game is fully playable on the GX4000 now.  ;D
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: dragon on 13:24, 18 December 17
Codes? I think i view it in plain text right before the subrutine
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Phantomz on 13:47, 18 December 17
Quote from: dragon on 13:24, 18 December 17
Codes? I think i view it in plain text right before the subrutine

You type them on the main screen to load levels.

02 = BLOSP
03 = ASDEL
04 = XPLRT
05 = GLPWM
06 = EOCKQ
07 = LFPRT
08 = WMCPR
09 = SPQNJ
10 = ZPEML
11 = ELVPQ
12 = CPEMF
13 = APXYQ
14 = PWVAR

In the game it show as " BLOSÐASDEÌXPLRÔGLPWÍEOCKÑLFPRÔWMCPÒSPQNÊZPEMÌELVPÑCPEMÆAPXYÑPWVAÒ ".

The first four letters are readable with the fifth being in code, for example P = D0, R = D2, T= D4, G = C7, F = C6.

I can change the fifth coded letter ok, but if I change the first four the code will not work, we need to change these code to some that we can enter with the game pad/s.  ;)
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: dragon on 22:41, 20 December 17
I think when you enter a letter in &5688:

He read buffer keyboard code: in form FF FF FF FF FF FF FF FF FF FF
                                                              0  1   2  3   4  5   6  7  8   9  ->keyboard line.

Then, he read compare  these line/key in ram from &569d-&56cf

ram content:

08 DF 06 BF 07 BF 07 DF 07 FB 06 DF 06 EF 05 EF 04 F7 05 DF 04 DF 04 EF 04 BF 05 BF 04 FB 03 F7 08 F7 06 FB 07 EF 06 F7 05 FB 06 7F 07 F7 07 7F 05 F7 08 7F

So you need select and change the  letters to equivalent in joystick.

09 df ->button 2 =41 in pasword zone
09 f7 ->right=42 in pasword zone
09 fb ->left=43 in pasword zone
09 fe->up=44 in pasword zone
09 fd->down=45 in pasword zone

And then put the codes in the pasword zone. (take mind the encripted) number+&80. they should work.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: pelrun on 23:04, 20 December 17
Just FYI, that's not encryption, the high bit is set as an end-of-string marker. The firmware uses the exact same scheme for RSX name tables.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Nich on 17:02, 23 December 17
Quote from: Phantomz on 17:58, 17 December 17
Nice work @dragon (http://www.cpcwiki.eu/forum/index.php?action=profile;u=251)  8)

I've applied your fix and also the level 12 bug fix to the XOR version, I did this so we have a version with a Trainer and also so that we can have it in cpr format.  ;D

I have patched @cngsoft (http://www.cpcwiki.eu/forum/index.php?action=profile;u=191)'s crack of Eliminator and uploaded it to NVG (ftp://ftp.nvg.ntnu.no/pub/cpc/games/arcade/eliminat.zip). However I don't have a real Plus machine to test it. :(

Thanks very much for fixing this bug, @dragon (http://www.cpcwiki.eu/forum/index.php?action=profile;u=251)!
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 18:31, 23 December 17
Hello Nich, i tested successfully this new patched version on my CPC 464+ 6128+ and MiST with FPGA Amstrad CPC 6128 Core !!!


Has this version the gxf bug patched on level 12 ?


Thank you very much.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Nich on 18:55, 23 December 17
Quote from: DanyPPC on 18:31, 23 December 17
Hello Nich, i tested successfully this new patched version on my CPC 464+ 6128+ and MiST with FPGA Amstrad CPC 6128 Core !!!

Great news!

QuoteHas this version the gxf bug patched on level 12 ?

Yes, the graphical glitch on level 12 has been fixed as well. :)
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: DanyPPC on 20:31, 23 December 17
Very well, tested level 12, gfx OK !


;)
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: dragon on 11:30, 24 December 17
Quote from: Nich on 17:02, 23 December 17
I have patched @cngsoft (http://www.cpcwiki.eu/forum/index.php?action=profile;u=191)'s crack of Eliminator and uploaded it to NVG (ftp://ftp.nvg.ntnu.no/pub/cpc/games/arcade/eliminat.zip). However I don't have a real Plus machine to test it. :(

Thanks very much for fixing this bug, @dragon (http://www.cpcwiki.eu/forum/index.php?action=profile;u=251)!


I don't think is a bug really. Is programed to made a reset if he detect  the bus is not empty in certain cases. I don't know the reason maybe antipiracy, or maybe can be something that during development.They have some device attached in the bus and when he send some signal to the bus they can be force jump to 0000, (but with another rom loaded externally in 0000)  how knows. I don't know if originally the game work with a cpc with crtc 1.
Title: Re: Eliminator (Hewson) on Amstrad CPC 6128+
Post by: Phantomz on 19:57, 24 December 17
Quote from: Nich on 17:02, 23 December 17
I have patched @cngsoft (http://www.cpcwiki.eu/forum/index.php?action=profile;u=191)'s crack of Eliminator and uploaded it to NVG (ftp://ftp.nvg.ntnu.no/pub/cpc/games/arcade/eliminat.zip). However I don't have a real Plus machine to test it. :(

Thanks very much for fixing this bug, @dragon (http://www.cpcwiki.eu/forum/index.php?action=profile;u=251)!

Thanks for this @Nich (http://www.cpcwiki.eu/forum/index.php?action=profile;u=53) , is it possible to make the Trainer GX4000 friendly, Mainly the " First Stage " option, maybe make it so can choose with the dpad instead of needing to press a key.

The rest of the options can have 1 for Yes, 2 for No.

I know @dragon (http://www.cpcwiki.eu/forum/index.php?action=profile;u=251) does this for level select's on XOR games.  ;)
Powered by SMFPacks Menu Editor Mod