Next Generation Emulation banner

1 - 1 of 1 Posts

·
Premium Member
Joined
·
821 Posts
Discussion Starter #1
beta date: 09.07.05 (crushtest's built)
conditions tested under:
release 0.8.1 plugins
REC or VUREC

Loops on reading D3_CHCR in custom routine at PC:0011c4e4
Then loops in sceIpuSync and then in sceIpuRestartDMA
Poking into sceIpuRestartDMA causes IDEC errors.
Videos are blanked, except from starfield in main menu.

Status Menus

-------------------------------------------------------

beta date: 10.07.05 (interim ipu3)
conditions tested under:
release 0.8.1 plugins
REC or VUREC

Freezes on starting video.

Status Intro

Patches used:
gametitle=Flipnic [SLES52065] (E)
comment=
// fix D3_CHCR in custom routine
patch=0,EE,0011c4f0,word,00000000
// skip sceIpuSync
patch=0,EE,0020b2f0,word,03e00008
patch=0,EE,0020b2f4,word,00000000
// fix sceIpuRestartDMA -> causes IDEC error
patch=0,EE,0020b244,word,00000000


Code:
FNC_0011c390:					# 
	addiu		sp, sp, $ffd0		# 0011c390:27bdffd0	
	sd		ra, $0020(sp)		# 0011c394:ffbf0020	
	sq		s1, $0010(sp)		# 0011c398:7fb10010	
	sq		s0, $0000(sp)		# 0011c39c:7fb00000	
	lw		v1, $8038(gp)		# 0011c3a0:8f838038	v1=$d2b18038
	beq		v1, zero, $0011c54c	# 0011c3a4:10600069	v __0011c54c
	daddu		s1, a0, zero		# 0011c3a8:0080882d	
	lui		v0, $1000		# 0011c3ac:3c021000	v0=T0_COUNT
	sw		zero, $8038(gp)		# 0011c3b0:af808038	[d2b18038]
	lui		v1, $4000		# 0011c3b4:3c034000	v1=$40000000
	ori		v0, v0, $2000		# 0011c3b8:34422000	v0=IPU_CMD
	daddu		a0, zero, zero		# 0011c3bc:0000202d	
	daddu		a1, zero, zero		# 0011c3c0:0000282d	
	jal		$0020b2f0		# 0011c3c4:0c082cbc	v sceIpuSync
	sw		v1, $0000(v0)		# 0011c3c8:ac430000	IPU_CMD
	lui		at, $1000		# 0011c3cc:3c011000	at=T0_COUNT
	daddu		a0, zero, zero		# 0011c3d0:0000202d	
	lw		v0, $2000(at)		# 0011c3d4:8c222000	v0=IPU_CMD
	daddu		a1, zero, zero		# 0011c3d8:0000282d	
	srl		v0, v0, 24		# 0011c3dc:00021602	
	jal		$0020b2f0		# 0011c3e0:0c082cbc	v sceIpuSync
	andi		s0, v0, $00ff		# 0011c3e4:305000ff	

	lui		v0, $4000		# 0011c3e8:3c024000	v0=$40000000
	lui		at, $1000		# 0011c3ec:3c011000	at=T0_COUNT
	ori		v0, v0, $0008		# 0011c3f0:34420008	v0=$40000008
	daddu		a0, zero, zero		# 0011c3f4:0000202d	
	daddu		a1, zero, zero		# 0011c3f8:0000282d	
	jal		$0020b2f0		# 0011c3fc:0c082cbc	v sceIpuSync
	sw		v0, $2000(at)		# 0011c400:ac222000	IPU_CMD
	addiu		v1, zero, $fffb		# 0011c404:2403fffb	v1=$fffffffb
	srl		v0, s0, 2		# 0011c408:00101082	
	and		v1, s0, v1		# 0011c40c:02031824	
	andi		v0, v0, $0001		# 0011c410:30420001	
	sll		a0, v1, 16		# 0011c414:00032400	
	lui		at, $1000		# 0011c418:3c011000	at=T0_COUNT
	sll		v1, v0, 24		# 0011c41c:00021e00	
	sw		a0, $2010(at)		# 0011c420:ac242010	IPU_CTRL
	lui		v0, $1001		# 0011c424:3c021001	v0=$10010000
	lui		at, $1000		# 0011c428:3c011000	at=T0_COUNT
	or		v1, v1, v0		# 0011c42c:00621825	
	sw		v1, $2000(at)		# 0011c430:ac232000	IPU_CMD
	addiu		v0, zero, $fffe		# 0011c434:2402fffe	v0=$fffffffe
	lw		a1, $0060(s1)		# 0011c438:8e250060	
	lw		a0, $0064(s1)		# 0011c43c:8e240064	
	lw		v1, $004c(s1)		# 0011c440:8e23004c	
	beq		v1, v0, $0011c468	# 0011c444:10620008	v __0011c468
	mult		s0, a1, a0		# 0011c448:00a48018	
	lw		v1, $0074(s1)		# 0011c44c:8e230074	
	addiu		v0, zero, $ffff		# 0011c450:2402ffff	v0=_heap_size
	beq		v1, v0, $0011c468	# 0011c454:10620004	v __0011c468
	sll		v0, v1, 2		# 0011c458:00031080	
	addu		v0, v0, s1		# 0011c45c:00511021	
	jal		$0011ee80		# 0011c460:0c047ba0	v FNC_0011ee80
	lw		a0, $00d0(v0)		# 0011c464:8c4400d0	
__0011c468:					# 
	lw		a0, $0074(s1)		# 0011c468:8e240074	

	daddu		v1, zero, zero		# 0011c46c:0000182d	
	addiu		v0, zero, $0001		# 0011c470:24020001	v0=$00000001
	movz		v1, v0, a0		# 0011c474:0044180a	
	sw		v1, $0074(s1)		# 0011c478:ae230074	
	lw		v0, $0074(s1)		# 0011c47c:8e220074	
	sll		v0, v0, 2		# 0011c480:00021080	
	addu		v0, v0, s1		# 0011c484:00511021	
	beq		s0, zero, $0011c508	# 0011c488:1200001f	v __0011c508
	lw		a0, $00dc(v0)		# 0011c48c:8c4400dc	
	lui		v0, $1000		# 0011c490:3c021000	v0=T0_COUNT
	addiu		v1, zero, $0100		# 0011c494:24030100	v1=V_DEBUG
	ori		a2, v0, $b000		# 0011c498:3446b000	a2=D3_CHCR
__0011c49c:					# 
	slti		at, s0, $03ff		# 0011c49c:2a0103ff	
	beq		at, zero, $0011c4b0	# 0011c4a0:10200003	v __0011c4b0
	daddu		a1, s0, zero		# 0011c4a4:0200282d	
	beq		zero, zero, $0011c4b4	# 0011c4a8:10000002	v __0011c4b4
	nop					# 0011c4ac:00000000	
__0011c4b0:					# 
	addiu		a1, zero, $03ff		# 0011c4b0:240503ff	a1=$000003ff
__0011c4b4:					# 
	nop					# 0011c4b4:00000000	
	dsll32		v0, a0, 4		# 0011c4b8:0004113c	
	dsrl32		v0, v0, 4		# 0011c4bc:0002113e	
	lui		at, $1001		# 0011c4c0:3c011001	at=$10010000
	sw		v0, $b010(at)		# 0011c4c4:ac22b010	D3_MADR
	sll		v0, a1, 10		# 0011c4c8:00051280	v0=$000ffc00
	lui		at, $1001		# 0011c4cc:3c011001	at=$10010000
	srl		v0, v0, 4		# 0011c4d0:00021102	
	sw		v0, $b020(at)		# 0011c4d4:ac22b020	D3_QWC
	sw		v1, $0000(a2)		# 0011c4d8:acc30000	D3_CHCR
__0011c4dc:					# 
	nop					# 0011c4dc:00000000	
	lui		at, $1001		# 0011c4e0:3c011001	at=$10010000
	lw		v0, $b000(at)		# 0011c4e4:8c22b000	v0=D3_CHCR
	srl		v0, v0, 8		# 0011c4e8:00021202	
	andi		v0, v0, $0001		# 0011c4ec:30420001	
	bne		v0, zero, $0011c4dc	# 0011c4f0:1440fffa	^ __0011c4dc
	nop					# 0011c4f4:00000000	
	sll		v0, a1, 10		# 0011c4f8:00051280	v0=$000ffc00
	subu		s0, s0, a1		# 0011c4fc:02058023	
	bne		s0, zero, $0011c49c	# 0011c500:1600ffe6	^ __0011c49c
	addu		a0, a0, v0		# 0011c504:00822021	
__0011c508:					# 
	daddu		a0, zero, zero		# 0011c508:0000202d	
	jal		$0020b2f0		# 0011c50c:0c082cbc	v sceIpuSync
	daddu		a1, zero, zero		# 0011c510:0000282d	
	lui		v0, $4000		# 0011c514:3c024000	v0=$40000000
	lui		at, $1000		# 0011c518:3c011000	at=T0_COUNT
	ori		v0, v0, $0020		# 0011c51c:34420020	v0=$40000020
	daddu		a0, zero, zero		# 0011c520:0000202d	
	daddu		a1, zero, zero		# 0011c524:0000282d	
	jal		$0020b2f0		# 0011c528:0c082cbc	v sceIpuSync
	sw		v0, $2000(at)		# 0011c52c:ac222000	IPU_CMD
	jal		$0011c170		# 0011c530:0c04705c	^ FNC_0011c170
	addiu		a0, s1, $00e4		# 0011c534:262400e4	
	lw		a0, $0068(s1)		# 0011c538:8e240068	
	addiu		v1, zero, $0001		# 0011c53c:24030001	v1=$00000001
	addiu		a0, a0, $0001		# 0011c540:24840001	
	sw		a0, $0068(s1)		# 0011c544:ae240068	
	sw		v1, $8038(gp)		# 0011c548:af838038	[d2b18038]
__0011c54c:					# 
	ld		ra, $0020(sp)		# 0011c54c:dfbf0020	
	lq		s1, $0010(sp)		# 0011c550:7bb10010	
	lq		s0, $0000(sp)		# 0011c554:7bb00000	
	jr		ra			# 0011c558:03e00008	
	addiu		sp, sp, $0030		# 0011c55c:27bd0030
 
1 - 1 of 1 Posts
Top