Bug in Zanac-EX on MSXturboR

Página 4/4
1 | 2 | 3 |

Por max_iwamoto

Hero (602)

imagem de max_iwamoto

09-01-2022, 20:47

You can download the patch here:

https://msxtranslations.com/fix/zanac-ex_fix.zip

---

Please let me know if there any issues.

Por Manuel

Ascended (18950)

imagem de Manuel

09-01-2022, 22:31

Thanks! By the way, apparently Vampier had already discovered this issue years and years ago, but I have totally forgotten about that.

Por max_iwamoto

Hero (602)

imagem de max_iwamoto

09-01-2022, 22:53

Manuel wrote:

Thanks! By the way, apparently, Vampier had already discovered this issue years and years ago, but I have totally forgotten about that.

I will add Vampier to the credits.

I never heard about it before. I guess most people used infinite lives while playing, so they never came back to the title screen Smile

Por gdx

Enlighted (5702)

imagem de gdx

10-01-2022, 08:48

Thank you guys for this patch. I add one more grain of sand.

If you replace:

	ld	a,(#f3df)
	and	#10
	ld	a,#3f
	jp	nz,L7ffc
	ld	a,#1f
L7ffc:
	out	(c),a
	ret

by

	ld	a,(#f3df)
	and	#10
	rlca
	or	#1f
	out	(c),a
	ret

It's a little faster.

And more fast if you move the routine located at 4C21h to 7FD0h with the modification integrated as below.

L7FD0h:
	inc	(hl)
	ld	a,#d8
	out	(c),a
	ld	a,#97
	out	(c),a
	ld	a,(#f3df)
	and	#10
	rlca
	or	#1f
	out	(c),a
	ld	a,#82
	out	(c),a
	ld	a,#e4
	out	(c),a
	ld	a,#93
	out	(c),a
	ld	a,(#ffe7)
	set	1,a
	ld	(#ffe7),a
	out	(c),a
	ld	a,#88
	out	(c),a
	ret

I make two patches to do it on three versions of Zanac EX.

Download: https://1fichier.com/?d6a0n557ag77fe8d7tz4

Max_iwamoto, can you update your zip with this version if it works fine?

I hope that the authors of the enhanced version will find a solution because this patch is not applicable.

Por max_iwamoto

Hero (602)

imagem de max_iwamoto

10-01-2022, 15:07

gdx wrote:

Thank you guys for this patch. I add one more grain of sand.

If you replace:

	ld	a,(#f3df)
	and	#10
	ld	a,#3f
	jp	nz,L7ffc
	ld	a,#1f
L7ffc:
	out	(c),a
	ret

by

	ld	a,(#f3df)
	and	#10
	rlca
	or	#1f
	out	(c),a
	ret

It's a little faster.

And more fast if you move the routine located at 4C21h to 7FD0h with the modification integrated as below.

L7FD0h:
	inc	(hl)
	ld	a,#d8
	out	(c),a
	ld	a,#97
	out	(c),a
	ld	a,(#f3df)
	and	#10
	rlca
	or	#1f
	out	(c),a
	ld	a,#82
	out	(c),a
	ld	a,#e4
	out	(c),a
	ld	a,#93
	out	(c),a
	ld	a,(#ffe7)
	set	1,a
	ld	(#ffe7),a
	out	(c),a
	ld	a,#88
	out	(c),a
	ret

I make two patches to do it on three versions of Zanac EX.

Download: https://1fichier.com/?d6a0n557ag77fe8d7tz4

Max_iwamoto, can you update your zip with this version if it works fine?

I hope that the authors of the enhanced version will find a solution because this patch is not applicable.

I will check and add your version as well. We need to make sure that all calls are changed to this subroutine.

Página 4/4
1 | 2 | 3 |