(bad?) DMK/PDI dump of Gize!/XIX - need advice...

Page 8/8
1 | 2 | 3 | 4 | 5 | 6 | 7 |

By max_iwamoto

Champion (464)

max_iwamoto's picture

19-08-2019, 03:12

The patch for Sailor Fuku Senshi Feris is here!

I also added trainer (unlimited energy) for all 3 disks, version without trainer also available:

https://drive.google.com/file/d/1zZDzGl1y8EseNxQ4G_pdQ5OTW7T...

232 also helped me to translate message to hold CTRL while booting to properly start the game...

---

The protection is similar to the COSMIC PSYCHO, but 3 code overlapping decryptions instad of 2. And encrypted game code located at 8000h instead of B400h. Decoder located @ A234h. Here is the new clean version that decode the main code/gfx and starts the game:

	PHASE	A110h

_A110:
	POP	HL
	LD	L,00h
	PUSH	HL		; HL = 8000h

	LD	HL,8003h
	LD	DE,529Bh
	LD	BC,2110h	; default = 217E

.loop_1:
	CALL	_A234
	XOR	(HL)
	RLCA
	LD	(HL),A
	INC	HL
	DEC	BC
	LD	A,B
	OR	C
	JR	NZ,.loop_1
;
	LD	A,CDh
	LD	(8000h),A
;
	LD	HL,8003h
	LD	DE,688Ch
	LD	BC,2110h	; default = 21E4h

.loop_2:
	CALL	_A234
	XOR	(HL)
	RLCA
	LD	(HL),A
	INC	HL
	DEC	BC
	LD	A,B
	OR	C
	JR	NZ,.loop_2
;
	LD	HL,8066h
	LD	(8001h),HL
;
	LD	HL,8003h
	LD	DE,53E9h
	LD	BC,2110h	; default = 2214h

.loop_3:
	CALL	_A234
	XOR	(HL)
	RLCA
	LD	(HL),A
	INC	HL
	DEC	BC
	LD	A,B
	OR	C
	JR	NZ,.loop_3
;
	RET

_A234:
	PUSH	HL
	PUSH	DE
	POP	HL
	ADD	HL,HL
	ADD	HL,DE
	ADD	HL,HL
	ADD	HL,DE
	LD	E,H
	LD	D,L
	RLC	H
	RLC	H
	RRC	L
	ADD	HL,DE
	LD	DE,1119h
	ADD	HL,DE
	EX	DE,HL
	LD	A,D
	POP	HL
	RET

_A110_LEN:	EQU	$ - _A110

By PAC

Guardian (5213)

PAC's picture

19-08-2019, 09:40

max_iwamoto wrote:
PAC wrote:

There seems to be a graphic corruption in disk A of Cosmic Psycho just when main presentation finishes. Similar than Gize! / XIX. BTW thank you for your work max_iwamoto. Wink

I didn't see any graphic corruptions... Could you let me know what config did you use?

Max

I'm just testing it in openMSX with different configurations MSX2, turbo R, etc. A friend confirms the same problem. You can see this at the end of main introduction.

By sdsnatcher73

Champion (507)

sdsnatcher73's picture

19-08-2019, 13:51

Also happens on real hardware (Yamaha CX7/128). The DMK on openMSX however does not have this issue:

Page 8/8
1 | 2 | 3 | 4 | 5 | 6 | 7 |