News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_DanyPPC

[Enlightment - Druid 2] 6128+ Fix ?

Started by DanyPPC, 13:31, 12 August 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DanyPPC

Game tested with success on CPC 464+, but it doesn't work on 6128+
After the loading screen only black or reset system.


Is there a fix for CPC6128 Plus ?
Many thanks
CPC 464 with USB Floppy Emulator / CPC 464+ with USB Floppy Emulator / CPC 6128+ with C4CPC and Gotek HxC USB Drive Emulator

arnoldemu

#1
Quote from: DanyPPC on 13:31, 12 August 18
Game tested with success on CPC 464+, but it doesn't work on 6128+
After the loading screen only black or reset system.


Is there a fix for CPC6128 Plus ?
Many thanks
The original doesn't like the multiface 2. So make sure that is disconnected.
The crack uses CrownCruncher and it looks like it expects some values in memory to be initialized but this is not always true.
EDIT: Correction. I think the CrownCruncher is ok.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

arnoldemu

#2
Quote from: arnoldemu on 14:48, 12 August 18
The original doesn't like the multiface 2. So make sure that is disconnected.
The crack uses CrownCruncher and it looks like it expects some values in memory to be initialized but this is not always true.
Do this before running druid2:

poke &af73,0:poke &af74,0

does that help?
There appears to be some bug where it's setting a palette colour.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

DanyPPC

WoW !  ;)


Now it works very well, no problem.
Many thanks !
CPC 464 with USB Floppy Emulator / CPC 464+ with USB Floppy Emulator / CPC 6128+ with C4CPC and Gotek HxC USB Drive Emulator

arnoldemu

Quote from: DanyPPC on 17:34, 12 August 18
WoW !  ;)


Now it works very well, no problem.
Many thanks !
Great.
What happens in the bug: It looks like the code wants to change the colour in the palette. It reads data from these two addresses adjusts it and writes it out to set the colour. If the data is not initialized then in some cases it will change the rom configuration or the ram configuration. On any machine with extra ram this could cause a crash because the code covers the region from &4000-&7fff and changing the ram configuration will switch it out.

It's possible, but I haven't confirmed that because the ram chips on the Plus machines are 4-bit instead of the 1-bit on the cpc, then the value of the ram after power on could cause the problem to happen more regularly - the pattern of the ram after power on is in a certain state.


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

DanyPPC

Thank you for the exhaustive technical explanation  ;)
CPC 464 with USB Floppy Emulator / CPC 464+ with USB Floppy Emulator / CPC 6128+ with C4CPC and Gotek HxC USB Drive Emulator

Powered by SMFPacks Menu Editor Mod