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

CDXA example locks on loop #50

Open
matt456 opened this issue Jul 21, 2022 · 1 comment
Open

CDXA example locks on loop #50

matt456 opened this issue Jul 21, 2022 · 1 comment

Comments

@matt456
Copy link

matt456 commented Jul 21, 2022

The CDXA example locks on looping, it detects the video termination sector, then just locks in the CdControlF(CdlReadS, (u_char*)&xa_loc); call.

Looks like it gets stuck here inside _cd_control.s:

I'm not too familar with the inner CD logic at this point to delve further.

This is a sample I created, first 5 channels have the same track (37800Hz stereo) interleaved in it the last 3 are blank.
xasample.zip

@spicyjpeg
Copy link
Collaborator

Are you having this issue on real hardware or on an emulator? I tested the example on three different emulators (DuckStation, no$psx, pcsx-redux) using your XA file and it seems to work fine on all three, albeit with some minor glitching on pcsx-redux. If you are using another emulator you might be running into bugs, as most older emulators (ePSXe in particular) are notorious for their inaccuracy.

However, if you are experiencing this issue on real hardware I can investigate further, since I'm not sure about whether the XA example has ever been tested on an actual PS1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants