Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHAOS SEED #114

Closed
devmiyax opened this issue Dec 19, 2015 · 10 comments

Comments

Projects
None yet
2 participants
@devmiyax
Copy link
Owner

commented Dec 19, 2015

version:0.1.18a
device:LG-F240K
cpu_type:0
video_type:2
The game can be run with graphic problems, including flashing screen with openGL on, and ghost with software mode on.
The game constantly freeze at this screen but the background music is still playing.
I love this game, please help to make it work.
screenshot

@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented Dec 19, 2015

freeze is caused by cache coherency.
Master CPU writes 0 at 0x0601eeaa. then Slave CPU reads that address as instruction. then invalid opecode exception is occurred.

@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented Dec 19, 2015

Black Screen & Character problem is caused by VDP2's per line color offset function. CPU changes VDP2 color offset value each HBLANK . BGs and Sprites need to reflect the value per line.

@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented Apr 18, 2016

image

@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented Apr 18, 2016

image

devmiyax added a commit that referenced this issue Apr 18, 2016

fixes #198 [F1 Challenge] Missing circuit
refs #114 CHAOS SEED black screen

This is huge change for drawing background screens. there may be many regressions.
@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented May 1, 2016

Master SH2 invalid opcode

R0 = 00000000 R12 = 060BE440
R1 = 0601DAF0 R13 = 06094DC9
R2 = 00000067 R14 = 060BE234
R3 = 0FFFFFFC R15 = 06001F18
R4 = 0601FF13 SR = 00000101
R5 = 060E5B09 GBR = 00000000
R6 = 11005FA6 VBR = 06000000
R7 = 00000004 MACH = 00000000
R8 = 0000696B MACL = 00000000
R9 = 060E1EC8 PR = 06040612
R10 = 060BDC34 PC = 0601FEA8
R11 = 25C07800

@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented May 1, 2016

0x0601fe84 mov.b @R5+,r6 r6 = 0x076
0x0601fe98 mov.b @R5+,r0 r0 = 0x0B ?????

@R5 = 060E1EC8

0x0601FEA2

@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented May 1, 2016

force r6 0x06zzzzzzzz

image

@BenjaminSiskoo

This comment has been minimized.

Copy link

commented May 1, 2016

I like any progress :) Congrats

@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented May 1, 2016

'''
main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1136): cs2 : Command: getSectorData 0f54 6100 0000 0300 0001

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1138): cs2 : ret: 0fd7 0100 4101 0100 e8f2

main (C:\ext\GitHub\YabauseLocal\yabause\src\sh2core.c:1973): sh2 dma src=25818000,dst=060046F0,512

main (C:\ext\GitHub\YabauseLocal\yabause\src\sh2core.c:1973): sh2 dma src=06004788,dst=06001EF0,2

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1051): cs2 : Command: endDataTransfer 0fd4 0600 0000 0000 0000

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1053): cs2 : ret: 0fd5 0100 0400 0000 0000

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1028): cs2 : Command: getStatus

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1030): cs2 : ret: 0fd5 0100 4101 0100 e8f2

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1136): cs2 : Command: getSectorData 0f54 6100 000d 0300 0001

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1138): cs2 : ret: 0fd7 0100 4101 0100 e8f2

main (C:\ext\GitHub\YabauseLocal\yabause\src\sh2core.c:1973): sh2 dma src=25818000,dst=060046F0,512

main (C:\ext\GitHub\YabauseLocal\yabause\src\sh2core.c:1973): sh2 dma src=0600485B,dst=06001EF8,4

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1051): cs2 : Command: endDataTransfer 0fd4 0600 0000 0000 0000

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1053): cs2 : ret: 0fd5 0100 0400 0000 0000

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1028): cs2 : Command: getStatus

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1030): cs2 : ret: 0fd5 0100 4101 0100 e8f2

main (C:\ext\GitHub\YabauseLocal\yabause\src\sh2core.c:1973): sh2 dma src=0600485B,dst=060E1EC8,1685 !!!!!!!!!!!!!

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1136): cs2 : Command: getSectorData 0f54 6100 000e 0300 0001

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1138): cs2 : ret: 0fd7 0100 4101 0100 e8f2

main (C:\ext\GitHub\YabauseLocal\yabause\src\sh2core.c:1973): sh2 dma src=25818000,dst=060046F0,512

main (C:\ext\GitHub\YabauseLocal\yabause\src\sh2core.c:1973): sh2 dma src=060046F0,dst=060E255D,1471

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1051): cs2 : Command: endDataTransfer 0fd4 0600 0000 0000 0000

main (C:\ext\GitHub\YabauseLocal\yabause\src\cs2.c:1053): cs2 : ret: 0fd5 0100 0400 0000 0000
'''

@devmiyax

This comment has been minimized.

Copy link
Owner Author

commented May 2, 2016

Yes!

image

@devmiyax devmiyax closed this in 4b05bf3 May 3, 2016

devmiyax added a commit that referenced this issue May 11, 2016

fixes #198 [F1 Challenge] Missing circuit
refs #114 CHAOS SEED black screen

This is huge change for drawing background screens. there may be many regressions.

devmiyax added a commit that referenced this issue May 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.