Author Topic: [Enlightment - Druid 2] 6128+ Fix ?  (Read 319 times)

0 Members and 1 Guest are viewing this topic.

Offline DanyPPC

  • CPC664
  • ***
  • Posts: 140
  • Country: it
  • Liked: 44
[Enlightment - Druid 2] 6128+ Fix ?
« on: 15: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
CPC 464 with USB Floppy Emulator / CPC 464+ with USB Floppy Emulator / CPC 6128+ with C4CPC and Gotek HxC USB Drive Emulator

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.329
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2222
Re: [Enlightment - Druid 2] 6128+ Fix ?
« Reply #1 on: 16:48, 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.
« Last Edit: 17:06, 12 August 18 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.329
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2222
Re: [Enlightment - Druid 2] 6128+ Fix ?
« Reply #2 on: 17:05, 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.
« Last Edit: 17:08, 12 August 18 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline DanyPPC

  • CPC664
  • ***
  • Posts: 140
  • Country: it
  • Liked: 44
Re: [Enlightment - Druid 2] 6128+ Fix ?
« Reply #3 on: 19:34, 12 August 18 »
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

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.329
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2222
Re: [Enlightment - Druid 2] 6128+ Fix ?
« Reply #4 on: 20:18, 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

Offline DanyPPC

  • CPC664
  • ***
  • Posts: 140
  • Country: it
  • Liked: 44
Re: [Enlightment - Druid 2] 6128+ Fix ?
« Reply #5 on: 20:58, 12 August 18 »
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