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

"Please insert an Xbox disc..." is confusing #1

Open
JayFoxRox opened this issue May 12, 2019 · 1 comment
Open

"Please insert an Xbox disc..." is confusing #1

JayFoxRox opened this issue May 12, 2019 · 1 comment

Comments

@JayFoxRox
Copy link
Member

If the kernel doesn't identify a valid disc it will launch into the dashboard.

In that case, this code is printing a confusing message:

pb_show_debug_screen();
debugPrint("Please insert an Xbox disc...\n");
while(1) XSleep(1000);

This message will be shown, regardless of the current system state. If the user supplies a valid Xbox image (redump ISO), the message will still be printed in XQEMU (because of missing drive emulation).

We should probably add some code to check if a disc was inserted, and report the most common issues and current system state (disc drive information + kernel information).

@JayFoxRox
Copy link
Member Author

I looked for information on how to detect a CD / DVD type. It appears to be done in software, the SMC only tells you wether the disc tray is opened / closed:

So we can use code that's similar to that in this XQEMU-Manager PR.

Additionally, we can query the DVD-X2 state from the drive, which is mode sense page 0x3E, to detect the broken XQEMU drive / authentication.

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

1 participant